mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 10:22:23 +01:00
053fb714ba
git-svn-id: http://svn.automattic.com/wordpress/trunk@18696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
401 lines
8.4 KiB
CSS
401 lines
8.4 KiB
CSS
#wpadminbar * {
|
|
height: auto;
|
|
width: auto;
|
|
margin: 0;
|
|
padding: 0;
|
|
position: static;
|
|
text-transform: none;
|
|
letter-spacing: normal;
|
|
line-height: 1;
|
|
font: normal 12px/28px "Helvetica Neue", sans-serif;
|
|
color: #ccc;
|
|
text-shadow: #444 0px -1px 0px;
|
|
}
|
|
|
|
#wpadminbar :before,
|
|
#wpadminbar :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 {
|
|
direction: ltr;
|
|
color: #ccc;
|
|
font: normal 12px/28px "Helvetica Neue", sans-serif;
|
|
height: 28px;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 99999;
|
|
min-width: 960px;
|
|
|
|
background-color: #464646; /* Fallback */
|
|
background-image: -ms-linear-gradient(bottom, #464646, #373737 5px); /* IE10 */
|
|
background-image: -moz-linear-gradient(bottom, #464646, #373737 5px); /* Firefox */
|
|
background-image: -o-linear-gradient(bottom, #464646, #373737); /* Opera */
|
|
background-image: -webkit-gradient(linear, left bottom, left top, from(#464646), to(#373737)); /* old Webkit */
|
|
background-image: -webkit-linear-gradient(bottom, #373737, #464646 5px); /* new Webkit */
|
|
background-image: linear-gradient(bottom, #464646, #373737); /* proposed W3C Markup */
|
|
}
|
|
|
|
#wpadminbar ul,
|
|
#wpadminbar ul li {
|
|
background: none;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
position: relative;
|
|
z-index: 99999;
|
|
}
|
|
|
|
#wpadminbar .quicklinks ul {
|
|
text-align: left;
|
|
}
|
|
|
|
#wpadminbar .quicklinks ul li {
|
|
float: left;
|
|
}
|
|
|
|
#wpadminbar .quicklinks > ul > li > a {
|
|
border-right: 1px solid #555;
|
|
border-left: 1px solid #333;
|
|
}
|
|
|
|
#wpadminbar .quicklinks > ul > li:last-child > a {
|
|
border-right: none;
|
|
}
|
|
|
|
#wpadminbar .quicklinks a,
|
|
#wpadminbar .shortlink-input {
|
|
height: 28px;
|
|
display: block;
|
|
padding: 0 0.85em;
|
|
margin: 0;
|
|
}
|
|
|
|
#wpadminbar .quicklinks a > span {
|
|
line-height: 28px;
|
|
}
|
|
|
|
#wpadminbar .quicklinks .menupop ul,
|
|
#wpadminbar .shortlink-input {
|
|
margin: 0 0 0 1px;
|
|
padding: 6px 0;
|
|
-moz-box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
|
-webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
|
background: #fff;
|
|
display: none;
|
|
position: absolute;
|
|
border-top: none;
|
|
float: none;
|
|
}
|
|
|
|
#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 a,
|
|
#wpadminbar .quicklinks .menupop ul li a span,
|
|
#wpadminbar .quicklinks .menupop ul li a strong,
|
|
#wpadminbar .shortlink-input {
|
|
line-height: 26px;
|
|
height: 26px;
|
|
color: #21759B;
|
|
text-shadow: none;
|
|
white-space: nowrap;
|
|
min-width: 140px;
|
|
}
|
|
|
|
#wpadminbar .shortlink-input {
|
|
width: 200px;
|
|
}
|
|
|
|
#wpadminbar.nojq .quicklinks li:hover > ul,
|
|
#wpadminbar .quicklinks li.hover > ul {
|
|
display: block;
|
|
}
|
|
|
|
#wpadminbar .quicklinks .menupop li:hover > ul,
|
|
#wpadminbar .quicklinks .menupop li.hover > ul {
|
|
margin-left: 100%;
|
|
margin-top: -28px;
|
|
}
|
|
|
|
#wpadminbar .quicklinks li:hover,
|
|
#wpadminbar .quicklinks .selected {
|
|
background-color: #fff;
|
|
}
|
|
|
|
#wpadminbar .quicklinks li:hover a,
|
|
#wpadminbar .quicklinks .selected a,
|
|
#wpadminbar .quicklinks li:hover span,
|
|
#wpadminbar .quicklinks .selected span {
|
|
color: #333;
|
|
text-shadow: none;
|
|
}
|
|
|
|
|
|
#wpadminbar .quicklinks .menupop li:hover {
|
|
/* background: #888;
|
|
background: -moz-linear-gradient(bottom, #888, #9d9d9d);
|
|
background: -webkit-gradient(linear, left bottom, left top, from(#888), to(#9d9d9d));*/
|
|
background: #f8fbfe;
|
|
}
|
|
|
|
#wpadminbar .quicklinks .menupop a > span {
|
|
display: inline;
|
|
background: url(../images/admin-bar-sprite.png?d=11122010) right -58px no-repeat;
|
|
padding-right: .8em;
|
|
}
|
|
|
|
#wpadminbar .quicklinks .menupop ul li a > span {
|
|
display: block;
|
|
background: url(../images/admin-bar-sprite.png?d=11122010) right -29px no-repeat;
|
|
padding-right: 1.5em;
|
|
}
|
|
|
|
#wpadminbar .quicklinks a span#ab-updates {
|
|
background: #eee;
|
|
color: #333;
|
|
text-shadow: none;
|
|
display: inline;
|
|
padding: 2px 5px;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
-moz-border-radius: 10px;
|
|
-khtml-border-radius: 10px;
|
|
-webkit-border-radius: 10px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
#wpadminbar .quicklinks a:hover span#ab-updates {
|
|
background: #fff;
|
|
color: #000;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-my-account,
|
|
#wpadminbar #wp-admin-bar-my-account-with-avatar {
|
|
float: right;
|
|
}
|
|
|
|
#wpadminbar .quicklinks li#wp-admin-bar-my-account > a {
|
|
border: none;
|
|
}
|
|
|
|
#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar > a {
|
|
border: none;
|
|
}
|
|
|
|
#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar > a img {
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 1px solid #999;
|
|
padding: 0;
|
|
background: #eee;
|
|
line-height: 24px;
|
|
vertical-align: middle;
|
|
margin: -2px 0 0 6px;
|
|
}
|
|
|
|
#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar ul ul {
|
|
left: 0;
|
|
}
|
|
|
|
#wpadminbar .quicklinks li img.blavatar {
|
|
vertical-align: middle;
|
|
margin: -3px 4px 0 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#wpadminbar #wp-admin-bar-search a {
|
|
padding: 0;
|
|
}
|
|
|
|
#wpadminbar .quicklinks .admin-bar-search:hover {
|
|
/* default background */
|
|
background: transparent;
|
|
}
|
|
#wpadminbar .quicklinks .admin-bar-search:hover > a {
|
|
/* default borders */
|
|
border-right: none;
|
|
border-left: 1px solid #333;
|
|
}
|
|
|
|
#wpadminbar #adminbarsearch {
|
|
float: right;
|
|
height: 26px;
|
|
padding: 2px 4px;
|
|
/* padding: 0;*/
|
|
margin: 0;
|
|
}
|
|
|
|
#wpadminbar #adminbarsearch .adminbar-input {
|
|
height: 23px;
|
|
width: 140px;
|
|
float: left;
|
|
font: 12px "Helvetica Neue", sans-serif;
|
|
border: none;
|
|
padding: 0 3px 0 24px;
|
|
margin: 0 3px 0 0;
|
|
|
|
color: #ccc;
|
|
text-shadow: #444 0px -1px 0px;
|
|
background-color: rgba( 255, 255, 255, 0 );
|
|
|
|
/* @todo: replace/move twenty eleven image to a core search icon. */
|
|
background-image: url('../../wp-content/themes/twentyeleven/images/search.png');
|
|
background-repeat: no-repeat;
|
|
background-position: 4px 2px;
|
|
|
|
-webkit-border-radius: 3px;
|
|
-khtml-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
border-radius: 3px;
|
|
|
|
-moz-box-shadow: none;
|
|
-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;
|
|
outline: none;
|
|
|
|
-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 #adminbarsearch .adminbar-input:focus {
|
|
color: #555;
|
|
text-shadow: 0 1px 0 #fff;
|
|
width: 200px;
|
|
background-color: rgba( 255, 255, 255, 0.9 );
|
|
}
|
|
|
|
/* Two rules to ensure browser recognition */
|
|
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
|
|
color: #ddd;
|
|
}
|
|
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
|
|
color: #ddd;
|
|
}
|
|
|
|
|
|
#wpadminbar #adminbarsearch .adminbar-button {
|
|
display: none;
|
|
}
|
|
|
|
#wpadminbar #adminbarsearch .adminbar-button:active {
|
|
background: #a0a0a0;
|
|
background:-moz-linear-gradient(bottom, #a0a0a0, #c1c1c1);
|
|
background:-webkit-gradient(linear, left bottom, left top, from(#a0a0a0), to(#c1c1c1));
|
|
-moz-box-shadow: inset 1px 1px 1px #9b9b9b;
|
|
-webkit-box-shadow: inset 1px 1px 1px #9b9b9b;
|
|
box-shadow: inset 1px 1px 1px #9b9b9b;
|
|
}
|
|
|
|
#wpadminbar #adminbarsearch .adminbar-button:hover {
|
|
color: #000;
|
|
}
|
|
|
|
#wpadminbar #adminbarsearch .adminbar-button::-moz-focus-inner {
|
|
border: none;
|
|
}
|
|
|
|
/**
|
|
* WP Logo item
|
|
*/
|
|
|
|
#wpadminbar .wp-admin-bar-logo {
|
|
background: url(../images/wp-logo-white.png) no-repeat 8px 6px;
|
|
}
|
|
#wpadminbar .wp-admin-bar-logo > a {
|
|
padding-left: 22px;
|
|
}
|
|
|
|
#wpadminbar .wp-admin-bar-logo:hover {
|
|
background: url(../images/wp-logo-dark.png) no-repeat 8px 6px;
|
|
}
|
|
|
|
/**
|
|
* Comments icon
|
|
*/
|
|
#wpadminbar .ab-comments-icon {
|
|
position: relative;
|
|
padding-top: 5px;
|
|
float: left;
|
|
}
|
|
#wpadminbar .ab-comments-icon-body {
|
|
margin: 3px 4px 0 -2px;
|
|
background: #999;
|
|
height: 10px;
|
|
width: 14px;
|
|
|
|
-moz-border-radius: 10px;
|
|
-khtml-border-radius: 10px;
|
|
-webkit-border-radius: 10px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
#wpadminbar a:hover .ab-comments-icon-body {
|
|
background: #bbb;
|
|
color: #555;
|
|
}
|
|
|
|
#wpadminbar a .ab-comments-icon-arrow {
|
|
height: 0;
|
|
position: absolute;
|
|
bottom: -3px;
|
|
left: 1px;
|
|
/* Use transparent borders to form a triangle */
|
|
border-left: 4px solid #999;
|
|
border-bottom: 4px solid transparent;
|
|
}
|
|
#wpadminbar a:hover .ab-comments-icon-arrow {
|
|
border-left-color: #bbb;
|
|
}
|
|
|
|
|
|
/**
|
|
* 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;
|
|
}
|