mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-18 12:34:25 +08:00
refactor(button): light theme default button
This commit is contained in:
parent
1abbf3219f
commit
5fc7225435
@ -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%;
|
||||
|
Loading…
Reference in New Issue
Block a user