| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- /* Button */
- .btn {
- padding: .65rem 1.4rem;
- font-size: 14px;
- opacity: 1;
- border-radius: 3px;
- &:hover, &:focus {
- opacity: 0.9;
- transition: all .3s;
- }
- .btn-label{
- display: inline-block;
- i {
- font-size: 16px;
- vertical-align: middle;
- margin-right: 2px;
- margin-left: -2px;
- line-height: 0;
- margin-top: -2.5px;
- }
- &.just-icon i{
- margin-left: 0 !important;
- margin-right: 0px !important;
- }
- }
- }
- /* Button Sizes */
- .btn-lg {
- font-size: 15px;
- border-radius: 3px;
- padding: 12.5px 27.5px;
- font-weight: $font-weight-normal;
- .btn-label{
- i {
- font-size: 27px;
- vertical-align: middle;
- margin-right: 2px;
- margin-left: -7px;
- line-height: 0;
- margin-top: -2.5px;
- }
- &.just-icon i{
- margin-left: 0 !important;
- margin-right: 0px !important;
- }
- }
- }
- .btn-sm {
- font-size: 11px;
- padding: 7px 13px;
- }
- .btn-xs {
- font-size: 10px;
- padding: 5px 9px;
- }
- .btn {
- &.disabled:hover, &:hover:disabled {
- opacity: 0.65;
- }
- }
- /* Button Icon */
- .btn-icon{
- font-size: .9375rem;
- height: 2.5125rem;
- line-height: normal;
- min-width: 2.5125rem;
- overflow: hidden;
- padding: 0;
- position: relative;
- width: 2.5125rem;
- &.btn-lg {
- height: 2.75rem;
- min-width: 2.75rem;
- width: 2.75rem;
- }
- &.btn-sm {
- height: 2rem;
- min-width: 2rem;
- width: 2rem;
- }
- &.btn-xs {
- height: 1.6875rem;
- min-width: 1.6875rem;
- width: 1.6875rem;
- }
- }
- /* Button States */
- .btn-white {
- background: $white-color !important;
- color: $dark-color !important;
- &:hover, &:focus, &:disabled {
- background: $white-color !important;
- color: $dark-color !important;
- }
- }
- .btn-default {
- background: $dark-color !important;
- color: $white-color !important;
- &:hover, &:focus, &:disabled {
- background: $dark-color !important;
- color: $white-color !important;
- }
- }
- .btn-primary {
- background: $primary-color !important;
- border-color: $primary-color !important;
- &:hover, &:focus, &:disabled {
- background: $primary-color !important;
- border-color: $primary-color !important;
- }
- }
- .btn-secondary {
- background: $secondary-color !important;
- border-color: $secondary-color !important;
- &:hover, &:focus, &:disabled {
- background: $secondary-color !important;
- border-color: $secondary-color !important;
- }
- }
- .btn-info {
- background: $info-color !important;
- border-color: $info-color !important;
- &:hover, &:focus, &:disabled {
- background: $info-color !important;
- border-color: $info-color !important;
- }
- }
- .btn-success {
- background: $success-color !important;
- border-color: $success-color !important;
- &:hover, &:focus, &:disabled {
- background: $success-color !important;
- border-color: $success-color !important;
- }
- }
- .btn-warning {
- background: $warning-color !important;
- border-color: $warning-color !important;
- color: $white-color !important;
- &:hover, &:focus, &:disabled {
- background: $warning-color !important;
- border-color: $warning-color !important;
- color: $white-color !important;
- }
- }
- .btn-danger {
- background: $danger-color !important;
- border-color: $danger-color !important;
- &:hover, &:focus, &:disabled {
- background: $danger-color !important;
- border-color: $danger-color !important;
- }
- }
- .btn-light{
- background: $white-color !important;
- border-color: transparent;
- &:hover, &:focus, &:disabled {
- background: #ebecec !important;
- border-color: transparent;
- }
- }
- .btn-dropdown-card-header {
- padding: 0;
- background: transparent;
- color: inherit;
- font-size: 15px;
- &:after {
- display: none;
- }
- }
- /* Button Border */
- @mixin btn-border($color) {
- color: $color !important;
- border: 1px solid $color !important;
- }
- .btn-border {
- background: $transparent-bg !important;
- &:hover, &:focus {
- background: $transparent-bg !important;
- }
- &.btn-white {
- @include btn-border($white-color);
- }
- &.btn-default {
- @include btn-border($dark-color);
- }
- &.btn-primary {
- @include btn-border($primary-color);
- }
- &.btn-secondary {
- @include btn-border($secondary-color);
- }
- &.btn-info {
- @include btn-border($info-color);
- }
- &.btn-success {
- @include btn-border($success-color);
- }
- &.btn-warning {
- @include btn-border($warning-color);
- }
- &.btn-danger {
- @include btn-border($danger-color);
- }
- &.btn-light {
- border: 1px solid #efefef;
- background: #fff !important;
- }
- }
- /* Button Rounded */
- .btn-round {
- border-radius: 100px !important;
- }
- /* Button Link */
- @mixin btn-link($color) {
- color: $color !important;
- &:hover {
- color: $color !important;
- }
- }
- .btn-link {
- border: 0 !important;
- background: $transparent-bg !important;
- &:hover, &:focus {
- text-decoration: underline !important;
- background: $transparent-bg !important;
- border: 0 !important;
- }
- &.btn-default {
- @include btn-link($dark-color);
- }
- &.btn-primary {
- @include btn-link($primary-color);
- }
- &.btn-secondary {
- @include btn-link($secondary-color);
- }
- &.btn-info {
- @include btn-link($info-color);
- }
- &.btn-success {
- @include btn-link($success-color);
- }
- &.btn-warning {
- @include btn-link($warning-color);
- }
- &.btn-danger {
- @include btn-link($danger-color);
- }
- }
- .toggle-on.btn {
- color: $white-color !important;
- }
- .toggle-handle {
- background: $white-color !important;
- &:hover {
- background: $white-color !important;
- }
- }
- .btn-round .toggle-handle {
- border-radius: 50px;
- }
- .btn-rounded {
- border-radius: 60px !important;
- }
- .btn-full {
- width: 100%;
- }
- .btn-no-radius {
- border-radius: 0px;
- }
|