1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-26 13:04:39 +04:00

buttons fixes

This commit is contained in:
codecalm
2019-12-25 14:08:35 +01:00
parent 0a527033f4
commit 4d1a8f8102
2 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ $black: #000000 !default;
$white: #ffffff !default; $white: #ffffff !default;
$primary: $blue !default; $primary: $blue !default;
$secondary: $gray-600 !default; $secondary: $white !default;
$success: $green !default; $success: $green !default;
$info: $azure !default; $info: $azure !default;
$warning: $yellow !default; $warning: $yellow !default;
+13 -7
View File
@@ -1,6 +1,17 @@
.btn-secondary {
@include button-variant($secondary, $border-color, $body-color);
}
.btn { .btn {
&:not([class^="btn-outline"]):not([class*=" btn-outline"]):not([class^="btn-ghost"]):not([class*=" btn-ghost"]):not(.btn-secondary) { &:not([class^="btn-outline"]):not([class*=" btn-outline"]):not([class^="btn-ghost"]):not([class*=" btn-ghost"]) {
text-shadow: 1px 1px 0 rgba(0, 0, 0, .05);
&:not(.btn-secondary) {
text-shadow: 1px 1px 0 rgba(0, 0, 0, .02);
}
&:not(.btn-light):not(.btn-link) {
background-image: linear-gradient(-180deg, rgba(0, 0, 0, 0), rgba($dark, .04) 90%);
}
&:not(:focus):not(.focus) { &:not(:focus):not(.focus) {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .05), inset 0 2px 0 -1px rgba(255, 255, 255, .1); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .05), inset 0 2px 0 -1px rgba(255, 255, 255, .1);
@@ -65,11 +76,6 @@
box-shadow: none !important; box-shadow: none !important;
} }
.btn-secondary {
@include button-variant(#fff, $border-color, $body-color);
background-image: linear-gradient(-180deg, transparent, $gray-100 90%);
}
.btn-square { .btn-square {
border-radius: 0; border-radius: 0;
} }