summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlikexuan <[email protected]>2022-08-05 11:00:41 +0800
committerlikexuan <[email protected]>2022-08-05 11:00:41 +0800
commitdf25109cd5465572db827aefc7eea17d86969524 (patch)
tree859f333078c5fd930e6586e81d8f9e9ba9be5ec6
parent4923fc5db5c0487212476881f343b5154623de60 (diff)
NEZ-2095 fix : Roles新建时Dashboards的 View权限应默认为勾选状态rel-22.07.03
-rw-r--r--nezha-fronted/src/assets/css/common/checkbox.scss17
1 files changed, 10 insertions, 7 deletions
diff --git a/nezha-fronted/src/assets/css/common/checkbox.scss b/nezha-fronted/src/assets/css/common/checkbox.scss
index 01eab0c60..6b9d43cc5 100644
--- a/nezha-fronted/src/assets/css/common/checkbox.scss
+++ b/nezha-fronted/src/assets/css/common/checkbox.scss
@@ -7,14 +7,17 @@
.el-checkbox__input.is-checked .el-checkbox__inner {
background-color: $--color-primary !important;
}
-.el-checkbox__input.is-checked.is-disabled .el-checkbox__inner{
- background-color: $--background-color-empty !important;
- border-color: $--border-color-base !important;
-}
-.el-checkbox__input.is-disabled .el-checkbox__inner{
- background-color: $--background-color-empty !important;
- border-color: $--border-color-base !important;
+.el-table .el-table__header-wrapper{
+ .el-checkbox__input.is-checked.is-disabled .el-checkbox__inner{
+ background-color: $--background-color-empty !important;
+ border-color: $--border-color-base !important;
+ }
+ .el-checkbox__input.is-disabled .el-checkbox__inner{
+ background-color: $--background-color-empty !important;
+ border-color: $--border-color-base !important;
+ }
}
+
.el-checkbox__input.is-checked.is-disabled .el-checkbox__inner:hover{
border-color: $--border-color-base !important;
}