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,156 +1,237 @@ 1 1 /* ========== Agnease Public Top Menu ========== */ 2 2 3 -@brand: #00937D; 4 -@brand-strong: #007B6A; 5 -@text: #2D3A34; 6 -@muted: #5B6B64; 7 -@line: #E4ECE9; 8 -@brand-bg: #F4FCFA; 3 +/* Keep the public menu aligned to the right on desktop */ 4 +@media (min-width: 768px) { 5 + .navbar-nav { 6 + float: right; 7 + } 9 9 9 + .site-nav { 10 + margin-left: auto; 11 + justify-content: flex-end; 12 + } 13 +} 14 + 10 10 /* Top-level menu items */ 11 11 12 -.agnease-services-menu, 13 -.agnease-products-menu { 17 +.agnease-menu-item { 14 14 .dropdown-toggle { 15 - font-weight: inherit; 16 - font-size: inherit; 19 + color: @brand; 20 + font-weight: 600; 21 + font-size: 17px; 22 + padding-left: 16px; 23 + padding-right: 16px; 24 + background: transparent !important; 25 + background-color: transparent !important; 26 + background-image: none !important; 27 + box-shadow: none !important; 17 17 } 18 18 19 19 .caret { 20 - margin-left: 4px; 31 + margin-left: 5px; 32 + border-top-color: @brand; 33 + border-bottom-color: @brand; 21 21 } 22 22 23 23 &.open > .dropdown-toggle, 37 + &.active > .dropdown-toggle, 24 24 .dropdown-toggle:hover, 25 - .dropdown-toggle:focus { 39 + .dropdown-toggle:focus, 40 + .dropdown-toggle:active { 26 26 color: @brand-strong; 27 - background: transparent; 28 - background-color: transparent; 29 - box-shadow: none; 42 + background: transparent !important; 43 + background-color: transparent !important; 44 + background-image: none !important; 45 + box-shadow: none !important; 46 + outline: none; 30 30 } 48 + 49 + &.open > .dropdown-toggle .caret, 50 + &.active > .dropdown-toggle .caret, 51 + .dropdown-toggle:hover .caret, 52 + .dropdown-toggle:focus .caret, 53 + .dropdown-toggle:active .caret { 54 + border-top-color: @brand-strong; 55 + border-bottom-color: @brand-strong; 56 + } 31 31 } 32 32 33 -/* KeepAgneasepublic top-levelmenuvisually clean when hovered/open/focused*/59 +/* Remove Bootstrap/XWiki gray backgrounds from top-level nav states */ 34 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 { 47 - background: transparent; 48 - background-color: transparent; 61 +.navbar-nav > li > a, 62 +.navbar-nav > li > a:hover, 63 +.navbar-nav > li > a:focus, 64 +.navbar-nav > li > a:active, 65 +.navbar-nav > li.open > a, 66 +.navbar-nav > li.open > a:hover, 67 +.navbar-nav > li.open > a:focus, 68 +.navbar-nav > li.open > a:active, 69 +.navbar-nav > li.active > a, 70 +.navbar-nav > li.active > a:hover, 71 +.navbar-nav > li.active > a:focus, 72 +.navbar-nav > li.active > a:active, 73 +.nav .open > a, 74 +.nav .open > a:hover, 75 +.nav .open > a:focus { 76 + background: transparent !important; 77 + background-color: transparent !important; 78 + background-image: none !important; 79 + box-shadow: none !important; 80 +} 81 + 82 +/* Contact item should visually match the dropdown top-level entries */ 83 +.navbar-nav > li > a { 84 + color: @brand; 85 + font-size: 17px; 86 + font-weight: 600; 87 +} 88 + 89 +.navbar-nav > li > a:hover, 90 +.navbar-nav > li > a:focus, 91 +.navbar-nav > li > a:active { 49 49 color: @brand-strong; 50 - box-shadow: none; 51 51 } 52 52 53 53 /* Dropdown panels */ 54 54 55 -.agnease-services-dropdown, 56 -.agnease-products-dropdown { 57 - min-width: 360px; 58 - padding: 10px; 59 - border: 1px solid @line; 97 +.agnease-dropdown { 98 + min-width: 310px; 99 + padding: 10px 8px; 100 + border: 1px solid fade(@brand, 18%); 60 60 border-radius: 12px; 61 - box-shadow: 0 12px 36px rgba(0, 0, 0, .10); 102 + background: #fff; 103 + box-shadow: 0 12px 32px fade(@brand-strong, 12%); 62 62 63 63 > li > a { 64 64 display: flex; 65 - align-items: flex-start;107 + align-items: center; 66 66 gap: 12px; 67 - padding: 10px 12px; 68 - border-radius: 10px; 69 - color: @text; 70 - white-space: normal; 109 + padding: 11px 14px; 110 + border-radius: 0; 111 + color: @brand; 112 + background: transparent !important; 113 + background-color: transparent !important; 114 + background-image: none !important; 115 + white-space: nowrap; 116 + font-size: 16px; 117 + font-weight: 600; 118 + line-height: 1.3; 119 + box-shadow: none !important; 71 71 121 + i { 122 + width: 20px; 123 + flex: 0 0 20px; 124 + color: @brand; 125 + text-align: center; 126 + font-size: 15px; 127 + } 128 + 72 72 &:hover, 73 - &:focus { 130 + &:focus, 131 + &:active { 74 74 color: @brand-strong; 75 - background: @brand-bg; 133 + background: transparent !important; 134 + background-color: transparent !important; 135 + background-image: none !important; 76 76 text-decoration: none; 137 + outline: none; 138 + box-shadow: none !important; 77 77 78 - .menu-icon{140 + i { 79 79 color: @brand-strong; 80 - background: fade(@brand, 14%); 81 - border-color: fade(@brand, 28%); 82 82 } 143 + } 144 + } 83 83 84 - strong { 85 - color: @brand-strong; 86 - } 146 + > .active > a, 147 + > .active > a:hover, 148 + > .active > a:focus, 149 + > .active > a:active { 150 + color: @brand-strong; 151 + background: transparent !important; 152 + background-color: transparent !important; 153 + background-image: none !important; 154 + text-decoration: none; 155 + box-shadow: none !important; 87 87 88 - small { 89 - color: @muted; 90 - } 157 + i { 158 + color: @brand-strong; 91 91 } 92 92 } 93 93 94 94 .divider { 95 95 margin: 8px 0; 96 - background-color: @ line;164 + background-color: fade(@brand, 16%); 97 97 } 166 +} 98 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 - } 168 +.agnease-products-dropdown, 169 +.agnease-resources-dropdown { 170 + min-width: 290px; 131 131 } 132 132 133 -/* Products dropdowncanbeslightlynarrower for now*/173 +/* Remove Bootstrap/XWiki gray backgrounds from dropdown entries globally */ 134 134 135 -.agnease-products-dropdown { 136 - min-width: 340px; 175 +.dropdown-menu > li > a, 176 +.dropdown-menu > li > a:hover, 177 +.dropdown-menu > li > a:focus, 178 +.dropdown-menu > li > a:active, 179 +.dropdown-menu > .active > a, 180 +.dropdown-menu > .active > a:hover, 181 +.dropdown-menu > .active > a:focus, 182 +.dropdown-menu > .active > a:active { 183 + background: transparent !important; 184 + background-color: transparent !important; 185 + background-image: none !important; 186 + box-shadow: none !important; 137 137 } 138 138 139 -/* Mobile */ 189 +/* ========== Mobile Menu ========== */ 140 140 141 141 @media (max-width: 767px) { 142 - .agnease-services-dropdown, 143 - .agnease-products-dropdown { 192 + .navbar-nav { 193 + float: none; 194 + } 195 + 196 + .navbar-nav > li > a, 197 + .agnease-menu-item .dropdown-toggle { 198 + font-size: 16px; 199 + padding-top: 9px; 200 + padding-bottom: 9px; 201 + } 202 + 203 + .agnease-dropdown { 144 144 min-width: 0; 145 145 width: 100%; 146 - padding: 6px; 206 + padding: 4px 8px 8px 18px; 207 + border: 0; 147 147 border-radius: 0; 148 - border-left: 0; 149 - border-right: 0; 150 150 box-shadow: none; 210 + background: transparent; 151 151 152 152 > li > a { 153 - padding: 10px; 213 + padding: 8px 10px; 214 + white-space: normal; 215 + font-size: 15px; 216 + color: @brand; 217 + background: transparent !important; 218 + 219 + i { 220 + width: 18px; 221 + flex-basis: 18px; 222 + } 223 + 224 + &:hover, 225 + &:focus, 226 + &:active { 227 + color: @brand-strong; 228 + background: transparent !important; 229 + } 154 154 } 231 + 232 + .divider { 233 + margin: 5px 0; 234 + background-color: fade(@brand, 16%); 235 + } 155 155 } 156 156 }