Ticket #28267: 28267.primary-button-colorschemes.diff
File 28267.primary-button-colorschemes.diff, 1.0 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/colors/_mixins.scss
13 13 background: darken( $button-color, 5% ); 14 14 border-color: darken( $button-color, 15% ); 15 15 color: $text-color; 16 box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 0 1px 0 rgba(0,0,0,.15);16 box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 17 17 } 18 18 19 &:focus { 20 box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 21 0 0 0 1px #5b9dd9, 22 0 0 2px 1px rgba( 30, 140, 190, .8 ); 23 } 24 19 25 &:active { 20 26 background: darken( $button-color, 10% ); 21 27 border-color: darken( $button-color, 15% ); 22 28 color: $text-color; 23 box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); 29 box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ), 30 0 0 0 1px #5b9dd9, 31 0 0 2px 1px rgba( 30, 140, 190, .8 ); 24 32 } 25 33 26 34 &[disabled],