Ticket #2583: 2583.diff
| File 2583.diff, 3.7 KB (added by , 12 years ago) |
|---|
-
src/includes/admin/styles/_admin.scss
31 31 /* Forms */ 32 32 33 33 input[type=checkbox]:checked:before { 34 color: $form-checked;34 color: $form-checked; 35 35 } 36 36 37 37 input[type=radio]:checked:before { 38 background: $form-checked;38 background: $form-checked; 39 39 } 40 40 41 41 .wp-core-ui input[type="reset"]:hover, … … 386 386 387 387 .wp-pointer .wp-pointer-content h3 { 388 388 background-color: $highlight-color; 389 border-color: darken( $highlight-color, 5% ); 389 390 } 390 391 391 392 .wp-pointer .wp-pointer-content h3:before { … … 432 433 background: $highlight-color; 433 434 } 434 435 436 .theme-section.current, 437 .theme-filter.current { 438 border-bottom-color: $menu-background; 439 } 440 441 body.more-filters-opened .more-filters, 442 body.more-filters-opened .more-filters:before { 443 color: $menu-text; 444 background-color: $menu-background; 445 } 446 447 body.more-filters-opened .more-filters:hover, 448 body.more-filters-opened .more-filters:focus, 449 body.more-filters-opened .more-filters:hover:before, 450 body.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 435 475 /* jQuery UI Slider */ 436 476 437 477 .wp-slider .ui-slider-handle, … … 439 479 .wp-slider .ui-slider-handle.focus { 440 480 background: $button-color; 441 481 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);443 482 box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15); 444 483 } 445 484 -
src/includes/admin/styles/_mixins.scss
1 1 /* 2 * Button mixin- creates 3d-ish button effect with correct 2 * Button mixin- creates 3d-ish button effect with correct 3 3 * highlights/shadows, based on a base color. 4 4 */ 5 5 @mixin button( $button-color, $text-color: white ) { … … 6 6 background: $button-color; 7 7 border-color: darken( $button-color, 10% ); 8 8 color: $text-color; 9 -webkit-box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);10 9 box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15); 11 10 12 11 &:hover, … … 14 13 background: darken( $button-color, 5% ); 15 14 border-color: darken( $button-color, 15% ); 16 15 color: $text-color; 17 -webkit-box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 0 1px 0 rgba(0,0,0,.15);18 16 box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 0 1px 0 rgba(0,0,0,.15); 19 17 } 20 18 … … 22 20 background: darken( $button-color, 10% ); 23 21 border-color: darken( $button-color, 15% ); 24 22 color: $text-color; 25 -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );26 23 box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); 27 24 } 28 25 29 26 &[disabled], 30 27 &:disabled, 31 &.button-primary-disabled { 28 &.button-primary-disabled, 29 &.disabled { 32 30 color: hsl( hue( $button-color ), 10%, 80% ) !important; 33 31 background: darken( $button-color, 8% ) !important; 34 32 border-color: darken( $button-color, 15% ) !important;