Changes for page Public Web Site

Last modified by Agnease on 2026/05/30 16:24

From version 8.4
edited by Agnease
on 2026/05/12 20:28
Change comment: There is no comment for this version
To version 10.11
edited by Agnease
on 2026/05/19 06:11
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -599,6 +599,32 @@
599 599   }
600 600  }
601 601  
602 +.resource-content {
603 + order: 1;
604 +}
605 +
606 +.resource-sidebar {
607 + order: 2;
608 +}
609 +
610 +@media (max-width: 767px) {
611 + .resource-layout {
612 + display: flex;
613 + flex-direction: column;
614 + }
615 +
616 + .resource-sidebar {
617 + order: 0;
618 + position: static;
619 + width: 100%;
620 + margin-bottom: 24px;
621 + }
622 +
623 + .resource-content {
624 + order: 1;
625 + }
626 +}
627 +
602 602  /* ========== CTA ========== */
603 603  
604 604  .cta-section {
... ... @@ -736,24 +736,10 @@
736 736   padding: 40px 0 30px;
737 737   border-top: none;
738 738   background:
739 - radial-gradient(42rem 14rem at 50% 0%, @brand-bg 0%, transparent 70%);
765 + radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%),
766 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
740 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 755   h1 {
756 - max-width: 820px;
757 757   margin: 0 auto 14px;
758 758   text-align: center;
759 759   line-height: 1.18;
... ... @@ -901,13 +901,6 @@
901 901   }
902 902  }
903 903  /* ========== Products / Extensions Pages ========== */
904 -.product-card-kicker {
905 - margin-bottom: 10px;
906 - padding: 5px 10px;
907 - font-size: 12px;
908 - text-transform: uppercase;
909 - letter-spacing: .04em;
910 -}
911 911  
912 912  .product-index-section {
913 913   padding: 52px 0 56px;
... ... @@ -978,6 +978,14 @@
978 978   }
979 979  }
980 980  
986 +.product-card-kicker {
987 + margin-bottom: 10px;
988 + padding: 5px 10px;
989 + font-size: 12px;
990 + text-transform: uppercase;
991 + letter-spacing: .04em;
992 +}
993 +
981 981  .product-highlights {
982 982   margin: 14px 0 20px;
983 983   padding-left: 18px;
... ... @@ -989,40 +989,8 @@
989 989   }
990 990  }
991 991  
992 -.product-cta-section {
993 - padding: 0 0 56px;
994 - border-top: 1px solid @line;
995 -}
996 -
997 -.product-cta-panel {
998 - max-width: 860px;
999 - margin: 0 auto;
1000 - padding: 32px;
1001 - border-radius: @radius;
1002 - border: 1px solid fade(@brand, 20%);
1003 - background:
1004 - radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%);
1005 - box-shadow: @shadow-sm;
1006 - text-align: center;
1007 -
1008 - h2 {
1009 - margin-top: 0;
1010 - }
1011 -
1012 - p {
1013 - max-width: 680px;
1014 - margin: 0 auto 18px;
1015 - color: @muted;
1016 - line-height: 1.55;
1017 - }
1018 -}
1019 -
1020 1020  /* ========== Individual Product Pages ========== */
1021 1021  
1022 -.product-hero {
1023 - min-height: 330px;
1024 -}
1025 -
1026 1026  .product-layout {
1027 1027   display: grid;
1028 1028   grid-template-columns: 1.1fr .9fr;
... ... @@ -1164,19 +1164,6 @@
1164 1164   radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%);
1165 1165  }
1166 1166  
1167 -.product-use-cases {
1168 - ul {
1169 - margin: 0;
1170 - padding-left: 20px;
1171 - color: @muted;
1172 - }
1173 -
1174 - li {
1175 - margin: 8px 0;
1176 - line-height: 1.5;
1177 - }
1178 -}
1179 -
1180 1180  @media (max-width: 980px) {
1181 1181   .product-layout,
1182 1182   .product-feature-grid {
... ... @@ -1189,14 +1189,6 @@
1189 1189  }
1190 1190  
1191 1191  @media (max-width: 640px) {
1192 - .product-index-hero {
1193 - padding: 38px 0 34px;
1194 -
1195 - .page-lead {
1196 - font-size: 17px;
1197 - }
1198 - }
1199 -
1200 1200   .product-card {
1201 1201   grid-template-columns: 1fr;
1202 1202   padding: 22px;
... ... @@ -1213,8 +1213,141 @@
1213 1213   .product-gallery-panel {
1214 1214   padding: 20px;
1215 1215   }
1176 +}
1177 +/* ========== Resources Index ========== */
1216 1216  
1217 - .product-cta-panel {
1218 - padding: 24px 20px;
1179 +.resources-index-page {
1180 + padding: 56px 0 72px;
1181 + background: @brand-bg;
1182 +}
1183 +
1184 +.resources-intro {
1185 + max-width: 820px;
1186 + margin: 0 auto 32px;
1187 + text-align: center;
1188 +}
1189 +
1190 +.resources-intro p {
1191 + color: @muted;
1192 + font-size: 17px;
1193 + line-height: 1.7;
1194 + margin: 0;
1195 +}
1196 +
1197 +.resources-grid {
1198 + display: grid;
1199 + grid-template-columns: repeat(2, minmax(0, 1fr));
1200 + gap: 24px;
1201 + margin-bottom: 36px;
1202 +}
1203 +
1204 +.resource-card {
1205 + display: flex;
1206 + gap: 18px;
1207 + background: #fff;
1208 + border: 1px solid @line;
1209 + border-radius: @radius;
1210 + box-shadow: @shadow-sm;
1211 + padding: 24px;
1212 +}
1213 +
1214 +.resource-card-icon {
1215 + flex: 0 0 46px;
1216 + width: 46px;
1217 + height: 46px;
1218 + border-radius: 14px;
1219 + background: @brand-soft;
1220 + color: @brand-strong;
1221 + display: flex;
1222 + align-items: center;
1223 + justify-content: center;
1224 + font-size: 20px;
1225 +}
1226 +
1227 +.resource-card-label {
1228 + color: @brand-strong;
1229 + font-size: 13px;
1230 + font-weight: 700;
1231 + text-transform: uppercase;
1232 + letter-spacing: .04em;
1233 + margin-bottom: 8px;
1234 +}
1235 +
1236 +.resource-card h2 {
1237 + font-size: 22px;
1238 + line-height: 1.25;
1239 + margin: 0 0 12px;
1240 +}
1241 +
1242 +.resource-card h2 a {
1243 + color: @text;
1244 + text-decoration: none;
1245 +}
1246 +
1247 +.resource-card h2 a:hover {
1248 + color: @brand-strong;
1249 + text-decoration: none;
1250 +}
1251 +
1252 +.resource-card p {
1253 + color: @muted;
1254 + font-size: 15px;
1255 + line-height: 1.65;
1256 + margin: 0 0 16px;
1257 +}
1258 +
1259 +.resource-card-link {
1260 + color: @brand-strong;
1261 + font-weight: 700;
1262 + text-decoration: none;
1263 +}
1264 +
1265 +.resource-card-link:hover {
1266 + color: @brand;
1267 + text-decoration: none;
1268 +}
1269 +
1270 +.resources-next {
1271 + max-width: 820px;
1272 + margin: 0 auto 32px;
1273 + text-align: center;
1274 +}
1275 +
1276 +.resources-next h2 {
1277 + font-size: 26px;
1278 + margin: 0 0 10px;
1279 +}
1280 +
1281 +.resources-next p {
1282 + color: @muted;
1283 + font-size: 16px;
1284 + line-height: 1.7;
1285 + margin: 0;
1286 +}
1287 +
1288 +@media (max-width: 767px) {
1289 + .resources-index-page {
1290 + padding: 36px 0 52px;
1219 1219   }
1292 +
1293 + .resources-intro {
1294 + text-align: left;
1295 + }
1296 +
1297 + .resources-grid {
1298 + grid-template-columns: 1fr;
1299 + gap: 18px;
1300 + }
1301 +
1302 + .resource-card {
1303 + padding: 20px;
1304 + }
1305 +
1306 + .resource-card h2 {
1307 + font-size: 20px;
1308 + }
1309 +
1310 + .resources-next {
1311 + text-align: left;
1312 + }
1220 1220  }
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,16 +1,6 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  
3 -@brand: #00937D;
4 -@brand-strong: #007B6A;
5 -@text: #2D3A34;
6 -@muted: #5B6B64;
7 -@line: #E4ECE9;
8 -@brand-bg: #F4FCFA;
9 -
10 -/* Top-level menu items */
11 -
12 -.agnease-services-menu,
13 -.agnease-products-menu {
3 +.agnease-menu-item {
14 14   .dropdown-toggle {
15 15   font-weight: inherit;
16 16   font-size: inherit;
... ... @@ -18,6 +18,8 @@
18 18  
19 19   .caret {
20 20   margin-left: 4px;
11 + border-top-color: @brand;
12 + border-bottom-color: @brand;
21 21   }
22 22  
23 23   &.open > .dropdown-toggle,
... ... @@ -28,129 +28,130 @@
28 28   background-color: transparent;
29 29   box-shadow: none;
30 30   }
31 -}
32 32  
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,
37 -.navbar-nav > li.agnease-services-menu > a:hover,
38 -.navbar-nav > li.agnease-products-menu > a:hover,
39 -.navbar-nav > li.agnease-services-menu > a:focus,
40 -.navbar-nav > li.agnease-products-menu > a:focus,
41 -.navbar-nav > li.agnease-services-menu.open > a,
42 -.navbar-nav > li.agnease-products-menu.open > a,
43 -.navbar-nav > li.agnease-services-menu.open > a:hover,
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 {
47 - background: transparent;
48 - background-color: transparent;
49 - color: @brand-strong;
50 - box-shadow: none;
24 + &.open > .dropdown-toggle .caret,
25 + .dropdown-toggle:hover .caret,
26 + .dropdown-toggle:focus .caret {
27 + border-top-color: @brand-strong;
28 + border-bottom-color: @brand-strong;
29 + }
51 51  }
52 52  
53 53  /* Dropdown panels */
54 54  
55 -.agnease-services-dropdown,
56 -.agnease-products-dropdown {
57 - min-width: 360px;
58 - padding: 10px;
59 - border: 1px solid @line;
34 +.agnease-dropdown {
35 + min-width: 270px;
36 + padding: 8px;
37 + border: 1px solid fade(@brand, 18%);
60 60   border-radius: 12px;
61 - box-shadow: 0 12px 36px rgba(0, 0, 0, .10);
39 + background: #fff;
40 + box-shadow: 0 12px 32px fade(@brand-strong, 12%);
62 62  
63 63   > li > a {
64 64   display: flex;
65 - align-items: flex-start;
66 - gap: 12px;
67 - padding: 10px 12px;
68 - border-radius: 10px;
69 - color: @text;
70 - white-space: normal;
44 + align-items: center;
45 + gap: 10px;
46 + padding: 9px 11px;
47 + border-radius: 9px;
48 + color: @brand;
49 + background: transparent;
50 + white-space: nowrap;
51 + font-size: 14px;
52 + font-weight: 700;
53 + line-height: 1.25;
71 71  
55 + i {
56 + width: 18px;
57 + flex: 0 0 18px;
58 + color: @brand;
59 + text-align: center;
60 + font-size: 14px;
61 + }
62 +
72 72   &:hover,
73 - &:focus {
64 + &:focus,
65 + &:active {
74 74   color: @brand-strong;
75 - background: @brand-bg;
67 + background: fade(@brand, 8%);
76 76   text-decoration: none;
69 + outline: none;
77 77  
78 - .menu-icon {
71 + i {
79 79   color: @brand-strong;
80 - background: fade(@brand, 14%);
81 - border-color: fade(@brand, 28%);
82 82   }
74 + }
75 + }
83 83  
84 - strong {
85 - color: @brand-strong;
86 - }
77 + > .active > a,
78 + > .active > a:hover,
79 + > .active > a:focus {
80 + color: @brand-strong;
81 + background: fade(@brand, 10%);
82 + text-decoration: none;
87 87  
88 - small {
89 - color: @muted;
90 - }
84 + i {
85 + color: @brand-strong;
91 91   }
92 92   }
93 93  
94 94   .divider {
95 - margin: 8px 0;
96 - background-color: @line;
90 + margin: 7px 0;
91 + background-color: fade(@brand, 16%);
97 97   }
93 +}
98 98  
99 - .menu-icon {
100 - width: 34px;
101 - height: 34px;
102 - border-radius: 50%;
103 - background: fade(@brand, 8%);
104 - border: 1px solid fade(@brand, 18%);
105 - color: @brand;
106 - display: flex;
107 - align-items: center;
108 - justify-content: center;
109 - flex-shrink: 0;
110 - transition: color .15s ease, background .15s ease, border-color .15s ease;
111 - }
112 -
113 - .menu-text {
114 - display: flex;
115 - flex-direction: column;
116 - line-height: 1.25;
117 -
118 - strong {
119 - color: @brand;
120 - font-size: 14px;
121 - font-weight: 600;
122 - }
123 -
124 - small {
125 - color: @muted;
126 - font-size: 12px;
127 - margin-top: 2px;
128 - font-weight: 400;
129 - }
130 - }
95 +.agnease-products-dropdown,
96 +.agnease-resources-dropdown {
97 + min-width: 260px;
131 131  }
132 132  
133 -/* Products dropdown can be slightly narrower for now */
134 -
135 -.agnease-products-dropdown {
136 - min-width: 340px;
100 +/* Remove gray Bootstrap dropdown item states */
101 +.dropdown-menu > li > a:hover,
102 +.dropdown-menu > li > a:focus {
103 + background-image: none;
137 137  }
138 138  
139 -/* Mobile */
106 +/* ========== Mobile Menu ========== */
140 140  
141 141  @media (max-width: 767px) {
142 - .agnease-services-dropdown,
143 - .agnease-products-dropdown {
109 + .navbar-nav > li.agnease-menu-item > a,
110 + .navbar-nav > li > a {
111 + padding-top: 8px;
112 + padding-bottom: 8px;
113 + }
114 +
115 + .agnease-dropdown {
144 144   min-width: 0;
145 145   width: 100%;
146 - padding: 6px;
118 + padding: 4px 8px 8px 18px;
119 + border: 0;
147 147   border-radius: 0;
148 - border-left: 0;
149 - border-right: 0;
150 150   box-shadow: none;
122 + background: #fff;
151 151  
152 152   > li > a {
153 - padding: 10px;
125 + padding: 8px 10px;
126 + white-space: normal;
127 + font-size: 14px;
128 + border-radius: 8px;
129 + color: @brand;
130 +
131 + i {
132 + width: 16px;
133 + flex-basis: 16px;
134 + }
135 +
136 + &:hover,
137 + &:focus,
138 + &:active {
139 + color: @brand-strong;
140 + background: fade(@brand, 8%);
141 + }
154 154   }
143 +
144 + .divider {
145 + margin: 5px 0;
146 + background-color: fade(@brand, 16%);
147 + }
155 155   }
156 156  }