Sha256: 116699f36371e96bb268f4f183d94a64987252591a8c5e95379f7ea9a1eeec0e
Contents?: true
Size: 1.17 KB
Versions: 3
Compression:
Stored size: 1.17 KB
Contents
// Mixin for generating new styles @mixin btn-styles($btn-color, $btn-states-color) { border-color: $btn-color; color: $btn-color; &:hover, &:focus, &:active, &.active, .open > &.dropdown-toggle { background-color: $transparent-bg; color: $btn-states-color; border-color: $btn-states-color; } &:disabled, &[disabled], &.disabled { background-color: $transparent-bg; border-color: $btn-color; } &.btn-fill { color: $white-color; background-color: $btn-color; @include opacity(1); &:hover, &:focus, &:active, &.active, .open > &.dropdown-toggle{ background-color: $btn-states-color; color: $white-color; } .caret{ border-top-color: $white-color; } } .caret{ border-top-color: $btn-color; } } @mixin btn-size($padding-vertical, $padding-horizontal, $font-size, $border){ font-size: $font-size; border-radius: $border; padding: $padding-vertical $padding-horizontal; &.btn-round{ padding: $padding-vertical + 1 $padding-horizontal; } &.btn-simple{ padding: $padding-vertical + 2 $padding-horizontal; } }
Version data entries
3 entries across 3 versions & 3 rubygems