]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/colors/_admin.scss
WordPress 4.2
[autoinstalls/wordpress.git] / wp-admin / css / colors / _admin.scss
index 88c443f26bf12c1606e1e6355d9dc5b1d65f5878..20ac8f09c93dba42cb819e8857cdcceca78b9c9d 100644 (file)
@@ -20,12 +20,10 @@ a {
        }
 }
 
-#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 {
+.subsubsub a.current:hover {
        color: $link-focus;
 }
 
@@ -33,11 +31,11 @@ div.dashboard-widget-submit input:hover,
 /* Forms */
 
 input[type=checkbox]:checked:before {
-    color: $form-checked;
+       color: $form-checked;
 }
 
 input[type=radio]:checked:before {
-    background: $form-checked;
+       background: $form-checked;
 }
 
 .wp-core-ui input[type="reset"]:hover,
@@ -152,6 +150,7 @@ strong .post-com-count span {
 .about-wrap h2 .nav-tab-active,
 .nav-tab-active,
 .nav-tab-active:hover {
+       background-color: $body-background;
        border-bottom-color: $body-background;
 }
 
@@ -212,7 +211,14 @@ ul#adminmenu > li.current > a.current:after {
        background: $menu-current-background;
 }
 
-#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
+#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
+#adminmenu a.current:hover div.wp-menu-image:before,
+#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
+#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
+#adminmenu li:hover div.wp-menu-image:before,
+#adminmenu li a:focus div.wp-menu-image:before,
+#adminmenu li.opensub div.wp-menu-image:before,
+.ie8 #adminmenu li.opensub div.wp-menu-image:before {
        color: $menu-current-icon;
 }
 
@@ -358,10 +364,10 @@ ul#adminmenu > li.current > a.current:after {
        background: $adminbar-input-background;
 }
 
-#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { color: $menu-text; opacity: .7; }
-#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { color: $menu-text; opacity: .7; }
-#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { color: $menu-text; opacity: .7; }
-#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { color: $menu-text; opacity: .7; }
+#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { color: $menu-text; opacity: 0.7; }
+#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { color: $menu-text; opacity: 0.7; }
+#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { color: $menu-text; opacity: 0.7; }
+#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { color: $menu-text; opacity: 0.7; }
 
 
 /* Admin Bar: my account */
@@ -388,6 +394,7 @@ ul#adminmenu > li.current > a.current:after {
 
 .wp-pointer .wp-pointer-content h3 {
        background-color: $highlight-color;
+       border-color: darken( $highlight-color, 5% );
 }
 
 .wp-pointer .wp-pointer-content h3:before {
@@ -395,12 +402,14 @@ ul#adminmenu > li.current > a.current:after {
 }
 
 .wp-pointer.wp-pointer-top .wp-pointer-arrow,
-.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
+.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
+.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
+.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
        border-bottom-color: $highlight-color;
 }
 
 
-/* Media Uploader */
+/* Media */
 
 .media-item .bar,
 .media-progress-bar div {
@@ -408,7 +417,9 @@ ul#adminmenu > li.current > a.current:after {
 }
 
 .details.attachment {
-       box-shadow: 0 0 0 1px #fff, 0 0 0 5px $highlight-color;
+       box-shadow:
+               inset 0 0 0 3px #fff,
+               inset 0 0 0 7px $highlight-color;
 }
 
 .attachment.details .check {
@@ -416,22 +427,71 @@ ul#adminmenu > li.current > a.current:after {
        box-shadow: 0 0 0 1px #fff, 0 0 0 2px $highlight-color;
 }
 
+.media-selection .attachment.selection.details .thumbnail {
+       -webkit-box-shadow:
+               0px 0px 0px 1px #fff,
+               0px 0px 0px 3px $highlight-color;
+       box-shadow:
+               0px 0px 0px 1px #fff,
+               0px 0px 0px 3px $highlight-color;
+}
+
 
 /* Themes */
 
 .theme-browser .theme.active .theme-name,
-.theme-browser .theme.add-new-theme:hover:after {
+.theme-browser .theme.add-new-theme a:hover:after,
+.theme-browser .theme.add-new-theme a:focus:after {
        background: $highlight-color;
 }
 
-.theme-browser .theme.add-new-theme:hover span:after {
+.theme-browser .theme.add-new-theme a:hover span:after,
+.theme-browser .theme.add-new-theme a:focus span:after {
        color: $highlight-color;
 }
 
-.theme-overlay .theme-header .close:hover,
-.theme-overlay .theme-header .right:hover,
-.theme-overlay .theme-header .left:hover {
-       background: $highlight-color;
+.theme-section.current,
+.theme-filter.current {
+       border-bottom-color: $menu-background;
+}
+
+body.more-filters-opened .more-filters {
+       color: $menu-text;
+       background-color: $menu-background;
+}
+
+body.more-filters-opened .more-filters:before {
+       color: $menu-text;
+}
+
+body.more-filters-opened .more-filters:hover,
+body.more-filters-opened .more-filters:focus {
+       background-color: $menu-highlight-background;
+       color: $menu-highlight-text;
+}
+
+body.more-filters-opened .more-filters:hover:before,
+body.more-filters-opened .more-filters:focus:before {
+       color: $menu-highlight-text;
+}
+
+/* Widgets */
+
+.widgets-chooser li.widgets-chooser-selected {
+       background-color: $menu-highlight-background;
+       color: $menu-highlight-text;
+}
+
+.widgets-chooser li.widgets-chooser-selected:before,
+.widgets-chooser li.widgets-chooser-selected:focus:before {
+       color: $menu-highlight-text;
+}
+
+/* Customize */
+
+#customize-theme-controls .widget-area-select .selected {
+       background-color: $menu-highlight-background;
+       color: $menu-highlight-text;
 }
 
 /* jQuery UI Slider */
@@ -441,21 +501,9 @@ ul#adminmenu > li.current > a.current:after {
 .wp-slider .ui-slider-handle.focus {
        background: $button-color;
        border-color: darken( $button-color, 10% );
-       -webkit-box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
        box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
 }
 
-/* Thickbox: Plugin information */
-
-#sidemenu a.current {
-       background: $body-background;
-       border-bottom-color: $body-background;
-}
-
-#plugin-information .action-button {
-       background: $button-color;
-}
-
 /* Responsive Component */
 
 div#wp-responsive-toggle a:before {
@@ -468,10 +516,6 @@ div#wp-responsive-toggle a:before {
        background: $menu-highlight-background;
 }
 
-.star-rating .star {
-       color: $highlight-color;
-}
-
 .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
        background: $menu-submenu-background;
 }