Changeset 6459 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/css/components/_wporg-header.scss
- Timestamp:
- 01/29/2018 11:42:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/css/components/_wporg-header.scss
r6315 r6459 53 53 max-width: 75%; 54 54 min-width: 200px; 55 padding: 20px 0 0;56 55 position: absolute; 57 56 text-align: left; 57 top: 100%; 58 58 transition: left 0.3s; 59 59 z-index: 100000; 60 60 61 &. active{61 &.toggled { 62 62 left: 0; 63 63 } … … 89 89 } 90 90 91 a:hover, 92 a.current, 93 &.current-menu-item a, 94 &.current_page_parent a { 95 color: #00a0d2; 96 } 97 91 98 &#download, 92 99 &.download { … … 123 130 124 131 &.current, 125 &.current-menu-item { 126 a { 127 color: #eee; 128 } 129 } 130 132 &.current-menu-item, 131 133 .uparrow { 132 134 display: none; … … 134 136 } 135 137 136 a:hover, 137 a.current, 138 &.current-menu-item a, 139 &.current_page_parent a { 140 color: #00a0d2; 141 } 142 } 143 144 .nav-submenu { 145 display: none; 146 margin-bottom: 10px; 147 margin-top: -15px; 148 padding: 0; 149 position: static; 150 151 li a { 152 height: 24px; 153 line-height: 24px; 154 margin-left: 20px; 138 .nav-submenu { 139 clip: rect(1px, 1px, 1px, 1px); 140 height: 1px; 141 left: -2px; 142 margin: 0; 143 overflow: hidden; 144 padding: 0; 145 position: absolute; 146 width: 1px; 147 z-index: 99999; 148 149 li a { 150 height: 24px; 151 line-height: 24px; 152 margin: 0; 153 } 155 154 } 156 155 } … … 195 194 196 195 .button { 197 background: #191e23 url( //s.w.org/wp-includes/images/admin-bar-sprite.png?d=20120831 ) no-repeat 2px 4px;196 background: #191e23 url( //s.w.org/wp-includes/images/admin-bar-sprite.png?d=20120831 ) no-repeat 2px 5px; 198 197 border: none; 199 198 border-radius: 0; … … 231 230 } 232 231 232 #headline h2 { 233 text-rendering: optimizeLegibility; 234 } 235 233 236 #wporg-header-menu { 234 237 float:left; … … 247 250 248 251 a { 249 color: #eee;250 display: block;251 font-family: "Open Sans", Helvetica, Arial, "Liberation Sans", sans-serif;252 font-size: 13px;253 font-weight: 600;254 252 height: 46px; 255 line-height: 34px;256 margin: 0 4px;257 253 padding: 0 6px; 258 254 … … 290 286 } 291 287 292 .nav-submenu li { 293 float: none; 294 295 a { 296 height: 34px; 297 line-height: 34px; 298 margin-left: 6px; 299 } 300 } 301 } 302 303 .nav-submenu { 304 background: #32373c; 305 border: #32373c solid 1px; 306 border-top: 0; 307 display: none !important;/* Prevents #wporg-header ul overwriting this */ 308 margin-top: -1px; 309 min-width: 0; 310 } 311 312 ul li:hover .nav-submenu, 313 ul li .nav-submenu:hover { 314 display: block !important;/* Prevents #wporg-header ul overwriting this */ 315 left:0; 316 margin-left:0; 317 position: absolute; 318 top: 46px; 319 width: auto; 320 z-index: 101; 321 } 322 323 #headline h2 { 324 text-rendering: optimizeLegibility; 288 .nav-submenu { 289 background: #32373c; 290 border: #32373c solid 1px; 291 border-top: 0; 292 margin-top: -1px; 293 min-width: 0; 294 295 li { 296 float: none; 297 298 a { 299 height: 34px; 300 line-height: 34px; 301 } 302 } 303 } 304 } 305 306 ul.nav-menu li:hover > ul, 307 .nav-menu ul li:hover > ul, 308 ul.nav-menu .focus > ul, 309 .nav-menu .focus > ul { 310 clip: inherit; 311 height: inherit; 312 overflow: inherit; 313 width: inherit; 325 314 } 326 315 … … 334 323 335 324 #mobile-menu-button { 325 background: none; 326 border: none; 327 box-shadow: none; 336 328 display: block; 337 329 float: left; … … 340 332 font-style: normal; 341 333 font-weight: normal; 342 height: 32px;343 334 left: 10px; 344 335 line-height: 1; 336 padding: 1px; 345 337 position: absolute; 346 338 text-align: center; 347 339 text-decoration: inherit; 340 text-shadow: none; 348 341 top: 75px; 349 342 transition: color .1s ease-in; 350 343 vertical-align: top; 351 width: 39px;352 -webkit-font-smoothing: antialiased;353 354 344 &:before { 355 345 border: none; … … 360 350 float: left; 361 351 font: normal 50px/1 'Dashicons'; 362 height: 32px;363 352 margin: 0; 364 353 outline: none; … … 366 355 text-decoration: none; 367 356 vertical-align: middle; 368 width: 39px;369 357 -webkit-font-smoothing: antialiased; 370 }371 372 &:hover {373 background:none;374 358 } 375 359 … … 377 361 display: none; 378 362 } 363 364 -webkit-font-smoothing: antialiased; 379 365 } 380 366
Note: See TracChangeset
for help on using the changeset viewer.