/* * Button mixin- creates a button effect with correct * highlights/shadows, based on a base color. */ @mixin button( $button-color, $button-text-color: #fff ) { background: $button-color; border-color: $button-color; color: $button-text-color; &:hover, &:focus { background: lighten( $button-color, 3% ); border-color: darken( $button-color, 3% ); color: $button-text-color; } &:focus { box-shadow: 0 0 0 1px #fff, 0 0 0 3px $button-color; } &:active { background: darken( $button-color, 5% ); border-color: darken( $button-color, 5% ); color: $button-text-color; } &.active, &.active:focus, &.active:hover { background: $button-color; color: $button-text-color; border-color: darken( $button-color, 15% ); box-shadow: inset 0 2px 5px -3px darken( $button-color, 50% ); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
blue | Folder | 0555 |
|
|
coffee | Folder | 0555 |
|
|
ectoplasm | Folder | 0555 |
|
|
light | Folder | 0555 |
|
|
midnight | Folder | 0555 |
|
|
modern | Folder | 0555 |
|
|
ocean | Folder | 0555 |
|
|
sunrise | Folder | 0555 |
|
|
_admin.scss | File | 19.84 KB | 0644 |
|
_mixins.scss | File | 825 B | 0644 |
|
_variables.scss | File | 2.36 KB | 0644 |
|