Changes for page Public Web Site

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

From version 8.23
edited by Agnease
on 2026/05/19 03:42
Change comment: There is no comment for this version
To version 10.16
edited by Agnease
on 2026/05/19 06:18
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -617,7 +617,6 @@
617 617   order: 0;
618 618   position: static;
619 619   width: 100%;
620 - margin-bottom: 24px;
621 621   }
622 622  
623 623   .resource-content {
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,10 +1,6 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  
3 -/* Top-level dropdown menu items */
4 -
5 -.agnease-services-menu,
6 -.agnease-products-menu,
7 -.agnease-resources-menu {
3 +.agnease-menu-item {
8 8   .dropdown-toggle {
9 9   font-weight: inherit;
10 10   font-size: inherit;
... ... @@ -12,6 +12,8 @@
12 12  
13 13   .caret {
14 14   margin-left: 4px;
11 + border-top-color: @brand;
12 + border-bottom-color: @brand;
15 15   }
16 16  
17 17   &.open > .dropdown-toggle,
... ... @@ -22,141 +22,134 @@
22 22   background-color: transparent;
23 23   box-shadow: none;
24 24   }
25 -}
26 26  
27 -/* Keep public top-level dropdown items visually clean when hovered/open/focused */
28 -
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;
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 -.agnease-resources-dropdown {
58 - min-width: 360px;
59 - padding: 10px;
60 - border: 1px solid @line;
34 +.agnease-dropdown {
35 + min-width: 270px;
36 + padding: 8px;
37 + border: 1px solid fade(@brand, 18%);
61 61   border-radius: 12px;
62 - box-shadow: 0 12px 36px rgba(0, 0, 0, .10);
39 + background: #fff;
40 + box-shadow: 0 12px 32px fade(@brand-strong, 12%);
63 63  
64 64   > li > a {
65 65   display: flex;
66 - align-items: flex-start;
67 - gap: 12px;
68 - padding: 10px 12px;
69 - border-radius: 10px;
70 - color: @text;
71 - 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;
72 72  
55 + i {
56 + width: 18px;
57 + flex: 0 0 18px;
58 + color: @brand;
59 + text-align: center;
60 + font-size: 14px;
61 + }
62 +
73 73   &:hover,
74 - &:focus {
64 + &:focus,
65 + &:active {
75 75   color: @brand-strong;
76 - background: @brand-bg;
67 + background: fade(@brand, 8%);
77 77   text-decoration: none;
69 + outline: none;
78 78  
79 - .menu-icon {
71 + i {
80 80   color: @brand-strong;
81 - background: fade(@brand, 14%);
82 - border-color: fade(@brand, 28%);
83 83   }
74 + }
75 + }
84 84  
85 - strong {
86 - color: @brand-strong;
87 - }
77 + > .active > a,
78 + > .active > a:hover,
79 + > .active > a:focus {
80 + color: @brand-strong;
81 + background: fade(@brand, 10%);
82 + text-decoration: none;
88 88  
89 - small {
90 - color: @muted;
91 - }
84 + i {
85 + color: @brand-strong;
92 92   }
93 93   }
94 94  
95 95   .divider {
96 - margin: 8px 0;
97 - background-color: @line;
90 + margin: 7px 0;
91 + background-color: fade(@brand, 16%);
98 98   }
99 -
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;
109 - justify-content: center;
110 - flex-shrink: 0;
111 - transition: color .15s ease, background .15s ease, border-color .15s ease;
112 - }
113 -
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;
123 - }
124 -
125 - small {
126 - color: @muted;
127 - font-size: 12px;
128 - margin-top: 2px;
129 - font-weight: 400;
130 - }
131 - }
132 132  }
133 133  
134 -/* Slightly narrower dropdowns where the content is shorter */
135 -
136 -.agnease-products-dropdown {
137 - min-width: 340px;
95 +.agnease-products-dropdown,
96 +.agnease-resources-dropdown {
97 + min-width: 260px;
138 138  }
139 139  
140 -.agnease-resources-dropdown {
141 - min-width: 380px;
100 +/* Remove gray Bootstrap dropdown item states */
101 +.dropdown-menu > li > a:hover,
102 +.dropdown-menu > li > a:focus {
103 + background-image: none;
142 142  }
143 143  
144 -/* Mobile */
106 +/* ========== Mobile Menu ========== */
145 145  
146 146  @media (max-width: 767px) {
147 - .agnease-services-dropdown,
148 - .agnease-products-dropdown,
149 - .agnease-resources-dropdown {
109 + .navbar-nav .agnease-menu-item.open .dropdown-menu > li > a {
110 + font-size: 14px;
111 + }
112 + .navbar-nav > li.agnease-menu-item > a,
113 + .navbar-nav > li > a {
114 + padding-top: 8px;
115 + padding-bottom: 8px;
116 +
117 + }
118 +
119 + .agnease-dropdown {
150 150   min-width: 0;
151 151   width: 100%;
152 - padding: 6px;
122 + padding: 4px 8px 8px 18px;
123 + border: 0;
153 153   border-radius: 0;
154 - border-left: 0;
155 - border-right: 0;
156 156   box-shadow: none;
126 + background: #fff;
157 157  
158 158   > li > a {
159 - padding: 10px;
129 + padding: 8px 10px;
130 + white-space: normal;
131 + font-size: 14px;
132 + border-radius: 8px;
133 + color: @brand;
134 +
135 + i {
136 + width: 16px;
137 + flex-basis: 16px;
138 + }
139 +
140 + &:hover,
141 + &:focus,
142 + &:active {
143 + color: @brand-strong;
144 + background: fade(@brand, 8%);
145 + }
160 160   }
147 +
148 + .divider {
149 + margin: 5px 0;
150 + background-color: fade(@brand, 16%);
151 + }
161 161   }
162 162  }