Skip to content

Commit

Permalink
为警告背景色呼吸动画添加缺失的字体颜色
Browse files Browse the repository at this point in the history
  • Loading branch information
SpeedPartner committed Apr 12, 2023
1 parent 3c74234 commit 49e3b77
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion htdocs/luci-static/argon/css/cascade.css
Original file line number Diff line number Diff line change
Expand Up @@ -1940,7 +1940,8 @@ div > .table > .tbody > .tr:nth-of-type(2n) {
background-color: #fb6340;
}
}
.warning {
.warning,
.warning * {
background-color: #fb6340;
background-color: var(--warning);
color: #fff;
Expand Down
3 changes: 2 additions & 1 deletion htdocs/luci-static/argon/css/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,8 @@ td.cbi-value-field var {
background-color: darkorange;
}
}
.warning {
.warning,
.warning * {
animation: warning-background-color-breathe-dark 1.5s ease-in-out infinite !important;
}

Expand Down
3 changes: 2 additions & 1 deletion htdocs/luci-static/argon/less/cascade.less
Original file line number Diff line number Diff line change
Expand Up @@ -2346,7 +2346,8 @@ div>.table>.tbody>.tr:nth-of-type(2n) {
background-color: #fb6340;
}
}
.warning {
.warning,
.warning * {
background-color: #fb6340;
background-color: var(--warning);
color: #fff;
Expand Down
3 changes: 2 additions & 1 deletion htdocs/luci-static/argon/less/dark.less
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,8 @@ td.cbi-value-field var {
background-color: darkorange;
}
}
.warning {
.warning,
.warning * {
animation: warning-background-color-breathe-dark 1.5s ease-in-out infinite !important;
}

Expand Down

0 comments on commit 49e3b77

Please sign in to comment.