WordPress.org

Make WordPress Core

Changeset 28122


Ignore:
Timestamp:
04/14/2014 08:21:14 PM (4 years ago)
Author:
nacin
Message:

Color scheme support for widget choosers.

props ocean90.
fixes #27793.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/colors/_admin.scss

    r28098 r28122  
    453453}
    454454
     455/* Widgets */
     456
     457.widgets-chooser li.widgets-chooser-selected {
     458    background-color: $menu-highlight-background;
     459    color: $menu-highlight-text;
     460}
     461
     462.widgets-chooser li.widgets-chooser-selected:before,
     463.widgets-chooser li.widgets-chooser-selected:focus:before {
     464    color: $menu-highlight-text;
     465}
     466
     467/* Customize */
     468
     469#customize-theme-controls .widget-area-select .selected {
     470    background-color: $menu-highlight-background;
     471    color: $menu-highlight-text;
     472}
     473
    455474
    456475/* jQuery UI Slider */
  • trunk/src/wp-admin/css/customize-widgets.css

    r28013 r28122  
    257257    color: #fff;
    258258    text-shadow: 0 -1px 0 rgba(0,0,0,.4);
    259     border-top: 1px solid #207fa1;
    260259    background: #2ea2cc;
    261260}
     
    263262#customize-theme-controls .widget-area-select .selected:before {
    264263    display: block;
    265 }
    266 
    267 #customize-theme-controls .widget-area-select .selected:last-child {
    268     border-bottom: 1px solid #207fa1;
    269264}
    270265
     
    272267    text-align: right;
    273268    padding: 12px;
    274 }
    275 
    276 #customize-theme-controls .widget-area-select + li {
    277     border-top: 1px solid #207fa1;
    278269}
    279270
Note: See TracChangeset for help on using the changeset viewer.