Clean up styles for #wphead, #favorite-actions and the old editor buttons, props andrewryno, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18976 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
573a1813dc
commit
4bb2ed26d8
File diff suppressed because one or more lines are too long
@ -420,7 +420,6 @@ a:focus {
|
||||
color: #d54e21;
|
||||
}
|
||||
|
||||
#wphead #viewsite a:hover,
|
||||
#adminmenu a:hover,
|
||||
#adminmenu ul.wp-submenu a:hover,
|
||||
#the-comment-list .comment a:hover,
|
||||
@ -554,8 +553,6 @@ h3.dashboard-widget-title small a:hover {
|
||||
|
||||
a,
|
||||
#adminmenu a,
|
||||
#poststuff #edButtonPreview,
|
||||
#poststuff #edButtonHTML,
|
||||
#the-comment-list p.comment-author strong a,
|
||||
#media-upload a.del-link,
|
||||
#media-items a.delete,
|
||||
@ -858,13 +855,6 @@ table.widefat .spam a:hover,
|
||||
color: #555;
|
||||
}
|
||||
|
||||
#poststuff #edButtonPreview,
|
||||
#poststuff #edButtonHTML {
|
||||
background-color: #f7fcfe;
|
||||
border-color: #d0dfe9 #d0dfe9 #d0dfe9;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
#poststuff #editor-toolbar .active {
|
||||
border-color: #d0dfe9 #d0dfe9 #eff8ff;
|
||||
background-color: #eff8ff;
|
||||
@ -1784,38 +1774,6 @@ body.press-this ul.category-tabs li.tabs a {
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
#favorite-first {
|
||||
border-color: #c0c0c0;
|
||||
background: #f1f1f1; /* fallback color */
|
||||
background:-moz-linear-gradient(bottom, #e7e7e7, #fff);
|
||||
background:-webkit-gradient(linear, left bottom, left top, from(#e7e7e7), to(#fff));
|
||||
}
|
||||
|
||||
#favorite-inside {
|
||||
border-color: #c0c0c0;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#favorite-toggle {
|
||||
background: transparent url(../images/fav-arrow.gif?ver=20100531) no-repeat 0 -4px;
|
||||
border-color: #d0dfe9;
|
||||
-moz-box-shadow: inset 1px 0 0 #fff;
|
||||
-webkit-box-shadow: inset 1px 0 0 #fff;
|
||||
box-shadow: inset 1px 0 0 #fff;
|
||||
}
|
||||
|
||||
#favorite-actions a {
|
||||
color: #464646;
|
||||
}
|
||||
|
||||
#favorite-actions a:hover {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#favorite-inside a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.toggle-arrow {
|
||||
background: transparent url(../images/arrows-vs.png) no-repeat right 3px;
|
||||
}
|
||||
@ -2157,10 +2115,6 @@ div.widgets-sortables,
|
||||
border-left-color: #d1e5ee;
|
||||
}
|
||||
|
||||
.rtl #favorite-toggle {
|
||||
background: transparent url(../images/arrows-vs.png) no-repeat 4px 2px;
|
||||
}
|
||||
|
||||
.toggle-arrow {
|
||||
background: transparent url(../images/arrows-vs.png) no-repeat left 3px;
|
||||
}
|
||||
@ -2171,4 +2125,3 @@ div.widgets-sortables,
|
||||
.rtl .sidebar-name:hover .sidebar-name-arrow {
|
||||
background: transparent url(../images/arrows-dark-vs.png) no-repeat 5px 9px;
|
||||
}
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -428,7 +428,6 @@ a:focus {
|
||||
color: #d54e21;
|
||||
}
|
||||
|
||||
#wphead #viewsite a:hover,
|
||||
#adminmenu a:hover,
|
||||
#adminmenu ul.wp-submenu a:hover,
|
||||
#the-comment-list .comment a:hover,
|
||||
@ -1454,38 +1453,6 @@ body.press-this ul.category-tabs li.tabs a {
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
#favorite-first {
|
||||
border-color: #c0c0c0;
|
||||
background: #f1f1f1; /* fallback color */
|
||||
background:-moz-linear-gradient(bottom, #e7e7e7, #fff);
|
||||
background:-webkit-gradient(linear, left bottom, left top, from(#e7e7e7), to(#fff));
|
||||
}
|
||||
|
||||
#favorite-inside {
|
||||
border-color: #c0c0c0;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#favorite-toggle {
|
||||
background: transparent url(../images/arrows.png) no-repeat 4px 2px;
|
||||
border-color: #dfdfdf;
|
||||
-moz-box-shadow: inset 1px 0 0 #fff;
|
||||
-webkit-box-shadow: inset 1px 0 0 #fff;
|
||||
box-shadow: inset 1px 0 0 #fff;
|
||||
}
|
||||
|
||||
#favorite-actions a {
|
||||
color: #464646;
|
||||
}
|
||||
|
||||
#favorite-actions a:hover {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#favorite-inside a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.view-switch #view-switch-list {
|
||||
background: transparent url(../images/list.png) no-repeat 0 0;
|
||||
}
|
||||
@ -1816,10 +1783,6 @@ div.widgets-sortables,
|
||||
border-left-color: #eee;
|
||||
}
|
||||
|
||||
.rtl #favorite-toggle {
|
||||
background: transparent url(../images/arrows.png) no-repeat 4px 2px;
|
||||
}
|
||||
|
||||
.toggle-arrow {
|
||||
background: transparent url(../images/arrows.png) no-repeat left 3px;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -223,16 +223,6 @@ a.button {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#favorite-actions {
|
||||
z-index: 12;
|
||||
}
|
||||
|
||||
#favorite-inside,
|
||||
#favorite-inside a,
|
||||
.favorite-action {
|
||||
zoom: 100%;
|
||||
}
|
||||
|
||||
#the-comment-list .comment-item,
|
||||
#post-status-info,
|
||||
#wpwrap,
|
||||
|
File diff suppressed because one or more lines are too long
@ -13,8 +13,7 @@ TABLE OF CONTENTS:
|
||||
4.0 - Notifications
|
||||
5.0 - TinyMCE
|
||||
6.0 - Admin Header
|
||||
6.1 - Favorites Menu
|
||||
6.2 - Screen Options Tabs
|
||||
6.1 - Screen Options Tabs
|
||||
7.0 - Main Navigation
|
||||
8.0 - Layout Blocks
|
||||
9.0 - Dashboard
|
||||
@ -305,34 +304,11 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
#wphead h1 {
|
||||
font: Tahoma, Arial, sans-serif;
|
||||
float: right;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
6.1 - Favorites Menu
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#favorite-actions {
|
||||
margin: 0 15px 0 12px;
|
||||
}
|
||||
|
||||
#favorite-first a {
|
||||
padding: 2px 12px 2px 0;
|
||||
}
|
||||
|
||||
#favorite-inside a {
|
||||
padding: 3px 10px 3px 5px;
|
||||
}
|
||||
|
||||
#favorite-toggle {
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
6.2 - Screen Options Tabs
|
||||
6.1 - Screen Options Tabs
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#screen-meta .screen-reader-text {
|
||||
@ -729,17 +705,6 @@ th.sorted a span {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#edButtonPreview,
|
||||
#edButtonHTML {
|
||||
margin: 5px 0 0 5px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#poststuff #edButtonHTML {
|
||||
margin-right: 0;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.submitbox .submit {
|
||||
text-align: right;
|
||||
}
|
||||
@ -1940,17 +1905,6 @@ div.star {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
|
||||
/* press-this */
|
||||
body.press-this {
|
||||
font-family: Tahoma, Arial;
|
||||
}
|
||||
|
||||
#header-logo,
|
||||
#wphead h1 {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Editor/Main Column */
|
||||
.posting {
|
||||
margin-left: 212px;
|
||||
|
File diff suppressed because one or more lines are too long
@ -13,9 +13,8 @@ TABLE OF CONTENTS:
|
||||
4.0 - Notifications
|
||||
5.0 - TinyMCE
|
||||
6.0 - Admin Header
|
||||
6.1 - Favorites Menu
|
||||
6.2 - Screen Options Tabs
|
||||
6.3 - Help Menu
|
||||
6.1 - Screen Options Tabs
|
||||
6.2 - Help Menu
|
||||
7.0 - Main Navigation
|
||||
8.0 - Layout Blocks
|
||||
9.0 - Dashboard
|
||||
@ -698,7 +697,6 @@ a.rsswidget,
|
||||
.tablenav .displaying-num,
|
||||
.welcome-panel h3,
|
||||
.widefat th,
|
||||
#wphead h1,
|
||||
.quicktags,
|
||||
.search {
|
||||
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
|
||||
@ -1342,113 +1340,15 @@ form.upgrade .hint {
|
||||
/*------------------------------------------------------------------------------
|
||||
6.0 - Admin Header
|
||||
------------------------------------------------------------------------------*/
|
||||
#wphead {
|
||||
height: 32px;
|
||||
margin-right: 20px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
#wphead a,
|
||||
#adminmenu a,
|
||||
#sidemenu a,
|
||||
#taglist a,
|
||||
#catlist a,
|
||||
#wphead h1 a:hover {
|
||||
#catlist a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#wphead h1 a:hover #site-title {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
#header-logo {
|
||||
float: left;
|
||||
margin: 7px 0;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#wphead h1 {
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
padding: 6px 8px 5px;
|
||||
margin: 0;
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
6.1 - Favorites Menu
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#favorite-actions {
|
||||
margin: 0 12px 0 15px;
|
||||
min-width: 130px;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
#favorite-first {
|
||||
-webkit-border-radius: 12px;
|
||||
border-radius: 12px;
|
||||
line-height: 15px;
|
||||
padding: 0 30px 0 0;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
#favorite-inside {
|
||||
margin: 0;
|
||||
padding: 2px 1px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
position: absolute;
|
||||
z-index: 11;
|
||||
display: none;
|
||||
-webkit-border-bottom-right-radius: 12px;
|
||||
-webkit-border-bottom-left-radius: 12px;
|
||||
border-bottom-right-radius: 12px;
|
||||
border-bottom-left-radius: 12px;
|
||||
}
|
||||
|
||||
#favorite-first a {
|
||||
padding: 2px 0 2px 12px;
|
||||
}
|
||||
|
||||
#favorite-actions a {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
#favorite-inside a {
|
||||
padding: 3px 5px 3px 10px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
#favorite-toggle {
|
||||
height: 18px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 1px;
|
||||
width: 28px;
|
||||
border-width: 0 0 0 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
#favorite-actions .slide-down {
|
||||
-webkit-border-bottom-right-radius: 0;
|
||||
-webkit-border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
6.2 - Screen Options Tabs
|
||||
6.1 - Screen Options Tabs
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#screen-meta {
|
||||
@ -1512,7 +1412,7 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
6.3 - Help Menu
|
||||
6.2 - Help Menu
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#contextual-help-back {
|
||||
@ -2801,7 +2701,6 @@ table .inline-edit-row fieldset ul.cat-hover {
|
||||
#poststuff #titlewrap {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
|
||||
}
|
||||
|
||||
#titlediv #title {
|
||||
@ -6479,6 +6378,22 @@ img {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.press-this #wphead h1 {
|
||||
font-weight: normal;
|
||||
font-size: 16px;
|
||||
line-height: 32px;
|
||||
margin: 0;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.press-this #wphead h1 a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.press-this #wphead h1 a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.press-this-sidebar {
|
||||
float: right;
|
||||
width: 200px;
|
||||
@ -6492,19 +6407,6 @@ img {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.press-this #wphead h1 {
|
||||
padding: 6px 0 0;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.press-this #wphead h1 a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.press-this #wphead h1 a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.press-this .tagchecklist span a {
|
||||
background: transparent url(../images/xit.gif) no-repeat 0 0;
|
||||
}
|
||||
|
@ -431,13 +431,13 @@ function wp_default_styles( &$styles ) {
|
||||
// Any rtl stylesheets that don't have a .dev version for ltr
|
||||
$no_suffix = array( 'farbtastic' );
|
||||
|
||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111014' );
|
||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111015' );
|
||||
|
||||
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111014' );
|
||||
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111015' );
|
||||
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
||||
|
||||
// all colors stylesheets need to have the same query strings (cache manifest compat)
|
||||
$colors_version = '20111014';
|
||||
$colors_version = '20111015';
|
||||
|
||||
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
|
||||
$styles->add( 'colors', true, array('wp-admin'), $colors_version );
|
||||
|
Loading…
Reference in New Issue
Block a user