Sha256: 0cea63a6c31846c53b7cbb7ad0e60e52df3b05b8e2f0222d03652d639a2868b2
Contents?: true
Size: 1.71 KB
Versions: 84
Compression:
Stored size: 1.71 KB
Contents
.btn { @include user-select(none); display: inline-block; margin-bottom: 0; padding: ($tn-padding / 2) $tn-padding; border-radius: 4px; border: 0; vertical-align: middle; text-align: center; white-space: nowrap; font-weight: normal; font-size: $tn-font-small; line-height: $tn-font-small * 1.5; cursor: pointer; text-transform: uppercase; &:hover, &:focus { text-decoration: none; } &:focus { outline: thin dotted #333; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } &:active, &.active { outline: 0; background-image: none; box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); } &.disabled { box-shadow: none; opacity: 0.65; filter: alpha(opacity = 65); cursor: not-allowed; pointer-events: none; } } .btn-primary { @include button($border-color: $tn-button-primary-bg, $background-color: $tn-button-primary-bg, $color: $tn-button-primary-fg, $highlight-border-color: darken($tn-button-primary-bg, 5%), $highlight-background-color: darken($tn-button-primary-bg, 5%)); } .btn-comp { @include button($border-color: $tn-button-comp-bg, $background-color: $tn-button-comp-bg, $color: $tn-button-comp-fg, $highlight-border-color: darken($tn-button-comp-bg, 5%), $highlight-background-color: darken($tn-button-comp-bg, 5%)); } .btn-white { @include button($border-color: #ccc, $background-color: #fff, $color: #333, $highlight-border-color: #adadad, $highlight-background-color: #ebebeb); } .btn-block { display: block; padding-right: 0; padding-left: 0; width: 100%; & + .btn-block { margin-top: 5px; } } input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="button"].btn-block { width: 100%; }
Version data entries
84 entries across 83 versions & 1 rubygems