Changes for page Public Web Site
Last modified by Agnease on 2026/05/30 16:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -159,7 +159,7 @@ 159 159 <p> 160 160 A business-focused explanation of why regular LTS upgrades reduce security, compatibility and maintenance risk. 161 161 </p> 162 - <a href=" /resources/why-upgrade-xwiki">Read the resource</a>162 + <a href="$xwiki.getURL('resources.why-upgrade-xwiki')">Read the resource</a> 163 163 </article> 164 164 165 165 <article class="resource-card"> ... ... @@ -167,7 +167,7 @@ 167 167 <p> 168 168 How Agnease approaches safe XWiki upgrades for real production environments with customizations and integrations. 169 169 </p> 170 - <a href=" /services/xwiki-upgrades">View the service</a>170 + <a href="$xwiki.getURL('services.xwiki-upgrades')">View the service</a> 171 171 </article> 172 172 </div> 173 173 </div>
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -726,3 +726,555 @@ 726 726 padding: 24px 20px; 727 727 } 728 728 } 729 +/* ========== Resource / Article Pages ========== */ 730 + 731 +.resource-page { 732 + padding-top: 34px; 733 +} 734 + 735 +.resource-header { 736 + padding: 40px 0 30px; 737 + border-top: none; 738 + background: 739 + radial-gradient(42rem 14rem at 50% 0%, @brand-bg 0%, transparent 70%); 740 + 741 + .resource-kicker { 742 + display: inline-flex; 743 + align-items: center; 744 + gap: 8px; 745 + color: @brand; 746 + background: fade(@brand, 8%); 747 + border: 1px solid fade(@brand, 18%); 748 + border-radius: 999px; 749 + padding: 6px 12px; 750 + margin-bottom: 14px; 751 + font-size: 13px; 752 + font-weight: 700; 753 + } 754 + 755 + h1 { 756 + max-width: 820px; 757 + margin: 0 auto 14px; 758 + text-align: center; 759 + line-height: 1.18; 760 + } 761 + 762 + .resource-summary { 763 + max-width: 780px; 764 + margin: 0 auto; 765 + color: @muted; 766 + text-align: center; 767 + font-size: 18px; 768 + line-height: 1.55; 769 + } 770 +} 771 + 772 +.resource-layout { 773 + display: grid; 774 + grid-template-columns: minmax(0, 760px) 280px; 775 + gap: 42px; 776 + max-width: 1080px; 777 + margin: 0 auto; 778 + align-items: start; 779 +} 780 + 781 +.resource-content { 782 + color: @text; 783 + font-size: 16px; 784 + line-height: 1.68; 785 + 786 + h2 { 787 + text-align: left; 788 + margin: 34px 0 12px; 789 + line-height: 1.28; 790 + } 791 + 792 + h3 { 793 + margin: 24px 0 8px; 794 + line-height: 1.3; 795 + } 796 + 797 + p { 798 + margin: 0 0 16px; 799 + } 800 + 801 + ul, 802 + ol { 803 + margin: 0 0 18px; 804 + padding-left: 22px; 805 + } 806 + 807 + li { 808 + margin: 6px 0; 809 + } 810 + 811 + strong { 812 + color: @text; 813 + } 814 +} 815 + 816 +.resource-note { 817 + border-left: 4px solid @brand; 818 + background: @brand-bg; 819 + padding: 16px 18px; 820 + margin: 22px 0; 821 + border-radius: 0 @radius @radius 0; 822 + 823 + p:last-child { 824 + margin-bottom: 0; 825 + } 826 +} 827 + 828 +.resource-checklist { 829 + margin: 18px 0 24px; 830 + padding: 0; 831 + list-style: none; 832 + 833 + li { 834 + position: relative; 835 + padding: 10px 0 10px 34px; 836 + border-bottom: 1px solid @line; 837 + 838 + &:before { 839 + content: "\f00c"; 840 + font-family: FontAwesome; 841 + position: absolute; 842 + left: 0; 843 + top: 11px; 844 + color: @brand; 845 + } 846 + } 847 +} 848 + 849 +.resource-sidebar { 850 + position: sticky; 851 + top: 96px; 852 + border: 1px solid @line; 853 + border-radius: @radius; 854 + padding: 18px; 855 + background: #fff; 856 + box-shadow: @shadow-sm; 857 + 858 + h4 { 859 + margin: 0 0 10px; 860 + } 861 + 862 + ul { 863 + margin: 0; 864 + padding-left: 18px; 865 + color: @muted; 866 + } 867 + 868 + li { 869 + margin: 8px 0; 870 + } 871 + 872 + a { 873 + color: @brand; 874 + font-weight: 600; 875 + } 876 +} 877 + 878 +.resource-cta { 879 + margin-top: 36px; 880 + padding: 22px; 881 + border: 1px solid fade(@brand, 20%); 882 + border-radius: @radius; 883 + background: @brand-bg; 884 + 885 + h3 { 886 + margin-top: 0; 887 + } 888 + 889 + p { 890 + color: @muted; 891 + } 892 +} 893 + 894 +@media (max-width: 900px) { 895 + .resource-layout { 896 + grid-template-columns: 1fr; 897 + } 898 + 899 + .resource-sidebar { 900 + position: static; 901 + } 902 +} 903 +/* ========== Products / Extensions Pages ========== */ 904 + 905 +.product-page, 906 +.agnease-product-page { 907 + color: @text; 908 +} 909 + 910 +/* Product index hero: keeps the same visual language as .hero-centered, 911 + but allows the product index to stay compact and structured. */ 912 +.product-index-hero { 913 + padding: 56px 0 48px; 914 + text-align: center; 915 + background: 916 + radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 917 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 918 + border-top: none; 919 + border-bottom: 1px solid @line; 920 + 921 + h1 { 922 + max-width: 790px; 923 + margin: 0 auto; 924 + line-height: 1.18; 925 + } 926 + 927 + .page-lead { 928 + max-width: 760px; 929 + margin: 14px auto 0; 930 + color: @muted; 931 + text-align: center; 932 + font-size: 19px; 933 + line-height: 1.55; 934 + } 935 +} 936 + 937 +.product-page-kicker, 938 +.product-card-kicker { 939 + display: inline-flex; 940 + align-items: center; 941 + gap: 8px; 942 + color: @brand; 943 + background: fade(@brand, 8%); 944 + border: 1px solid fade(@brand, 18%); 945 + border-radius: 999px; 946 + padding: 6px 12px; 947 + margin-bottom: 14px; 948 + font-size: 13px; 949 + font-weight: 700; 950 + 951 + i { 952 + color: @brand; 953 + } 954 +} 955 + 956 +.product-card-kicker { 957 + margin-bottom: 10px; 958 + padding: 5px 10px; 959 + font-size: 12px; 960 + text-transform: uppercase; 961 + letter-spacing: .04em; 962 +} 963 + 964 +/* Product index listing */ 965 + 966 +.product-index-section { 967 + padding: 52px 0 56px; 968 + 969 + h2 { 970 + margin-bottom: 10px; 971 + } 972 +} 973 + 974 +.product-card-grid { 975 + max-width: 840px; 976 + margin: 28px auto 0; 977 + display: grid; 978 + grid-template-columns: 1fr; 979 + grid-gap: 18px; 980 +} 981 + 982 +.product-card { 983 + background: #fff; 984 + border: 1px solid @line; 985 + border-radius: @radius; 986 + box-shadow: @shadow-sm; 987 + padding: 28px; 988 + display: grid; 989 + grid-template-columns: 68px 1fr; 990 + grid-gap: 22px; 991 + align-items: start; 992 + transition: transform .18s ease, box-shadow .18s ease; 993 + 994 + &:hover { 995 + transform: translateY(-2px); 996 + box-shadow: @shadow; 997 + } 998 + 999 + .product-card-icon { 1000 + width: 58px; 1001 + height: 58px; 1002 + border-radius: 50%; 1003 + background: fade(@brand, 10%); 1004 + border: 1px solid fade(@brand, 20%); 1005 + color: @brand; 1006 + display: flex; 1007 + align-items: center; 1008 + justify-content: center; 1009 + font-size: 22px; 1010 + flex-shrink: 0; 1011 + } 1012 + 1013 + h3 { 1014 + margin: 0 0 10px; 1015 + color: @text; 1016 + font-size: 23px; 1017 + line-height: 1.25; 1018 + font-weight: 800; 1019 + } 1020 + 1021 + p { 1022 + color: @muted; 1023 + line-height: 1.6; 1024 + } 1025 + 1026 + .card-link { 1027 + margin: 0; 1028 + 1029 + a { 1030 + font-weight: 700; 1031 + } 1032 + } 1033 +} 1034 + 1035 +.product-highlights { 1036 + margin: 14px 0 20px; 1037 + padding-left: 18px; 1038 + color: @muted; 1039 + 1040 + li { 1041 + margin: 6px 0; 1042 + line-height: 1.45; 1043 + } 1044 +} 1045 + 1046 +.product-cta-section { 1047 + padding: 0 0 56px; 1048 + border-top: 1px solid @line; 1049 +} 1050 + 1051 +.product-cta-panel { 1052 + max-width: 860px; 1053 + margin: 0 auto; 1054 + padding: 32px; 1055 + border-radius: @radius; 1056 + border: 1px solid fade(@brand, 20%); 1057 + background: 1058 + radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%); 1059 + box-shadow: @shadow-sm; 1060 + text-align: center; 1061 + 1062 + h2 { 1063 + margin-top: 0; 1064 + } 1065 + 1066 + p { 1067 + max-width: 680px; 1068 + margin: 0 auto 18px; 1069 + color: @muted; 1070 + line-height: 1.55; 1071 + } 1072 +} 1073 + 1074 +/* ========== Individual Product Pages ========== */ 1075 + 1076 +.product-hero { 1077 + min-height: 330px; 1078 +} 1079 + 1080 +.product-layout { 1081 + display: grid; 1082 + grid-template-columns: 1.1fr .9fr; 1083 + grid-gap: 36px; 1084 + max-width: 1040px; 1085 + margin: 0 auto; 1086 + align-items: start; 1087 +} 1088 + 1089 +.product-summary-card, 1090 +.product-info-card, 1091 +.product-gallery-panel { 1092 + background: #fff; 1093 + border: 1px solid @line; 1094 + border-radius: @radius; 1095 + box-shadow: @shadow-sm; 1096 +} 1097 + 1098 +.product-summary-card { 1099 + padding: 26px; 1100 + 1101 + h2 { 1102 + text-align: left; 1103 + margin-top: 0; 1104 + } 1105 + 1106 + p { 1107 + color: @muted; 1108 + line-height: 1.6; 1109 + } 1110 + 1111 + p:last-child { 1112 + margin-bottom: 0; 1113 + } 1114 +} 1115 + 1116 +.product-info-card { 1117 + padding: 22px; 1118 + 1119 + h3 { 1120 + margin-top: 0; 1121 + margin-bottom: 12px; 1122 + } 1123 + 1124 + ul { 1125 + margin: 0; 1126 + padding-left: 20px; 1127 + color: @muted; 1128 + } 1129 + 1130 + li { 1131 + margin: 8px 0; 1132 + line-height: 1.45; 1133 + } 1134 +} 1135 + 1136 +.product-feature-grid { 1137 + display: grid; 1138 + grid-template-columns: repeat(3, minmax(0, 1fr)); 1139 + grid-gap: 18px; 1140 + max-width: 1040px; 1141 + margin: 26px auto 0; 1142 +} 1143 + 1144 +.product-feature { 1145 + background: #fff; 1146 + border: 1px solid @line; 1147 + border-radius: @radius; 1148 + box-shadow: @shadow-sm; 1149 + padding: 22px; 1150 + transition: transform .18s ease, box-shadow .18s ease; 1151 + 1152 + &:hover { 1153 + transform: translateY(-2px); 1154 + box-shadow: @shadow; 1155 + } 1156 + 1157 + .feature-icon { 1158 + width: 46px; 1159 + height: 46px; 1160 + border-radius: 50%; 1161 + background: fade(@brand, 10%); 1162 + color: @brand; 1163 + display: flex; 1164 + align-items: center; 1165 + justify-content: center; 1166 + margin-bottom: 14px; 1167 + font-size: 18px; 1168 + } 1169 + 1170 + h3 { 1171 + margin: 0 0 8px; 1172 + color: @text; 1173 + font-size: 18px; 1174 + line-height: 1.25; 1175 + } 1176 + 1177 + p { 1178 + margin: 0; 1179 + color: @muted; 1180 + line-height: 1.5; 1181 + } 1182 +} 1183 + 1184 +/* Screenshot / gallery area for product pages */ 1185 + 1186 +.product-gallery-panel { 1187 + max-width: 1040px; 1188 + margin: 20px auto 0; 1189 + padding: 26px; 1190 + 1191 + h2 { 1192 + margin-top: 0; 1193 + text-align: center; 1194 + } 1195 + 1196 + .gallery-note { 1197 + max-width: 700px; 1198 + margin: 0 auto 18px; 1199 + color: @muted; 1200 + text-align: center; 1201 + line-height: 1.55; 1202 + } 1203 +} 1204 + 1205 +.product-gallery-placeholder { 1206 + min-height: 260px; 1207 + padding: 28px; 1208 + border: 1px dashed fade(@brand, 40%); 1209 + border-radius: @radius; 1210 + background: fade(@brand, 5%); 1211 + color: @muted; 1212 + text-align: center; 1213 + display: flex; 1214 + align-items: center; 1215 + justify-content: center; 1216 +} 1217 + 1218 +/* Optional product detail sections */ 1219 + 1220 +.product-section-muted { 1221 + background: 1222 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); 1223 +} 1224 + 1225 +.product-use-cases { 1226 + ul { 1227 + margin: 0; 1228 + padding-left: 20px; 1229 + color: @muted; 1230 + } 1231 + 1232 + li { 1233 + margin: 8px 0; 1234 + line-height: 1.5; 1235 + } 1236 +} 1237 + 1238 +/* ========== Products Responsive ========== */ 1239 + 1240 +@media (max-width: 980px) { 1241 + .product-layout, 1242 + .product-feature-grid { 1243 + grid-template-columns: 1fr; 1244 + } 1245 + 1246 + .product-summary-card h2 { 1247 + text-align: center; 1248 + } 1249 +} 1250 + 1251 +@media (max-width: 640px) { 1252 + .product-index-hero { 1253 + padding: 38px 0 34px; 1254 + 1255 + .page-lead { 1256 + font-size: 17px; 1257 + } 1258 + } 1259 + 1260 + .product-card { 1261 + grid-template-columns: 1fr; 1262 + padding: 22px; 1263 + text-align: left; 1264 + 1265 + .product-card-icon { 1266 + margin-bottom: 2px; 1267 + } 1268 + } 1269 + 1270 + .product-summary-card, 1271 + .product-info-card, 1272 + .product-feature, 1273 + .product-gallery-panel { 1274 + padding: 20px; 1275 + } 1276 + 1277 + .product-cta-panel { 1278 + padding: 24px 20px; 1279 + } 1280 +}
- XWiki.StyleSheetExtension[1]
-
- code
-
... ... @@ -7,54 +7,58 @@ 7 7 @line: #E4ECE9; 8 8 @brand-bg: #F4FCFA; 9 9 10 -/* Top-level public menu links: Services + Contact */ 11 -.navbar-nav > li > a, 12 -.navbar-nav > li.agnease-services-menu > a { 13 - color: @brand; 14 - font-size: inherit; 15 - font-weight: 400; 16 - background: transparent; 17 - background-color: transparent; 18 - box-shadow: none; 19 - text-decoration: none; 10 +/* Top-level menu items */ 11 + 12 +.agnease-services-menu, 13 +.agnease-products-menu { 14 + .dropdown-toggle { 15 + font-weight: inherit; 16 + font-size: inherit; 17 + } 18 + 19 + .caret { 20 + margin-left: 4px; 21 + } 22 + 23 + &.open > .dropdown-toggle, 24 + .dropdown-toggle:hover, 25 + .dropdown-toggle:focus { 26 + color: @brand-strong; 27 + background: transparent; 28 + background-color: transparent; 29 + box-shadow: none; 30 + } 20 20 } 21 21 22 -.navbar-nav > li > a:hover, 23 -.navbar-nav > li > a:focus, 24 -.navbar-nav > li.open > a, 25 -.navbar-nav > li.open > a:hover, 26 -.navbar-nav > li.open > a:focus, 33 +/* Keep Agnease public top-level menu visually clean when hovered/open/focused */ 34 + 35 +.navbar-nav > li.agnease-services-menu > a, 36 +.navbar-nav > li.agnease-products-menu > a, 27 27 .navbar-nav > li.agnease-services-menu > a:hover, 38 +.navbar-nav > li.agnease-products-menu > a:hover, 28 28 .navbar-nav > li.agnease-services-menu > a:focus, 40 +.navbar-nav > li.agnease-products-menu > a:focus, 29 29 .navbar-nav > li.agnease-services-menu.open > a, 42 +.navbar-nav > li.agnease-products-menu.open > a, 30 30 .navbar-nav > li.agnease-services-menu.open > a:hover, 31 -.navbar-nav > li.agnease-services-menu.open > a:focus { 32 - color: @brand-strong; 44 +.navbar-nav > li.agnease-products-menu.open > a:hover, 45 +.navbar-nav > li.agnease-services-menu.open > a:focus, 46 +.navbar-nav > li.agnease-products-menu.open > a:focus { 33 33 background: transparent; 34 34 background-color: transparent; 49 + color: @brand-strong; 35 35 box-shadow: none; 36 - text-decoration: none; 37 37 } 38 38 39 -.agnease-services-menu { 40 - .dropdown-toggle { 41 - font-weight: 400; 42 - font-size: inherit; 43 - } 53 +/* Dropdown panels */ 44 44 45 - .caret { 46 - margin-left: 4px; 47 - } 48 -} 49 - 50 -/* Dropdown panel */ 51 -.agnease-services-dropdown { 55 +.agnease-services-dropdown, 56 +.agnease-products-dropdown { 52 52 min-width: 360px; 53 53 padding: 10px; 54 54 border: 1px solid @line; 55 55 border-radius: 12px; 56 56 box-shadow: 0 12px 36px rgba(0, 0, 0, .10); 57 - background: #fff; 58 58 59 59 > li > a { 60 60 display: flex; ... ... @@ -62,10 +62,8 @@ 62 62 gap: 12px; 63 63 padding: 10px 12px; 64 64 border-radius: 10px; 69 + color: @text; 65 65 white-space: normal; 66 - text-decoration: none; 67 - background: transparent; 68 - color: @brand; 69 69 70 70 &:hover, 71 71 &:focus { ... ... @@ -75,15 +75,15 @@ 75 75 76 76 .menu-icon { 77 77 color: @brand-strong; 78 - background: fade(@brand, 1 2%);79 - border-color: fade(@brand, 2 4%);80 + background: fade(@brand, 14%); 81 + border-color: fade(@brand, 28%); 80 80 } 81 81 82 - .menu-textstrong {84 + strong { 83 83 color: @brand-strong; 84 84 } 85 85 86 - .menu-textsmall {88 + small { 87 87 color: @muted; 88 88 } 89 89 } ... ... @@ -115,8 +115,8 @@ 115 115 116 116 strong { 117 117 color: @brand; 118 - font-size: inherit;119 - font-weight: 400;120 + font-size: 14px; 121 + font-weight: 600; 120 120 } 121 121 122 122 small { ... ... @@ -128,77 +128,27 @@ 128 128 } 129 129 } 130 130 131 -/* Mobile dropdown: compact vertical list */ 132 -@media (max-width: 767px) { 133 - .navbar-nav > li.agnease-services-menu { 134 - position: static; 135 - } 133 +/* Products dropdown can be slightly narrower for now */ 136 136 137 - .agnease-services-dropdown { 138 - left: 50% !important; 139 - right: auto !important; 140 - transform: translateX(-50%); 141 - width: calc(100vw - 40px); 142 - max-width: 380px; 143 - min-width: 0; 144 - max-height: calc(100vh - 190px); 145 - overflow-y: auto; 135 +.agnease-products-dropdown { 136 + min-width: 340px; 137 +} 146 146 147 - padding: 8px; 148 - margin-top: 6px; 149 - border-radius: 12px; 150 - border: 1px solid @line; 151 - box-shadow: 0 12px 32px rgba(0, 0, 0, .12); 152 - background: #fff; 139 +/* Mobile */ 153 153 141 +@media (max-width: 767px) { 142 + .agnease-services-dropdown, 143 + .agnease-products-dropdown { 144 + min-width: 0; 145 + width: 100%; 146 + padding: 6px; 147 + border-radius: 0; 148 + border-left: 0; 149 + border-right: 0; 150 + box-shadow: none; 151 + 154 154 > li > a { 155 - display: flex; 156 - align-items: center; 157 - gap: 10px; 158 - min-height: 0; 159 - padding: 9px 10px; 160 - border-radius: 9px; 161 - text-align: left; 162 - white-space: normal; 153 + padding: 10px; 163 163 } 164 - 165 - .divider { 166 - margin: 6px 0; 167 - } 168 - 169 - .menu-icon { 170 - width: 28px; 171 - height: 28px; 172 - font-size: 13px; 173 - flex: 0 0 28px; 174 - } 175 - 176 - .menu-text { 177 - display: block; 178 - line-height: 1.25; 179 - } 180 - 181 - .menu-text strong { 182 - display: block; 183 - font-size: 14px; 184 - font-weight: 400; 185 - color: @brand; 186 - } 187 - 188 - .menu-text small { 189 - display: none; 190 - } 191 - 192 - > li > a:hover .menu-text strong, 193 - > li > a:focus .menu-text strong { 194 - color: @brand-strong; 195 - } 196 - 197 - > li > a:hover .menu-icon, 198 - > li > a:focus .menu-icon { 199 - color: @brand-strong; 200 - background: fade(@brand, 12%); 201 - border-color: fade(@brand, 24%); 202 - } 203 203 } 204 204 }