refactor(button): light theme default button

This commit is contained in:
07akioni 2019-09-20 00:22:13 +08:00
parent 1abbf3219f
commit 5fc7225435

View File

@ -99,6 +99,15 @@
}
}
}
@if $type == 'default' {
@include m(loading) {
@include e(icon) {
circle {
stroke: map-get($map: $ghost-button-color, $key: $type) !important;
}
}
}
}
@include not-m(disabled) {
@include m(enter-pressed) {
background-color: map-get($map: $button-background-color, $key: $type + '-active');
@ -190,14 +199,18 @@
width: 0;
}
@include e(content) {
margin-left: 6px;
white-space: nowrap;
}
@include m(right-icon) {
@include e(content) {
@include m(left-icon) {
@include e(icon) {
margin-right: 6px;
}
}
@include m(right-icon) {
@include e(icon) {
margin-left: 6px;
}
}
@include m(block) {
display: block;
width: 100%;