mirror of
https://github.com/tabler/tabler.git
synced 2026-08-12 22:32:21 +04:00
Merge branch 'dev' into card
This commit is contained in:
@@ -13,15 +13,6 @@
|
||||
justify-content: center;
|
||||
white-space: nowrap;
|
||||
|
||||
//&:hover {
|
||||
// color: var(--#{$prefix}btn-color-text);
|
||||
// border-color: rgba(var(--#{$prefix}btn-color-text-rgb), #{$border-active-opacity});
|
||||
//}
|
||||
//
|
||||
//&:focus:not([disabled]):not(.disabled) {
|
||||
// border-color: var(--#{$prefix}btn-color, #{$primary});
|
||||
//}
|
||||
|
||||
.icon {
|
||||
width: var(--#{$prefix}btn-icon-size);
|
||||
height: var(--#{$prefix}btn-icon-size);
|
||||
@@ -73,6 +64,10 @@
|
||||
.btn-#{$color} {
|
||||
--#{$prefix}btn-border-color: transparent;
|
||||
--#{$prefix}btn-color: #{color-contrast($value)};
|
||||
--#{$prefix}btn-bg: var(--#{$prefix}#{$color});
|
||||
--#{$prefix}btn-hover-bg: var(--#{$prefix}#{$color}-darken);
|
||||
--#{$prefix}btn-hover-color: #{color-contrast($value)};
|
||||
--#{$prefix}btn-hover-border-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -193,7 +188,7 @@
|
||||
height: 2rem;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: $border-radius;
|
||||
border-radius: var(--#{$prefix}border-radius);
|
||||
|
||||
&:after {
|
||||
content: none;
|
||||
@@ -211,7 +206,7 @@
|
||||
}
|
||||
|
||||
&.show {
|
||||
color: $primary;
|
||||
color: var(--#{$prefix}primary);
|
||||
}
|
||||
|
||||
.icon {
|
||||
|
||||
Reference in New Issue
Block a user