mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-20 11:14:28 +00:00
Merge colors.css into wp-admin.css. Non-default color schemes became overloads rather than swaps in the 3.8 redesign. Benefits include:
* No more border-width, border-style, border-color insanity. * Point releases are much less likely to require extra finagling to avoid rebuilding the color schemes. * Yours truly has a better overall vision of ~14,000 lines of admin CSS and where we go from here. 1,065 net lines of red, y'all. props helen, jorbin. fixes #18380. git-svn-id: https://develop.svn.wordpress.org/trunk@27106 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1087,6 +1087,34 @@ i.mce-i-wp_page:before {
|
||||
color: #999;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
/* from colors.css
|
||||
.clearlooks2 {
|
||||
box-shadow: 0 5px 15px rgba(0,0,0,0.7);
|
||||
}
|
||||
|
||||
.clearlooks2 .mceMiddle span,
|
||||
.clearlooks2 .mceMiddle .mceLeft,
|
||||
.clearlooks2 .mceMiddle .mceRight,
|
||||
.clearlooks2 .mceBottom,
|
||||
.clearlooks2 .mceBottom .mceLeft,
|
||||
.clearlooks2 .mceBottom .mceCenter,
|
||||
.clearlooks2 .mceBottom .mceRight {
|
||||
background-color: #fcfcfc;
|
||||
}
|
||||
|
||||
.clearlooks2 .mceTop span,
|
||||
.clearlooks2 .mceFocus .mceTop span {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.clearlooks2 .mceClose:before {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.clearlooks2 .mceClose:hover:before {
|
||||
color: #2ea2cc;
|
||||
}
|
||||
*/
|
||||
/* Distraction Free Writing mode
|
||||
* =Overlay Styles
|
||||
|
||||
@@ -457,6 +457,12 @@
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.media-router a {
|
||||
-moz-transition: none;
|
||||
-webkit-transition: none;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.media-router > a {
|
||||
position: relative;
|
||||
float: left;
|
||||
|
||||
@@ -59,6 +59,8 @@
|
||||
}
|
||||
|
||||
.wp-pointer-buttons a.close:before {
|
||||
background: none;
|
||||
color: #bbb;
|
||||
content: '\f153';
|
||||
display: block !important;
|
||||
font: normal 13px/1 'dashicons';
|
||||
@@ -73,6 +75,10 @@
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
.wp-pointer-buttons a.close:hover:before {
|
||||
color: #c00;
|
||||
}
|
||||
|
||||
/* The arrow base class must take up no space, even with transparent borders. */
|
||||
.wp-pointer-arrow,
|
||||
.wp-pointer-arrow-inner {
|
||||
|
||||
@@ -549,7 +549,7 @@ function wp_default_styles( &$styles ) {
|
||||
|
||||
$suffix = SCRIPT_DEBUG ? '' : '.min';
|
||||
|
||||
$rtl_styles = array( 'wp-admin', 'ie', 'media', 'admin-bar', 'customize-controls', 'media-views', 'wp-color-picker', 'wp-pointer', 'editor-buttons', 'farbtastic', 'wp-auth-check', 'wp-jquery-ui-dialog', 'media-views', 'buttons', 'install', 'colors-fresh' );
|
||||
$rtl_styles = array( 'wp-admin', 'ie', 'media', 'admin-bar', 'customize-controls', 'media-views', 'wp-color-picker', 'wp-pointer', 'editor-buttons', 'farbtastic', 'wp-auth-check', 'wp-jquery-ui-dialog', 'media-views', 'buttons', 'install' );
|
||||
|
||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array( 'open-sans', 'dashicons' ) );
|
||||
|
||||
@@ -590,7 +590,7 @@ function wp_default_styles( &$styles ) {
|
||||
$styles->add( 'colors', true, array( 'wp-admin', 'buttons', 'open-sans', 'dashicons' ) );
|
||||
|
||||
// do not refer to this directly, the right one is queued by the above "meta" colors handle
|
||||
$styles->add( 'colors-fresh', "/wp-admin/css/colors$suffix.css", array( 'wp-admin', 'buttons' ) );
|
||||
$styles->add( 'colors-fresh', false, array( 'wp-admin', 'buttons' ) );
|
||||
|
||||
$styles->add( 'media', "/wp-admin/css/media$suffix.css" );
|
||||
$styles->add( 'install', "/wp-admin/css/install$suffix.css", array( 'buttons', 'open-sans' ) );
|
||||
|
||||
Reference in New Issue
Block a user