fix: message & data-table bad styles

This commit is contained in:
07akioni 2020-02-20 17:34:01 +08:00
parent f4e32463f3
commit 10ceb8e1ab
3 changed files with 12 additions and 8 deletions

View File

@ -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;

View File

@ -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,

View File

@ -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,