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,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,60 +1,116 @@ 1 1 /* ========== Agnease Public Top Menu ========== */ 2 2 3 -.agnease-menu-item { 4 - .dropdown-toggle { 5 - font-weight: inherit; 6 - font-size: inherit; 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; 7 7 } 8 8 9 - .caret { 10 - margin-left: 4px; 11 - border-top-color: @brand; 12 - border-bottom-color: @brand; 10 + .site-nav { 11 + margin-left: auto; 12 + justify-content: flex-end; 13 13 } 14 +} 14 14 15 - &.open > .dropdown-toggle, 16 - .dropdown-toggle:hover, 17 - .dropdown-toggle:focus { 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 { 18 18 color: @brand-strong; 19 - background: transparent; 20 - background-color: transparent; 21 - box-shadow: none; 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; 22 22 } 23 23 24 - &.open > .dropdown-toggle .caret, 25 - .dropdown-toggle:hover .caret, 26 - .dropdown-toggle:focus .caret { 53 + .caret { 54 + margin-left: 5px; 55 + border-top-color: @brand; 56 + border-bottom-color: @brand; 57 + } 58 + 59 + > a:hover .caret, 60 + > a:focus .caret, 61 + > a:active .caret, 62 + &.open > a .caret, 63 + &.active > a .caret { 27 27 border-top-color: @brand-strong; 28 28 border-bottom-color: @brand-strong; 29 29 } 30 30 } 31 31 32 -/* Keep Agnease public top-level menu visually clean when hovered/open/focused */ 33 -.navbar-nav > li.agnease-menu-item > a, 34 -.navbar-nav > li.agnease-menu-item > a:hover, 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; 69 +/* Strong Bootstrap/XWiki overrides for top-level menu backgrounds */ 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; 51 51 } 52 52 53 -/* Dropdown panels */ 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 +} 54 54 109 +/* Dropdown panel */ 110 + 55 55 .agnease-dropdown { 56 - min-width: 270px;57 - padding: 8px; 112 + min-width: 310px; 113 + padding: 10px 8px; 58 58 border: 1px solid fade(@brand, 18%); 59 59 border-radius: 12px; 60 60 background: #fff; ... ... @@ -63,22 +63,24 @@ 63 63 > li > a { 64 64 display: flex; 65 65 align-items: center; 66 - gap: 10px; 67 - padding: 9px 11px; 68 - border-radius: 9px; 122 + gap: 12px; 123 + padding: 11px 14px; 69 69 color: @brand; 70 - background: transparent; 125 + background: transparent !important; 126 + background-color: transparent !important; 127 + background-image: none !important; 71 71 white-space: nowrap; 72 - font-size: 14px; 73 - font-weight: 700; 74 - line-height: 1.25; 129 + font-size: 16px; 130 + font-weight: 600; 131 + line-height: 1.3; 132 + box-shadow: none !important; 75 75 76 76 i { 77 - width: 18px;78 - flex: 0 0 18px;135 + width: 20px; 136 + flex: 0 0 20px; 79 79 color: @brand; 80 80 text-align: center; 81 - font-size: 1 4px;139 + font-size: 15px; 82 82 } 83 83 84 84 &:hover, ... ... @@ -85,9 +85,12 @@ 85 85 &:focus, 86 86 &:active { 87 87 color: @brand-strong; 88 - background: fade(@brand, 8%); 146 + background: transparent !important; 147 + background-color: transparent !important; 148 + background-image: none !important; 89 89 text-decoration: none; 90 90 outline: none; 151 + box-shadow: none !important; 91 91 92 92 i { 93 93 color: @brand-strong; ... ... @@ -97,10 +97,14 @@ 97 97 98 98 > .active > a, 99 99 > .active > a:hover, 100 - > .active > a:focus { 161 + > .active > a:focus, 162 + > .active > a:active { 101 101 color: @brand-strong; 102 - background: fade(@brand, 10%); 164 + background: transparent !important; 165 + background-color: transparent !important; 166 + background-image: none !important; 103 103 text-decoration: none; 168 + box-shadow: none !important; 104 104 105 105 i { 106 106 color: @brand-strong; ... ... @@ -108,31 +108,49 @@ 108 108 } 109 109 110 110 .divider { 111 - margin: 7px 0;176 + margin: 8px 0; 112 112 background-color: fade(@brand, 16%); 113 113 } 114 114 } 115 115 116 -.agnease-products-dropdown, 117 -.agnease-resources-dropdown { 118 - min-width: 260px; 119 -} 181 +/* Strong Bootstrap/XWiki overrides for submenu gray hover backgrounds */ 120 120 121 - /* Remove gray Bootstrapdropdown itemstates*/183 +.dropdown-menu > li > a, 122 122 .dropdown-menu > li > a:hover, 123 -.dropdown-menu > li > a:focus { 124 - background-image: none; 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; 125 125 } 126 126 127 -/* ==========MobileMenu ==========*/201 +/* Mobile */ 128 128 129 129 @media (max-width: 767px) { 130 - .navbar-nav > li.agnease-menu-item > a, 131 - .navbar-nav > li > a { 132 - padding-top: 8px; 133 - padding-bottom: 8px; 204 + .navbar-nav { 205 + float: none; 206 + margin-left: 0; 134 134 } 135 135 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 + 136 136 .agnease-dropdown { 137 137 min-width: 0; 138 138 width: 100%; ... ... @@ -140,18 +140,18 @@ 140 140 border: 0; 141 141 border-radius: 0; 142 142 box-shadow: none; 143 - background: #fff;226 + background: transparent; 144 144 145 145 > li > a { 146 146 padding: 8px 10px; 147 147 white-space: normal; 148 - font-size: 14px; 149 - border-radius: 8px; 231 + font-size: 15px; 150 150 color: @brand; 233 + background: transparent !important; 151 151 152 152 i { 153 - width: 1 6px;154 - flex-basis: 1 6px;236 + width: 18px; 237 + flex-basis: 18px; 155 155 } 156 156 157 157 &:hover, ... ... @@ -158,7 +158,7 @@ 158 158 &:focus, 159 159 &:active { 160 160 color: @brand-strong; 161 - background: fade(@brand, 8%);244 + background: transparent !important; 162 162 } 163 163 } 164 164 ... ... @@ -168,23 +168,3 @@ 168 168 } 169 169 } 170 170 } 171 -/* Remove gray background from opened top-level public menu items */ 172 - 173 -.site-nav .dropdown.open > a, 174 -.site-nav .dropdown.open > a:hover, 175 -.site-nav .dropdown.open > a:focus, 176 -.site-nav .agnease-menu-item.open > a, 177 -.site-nav .agnease-menu-item.open > a:hover, 178 -.site-nav .agnease-menu-item.open > a:focus, 179 -.navbar-nav > li.dropdown.open > a, 180 -.navbar-nav > li.dropdown.open > a:hover, 181 -.navbar-nav > li.dropdown.open > a:focus, 182 -.navbar-nav > li.agnease-menu-item.open > a, 183 -.navbar-nav > li.agnease-menu-item.open > a:hover, 184 -.navbar-nav > li.agnease-menu-item.open > a:focus { 185 - color: @brand-strong; 186 - background: transparent !important; 187 - background-color: transparent !important; 188 - background-image: none !important; 189 - box-shadow: none !important; 190 -}