golden hour
/var/www/nanshen/wp-admin/css/colors
⬆️ Go Up
Upload
File/Folder
Size
Actions
_admin.scss
11.43 KB
Del
OK
_mixins.scss
1 KB
Del
OK
_variables.scss
1.81 KB
Del
OK
blue
-
Del
OK
coffee
-
Del
OK
ectoplasm
-
Del
OK
light
-
Del
OK
midnight
-
Del
OK
ocean
-
Del
OK
sunrise
-
Del
OK
user
-
Del
OK
Edit: _mixins.scss
/* * Button mixin- creates 3d-ish button effect with correct * highlights/shadows, based on a base color. */ @mixin button( $button-color, $text-color: white ) { background: $button-color; border-color: darken( $button-color, 10% ); color: $text-color; box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15); &:hover, &:focus { background: darken( $button-color, 5% ); border-color: darken( $button-color, 15% ); color: $text-color; box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 0 1px 0 rgba(0,0,0,.15); } &:active { background: darken( $button-color, 10% ); border-color: darken( $button-color, 15% ); color: $text-color; box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); } &[disabled], &:disabled, &.button-primary-disabled, &.disabled { color: hsl( hue( $button-color ), 10%, 80% ) !important; background: darken( $button-color, 8% ) !important; border-color: darken( $button-color, 15% ) !important; text-shadow: none !important; } }
Save