提交 4d1a8f81 编写于 作者: C codecalm

buttons fixes

上级 0a527033
......@@ -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;
......
.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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册