]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/colors/_admin.scss
WordPress 4.3-scripts
[autoinstalls/wordpress.git] / wp-admin / css / colors / _admin.scss
index 88c443f26bf12c1606e1e6355d9dc5b1d65f5878..6e396428f6c8e65c0341533be98111bb0e5de301 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,
@@ -85,8 +83,8 @@ input[type=radio]:checked:before {
 
 /* List tables */
 
-.wrap .add-new-h2:hover,
-#add-new-comment a:hover,
+.wrap .add-new-h2:hover, /* deprecated */
+.wrap .page-title-action:hover,
 .tablenav .tablenav-pages a:hover,
 .tablenav .tablenav-pages a:focus {
        color: $menu-text;
@@ -101,21 +99,6 @@ input[type=radio]:checked:before {
        color: $menu-bubble-background;
 }
 
-.post-com-count:hover:after {
-       border-top-color: $menu-background;
-}
-.post-com-count:hover span {
-       color: $menu-text;
-       background-color: $menu-background;
-}
-
-strong .post-com-count:after {
-       border-top-color: $menu-bubble-background;
-}
-strong .post-com-count span {
-       background-color: $menu-bubble-background;
-}
-
 
 /* Admin Menu */
 
@@ -152,6 +135,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 +196,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;
 }
 
@@ -274,26 +265,25 @@ ul#adminmenu > li.current > a.current:after {
        color: $menu-icon;
 }
 
-#wpadminbar .ab-top-menu > li:hover > .ab-item,
-#wpadminbar .ab-top-menu > li.hover > .ab-item,
-#wpadminbar .ab-top-menu > li > .ab-item:focus,
+#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
+#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
 #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
-#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
+#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
 #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
        color: $menu-submenu-focus-text;
        background: $menu-submenu-background;
 }
 
-#wpadminbar > #wp-toolbar li:hover span.ab-label,
-#wpadminbar > #wp-toolbar li.hover span.ab-label,
-#wpadminbar > #wp-toolbar a:focus span.ab-label {
+#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
+#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
+#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
        color: $menu-submenu-focus-text;
 }
 
-#wpadminbar li:hover .ab-icon:before,
-#wpadminbar li:hover .ab-item:before,
-#wpadminbar li:hover .ab-item:after,
-#wpadminbar li:hover #adminbarsearch:before {
+#wpadminbar:not(.mobile) li:hover .ab-icon:before,
+#wpadminbar:not(.mobile) li:hover .ab-item:before,
+#wpadminbar:not(.mobile) li:hover .ab-item:after,
+#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
        color: $menu-highlight-icon;
 }
 
@@ -312,7 +302,7 @@ ul#adminmenu > li.current > a.current:after {
 #wpadminbar .ab-submenu .ab-item,
 #wpadminbar .quicklinks .menupop ul li a,
 #wpadminbar .quicklinks .menupop.hover ul li a,
-#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
+#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
        color: $menu-submenu-text;
 }
 
@@ -335,17 +325,23 @@ ul#adminmenu > li.current > a.current:after {
 #wpadminbar li .ab-item:focus:before,
 #wpadminbar li.hover .ab-icon:before,
 #wpadminbar li.hover .ab-item:before,
-#wpadminbar li:hover .ab-item:after,
-#wpadminbar li.hover .ab-item:after,
-#wpadminbar li:hover #adminbarsearch:before {
+#wpadminbar li:hover #adminbarsearch:before,
+#wpadminbar li #adminbarsearch.adminbar-focused:before {
        color: $menu-submenu-focus-text;
 }
 
 #wpadminbar .quicklinks li a:hover .blavatar,
-#wpadminbar .menupop .menupop > .ab-item:hover:before {
+#wpadminbar .menupop .menupop > .ab-item:hover:before,
+#wpadminbar.mobile .quicklinks .ab-icon:before,
+#wpadminbar.mobile .quicklinks .ab-item:before {
        color: $menu-submenu-focus-text;
 }
 
+#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
+#wpadminbar.mobile .quicklinks .hover .ab-item:before {
+       color: $menu-icon;
+}
+
 
 /* Admin Bar: search */
 
@@ -358,10 +354,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 +384,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 +392,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 +407,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 +417,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 +491,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 +506,20 @@ 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;
 }
+
+.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
+       color: $menu-icon;
+}
+
+/* TinyMCE */
+
+.mce-container.mce-menu .mce-menu-item:hover,
+.mce-container.mce-menu .mce-menu-item.mce-selected,
+.mce-container.mce-menu .mce-menu-item:focus,
+.mce-container.mce-menu .mce-menu-item-normal.mce-active,
+.mce-container.mce-menu .mce-menu-item-preview.mce-active {
+       background: $highlight-color;
+}