Changes for page Public Web Site
Last modified by Agnease on 2026/05/30 16:24
Summary
-
Objects (2 modified, 0 added, 0 removed)
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,116 +1,59 @@ 1 1 /* ========== Agnease Public Top Menu ========== */ 2 2 3 -/* Keep the public menu aligned to the right on desktop */ 4 -@media (min-width: 768px) { 5 - .navbar-nav { 6 - float: right; 7 - margin-left: auto; 3 +.agnease-menu-item { 4 + .dropdown-toggle { 5 + font-weight: inherit; 6 + font-size: inherit; 8 8 } 9 9 10 - .site-nav { 11 - margin-left: auto; 12 - justify-content: flex-end; 13 - } 14 -} 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 - background: transparent !important; 28 - background-color: transparent !important; 29 - background-image: none !important; 30 - box-shadow: none !important; 31 - } 32 - 33 - > a:hover, 34 - > a:focus, 35 - > a:active, 36 - &.open > a, 37 - &.open > a:hover, 38 - &.open > a:focus, 39 - &.open > a:active, 40 - &.active > a, 41 - &.active > a:hover, 42 - &.active > a:focus, 43 - &.active > a:active { 44 - color: @brand-strong; 45 - background: transparent !important; 46 - background-color: transparent !important; 47 - background-image: none !important; 48 - box-shadow: none !important; 49 - outline: none; 50 - text-decoration: none; 51 - } 52 - 53 53 .caret { 54 - margin-left: 5px;10 + margin-left: 4px; 55 55 border-top-color: @brand; 56 56 border-bottom-color: @brand; 57 57 } 58 58 59 - > a:hover .caret, 60 - > a:focus .caret, 61 - > a:active .caret, 62 - &.open > a .caret, 63 - &.active > a .caret { 15 + &.open > .dropdown-toggle, 16 + .dropdown-toggle:hover, 17 + .dropdown-toggle:focus { 18 + color: @brand-strong; 19 + background: transparent; 20 + background-color: transparent; 21 + box-shadow: none; 22 + } 23 + 24 + &.open > .dropdown-toggle .caret, 25 + .dropdown-toggle:hover .caret, 26 + .dropdown-toggle:focus .caret { 64 64 border-top-color: @brand-strong; 65 65 border-bottom-color: @brand-strong; 66 66 } 67 67 } 68 68 69 -/* Strong Bootstrap/XWikioverridesfortop-level menubackgrounds */32 +/* Keep Agnease public top-level menu visually clean when hovered/open/focused */ 70 70 71 -.navbar-nav > li, 72 -.navbar-nav > li:hover, 73 -.navbar-nav > li:focus, 74 -.navbar-nav > li:active, 75 -.navbar-nav > li.open, 76 -.navbar-nav > li.open:hover, 77 -.navbar-nav > li.open:focus, 78 -.navbar-nav > li.open:active, 79 -.navbar-nav > li.active, 80 -.navbar-nav > li.active:hover, 81 -.navbar-nav > li.active:focus, 82 -.navbar-nav > li.active:active { 83 - background: transparent !important; 84 - background-color: transparent !important; 85 - background-image: none !important; 34 +.navbar-nav > li.agnease-services-menu > a, 35 +.navbar-nav > li.agnease-products-menu > a, 36 +.navbar-nav > li.agnease-services-menu > a:hover, 37 +.navbar-nav > li.agnease-products-menu > a:hover, 38 +.navbar-nav > li.agnease-services-menu > a:focus, 39 +.navbar-nav > li.agnease-products-menu > a:focus, 40 +.navbar-nav > li.agnease-services-menu.open > a, 41 +.navbar-nav > li.agnease-products-menu.open > a, 42 +.navbar-nav > li.agnease-services-menu.open > a:hover, 43 +.navbar-nav > li.agnease-products-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 + background: transparent; 47 + background-color: transparent; 48 + color: @brand-strong; 49 + box-shadow: none; 86 86 } 87 87 88 -.navbar-nav > li > a, 89 -.navbar-nav > li > a:hover, 90 -.navbar-nav > li > a:focus, 91 -.navbar-nav > li > a:active, 92 -.navbar-nav > li.open > a, 93 -.navbar-nav > li.open > a:hover, 94 -.navbar-nav > li.open > a:focus, 95 -.navbar-nav > li.open > a:active, 96 -.navbar-nav > li.active > a, 97 -.navbar-nav > li.active > a:hover, 98 -.navbar-nav > li.active > a:focus, 99 -.navbar-nav > li.active > a:active, 100 -.nav .open > a, 101 -.nav .open > a:hover, 102 -.nav .open > a:focus { 103 - background: transparent !important; 104 - background-color: transparent !important; 105 - background-image: none !important; 106 - box-shadow: none !important; 107 -} 52 +/* Dropdown panels */ 108 108 109 -/* Dropdown panel */ 110 - 111 111 .agnease-dropdown { 112 - min-width: 310px;113 - padding: 10px8px;55 + min-width: 270px; 56 + padding: 8px; 114 114 border: 1px solid fade(@brand, 18%); 115 115 border-radius: 12px; 116 116 background: #fff; ... ... @@ -119,24 +119,22 @@ 119 119 > li > a { 120 120 display: flex; 121 121 align-items: center; 122 - gap: 12px; 123 - padding: 11px 14px; 65 + gap: 10px; 66 + padding: 9px 11px; 67 + border-radius: 9px; 124 124 color: @brand; 125 - background: transparent !important; 126 - background-color: transparent !important; 127 - background-image: none !important; 69 + background: transparent; 128 128 white-space: nowrap; 129 - font-size: 16px; 130 - font-weight: 600; 131 - line-height: 1.3; 132 - box-shadow: none !important; 71 + font-size: 14px; 72 + font-weight: 700; 73 + line-height: 1.25; 133 133 134 134 i { 135 - width: 20px;136 - flex: 0 0 20px;76 + width: 18px; 77 + flex: 0 0 18px; 137 137 color: @brand; 138 138 text-align: center; 139 - font-size: 1 5px;80 + font-size: 14px; 140 140 } 141 141 142 142 &:hover, ... ... @@ -143,12 +143,9 @@ 143 143 &:focus, 144 144 &:active { 145 145 color: @brand-strong; 146 - background: transparent !important; 147 - background-color: transparent !important; 148 - background-image: none !important; 87 + background: fade(@brand, 8%); 149 149 text-decoration: none; 150 150 outline: none; 151 - box-shadow: none !important; 152 152 153 153 i { 154 154 color: @brand-strong; ... ... @@ -158,14 +158,10 @@ 158 158 159 159 > .active > a, 160 160 > .active > a:hover, 161 - > .active > a:focus, 162 - > .active > a:active { 99 + > .active > a:focus { 163 163 color: @brand-strong; 164 - background: transparent !important; 165 - background-color: transparent !important; 166 - background-image: none !important; 101 + background: fade(@brand, 10%); 167 167 text-decoration: none; 168 - box-shadow: none !important; 169 169 170 170 i { 171 171 color: @brand-strong; ... ... @@ -173,49 +173,31 @@ 173 173 } 174 174 175 175 .divider { 176 - margin: 8px 0;110 + margin: 7px 0; 177 177 background-color: fade(@brand, 16%); 178 178 } 179 179 } 180 180 181 -/* Strong Bootstrap/XWiki overrides for submenu gray hover backgrounds */ 115 +.agnease-products-dropdown, 116 +.agnease-resources-dropdown { 117 + min-width: 260px; 118 +} 182 182 183 - .dropdown-menu> li>a,120 +/* Remove gray Bootstrap dropdown item states */ 184 184 .dropdown-menu > li > a:hover, 185 -.dropdown-menu > li > a:focus, 186 -.dropdown-menu > li > a:active, 187 -.dropdown-menu > .active > a, 188 -.dropdown-menu > .active > a:hover, 189 -.dropdown-menu > .active > a:focus, 190 -.dropdown-menu > .active > a:active, 191 -.agnease-dropdown > li > a, 192 -.agnease-dropdown > li > a:hover, 193 -.agnease-dropdown > li > a:focus, 194 -.agnease-dropdown > li > a:active { 195 - background: transparent !important; 196 - background-color: transparent !important; 197 - background-image: none !important; 198 - box-shadow: none !important; 122 +.dropdown-menu > li > a:focus { 123 + background-image: none; 199 199 } 200 200 201 -/* Mobile */ 126 +/* ========== Mobile Menu ========== */ 202 202 203 203 @media (max-width: 767px) { 204 - .navbar-nav { 205 - float: none; 206 - margin-left: 0; 129 + .navbar-nav > li.agnease-menu-item > a, 130 + .navbar-nav > li > a { 131 + padding-top: 8px; 132 + padding-bottom: 8px; 207 207 } 208 208 209 - .agnease-menu-item, 210 - .agnease-menu-link { 211 - > a, 212 - > .dropdown-toggle { 213 - font-size: 16px; 214 - padding-top: 9px; 215 - padding-bottom: 9px; 216 - } 217 - } 218 - 219 219 .agnease-dropdown { 220 220 min-width: 0; 221 221 width: 100%; ... ... @@ -223,18 +223,18 @@ 223 223 border: 0; 224 224 border-radius: 0; 225 225 box-shadow: none; 226 - background: transparent;142 + background: #fff; 227 227 228 228 > li > a { 229 229 padding: 8px 10px; 230 230 white-space: normal; 231 - font-size: 15px; 147 + font-size: 14px; 148 + border-radius: 8px; 232 232 color: @brand; 233 - background: transparent !important; 234 234 235 235 i { 236 - width: 1 8px;237 - flex-basis: 1 8px;152 + width: 16px; 153 + flex-basis: 16px; 238 238 } 239 239 240 240 &:hover, ... ... @@ -241,7 +241,7 @@ 241 241 &:focus, 242 242 &:active { 243 243 color: @brand-strong; 244 - background: transparent !important;160 + background: fade(@brand, 8%); 245 245 } 246 246 } 247 247 ... ... @@ -251,3 +251,23 @@ 251 251 } 252 252 } 253 253 } 170 +/* Remove gray background from opened top-level public menu items */ 171 + 172 +.site-nav .dropdown.open > a, 173 +.site-nav .dropdown.open > a:hover, 174 +.site-nav .dropdown.open > a:focus, 175 +.site-nav .agnease-menu-item.open > a, 176 +.site-nav .agnease-menu-item.open > a:hover, 177 +.site-nav .agnease-menu-item.open > a:focus, 178 +.navbar-nav > li.dropdown.open > a, 179 +.navbar-nav > li.dropdown.open > a:hover, 180 +.navbar-nav > li.dropdown.open > a:focus, 181 +.navbar-nav > li.agnease-menu-item.open > a, 182 +.navbar-nav > li.agnease-menu-item.open > a:hover, 183 +.navbar-nav > li.agnease-menu-item.open > a:focus { 184 + color: @brand-strong; 185 + background: transparent !important; 186 + background-color: transparent !important; 187 + background-image: none !important; 188 + box-shadow: none !important; 189 +}