Changeset 6101 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/css/components/_wporg-header.scss
- Timestamp:
- 11/09/2017 10:26:44 PM (7 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
r6100 r6101 127 127 color: #eee; 128 128 } 129 130 &.current { 129 } 130 131 &.current, 132 &.current-menu-item { 133 a { 131 134 color: #eee; 132 135 } 136 } 137 138 .uparrow { 139 display: none; 133 140 } 134 141 } … … 158 165 .download-button { 159 166 background: #21759b linear-gradient(to bottom, #2a95c5, #21759b); 167 border-bottom-color: #1e6a8d; 160 168 border-color: #21759b; 161 border-bottom-color: #1e6a8d;162 169 box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5 ); 163 170 … … 252 259 253 260 h2.rosetta { 261 float: left; 254 262 padding: 36px 27px 0; 255 float: left;256 263 } 257 264 258 265 #wporg-header-menu { 266 float:left; 267 list-style: none; 268 margin: -15px 0 0; 269 max-width: inherit; 270 min-width: 0; 271 padding: 0; 259 272 position: static; 260 float:left;261 margin: -15px 0 0;262 padding: 0;263 min-width: 0;264 max-width: inherit;265 273 width: 100%; 266 list-style: none;267 274 } 268 275 … … 272 279 273 280 a { 281 color: #eee; 282 display: block; 274 283 font-family: "Open Sans", Helvetica, Arial, "Liberation Sans", sans-serif; 284 font-size: 13px; 275 285 font-weight: 600; 276 display: block;286 height: 46px; 277 287 line-height: 34px; 288 margin: 0 4px; 278 289 padding: 0 6px; 279 margin: 0 4px;280 font-size: 13px;281 color: #eee;282 height: 46px;283 290 284 291 &.current ~ .uparrow { 285 width: 0; 286 height: 0; 292 border-bottom: 9px solid #f7f7f7; 287 293 border-left: 9px solid transparent; 288 294 border-right: 9px solid transparent; 289 border-bottom: 9px solid #f7f7f7;295 height: 0; 290 296 margin: -8px auto 0 auto; 291 } 292 } 293 294 &#download .uparrow { 295 display:none; 297 width: 0; 298 } 296 299 } 297 300 298 301 &.current-menu-item:after, 299 302 &.current_page_parent:after { 300 content: ''; 301 position: absolute; 302 left: 50%; 303 width: 0; 304 height: 0; 303 border-bottom: 9px solid #f7f7f7; 305 304 border-left: 9px solid transparent; 306 305 border-right: 9px solid transparent; 307 border-bottom: 9px solid #f7f7f7; 306 content: ''; 307 height: 0; 308 left: 50%; 308 309 margin: -8px 0 0 -9px; 310 position: absolute; 311 width: 0; 309 312 } 310 313 311 314 &:hover .nav-submenu ~ .uparrow, 312 315 .nav-submenu:hover ~ .uparrow { 313 width: 0; 314 height: 0; 316 border-bottom: 9px solid #32373c; 315 317 border-left: 9px solid transparent; 316 318 border-right: 9px solid transparent; 317 border-bottom: 9px solid #32373c;319 height: 0; 318 320 margin: -10px auto 0 auto; 321 width: 0; 319 322 } 320 323 … … 323 326 324 327 a { 325 margin-left: 6px;326 328 height: 34px; 327 329 line-height: 34px; 330 margin-left: 6px; 328 331 } 329 332 } … … 331 334 332 335 .nav-submenu { 333 display:none!important;/* Prevents #wporg-header ul overwriting this */ 336 background: #32373c; 337 border: #32373c solid 1px; 338 border-top: 0; 339 display: none !important;/* Prevents #wporg-header ul overwriting this */ 340 margin-top: -1px; 334 341 min-width: 0; 335 background: #32373c;336 margin-top: -1px;337 border: #32373c solid 1px;338 border-top:0;339 342 } 340 343 341 344 ul li:hover .nav-submenu, 342 345 ul li .nav-submenu:hover { 343 display:block!important;/* Prevents #wporg-header ul overwriting this */ 344 position:absolute; 345 top:46px; 346 display: block !important;/* Prevents #wporg-header ul overwriting this */ 346 347 left:0; 347 z-index:101;348 348 margin-left:0; 349 width:auto; 349 position: absolute; 350 top: 46px; 351 width: auto; 352 z-index: 101; 350 353 } 351 354 … … 413 416 display: none; 414 417 } 418 419 -webkit-font-smoothing: antialiased; 415 420 } 416 421
Note: See TracChangeset
for help on using the changeset viewer.