Changes for page Public Web Site

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

From version 8.24
edited by Agnease
on 2026/05/19 03:47
Change comment: There is no comment for this version
To version 8.11
edited by Agnease
on 2026/05/19 03:25
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[1]
code
... ... @@ -1,6 +1,16 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  
3 -.agnease-menu-item {
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 {
4 4   .dropdown-toggle {
5 5   font-weight: inherit;
6 6   font-size: inherit;
... ... @@ -20,12 +20,20 @@
20 20   }
21 21  }
22 22  
23 -.navbar-nav > li.agnease-menu-item > a,
24 -.navbar-nav > li.agnease-menu-item > a:hover,
25 -.navbar-nav > li.agnease-menu-item > a:focus,
26 -.navbar-nav > li.agnease-menu-item.open > a,
27 -.navbar-nav > li.agnease-menu-item.open > a:hover,
28 -.navbar-nav > li.agnease-menu-item.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,
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 {
29 29   background: transparent;
30 30   background-color: transparent;
31 31   color: @brand-strong;
... ... @@ -32,33 +32,25 @@
32 32   box-shadow: none;
33 33  }
34 34  
35 -.agnease-dropdown {
36 - min-width: 270px;
37 - padding: 8px;
53 +/* Dropdown panels */
54 +
55 +.agnease-services-dropdown,
56 +.agnease-products-dropdown {
57 + min-width: 360px;
58 + padding: 10px;
38 38   border: 1px solid @line;
39 39   border-radius: 12px;
40 - box-shadow: 0 12px 32px rgba(0, 0, 0, .10);
61 + box-shadow: 0 12px 36px rgba(0, 0, 0, .10);
41 41  
42 42   > li > a {
43 43   display: flex;
44 - align-items: center;
45 - gap: 10px;
46 - padding: 9px 11px;
47 - border-radius: 9px;
65 + align-items: flex-start;
66 + gap: 12px;
67 + padding: 10px 12px;
68 + border-radius: 10px;
48 48   color: @text;
49 - white-space: nowrap;
50 - font-size: 14px;
51 - font-weight: 600;
52 - line-height: 1.25;
70 + white-space: normal;
53 53  
54 - i {
55 - width: 18px;
56 - flex: 0 0 18px;
57 - color: @brand;
58 - text-align: center;
59 - font-size: 14px;
60 - }
61 -
62 62   &:hover,
63 63   &:focus {
64 64   color: @brand-strong;
... ... @@ -65,58 +65,82 @@
65 65   background: @brand-bg;
66 66   text-decoration: none;
67 67  
68 - i {
78 + .menu-icon {
69 69   color: @brand-strong;
80 + background: fade(@brand, 14%);
81 + border-color: fade(@brand, 28%);
70 70   }
83 +
84 + strong {
85 + color: @brand-strong;
86 + }
87 +
88 + small {
89 + color: @muted;
90 + }
71 71   }
72 72   }
73 73  
74 74   .divider {
75 - margin: 7px 0;
95 + margin: 8px 0;
76 76   background-color: @line;
77 77   }
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 + }
78 78  }
79 79  
133 +/* Products dropdown can be slightly narrower for now */
134 +
80 80  .agnease-products-dropdown {
81 - min-width: 260px;
136 + min-width: 340px;
82 82  }
83 83  
84 -.agnease-resources-dropdown {
85 - min-width: 260px;
86 -}
139 +/* Mobile */
87 87  
88 -/* ========== Mobile Menu ========== */
89 -
90 90  @media (max-width: 767px) {
91 - .navbar-nav > li.agnease-menu-item > a,
92 - .navbar-nav > li > a {
93 - padding-top: 8px;
94 - padding-bottom: 8px;
95 - }
96 -
97 - .agnease-dropdown {
142 + .agnease-services-dropdown,
143 + .agnease-products-dropdown {
98 98   min-width: 0;
99 99   width: 100%;
100 - padding: 4px 8px 8px 18px;
101 - border: 0;
146 + padding: 6px;
102 102   border-radius: 0;
148 + border-left: 0;
149 + border-right: 0;
103 103   box-shadow: none;
104 - background: transparent;
105 105  
106 106   > li > a {
107 - padding: 8px 10px;
108 - white-space: normal;
109 - font-size: 14px;
110 - border-radius: 8px;
111 -
112 - i {
113 - width: 16px;
114 - flex-basis: 16px;
115 - }
153 + padding: 10px;
116 116   }
117 -
118 - .divider {
119 - margin: 5px 0;
120 - }
121 121   }
122 122  }