Sha256: 1eb9089a676637b8f8c7c47ccb38f42b487b0c5de3129042e676dedc39d4907d
Contents?: true
Size: 630 Bytes
Versions: 1
Compression:
Stored size: 630 Bytes
Contents
@mixin button($color-text, $color-back) { color: $color-text; background-color: $color-back; &:hover { color: $color-text; background-color: lighten($color-back, 20%); } &:disabled, &.disabled { color: rgba($color-text, .7); background-color: rgba($color-back, .7); } &.outline { background: none; color: $color-back; border-color: $color-back; &:hover { color: rgba($color-back, .6); border-color: rgba($color-back, .5); } &:disabled, &.disabled { background: none; color: rgba($color-back, .7); border-color: rgba($color-back, .5); } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kube-6.5.2.0 | app/assets/stylesheets/kube/mixins/_buttons.scss |