X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/e08b42e8ad054ec67522d7ac1aaae5dc68cb3d01..HEAD:/wp-admin/css/colors/_admin.scss diff --git a/wp-admin/css/colors/_admin.scss b/wp-admin/css/colors/_admin.scss index 88c443f2..da53b008 100644 --- a/wp-admin/css/colors/_admin.scss +++ b/wp-admin/css/colors/_admin.scss @@ -3,7 +3,7 @@ @import 'mixins'; -html { +body { background: $body-background; } @@ -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; } @@ -236,23 +227,15 @@ ul#adminmenu > li.current > a.current:after { /* Admin Menu: collapse button */ -#collapse-menu { +#collapse-button { color: $menu-collapse-text; } -#collapse-menu:hover { - color: $menu-collapse-focus-text; -} - -#collapse-button div:after { - color: $menu-collapse-icon; +#collapse-button:hover, +#collapse-button:focus { + color: $menu-submenu-focus-text; } -#collapse-menu:hover #collapse-button div:after { - color: $menu-collapse-focus-icon; -} - - /* Admin Bar */ #wpadminbar { @@ -274,26 +257,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 +294,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; } @@ -325,6 +307,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -333,19 +316,28 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, +#wpadminbar li .ab-item:focus .ab-icon: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 .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, +#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,12 +350,6 @@ 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; } - - /* Admin Bar: my account */ #wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { @@ -388,6 +374,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 +382,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 +397,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,44 +407,64 @@ 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; } -/* jQuery UI Slider */ +body.more-filters-opened .more-filters { + color: $menu-text; + background-color: $menu-background; +} -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.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); +body.more-filters-opened .more-filters:before { + color: $menu-text; } -/* Thickbox: Plugin information */ +body.more-filters-opened .more-filters:hover, +body.more-filters-opened .more-filters:focus { + background-color: $menu-highlight-background; + color: $menu-highlight-text; +} -#sidemenu a.current { - background: $body-background; - border-bottom-color: $body-background; +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; } -#plugin-information .action-button { - background: $button-color; +.widgets-chooser li.widgets-chooser-selected:before, +.widgets-chooser li.widgets-chooser-selected:focus:before { + color: $menu-highlight-text; } /* Responsive Component */ @@ -468,10 +479,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; +}