mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
fix: message & data-table bad styles
This commit is contained in:
parent
f4e32463f3
commit
10ceb8e1ab
@ -58,6 +58,16 @@
|
||||
background-color: $--table-header-background-color;
|
||||
transition: background-color .3s $--n-ease-in-out-cubic-bezier;
|
||||
}
|
||||
@include b(data-table-tbody) {
|
||||
@include b(data-table-tr) {
|
||||
&:hover {
|
||||
background-color: $--table-row-hover;
|
||||
}
|
||||
@include m(hover) {
|
||||
background-color: $--table-row-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
@include b(data-table-tr) {
|
||||
box-sizing: border-box;
|
||||
transition: background-color 0.3s $--n-ease-in-out-cubic-bezier;
|
||||
@ -66,12 +76,6 @@
|
||||
border-bottom: 0px solid $--data-table-border-color;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
background-color: $--table-row-hover;
|
||||
}
|
||||
@include m(hover) {
|
||||
background-color: $--table-row-hover;
|
||||
}
|
||||
}
|
||||
@include b(data-table-td) {
|
||||
padding: 12px 12px 12px 18px;
|
||||
|
@ -6,7 +6,7 @@
|
||||
"warning": white,
|
||||
"loading": $--n-secondary-text-color
|
||||
) !global;
|
||||
$--message-icon-color: $--n-icon-color !global;
|
||||
$--message-icon-color: rgba(255, 255, 255, .5) !global;
|
||||
$--message-background-color: (
|
||||
"info": $--n-info-hs-color,
|
||||
"success": $--n-success-hs-color,
|
||||
|
@ -6,7 +6,7 @@
|
||||
"warning": white,
|
||||
"loading": $--n-secondary-text-color
|
||||
) !global;
|
||||
$--message-icon-color: $--n-icon-color !global;
|
||||
$--message-icon-color: rgba(255, 255, 255, .45) !global;
|
||||
$--message-background-color: (
|
||||
"info": $--n-info-color,
|
||||
"success": $--n-success-color,
|
||||
|
Loading…
Reference in New Issue
Block a user