Skip to:
Content

bbPress.org

Ticket #2583: 2583.diff

File 2583.diff, 3.7 KB (added by netweb, 12 years ago)
  • src/includes/admin/styles/_admin.scss

     
    3131/* Forms */
    3232
    3333input[type=checkbox]:checked:before {
    34     color: $form-checked;
     34        color: $form-checked;
    3535}
    3636
    3737input[type=radio]:checked:before {
    38     background: $form-checked;
     38        background: $form-checked;
    3939}
    4040
    4141.wp-core-ui input[type="reset"]:hover,
     
    386386
    387387.wp-pointer .wp-pointer-content h3 {
    388388        background-color: $highlight-color;
     389        border-color: darken( $highlight-color, 5% );
    389390}
    390391
    391392.wp-pointer .wp-pointer-content h3:before {
     
    432433        background: $highlight-color;
    433434}
    434435
     436.theme-section.current,
     437.theme-filter.current {
     438        border-bottom-color: $menu-background;
     439}
     440
     441body.more-filters-opened .more-filters,
     442body.more-filters-opened .more-filters:before {
     443        color: $menu-text;
     444        background-color: $menu-background;
     445}
     446
     447body.more-filters-opened .more-filters:hover,
     448body.more-filters-opened .more-filters:focus,
     449body.more-filters-opened .more-filters:hover:before,
     450body.more-filters-opened .more-filters:focus:before {
     451        background-color: $menu-highlight-background;
     452        color: $menu-highlight-text;
     453}
     454
     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
     474
    435475/* jQuery UI Slider */
    436476
    437477.wp-slider .ui-slider-handle,
     
    439479.wp-slider .ui-slider-handle.focus {
    440480        background: $button-color;
    441481        border-color: darken( $button-color, 10% );
    442         -webkit-box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
    443482        box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
    444483}
    445484
  • src/includes/admin/styles/_mixins.scss

     
    11/*
    2  * Button mixin- creates 3d-ish button effect with correct 
     2 * Button mixin- creates 3d-ish button effect with correct
    33 * highlights/shadows, based on a base color.
    44 */
    55@mixin button( $button-color, $text-color: white ) {
     
    66        background: $button-color;
    77        border-color: darken( $button-color, 10% );
    88        color: $text-color;
    9         -webkit-box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
    109        box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
    1110
    1211        &:hover,
     
    1413                background: darken( $button-color, 5% );
    1514                border-color: darken( $button-color, 15% );
    1615                color: $text-color;
    17                 -webkit-box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 0 1px 0 rgba(0,0,0,.15);
    1816                box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 0 1px 0 rgba(0,0,0,.15);
    1917        }
    2018
     
    2220                background: darken( $button-color, 10% );
    2321                border-color: darken( $button-color, 15% );
    2422                color: $text-color;
    25                 -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    2623                box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    2724        }
    2825
    2926        &[disabled],
    3027        &:disabled,
    31         &.button-primary-disabled {
     28        &.button-primary-disabled,
     29        &.disabled {
    3230                color: hsl( hue( $button-color ), 10%, 80% ) !important;
    3331                background: darken( $button-color, 8% ) !important;
    3432                border-color: darken( $button-color, 15% ) !important;