Changes for page Public Web Site

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

From version 10.29
edited by Agnease
on 2026/05/19 07:24
Change comment: There is no comment for this version
To version 8.23
edited by Agnease
on 2026/05/19 03:42
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -617,6 +617,7 @@
617 617   order: 0;
618 618   position: static;
619 619   width: 100%;
620 + margin-bottom: 24px;
620 620   }
621 621  
622 622   .resource-content {
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,156 +1,162 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  
3 -/* Desktop alignment */
4 -@media (min-width: 768px) {
5 - .site-nav {
6 - margin-left: auto;
7 - justify-content: flex-end;
8 - }
3 +/* Top-level dropdown menu items */
9 9  
10 - .site-nav .agnease-menu-item,
11 - .site-nav .agnease-menu-link {
12 - display: inline-block;
5 +.agnease-services-menu,
6 +.agnease-products-menu,
7 +.agnease-resources-menu {
8 + .dropdown-toggle {
9 + font-weight: inherit;
10 + font-size: inherit;
13 13   }
14 -}
15 15  
16 -/* Top-level menu items */
17 -
18 -.agnease-menu-item,
19 -.agnease-menu-link {
20 - > a,
21 - > .dropdown-toggle {
22 - color: @brand;
23 - font-size: 17px;
24 - font-weight: 600;
25 - padding-left: 16px;
26 - padding-right: 16px;
27 - text-decoration: none;
13 + .caret {
14 + margin-left: 4px;
28 28   }
29 29  
30 - > a:hover,
31 - > a:focus,
32 - > a:active,
33 - &.open > a,
34 - &.active > a {
17 + &.open > .dropdown-toggle,
18 + .dropdown-toggle:hover,
19 + .dropdown-toggle:focus {
35 35   color: @brand-strong;
36 - text-decoration: none;
37 - outline: none;
21 + background: transparent;
22 + background-color: transparent;
23 + box-shadow: none;
38 38   }
25 +}
39 39  
40 - .caret {
41 - margin-left: 5px;
42 - border-top-color: @brand;
43 - border-bottom-color: @brand;
44 - }
27 +/* Keep public top-level dropdown items visually clean when hovered/open/focused */
45 45  
46 - > a:hover .caret,
47 - > a:focus .caret,
48 - > a:active .caret,
49 - &.open > a .caret,
50 - &.active > a .caret {
51 - border-top-color: @brand-strong;
52 - border-bottom-color: @brand-strong;
53 - }
29 +.navbar-nav > li.agnease-services-menu > a,
30 +.navbar-nav > li.agnease-products-menu > a,
31 +.navbar-nav > li.agnease-resources-menu > a,
32 +.navbar-nav > li.agnease-services-menu > a:hover,
33 +.navbar-nav > li.agnease-products-menu > a:hover,
34 +.navbar-nav > li.agnease-resources-menu > a:hover,
35 +.navbar-nav > li.agnease-services-menu > a:focus,
36 +.navbar-nav > li.agnease-products-menu > a:focus,
37 +.navbar-nav > li.agnease-resources-menu > a:focus,
38 +.navbar-nav > li.agnease-services-menu.open > a,
39 +.navbar-nav > li.agnease-products-menu.open > a,
40 +.navbar-nav > li.agnease-resources-menu.open > a,
41 +.navbar-nav > li.agnease-services-menu.open > a:hover,
42 +.navbar-nav > li.agnease-products-menu.open > a:hover,
43 +.navbar-nav > li.agnease-resources-menu.open > a:hover,
44 +.navbar-nav > li.agnease-services-menu.open > a:focus,
45 +.navbar-nav > li.agnease-products-menu.open > a:focus,
46 +.navbar-nav > li.agnease-resources-menu.open > a:focus {
47 + background: transparent;
48 + background-color: transparent;
49 + color: @brand-strong;
50 + box-shadow: none;
54 54  }
55 55  
56 -/* Dropdown panel */
53 +/* Dropdown panels */
57 57  
58 -.agnease-dropdown {
59 - min-width: 310px;
60 - padding: 10px 8px;
61 - border: 1px solid fade(@brand, 18%);
55 +.agnease-services-dropdown,
56 +.agnease-products-dropdown,
57 +.agnease-resources-dropdown {
58 + min-width: 360px;
59 + padding: 10px;
60 + border: 1px solid @line;
62 62   border-radius: 12px;
63 - background: #fff;
64 - box-shadow: 0 12px 32px fade(@brand-strong, 12%);
62 + box-shadow: 0 12px 36px rgba(0, 0, 0, .10);
65 65  
66 66   > li > a {
67 67   display: flex;
68 - align-items: center;
66 + align-items: flex-start;
69 69   gap: 12px;
70 - padding: 11px 14px;
71 - color: @brand;
72 - white-space: nowrap;
73 - font-size: 16px;
74 - font-weight: 600;
75 - line-height: 1.3;
76 - text-decoration: none;
68 + padding: 10px 12px;
69 + border-radius: 10px;
70 + color: @text;
71 + white-space: normal;
77 77  
78 - i {
79 - width: 20px;
80 - flex: 0 0 20px;
81 - color: @brand;
82 - text-align: center;
83 - font-size: 15px;
84 - }
85 -
86 86   &:hover,
87 - &:focus,
88 - &:active {
74 + &:focus {
89 89   color: @brand-strong;
76 + background: @brand-bg;
90 90   text-decoration: none;
91 - outline: none;
92 92  
93 - i {
79 + .menu-icon {
94 94   color: @brand-strong;
81 + background: fade(@brand, 14%);
82 + border-color: fade(@brand, 28%);
95 95   }
96 - }
97 - }
98 98  
99 - > .active > a {
100 - color: @brand-strong;
85 + strong {
86 + color: @brand-strong;
87 + }
101 101  
102 - i {
103 - color: @brand-strong;
89 + small {
90 + color: @muted;
91 + }
104 104   }
105 105   }
106 106  
107 107   .divider {
108 108   margin: 8px 0;
109 - background-color: fade(@brand, 16%);
97 + background-color: @line;
110 110   }
111 -}
112 112  
113 -/* Mobile */
114 -
115 -@media (max-width: 767px) {
116 - .site-nav {
117 - margin-left: 0;
100 + .menu-icon {
101 + width: 34px;
102 + height: 34px;
103 + border-radius: 50%;
104 + background: fade(@brand, 8%);
105 + border: 1px solid fade(@brand, 18%);
106 + color: @brand;
107 + display: flex;
108 + align-items: center;
118 118   justify-content: center;
119 - flex-wrap: wrap;
110 + flex-shrink: 0;
111 + transition: color .15s ease, background .15s ease, border-color .15s ease;
120 120   }
121 121  
122 - .agnease-menu-item,
123 - .agnease-menu-link {
124 - > a,
125 - > .dropdown-toggle {
126 - font-size: 16px;
127 - padding-top: 9px;
128 - padding-bottom: 9px;
114 + .menu-text {
115 + display: flex;
116 + flex-direction: column;
117 + line-height: 1.25;
118 +
119 + strong {
120 + color: @brand;
121 + font-size: 14px;
122 + font-weight: 600;
129 129   }
124 +
125 + small {
126 + color: @muted;
127 + font-size: 12px;
128 + margin-top: 2px;
129 + font-weight: 400;
130 + }
130 130   }
132 +}
131 131  
132 - .agnease-dropdown {
134 +/* Slightly narrower dropdowns where the content is shorter */
135 +
136 +.agnease-products-dropdown {
137 + min-width: 340px;
138 +}
139 +
140 +.agnease-resources-dropdown {
141 + min-width: 380px;
142 +}
143 +
144 +/* Mobile */
145 +
146 +@media (max-width: 767px) {
147 + .agnease-services-dropdown,
148 + .agnease-products-dropdown,
149 + .agnease-resources-dropdown {
133 133   min-width: 0;
134 134   width: 100%;
135 - padding: 4px 8px 8px 18px;
136 - border: 0;
152 + padding: 6px;
137 137   border-radius: 0;
154 + border-left: 0;
155 + border-right: 0;
138 138   box-shadow: none;
139 - background: transparent;
140 140  
141 141   > li > a {
142 - padding: 8px 10px;
143 - white-space: normal;
144 - font-size: 15px;
145 -
146 - i {
147 - width: 18px;
148 - flex-basis: 18px;
149 - }
159 + padding: 10px;
150 150   }
151 -
152 - .divider {
153 - margin: 5px 0;
154 - }
155 155   }
156 156  }