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.

Built from https://develop.svn.wordpress.org/trunk@27106


git-svn-id: http://core.svn.wordpress.org/trunk@26973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2014-02-06 06:25:18 +00:00
parent 6169e8662b
commit 0100dd772a
56 changed files with 2270 additions and 4410 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -20,12 +20,10 @@ a {
} }
} }
#rightnow a:hover,
#media-upload a.del-link:hover, #media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover, div.dashboard-widget-submit input:hover,
.subsubsub a:hover, .subsubsub a:hover,
.subsubsub a.current:hover, .subsubsub a.current:hover {
.ui-tabs-nav a:hover {
color: $link-focus; color: $link-focus;
} }

View File

@ -1,4 +1,3 @@
@import url("../../colors-rtl.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,3 @@
@import url("../../colors.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -8,5 +8,4 @@ $menu-submenu-text: #e2ecf1;
$menu-submenu-focus-text: #fff; $menu-submenu-focus-text: #fff;
$menu-submenu-background: #4796b3; $menu-submenu-background: #4796b3;
@import "../../colors.css";
@import "../_admin.scss"; @import "../_admin.scss";

View File

@ -1,4 +1,3 @@
@import url("../../colors-rtl.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,3 @@
@import url("../../colors.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -4,5 +4,4 @@ $notification-color: #9ea476;
$form-checked: $base-color; $form-checked: $base-color;
@import "../../colors.css";
@import "../_admin.scss"; @import "../_admin.scss";

View File

@ -1,4 +1,3 @@
@import url("../../colors-rtl.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,3 @@
@import url("../../colors.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -5,5 +5,4 @@ $notification-color: #d46f15;
$form-checked: $base-color; $form-checked: $base-color;
@import "../../colors.css";
@import "../_admin.scss"; @import "../_admin.scss";

View File

@ -1,4 +1,3 @@
@import url("../../colors-rtl.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,3 @@
@import url("../../colors.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -17,7 +17,6 @@ $menu-submenu-background: #fff;
$menu-collapse-text: #777; $menu-collapse-text: #777;
$menu-collapse-focus-icon: #555; $menu-collapse-focus-icon: #555;
@import "../../colors.css";
@import "../_admin.scss"; @import "../_admin.scss";
/* temporary fix for admin-bar hover color */ /* temporary fix for admin-bar hover color */

View File

@ -1,4 +1,3 @@
@import url("../../colors-rtl.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,3 @@
@import url("../../colors.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -2,5 +2,4 @@ $base-color: #363b3f;
$highlight-color: #e14d43; $highlight-color: #e14d43;
$notification-color: #69a8bb; $notification-color: #69a8bb;
@import "../../colors.css";
@import "../_admin.scss"; @import "../_admin.scss";

View File

@ -1,4 +1,3 @@
@import url("../../colors-rtl.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,3 @@
@import url("../../colors.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -5,5 +5,4 @@ $notification-color: #aa9d88;
$form-checked: $base-color; $form-checked: $base-color;
@import "../../colors.css";
@import "../_admin.scss"; @import "../_admin.scss";

View File

@ -1,4 +1,3 @@
@import url("../../colors-rtl.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,3 @@
@import url("../../colors.css");
/* /*
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
@ -12,7 +11,7 @@ a {
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
color: #0099d5; } color: #0099d5; }
#rightnow a:hover, #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover, .ui-tabs-nav a:hover { #media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover {
color: #0099d5; } color: #0099d5; }
/* Forms */ /* Forms */

File diff suppressed because one or more lines are too long

View File

@ -3,5 +3,4 @@ $highlight-color: #dd823b;
$notification-color: #ccaf0b; $notification-color: #ccaf0b;
$menu-submenu-focus-text: lighten( $highlight-color, 35% ); $menu-submenu-focus-text: lighten( $highlight-color, 35% );
@import "../../colors.css";
@import "../_admin.scss"; @import "../_admin.scss";

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -603,6 +603,9 @@ $_old_files = array(
'wp-admin/images/stars-rtl.png', 'wp-admin/images/stars-rtl.png',
'wp-admin/images/wp-logo-vs-2x.png', 'wp-admin/images/wp-logo-vs-2x.png',
'wp-admin/images/about-updates-2x.png', 'wp-admin/images/about-updates-2x.png',
// 3.9
'wp-admin/css/colors.css',
'wp-admin/css/colors.min.css',
); );
/** /**

View File

@ -1087,6 +1087,34 @@ i.mce-i-wp_page:before {
color: #999; color: #999;
padding-left: 12px; 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 /* Distraction Free Writing mode
* =Overlay Styles * =Overlay Styles

View File

@ -1087,6 +1087,34 @@ i.mce-i-wp_page:before {
color: #999; color: #999;
padding-left: 12px; 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 /* Distraction Free Writing mode
* =Overlay Styles * =Overlay Styles

View File

@ -457,6 +457,12 @@
user-select: none; user-select: none;
} }
.media-router a {
-moz-transition: none;
-webkit-transition: none;
transition: none;
}
.media-router > a { .media-router > a {
position: relative; position: relative;
float: right; float: right;

File diff suppressed because one or more lines are too long

View File

@ -457,6 +457,12 @@
user-select: none; user-select: none;
} }
.media-router a {
-moz-transition: none;
-webkit-transition: none;
transition: none;
}
.media-router > a { .media-router > a {
position: relative; position: relative;
float: left; float: left;

File diff suppressed because one or more lines are too long

View File

@ -59,6 +59,8 @@
} }
.wp-pointer-buttons a.close:before { .wp-pointer-buttons a.close:before {
background: none;
color: #bbb;
content: '\f153'; content: '\f153';
display: block !important; display: block !important;
font: normal 13px/1 'dashicons'; font: normal 13px/1 'dashicons';
@ -73,6 +75,10 @@
top: 1px; top: 1px;
} }
.wp-pointer-buttons a.close:hover:before {
color: #c00;
}
/* The arrow base class must take up no space, even with transparent borders. */ /* The arrow base class must take up no space, even with transparent borders. */
.wp-pointer-arrow, .wp-pointer-arrow,
.wp-pointer-arrow-inner { .wp-pointer-arrow-inner {

View File

@ -1 +1 @@
.wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:1px solid #dfdfdf;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:-1px -1px 5px;padding:15px 60px 14px 18px;border:1px solid #3592b6;border-bottom:0;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;right:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:left;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-right:3px;position:relative}.wp-pointer-buttons a.close:before{content:'\f153';display:block!important;font:400 13px/1 dashicons;speak:none;margin:2px 0;text-align:center;-webkit-font-smoothing:antialiased!important;width:10px;height:100%;position:absolute;right:-12px;top:1px}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{padding-right:13px}.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{right:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 13px 13px;border-bottom-color:#3592b6}.wp-pointer-top .wp-pointer-arrow:before,.wp-pointer-undefined .wp-pointer-arrow:before{margin-right:-13px;margin-top:-11px;border:13px solid transparent;border-bottom-color:#2ea2cc;display:block;content:' '}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:13px 13px 0;border-top-color:#ccc}.wp-pointer-bottom .wp-pointer-arrow:before{margin-right:-13px;margin-top:-14px;border:13px solid transparent;border-top-color:#fff;display:block;content:' '}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:13px 13px 13px 0;border-right-color:#ccc}.wp-pointer-left .wp-pointer-arrow:before{margin-right:-12px;margin-top:-13px;border:13px solid transparent;border-left-color:#fff;display:block;content:' '}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:13px 0 13px 13px;border-left-color:#ccc}.wp-pointer-right .wp-pointer-arrow:before{margin-right:-14px;margin-top:-13px;border:13px solid transparent;border-right-color:#fff;display:block;content:' '}@media screen and (max-width:782px){.wp-pointer{display:none}} .wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:1px solid #dfdfdf;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:-1px -1px 5px;padding:15px 60px 14px 18px;border:1px solid #3592b6;border-bottom:0;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;right:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:left;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-right:3px;position:relative}.wp-pointer-buttons a.close:before{background:0 0;color:#bbb;content:'\f153';display:block!important;font:400 13px/1 dashicons;speak:none;margin:2px 0;text-align:center;-webkit-font-smoothing:antialiased!important;width:10px;height:100%;position:absolute;right:-12px;top:1px}.wp-pointer-buttons a.close:hover:before{color:#c00}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{padding-right:13px}.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{right:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 13px 13px;border-bottom-color:#3592b6}.wp-pointer-top .wp-pointer-arrow:before,.wp-pointer-undefined .wp-pointer-arrow:before{margin-right:-13px;margin-top:-11px;border:13px solid transparent;border-bottom-color:#2ea2cc;display:block;content:' '}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:13px 13px 0;border-top-color:#ccc}.wp-pointer-bottom .wp-pointer-arrow:before{margin-right:-13px;margin-top:-14px;border:13px solid transparent;border-top-color:#fff;display:block;content:' '}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:13px 13px 13px 0;border-right-color:#ccc}.wp-pointer-left .wp-pointer-arrow:before{margin-right:-12px;margin-top:-13px;border:13px solid transparent;border-left-color:#fff;display:block;content:' '}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:13px 0 13px 13px;border-left-color:#ccc}.wp-pointer-right .wp-pointer-arrow:before{margin-right:-14px;margin-top:-13px;border:13px solid transparent;border-right-color:#fff;display:block;content:' '}@media screen and (max-width:782px){.wp-pointer{display:none}}

View File

@ -59,6 +59,8 @@
} }
.wp-pointer-buttons a.close:before { .wp-pointer-buttons a.close:before {
background: none;
color: #bbb;
content: '\f153'; content: '\f153';
display: block !important; display: block !important;
font: normal 13px/1 'dashicons'; font: normal 13px/1 'dashicons';
@ -73,6 +75,10 @@
top: 1px; top: 1px;
} }
.wp-pointer-buttons a.close:hover:before {
color: #c00;
}
/* The arrow base class must take up no space, even with transparent borders. */ /* The arrow base class must take up no space, even with transparent borders. */
.wp-pointer-arrow, .wp-pointer-arrow,
.wp-pointer-arrow-inner { .wp-pointer-arrow-inner {

View File

@ -1 +1 @@
.wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:1px solid #dfdfdf;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:-1px -1px 5px;padding:15px 18px 14px 60px;border:1px solid #3592b6;border-bottom:0;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;left:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:right;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-left:3px;position:relative}.wp-pointer-buttons a.close:before{content:'\f153';display:block!important;font:400 13px/1 dashicons;speak:none;margin:2px 0;text-align:center;-webkit-font-smoothing:antialiased!important;width:10px;height:100%;position:absolute;left:-12px;top:1px}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{padding-right:13px}.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{left:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 13px 13px;border-bottom-color:#3592b6}.wp-pointer-top .wp-pointer-arrow:before,.wp-pointer-undefined .wp-pointer-arrow:before{margin-left:-13px;margin-top:-11px;border:13px solid transparent;border-bottom-color:#2ea2cc;display:block;content:' '}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:13px 13px 0;border-top-color:#ccc}.wp-pointer-bottom .wp-pointer-arrow:before{margin-left:-13px;margin-top:-14px;border:13px solid transparent;border-top-color:#fff;display:block;content:' '}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:13px 13px 13px 0;border-right-color:#ccc}.wp-pointer-left .wp-pointer-arrow:before{margin-left:-12px;margin-top:-13px;border:13px solid transparent;border-right-color:#fff;display:block;content:' '}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:13px 0 13px 13px;border-left-color:#ccc}.wp-pointer-right .wp-pointer-arrow:before{margin-left:-14px;margin-top:-13px;border:13px solid transparent;border-left-color:#fff;display:block;content:' '}@media screen and (max-width:782px){.wp-pointer{display:none}} .wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:1px solid #dfdfdf;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:-1px -1px 5px;padding:15px 18px 14px 60px;border:1px solid #3592b6;border-bottom:0;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;left:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:right;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-left:3px;position:relative}.wp-pointer-buttons a.close:before{background:0 0;color:#bbb;content:'\f153';display:block!important;font:400 13px/1 dashicons;speak:none;margin:2px 0;text-align:center;-webkit-font-smoothing:antialiased!important;width:10px;height:100%;position:absolute;left:-12px;top:1px}.wp-pointer-buttons a.close:hover:before{color:#c00}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{padding-right:13px}.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{left:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 13px 13px;border-bottom-color:#3592b6}.wp-pointer-top .wp-pointer-arrow:before,.wp-pointer-undefined .wp-pointer-arrow:before{margin-left:-13px;margin-top:-11px;border:13px solid transparent;border-bottom-color:#2ea2cc;display:block;content:' '}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:13px 13px 0;border-top-color:#ccc}.wp-pointer-bottom .wp-pointer-arrow:before{margin-left:-13px;margin-top:-14px;border:13px solid transparent;border-top-color:#fff;display:block;content:' '}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:13px 13px 13px 0;border-right-color:#ccc}.wp-pointer-left .wp-pointer-arrow:before{margin-left:-12px;margin-top:-13px;border:13px solid transparent;border-right-color:#fff;display:block;content:' '}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:13px 0 13px 13px;border-left-color:#ccc}.wp-pointer-right .wp-pointer-arrow:before{margin-left:-14px;margin-top:-13px;border:13px solid transparent;border-left-color:#fff;display:block;content:' '}@media screen and (max-width:782px){.wp-pointer{display:none}}

View File

@ -549,7 +549,7 @@ function wp_default_styles( &$styles ) {
$suffix = SCRIPT_DEBUG ? '' : '.min'; $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' ) ); $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' ) ); $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 // 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( 'media', "/wp-admin/css/media$suffix.css" );
$styles->add( 'install', "/wp-admin/css/install$suffix.css", array( 'buttons', 'open-sans' ) ); $styles->add( 'install', "/wp-admin/css/install$suffix.css", array( 'buttons', 'open-sans' ) );