1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-26 11:16:12 +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

View File

@@ -49,7 +49,7 @@ $black: #000000 !default;
$white: #ffffff !default;
$primary: $blue !default;
$secondary: $gray-600 !default;
$secondary: $white !default;
$success: $green !default;
$info: $azure !default;
$warning: $yellow !default;

View File

@@ -1,6 +1,17 @@
.btn-secondary {
@include button-variant($secondary, $border-color, $body-color);
}
.btn {
&:not([class^="btn-outline"]):not([class*=" btn-outline"]):not([class^="btn-ghost"]):not([class*=" btn-ghost"]):not(.btn-secondary) {
text-shadow: 1px 1px 0 rgba(0, 0, 0, .05);
&:not([class^="btn-outline"]):not([class*=" btn-outline"]):not([class^="btn-ghost"]):not([class*=" btn-ghost"]) {
&: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) {
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;
}
.btn-secondary {
@include button-variant(#fff, $border-color, $body-color);
background-image: linear-gradient(-180deg, transparent, $gray-100 90%);
}
.btn-square {
border-radius: 0;
}