/* * 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: color.adjust($button-color, $lightness: 3%); border-color: color.adjust($button-color, $lightness: -3%); color: $button-text-color; } &:focus { box-shadow: 0 0 0 1px #fff, 0 0 0 3px $button-color; } &:active { background: color.adjust($button-color, $lightness: -5%); border-color: color.adjust($button-color, $lightness: -5%); color: $button-text-color; } &.active, &.active:focus, &.active:hover { background: $button-color; color: $button-text-color; border-color: color.adjust($button-color, $lightness: -15%); box-shadow: inset 0 2px 5px -3px color.adjust($button-color, $lightness: -50%); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
blue | Folder | 0755 |
|
|
coffee | Folder | 0755 |
|
|
ectoplasm | Folder | 0755 |
|
|
light | Folder | 0755 |
|
|
midnight | Folder | 0755 |
|
|
modern | Folder | 0755 |
|
|
ocean | Folder | 0755 |
|
|
sunrise | Folder | 0755 |
|
|
_admin.scss | File | 20.18 KB | 0644 |
|
_mixins.scss | File | 925 B | 0644 |
|
_variables.scss | File | 2.47 KB | 0644 |
|