mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
fix: 修复info类型button的样式特殊处理
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
/* 这里只写element-variables里面改不动的、且和主题系列颜色相关的样式!!! */
|
||||
/* 主题相关看该文件夹下的README.md */
|
||||
|
||||
/* info type special treatment */
|
||||
.el-button--info {
|
||||
background-color: info;
|
||||
border-color: info;
|
||||
}
|
||||
|
||||
.el-alert--info.is-light {
|
||||
background-color: light-9;
|
||||
color: light-2;
|
||||
|
||||
@@ -19,7 +19,6 @@ export function changeElementColor(themeColors) {
|
||||
if (['primary', 'success', 'info', 'warning', 'danger'].includes(key)) {
|
||||
const blendColor = mix('ffffff', value.replace(/#/g, ''), 35)
|
||||
colorsCssText = colorsCssText + `
|
||||
.el-button--${key},
|
||||
.el-button--${key}:focus {
|
||||
background-color: ${value}!important;
|
||||
border-color: ${value}!important;
|
||||
|
||||
Reference in New Issue
Block a user