1004 lines
21 KiB
CSS
1004 lines
21 KiB
CSS
#wpadminbar * {
|
|
height: auto;
|
|
width: auto;
|
|
margin: 0;
|
|
padding: 0;
|
|
position: static;
|
|
text-shadow: none;
|
|
text-transform: none;
|
|
letter-spacing: normal;
|
|
font: normal 13px/32px "Open Sans", sans-serif;
|
|
border-radius: 0;
|
|
-webkit-box-sizing: content-box;
|
|
-moz-box-sizing: content-box;
|
|
box-sizing: content-box;
|
|
-webkit-transition: none;
|
|
-moz-transition: none;
|
|
-o-transition: none;
|
|
transition: none;
|
|
-webkit-font-smoothing: subpixel-antialiased; /* Prevent Safari from switching to standard antialiasing on hover */
|
|
}
|
|
|
|
#wpadminbar a.ab-item,
|
|
#wpadminbar > #wp-toolbar span.ab-label,
|
|
#wpadminbar > #wp-toolbar span.noticon {
|
|
color: #eee;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-site-name a.ab-item,
|
|
#wpadminbar #wp-admin-bar-my-sites a.ab-item {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
#wpadminbar ul li:before,
|
|
#wpadminbar ul li:after {
|
|
content: normal;
|
|
}
|
|
|
|
#wpadminbar a,
|
|
#wpadminbar a:hover,
|
|
#wpadminbar a img,
|
|
#wpadminbar a img:hover {
|
|
outline: none;
|
|
border: none;
|
|
text-decoration: none;
|
|
background: none;
|
|
}
|
|
|
|
#wpadminbar a:focus,
|
|
#wpadminbar a:active,
|
|
#wpadminbar input[type="text"],
|
|
#wpadminbar input[type="password"],
|
|
#wpadminbar input[type="number"],
|
|
#wpadminbar input[type="search"],
|
|
#wpadminbar input[type="email"],
|
|
#wpadminbar input[type="url"],
|
|
#wpadminbar select,
|
|
#wpadminbar textarea,
|
|
#wpadminbar div {
|
|
outline: none;
|
|
}
|
|
|
|
#wpadminbar {
|
|
direction: ltr;
|
|
color: #ccc;
|
|
font: normal 13px/32px "Open Sans", sans-serif;
|
|
height: 32px;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
min-width: 600px; /* match the min-width of the body in wp-admin.css */
|
|
z-index: 99999;
|
|
background: #222;
|
|
}
|
|
|
|
#wpadminbar .ab-sub-wrapper,
|
|
#wpadminbar ul,
|
|
#wpadminbar ul li {
|
|
background: none;
|
|
clear: none;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
position: relative;
|
|
text-indent: 0;
|
|
z-index: 99999;
|
|
}
|
|
|
|
#wpadminbar ul#wp-admin-bar-root-default>li {
|
|
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;
|
|
}
|
|
|
|
#wpadminbar li {
|
|
float: left;
|
|
}
|
|
|
|
#wpadminbar .ab-empty-item {
|
|
outline: none;
|
|
}
|
|
|
|
#wpadminbar .quicklinks .ab-top-secondary > li {
|
|
float: right;
|
|
}
|
|
|
|
#wpadminbar .quicklinks a,
|
|
#wpadminbar .quicklinks .ab-empty-item,
|
|
#wpadminbar .shortlink-input {
|
|
height: 32px;
|
|
display: block;
|
|
padding: 0 8px 0 7px;
|
|
margin: 0;
|
|
}
|
|
|
|
#wpadminbar .menupop .ab-sub-wrapper,
|
|
#wpadminbar .shortlink-input {
|
|
margin: 0;
|
|
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;
|
|
display: none;
|
|
position: absolute;
|
|
float: none;
|
|
}
|
|
|
|
#wpadminbar.ie7 .menupop .ab-sub-wrapper,
|
|
#wpadminbar.ie7 .shortlink-input {
|
|
top: 32px;
|
|
left: 0;
|
|
}
|
|
|
|
#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper {
|
|
min-width: 100%;
|
|
}
|
|
|
|
#wpadminbar .ab-top-secondary .menupop .ab-sub-wrapper {
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
|
|
#wpadminbar .ab-submenu {
|
|
padding: 6px 0;
|
|
}
|
|
|
|
#wpadminbar .selected .shortlink-input {
|
|
display: block;
|
|
}
|
|
|
|
#wpadminbar .quicklinks .menupop ul li {
|
|
float: none;
|
|
}
|
|
|
|
#wpadminbar .quicklinks .menupop ul li a strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#wpadminbar .quicklinks .menupop ul li .ab-item,
|
|
#wpadminbar .quicklinks .menupop ul li a strong,
|
|
#wpadminbar .quicklinks .menupop.hover ul li .ab-item,
|
|
#wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item,
|
|
#wpadminbar .shortlink-input {
|
|
line-height: 26px;
|
|
height: 26px;
|
|
white-space: nowrap;
|
|
min-width: 140px;
|
|
}
|
|
|
|
#wpadminbar .shortlink-input {
|
|
width: 200px;
|
|
}
|
|
|
|
#wpadminbar.nojs li:hover > .ab-sub-wrapper,
|
|
#wpadminbar li.hover > .ab-sub-wrapper {
|
|
display: block;
|
|
}
|
|
|
|
#wpadminbar .menupop li:hover > .ab-sub-wrapper,
|
|
#wpadminbar .menupop li.hover > .ab-sub-wrapper {
|
|
margin-left: 100%;
|
|
margin-top: -32px;
|
|
}
|
|
|
|
#wpadminbar .ab-top-secondary .menupop li:hover > .ab-sub-wrapper,
|
|
#wpadminbar .ab-top-secondary .menupop li.hover > .ab-sub-wrapper {
|
|
margin-left: 0;
|
|
left: inherit;
|
|
right: 100%;
|
|
}
|
|
|
|
#wpadminbar .ab-top-menu > li > .ab-item:focus,
|
|
#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;
|
|
}
|
|
|
|
#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;
|
|
}
|
|
|
|
#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon,
|
|
#wpadminbar .ab-icon,
|
|
#wpadminbar .ab-item:before {
|
|
position: relative;
|
|
float: left;
|
|
font: normal 20px/1 'dashicons';
|
|
speak: none;
|
|
padding: 4px 0;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
background-image: none !important;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
#wpadminbar .ab-icon:before,
|
|
#wpadminbar .ab-item:before,
|
|
#wpadminbar #adminbarsearch:before {
|
|
color: #999;
|
|
position: relative;
|
|
-moz-transition: all .1s ease-in-out;
|
|
-webkit-transition: all .1s ease-in-out;
|
|
transition: all .1s ease-in-out;
|
|
}
|
|
|
|
#wpadminbar .ab-label {
|
|
display: inline-block;
|
|
height: 32px;
|
|
}
|
|
|
|
#wpadminbar .ab-submenu .ab-item {
|
|
color: #eee;
|
|
}
|
|
|
|
#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;
|
|
}
|
|
|
|
#wpadminbar .quicklinks .menupop ul li a:hover,
|
|
#wpadminbar .quicklinks .menupop ul li a:focus,
|
|
#wpadminbar .quicklinks .menupop ul li a:hover strong,
|
|
#wpadminbar .quicklinks .menupop ul li a:focus strong,
|
|
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
|
|
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
|
|
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
|
|
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,
|
|
#wpadminbar li:hover .ab-icon:before,
|
|
#wpadminbar li:hover .ab-item:before,
|
|
#wpadminbar li a:focus .ab-icon:before,
|
|
#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 .menupop .menupop > .ab-item:before,
|
|
#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before {
|
|
position: absolute;
|
|
font: normal 17px/1 'dashicons';
|
|
speak: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
#wpadminbar .menupop .menupop > .ab-item {
|
|
display: block;
|
|
padding-right: 2em;
|
|
}
|
|
|
|
#wpadminbar .menupop .menupop > .ab-item:before {
|
|
top: 1px;
|
|
right: 4px;
|
|
content: '\f139';
|
|
color: inherit;
|
|
}
|
|
|
|
#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item {
|
|
padding-left: 2em;
|
|
padding-right: 1em;
|
|
}
|
|
|
|
#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before {
|
|
top: 5px;
|
|
left: 3px;
|
|
content: '\f141';
|
|
}
|
|
|
|
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary {
|
|
display: block;
|
|
position: relative;
|
|
right: auto;
|
|
margin: 0;
|
|
background: #4b4b4b;
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li:hover > a,
|
|
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li.hover > a,
|
|
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li .ab-item:focus a {
|
|
color: #2ea2cc;
|
|
}
|
|
|
|
#wpadminbar .quicklinks a span#ab-updates {
|
|
background: #eee;
|
|
color: #333;
|
|
display: inline;
|
|
padding: 2px 5px;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
-webkit-border-radius: 10px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
#wpadminbar .quicklinks a:hover span#ab-updates {
|
|
background: #fff;
|
|
color: #000;
|
|
}
|
|
|
|
#wpadminbar .ab-top-secondary {
|
|
float: right;
|
|
}
|
|
|
|
#wpadminbar ul li:last-child,
|
|
#wpadminbar ul li:last-child .ab-item {
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
/**
|
|
* My Account
|
|
*/
|
|
#wp-admin-bar-my-account > ul {
|
|
min-width: 198px;
|
|
}
|
|
|
|
#wp-admin-bar-my-account.with-avatar > ul {
|
|
min-width: 270px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-user-actions > li {
|
|
margin-left: 16px;
|
|
margin-right: 16px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-user-actions.ab-submenu {
|
|
padding: 6px 0 12px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li {
|
|
margin-left: 88px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-user-info {
|
|
margin-top: 6px;
|
|
margin-bottom: 15px;
|
|
height: auto;
|
|
background: none;
|
|
}
|
|
|
|
#wp-admin-bar-user-info .avatar {
|
|
position: absolute;
|
|
left: -72px;
|
|
top: 4px;
|
|
width: 64px;
|
|
height: 64px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-user-info a {
|
|
background: none;
|
|
height: auto;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-user-info span {
|
|
background: none;
|
|
padding: 0;
|
|
height: 18px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-user-info .display-name,
|
|
#wpadminbar #wp-admin-bar-user-info .username {
|
|
display: block;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-user-info .username {
|
|
color: #999;
|
|
font-size: 11px;
|
|
}
|
|
|
|
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
|
width: 16px;
|
|
height: 16px;
|
|
padding: 0;
|
|
border: 1px solid #888;
|
|
background: #eee;
|
|
line-height: 24px;
|
|
vertical-align: middle;
|
|
margin: -4px 0 0 6px;
|
|
float: none;
|
|
display: inline;
|
|
}
|
|
|
|
/**
|
|
* WP Logo
|
|
*/
|
|
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
|
|
width: 15px;
|
|
height: 20px;
|
|
margin-right: 0;
|
|
padding: 6px 0 5px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-wp-logo > .ab-item {
|
|
padding: 0 7px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
|
|
content: '\f120';
|
|
top: 2px;
|
|
}
|
|
|
|
/*
|
|
* My Sites & Site Title
|
|
*/
|
|
#wpadminbar .quicklinks li .blavatar {
|
|
float: left;
|
|
font: normal 16px/1 'dashicons' !important;
|
|
speak: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
color: #eee;
|
|
}
|
|
|
|
#wpadminbar .quicklinks li a:hover .blavatar {
|
|
color: #2ea2cc;
|
|
}
|
|
|
|
#wpadminbar .quicklinks li .blavatar:before {
|
|
content: '\f120';
|
|
height: 16px;
|
|
width: 16px;
|
|
display: inline-block;
|
|
margin: 6px 8px 0 -2px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-appearance {
|
|
margin-top: -12px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-my-sites > .ab-item:before,
|
|
#wpadminbar #wp-admin-bar-site-name > .ab-item:before {
|
|
content: '\f112';
|
|
top: 2px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-edit > .ab-item:before {
|
|
content: '\f327';
|
|
top: 2px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-site-name > .ab-item:before {
|
|
content: '\f319';
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Comments
|
|
*/
|
|
#wpadminbar #wp-admin-bar-comments .ab-icon {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-comments .ab-icon:before {
|
|
content: '\f101';
|
|
top: 3px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-comments .count-0 {
|
|
opacity: .5;
|
|
}
|
|
|
|
/**
|
|
* New Content
|
|
*/
|
|
#wpadminbar #wp-admin-bar-new-content .ab-icon:before {
|
|
content: '\f132';
|
|
top: 4px;
|
|
}
|
|
|
|
/**
|
|
* Updates
|
|
*/
|
|
#wpadminbar #wp-admin-bar-updates .ab-icon:before {
|
|
content: '\f113';
|
|
top: 2px;
|
|
}
|
|
|
|
/**
|
|
* Search
|
|
*/
|
|
#wpadminbar #wp-admin-bar-search .ab-item {
|
|
padding: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
#wpadminbar #adminbarsearch {
|
|
position: relative;
|
|
height: 32px;
|
|
padding: 0 2px;
|
|
}
|
|
|
|
#wpadminbar #adminbarsearch:before {
|
|
position: absolute;
|
|
top: 6px;
|
|
left: 5px;
|
|
z-index: 20;
|
|
font: normal 20px/1 'dashicons' !important;
|
|
content: '\f179';
|
|
speak: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input {
|
|
position: relative;
|
|
z-index: 30;
|
|
font: 13px/24px "Open Sans", sans-serif;
|
|
height: 24px;
|
|
width: 24px;
|
|
padding: 0 3px 0 24px;
|
|
margin: 0;
|
|
color: #ccc;
|
|
background-color: rgba( 255, 255, 255, 0 );
|
|
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;
|
|
box-sizing: border-box;
|
|
|
|
-webkit-transition-duration: 400ms;
|
|
-webkit-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;
|
|
}
|
|
|
|
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
|
|
z-index: 10;
|
|
color: #000;
|
|
width: 200px;
|
|
background-color: rgba( 255, 255, 255, 0.9 );
|
|
cursor: text;
|
|
border: 0;
|
|
}
|
|
|
|
#wpadminbar.ie7 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input {
|
|
margin-top: 3px;
|
|
width: 120px;
|
|
}
|
|
|
|
#wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input {
|
|
margin-top: 4px;
|
|
background-color: #464646;
|
|
}
|
|
|
|
#wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
|
|
background-color: #fff;
|
|
}
|
|
|
|
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
|
|
color: #999;
|
|
}
|
|
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
|
|
color: #999;
|
|
}
|
|
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
|
|
color: #999;
|
|
}
|
|
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
|
|
color: #999;
|
|
}
|
|
|
|
#wpadminbar #adminbarsearch .adminbar-button {
|
|
display: none;
|
|
}
|
|
|
|
/**
|
|
* Customize support classes
|
|
*/
|
|
.no-customize-support .hide-if-no-customize,
|
|
.customize-support .hide-if-customize,
|
|
.no-customize-support.wp-core-ui .hide-if-no-customize,
|
|
.no-customize-support .wp-core-ui .hide-if-no-customize,
|
|
.customize-support.wp-core-ui .hide-if-customize,
|
|
.customize-support .wp-core-ui .hide-if-customize {
|
|
display: none;
|
|
}
|
|
|
|
/* Skip link */
|
|
#wpadminbar .screen-reader-text,
|
|
#wpadminbar .screen-reader-text span {
|
|
position: absolute;
|
|
left: -1000em;
|
|
top: -1000em;
|
|
height: 1px;
|
|
width: 1px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#wpadminbar .screen-reader-shortcut {
|
|
position: absolute;
|
|
top: -1000em;
|
|
}
|
|
|
|
#wpadminbar .screen-reader-shortcut:focus {
|
|
left: 6px;
|
|
top: 7px;
|
|
height: auto;
|
|
width: auto;
|
|
display: block;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
padding: 15px 23px 14px;
|
|
background: #f1f1f1;
|
|
color: #21759b;
|
|
z-index: 100000;
|
|
line-height: normal;
|
|
text-decoration: none;
|
|
-webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
|
|
box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
|
|
}
|
|
|
|
/**
|
|
* IE 6-targeted rules
|
|
*/
|
|
* html #wpadminbar {
|
|
overflow: hidden;
|
|
position: absolute;
|
|
}
|
|
|
|
* html #wpadminbar .quicklinks ul li a {
|
|
float: left;
|
|
}
|
|
|
|
* html #wpadminbar .menupop a span {
|
|
background-image: none;
|
|
}
|
|
|
|
|
|
@media screen and ( max-width: 782px ) {
|
|
/* Toolbar Touchification*/
|
|
html #wpadminbar {
|
|
left: 0 !important;
|
|
z-index: 500 !important;
|
|
height: 46px;
|
|
min-width: 300px;
|
|
|
|
-webkit-transform: translate3d(0, 0, 0);
|
|
-webkit-backface-visibility: hidden;
|
|
-webkit-transition: 0;
|
|
transform: translate3d(0, 0, 0);
|
|
backface-visibility: hidden;
|
|
transition: 0;
|
|
}
|
|
|
|
#wpadminbar * {
|
|
font: normal 14px/32px "Open Sans", sans-serif;
|
|
}
|
|
|
|
#wpadminbar .quicklinks li > a,
|
|
#wpadminbar .quicklinks .ab-empty-item {
|
|
padding: 0;
|
|
height: 46px;
|
|
line-height: 46px;
|
|
width: auto;
|
|
}
|
|
|
|
#wpadminbar .ab-icon {
|
|
font: 40px/1 dashicons !important;
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 50px;
|
|
height: 46px;
|
|
text-align: center;
|
|
}
|
|
|
|
#wpadminbar .ab-icon:before {
|
|
text-align: center;
|
|
}
|
|
|
|
#wpadminbar .ab-submenu {
|
|
padding: 0;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-site-name a.ab-item,
|
|
#wpadminbar #wp-admin-bar-my-sites a.ab-item,
|
|
#wpadminbar #wp-admin-bar-my-account a.ab-item {
|
|
text-overflow: clip;
|
|
}
|
|
|
|
#wpadminbar .ab-label {
|
|
display: none;
|
|
}
|
|
|
|
#wpadminbar .menupop li:hover > .ab-sub-wrapper,
|
|
#wpadminbar .menupop li.hover > .ab-sub-wrapper {
|
|
margin-top: -46px;
|
|
}
|
|
|
|
#wpadminbar .ab-top-menu .menupop .ab-sub-wrapper .menupop > .ab-item {
|
|
padding-right: 30px;
|
|
}
|
|
|
|
#wpadminbar .menupop .menupop > .ab-item:before {
|
|
top: 10px;
|
|
right: 6px;
|
|
}
|
|
|
|
#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper .ab-item {
|
|
font-size: 16px;
|
|
padding: 6px 15px 12px;
|
|
}
|
|
|
|
#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper a:empty {
|
|
display: none;
|
|
}
|
|
|
|
/* WP logo */
|
|
#wpadminbar #wp-admin-bar-wp-logo > .ab-item {
|
|
padding: 0;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
|
|
padding: 0;
|
|
width: 50px;
|
|
height: 46px;
|
|
text-align: center;
|
|
vertical-align: top;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
|
|
font: 28px/1 'dashicons' !important;
|
|
top: -3px;
|
|
}
|
|
|
|
#wpadminbar .ab-icon,
|
|
#wpadminbar .ab-item:before {
|
|
padding: 0;
|
|
}
|
|
|
|
/* My Sites and "Site Title" menu */
|
|
#wpadminbar #wp-admin-bar-my-sites > .ab-item,
|
|
#wpadminbar #wp-admin-bar-site-name > .ab-item,
|
|
#wpadminbar #wp-admin-bar-edit > .ab-item {
|
|
text-indent: 100%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
width: 50px;
|
|
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 {
|
|
display: block;
|
|
text-indent: 0;
|
|
font: normal 32px/1 'dashicons';
|
|
speak: none;
|
|
top: 7px;
|
|
width: 50px;
|
|
text-align: center;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-appearance {
|
|
margin-top: 0;
|
|
}
|
|
|
|
#wpadminbar .quicklinks li .blavatar:before {
|
|
display: none;
|
|
}
|
|
|
|
/* Search */
|
|
#wpadminbar #wp-admin-bar-search {
|
|
display: none;
|
|
}
|
|
|
|
/* New Content */
|
|
#wpadminbar #wp-admin-bar-new-content .ab-icon:before {
|
|
top: 0;
|
|
line-height: 53px;
|
|
height: 46px !important;
|
|
text-align: center;
|
|
width: 50px;
|
|
display: block;
|
|
}
|
|
|
|
/* Updates */
|
|
#wpadminbar #wp-admin-bar-updates {
|
|
text-align: center;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-updates .ab-icon:before {
|
|
top: 3px;
|
|
}
|
|
|
|
/* Comments */
|
|
#wpadminbar #wp-admin-bar-comments .ab-icon {
|
|
margin: 0;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-comments .ab-icon:before {
|
|
display: block;
|
|
font-size: 34px;
|
|
height: 46px;
|
|
line-height: 47px;
|
|
top: 0;
|
|
}
|
|
|
|
/* My Account */
|
|
#wpadminbar #wp-admin-bar-my-account > a {
|
|
position: relative;
|
|
white-space: nowrap;
|
|
text-indent: 150%; /* More than 100% indention is needed since this element has padding */
|
|
width: 28px;
|
|
padding: 0 10px;
|
|
overflow: hidden; /* Prevent link text from forcing horizontal scrolling on mobile */
|
|
}
|
|
|
|
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
|
position: absolute;
|
|
top: 13px;
|
|
right: 10px;
|
|
width: 26px;
|
|
height: 26px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-user-actions.ab-submenu {
|
|
padding: 0;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-user-actions.ab-submenu img.avatar {
|
|
display: none;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li {
|
|
margin: 0;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-user-info .display-name {
|
|
height: auto;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
color: #eee;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-user-info a {
|
|
padding-top: 4px;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-user-info .username {
|
|
line-height: 0.8 !important;
|
|
margin-bottom: -2px;
|
|
}
|
|
|
|
/* Hide all third party items */
|
|
#wp-admin-bar-top-secondary > li {
|
|
display: none;
|
|
}
|
|
|
|
#wp-admin-bar-root-default li#wp-admin-bar-wp-logo,
|
|
#wp-admin-bar-root-default li#wp-admin-bar-my-sites,
|
|
#wp-admin-bar-root-default li#wp-admin-bar-site-name,
|
|
#wp-admin-bar-root-default li#wp-admin-bar-new-content,
|
|
#wp-admin-bar-root-default li#wp-admin-bar-edit,
|
|
#wp-admin-bar-root-default li#wp-admin-bar-comments,
|
|
#wp-admin-bar-root-default li#wp-admin-bar-new-content,
|
|
#wp-admin-bar-top-secondary li#wp-admin-bar-my-account {
|
|
display: block;
|
|
}
|
|
|
|
#wpadminbar ul#wp-admin-bar-root-default > li {
|
|
margin-right: 0;
|
|
}
|
|
|
|
/* Experimental fix for touch toolbar dropdown positioning */
|
|
#wpadminbar .ab-top-menu,
|
|
#wpadminbar .ab-top-secondary,
|
|
#wpadminbar #wp-admin-bar-wp-logo,
|
|
#wpadminbar #wp-admin-bar-my-sites,
|
|
#wpadminbar #wp-admin-bar-site-name,
|
|
#wpadminbar #wp-admin-bar-updates,
|
|
#wpadminbar #wp-admin-bar-comments,
|
|
#wpadminbar #wp-admin-bar-new-content,
|
|
#wpadminbar #wp-admin-bar-edit,
|
|
#wpadminbar #wp-admin-bar-my-account {
|
|
position: static;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-comments,
|
|
#wpadminbar #wp-admin-bar-new-content,
|
|
#wpadminbar #wp-admin-bar-my-account {
|
|
float: right;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-comments .ab-sub-wrapper,
|
|
#wpadminbar #wp-admin-bar-new-content .ab-sub-wrapper,
|
|
#wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper {
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
|
|
#wpadminbar ul#wp-admin-bar-root-default > li#wp-admin-bar-comments {
|
|
margin-right: 100px;
|
|
}
|
|
|
|
#wpadminbar ul#wp-admin-bar-root-default > li#wp-admin-bar-new-content {
|
|
margin-right: -98px;
|
|
}
|
|
|
|
#wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
|
|
margin-right: -150px;
|
|
}
|
|
|
|
.network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
/* Smartphone */
|
|
@media screen and (max-width: 600px) {
|
|
#wpadminbar {
|
|
position: absolute;
|
|
}
|
|
|
|
#wp-responsive-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 400;
|
|
}
|
|
|
|
#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper {
|
|
position: fixed;
|
|
width: 100%;
|
|
left: 0;
|
|
}
|
|
|
|
#wpadminbar .menupop .menupop > .ab-item:before {
|
|
display: none;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper {
|
|
margin-left: 0;
|
|
}
|
|
|
|
#wp-admin-bar-root-default li#wp-admin-bar-wp-logo,
|
|
#wp-admin-bar-root-default li#wp-admin-bar-updates,
|
|
#wp-admin-bar-root-default li#wp-admin-bar-view {
|
|
display: none;
|
|
}
|
|
} |