Sha256: 0566215c3095fe33c1d9460f54e0e83b8ba2df5be39ea0d5d9157dfbc64acdce
Contents?: true
Size: 1.2 KB
Versions: 2
Compression:
Stored size: 1.2 KB
Contents
@import 'tao/ui/globals'; .button { display: inline-flex; align-items: center; justify-content: center; padding: $button-padding; font-size: $button-font-size; line-height: $button-line-height; border-radius: $border-radius-s; cursor: pointer; text-decoration: none; text-align: center; vertical-align: middle; white-space: nowrap; user-select: none; transition: background 200ms, color 200ms, fill 200ms, border-color 200ms, box-shadow 200ms; @include button-colors($default-button-colors); .icon { width: 1em; height: 1em; margin: 0 0.4em 0 0; } &:focus, &.focus { outline: none; } @if not $mobile { &:hover { text-decoration: none; } } &.disabled, &[disabled] { cursor: not-allowed; } &.button-warning { @include button-colors($warning-button-colors); } &.button-primary { @include button-colors($primary-button-colors); } &.button-primary-warning { @include button-colors($primary-warning-button-colors); } &.button-small { padding: $small-button-padding; font-size: $small-button-font-size; line-height: $small-button-line-height; } &.button-block { display: flex; width: 100%; } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tao_ui-0.1.1 | lib/assets/stylesheets/tao/ui/buttons.scss |
tao_ui-0.1.0 | lib/assets/stylesheets/tao/ui/buttons.scss |