X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/e08b42e8ad054ec67522d7ac1aaae5dc68cb3d01..8ab4a4532479e8db471032b51042ec8c4716d091:/wp-includes/css/admin-bar.css diff --git a/wp-includes/css/admin-bar.css b/wp-includes/css/admin-bar.css index 376c994d..3ff4f8a5 100644 --- a/wp-includes/css/admin-bar.css +++ b/wp-includes/css/admin-bar.css @@ -8,15 +8,15 @@ text-transform: none; letter-spacing: normal; font: normal 13px/32px "Open Sans", sans-serif; + -webkit-border-radius: 0; border-radius: 0; -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; + transition: none; -webkit-font-smoothing: subpixel-antialiased; /* Prevent Safari from switching to standard antialiasing on hover */ + -moz-osx-font-smoothing: auto; /* Prevent Firefox from inheriting from themes that use other values */ } .rtl #wpadminbar * { @@ -66,6 +66,8 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar select, #wpadminbar textarea, #wpadminbar div { + -webkit-box-shadow: none; + box-shadow: none; outline: none; } @@ -80,7 +82,7 @@ html:lang(he-il) .rtl #wpadminbar * { width: 100%; min-width: 600px; /* match the min-width of the body in wp-admin.css */ z-index: 99999; - background: #222; + background: #23282d; } #wpadminbar .ab-sub-wrapper, @@ -100,13 +102,6 @@ html:lang(he-il) .rtl #wpadminbar * { margin-right: 0; } -/* Prevent a Chrome bug that inadvertantly activates - :hover states on an element that touches the extreme - top left corner of the viewport. See #18868 */ -#wpadminbar .quicklinks { - border-left: 1px solid transparent; -} - #wpadminbar .quicklinks ul { text-align: left; } @@ -142,7 +137,7 @@ html:lang(he-il) .rtl #wpadminbar * { padding: 0; -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2); box-shadow: 0 3px 5px rgba(0,0,0,0.2); - background: #333; + background: #32373c; display: none; position: absolute; float: none; @@ -216,14 +211,14 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item { - background: #333; - color: #2ea2cc; + background: #32373c; + color: #00b9eb; } #wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #2ea2cc; + color: #00b9eb; } #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon, @@ -243,14 +238,14 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar #adminbarsearch:before { - color: #999; + color: #a0a5aa; + color: rgba(240,245,250,0.6); } #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar #adminbarsearch:before { position: relative; - -moz-transition: all .1s ease-in-out; -webkit-transition: all .1s ease-in-out; transition: all .1s ease-in-out; } @@ -261,14 +256,16 @@ html:lang(he-il) .rtl #wpadminbar * { } #wpadminbar .ab-submenu .ab-item { - color: #eee; + color: #b4b9be; + color: rgba(240,245,250,0.7); } #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop ul li a strong, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #eee; + color: #b4b9be; + color: rgba(240,245,250,0.7); } #wpadminbar .quicklinks .menupop ul li a:hover, @@ -285,8 +282,9 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before { - color: #2ea2cc; +#wpadminbar li:hover #adminbarsearch:before, +#wpadminbar li #adminbarsearch.adminbar-focused:before { + color: #00b9eb; } #wpadminbar .menupop .menupop > .ab-item:before, @@ -332,17 +330,17 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #4b4b4b; + background: #464b50; } #wpadminbar .quicklinks .menupop .ab-sub-secondary > li > a:hover, #wpadminbar .quicklinks .menupop .ab-sub-secondary > li .ab-item:focus a { - color: #2ea2cc; + color: #00b9eb; } #wpadminbar .quicklinks a span#ab-updates { background: #eee; - color: #333; + color: #32373c; display: inline; padding: 2px 5px; font-size: 10px; @@ -390,6 +388,10 @@ html:lang(he-il) .rtl #wpadminbar * { min-width: 270px; } +#wpadminbar.ie8 #wp-admin-bar-my-account.with-avatar .ab-item { + white-space: nowrap; +} + #wpadminbar #wp-admin-bar-user-actions > li { margin-left: 16px; margin-right: 16px; @@ -439,11 +441,11 @@ html:lang(he-il) .rtl #wpadminbar * { font-size: 11px; } -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - width: 16px; +#wpadminbar #wp-admin-bar-my-account.with-avatar > a img { + width: auto; height: 16px; padding: 0; - border: 1px solid #888; + border: 1px solid #82878c; background: #eee; line-height: 24px; vertical-align: middle; @@ -452,6 +454,10 @@ html:lang(he-il) .rtl #wpadminbar * { display: inline; } +#wpadminbar.ie8 #wp-admin-bar-my-account.with-avatar > a img { + width: auto; +} + /** * WP Logo */ @@ -484,7 +490,7 @@ html:lang(he-il) .rtl #wpadminbar * { } #wpadminbar .quicklinks li a:hover .blavatar { - color: #2ea2cc; + color: #00b9eb; } #wpadminbar .quicklinks li .blavatar:before { @@ -506,11 +512,15 @@ html:lang(he-il) .rtl #wpadminbar * { } #wpadminbar #wp-admin-bar-edit > .ab-item:before { - content: '\f327'; + content: '\f464'; top: 2px; } #wpadminbar #wp-admin-bar-site-name > .ab-item:before { + content: "\f226"; +} + +.wp-admin #wpadminbar #wp-admin-bar-site-name > .ab-item:before { content: "\f102"; } @@ -544,13 +554,17 @@ html:lang(he-il) .rtl #wpadminbar * { * Updates */ #wpadminbar #wp-admin-bar-updates .ab-icon:before { - content: '\f113'; + content: '\f463'; top: 2px; } /** * Search */ +#wpadminbar.ie8 #wp-admin-bar-search { + display: block; + min-width: 32px; +} #wpadminbar #wp-admin-bar-search .ab-item { padding: 0; background: transparent; @@ -560,6 +574,7 @@ html:lang(he-il) .rtl #wpadminbar * { position: relative; height: 32px; padding: 0 2px; + z-index: 1; } #wpadminbar #adminbarsearch:before { @@ -580,6 +595,7 @@ html:lang(he-il) .rtl #wpadminbar * { font: 13px/24px "Open Sans", sans-serif; height: 24px; width: 24px; + max-width: none; padding: 0 3px 0 24px; margin: 0; color: #ccc; @@ -587,24 +603,17 @@ html:lang(he-il) .rtl #wpadminbar * { border: none; outline: none; cursor: pointer; - -webkit-box-shadow: none; box-shadow: none; - - -moz-box-sizing: border-box; -webkit-box-sizing: border-box; - -ms-box-sizing: border-box; + -moz-box-sizing: border-box; box-sizing: border-box; - -webkit-transition-duration: 400ms; + transition-duration: 400ms; -webkit-transition-property: width, background; + transition-property: width, background; -webkit-transition-timing-function: ease; - -moz-transition-duration: 400ms; - -moz-transition-property: width, background; - -moz-transition-timing-function: ease; - -o-transition-duration: 400ms; - -o-transition-property: width, background; - -o-transition-timing-function: ease; + transition-timing-function: ease; } #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { @@ -622,12 +631,18 @@ html:lang(he-il) .rtl #wpadminbar * { } #wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input { - margin-top: 4px; - background-color: #464646; + /* IE8 z-index bug with transparent / empty elements - fill in with an encoded transparent GIF */ + background: transparent 0 0 repeat scroll url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBR‌​AA7"); +} + +/* IE8 doesn't redraw the pseudo elements unless you make a change to the content */ +#wpadminbar.ie8 #adminbarsearch.adminbar-focused:before { + content: '\f179 '; /* extra space */ } #wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - background-color: #fff; + background: #fff; + z-index: -1; } #wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { @@ -652,8 +667,10 @@ html:lang(he-il) .rtl #wpadminbar * { */ .no-customize-support .hide-if-no-customize, .customize-support .hide-if-customize, +.no-customize-support #wpadminbar .hide-if-no-customize, .no-customize-support.wp-core-ui .hide-if-no-customize, .no-customize-support .wp-core-ui .hide-if-no-customize, +.customize-support #wpadminbar .hide-if-customize, .customize-support.wp-core-ui .hide-if-customize, .customize-support .wp-core-ui .hide-if-customize { display: none; @@ -754,8 +771,6 @@ html:lang(he-il) .rtl #wpadminbar * { @media screen and ( max-width: 782px ) { /* Toolbar Touchification*/ html #wpadminbar { - left: 0 !important; - z-index: 500 !important; height: 46px; min-width: 300px; @@ -773,7 +788,7 @@ html:lang(he-il) .rtl #wpadminbar * { font: normal 14px/32px "Open Sans", sans-serif; } - #wpadminbar .quicklinks li > a, + #wpadminbar .quicklinks > ul > li > a, #wpadminbar .quicklinks .ab-empty-item { padding: 0; height: 46px; @@ -785,7 +800,7 @@ html:lang(he-il) .rtl #wpadminbar * { font: 40px/1 dashicons !important; margin: 0; padding: 0; - width: 50px; + width: 52px; height: 46px; text-align: center; } @@ -838,7 +853,7 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon { padding: 0; - width: 55px; + width: 52px; height: 46px; text-align: center; vertical-align: top; @@ -862,19 +877,19 @@ html:lang(he-il) .rtl #wpadminbar * { text-indent: 100%; white-space: nowrap; overflow: hidden; - width: 55px; + width: 52px; padding: 0; color: #999; position: relative; } - + #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon, #wpadminbar .ab-icon, #wpadminbar .ab-item:before { padding: 0; margin-right: 0; } - + #wpadminbar #wp-admin-bar-edit > .ab-item:before, #wpadminbar #wp-admin-bar-my-sites > .ab-item:before, #wpadminbar #wp-admin-bar-site-name > .ab-item:before, @@ -884,7 +899,7 @@ html:lang(he-il) .rtl #wpadminbar * { font: normal 32px/1 'dashicons'; speak: none; top: 7px; - width: 55px; + width: 52px; text-align: center; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -909,7 +924,7 @@ html:lang(he-il) .rtl #wpadminbar * { line-height: 53px; height: 46px !important; text-align: center; - width: 50px; + width: 52px; display: block; } @@ -1005,11 +1020,10 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar li:hover ul li:hover ul li { display: list-item; } - + /* Override default min-width so dropdown lists aren't stretched to 100% viewport width at responsive sizes. */ #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { - min-width: intrinsic; min-width: -webkit-fit-content; min-width: -moz-fit-content; min-width: fit-content; @@ -1037,14 +1051,16 @@ html:lang(he-il) .rtl #wpadminbar * { float: right; } - #wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper { - right: 0; - left: auto; - } - .network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account { margin-right: 0; } + + /* Realign arrows on taller responsive submenus */ + + #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before { + top: 10px; + left: 0; + } } /* Smartphone */ @@ -1052,7 +1068,7 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar { position: absolute; } - + #wp-responsive-overlay { position: fixed; top: 0; @@ -1063,7 +1079,6 @@ html:lang(he-il) .rtl #wpadminbar * { } #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { - position: fixed; width: 100%; left: 0; } @@ -1075,7 +1090,7 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper { margin-left: 0; } - + #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper { margin: 0; width: 100%; @@ -1083,12 +1098,12 @@ html:lang(he-il) .rtl #wpadminbar * { left: auto; position: relative; } - + #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper .ab-item { font-size: 16px; padding: 6px 15px 19px 30px; } - + #wpadminbar li:hover ul li ul li { display: list-item; } @@ -1097,4 +1112,12 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar li#wp-admin-bar-updates { display: none; } + + /* Make submenus full-width at this size */ + + #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper { + position: static; + -webkit-box-shadow: none; + box-shadow: none; + } }