From 907efc02bc98fea8434bdf97e39a2d57f1bb2201 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Fri, 23 Sep 2022 17:14:51 +0800
Subject: [PATCH] 样式
---
src/styles/element-ui/element-ui.min.css | 2 +-
src/styles/element-ui/element-ui.css | 35 ++++++++++++++++++++---------------
src/styles/element-ui/element-ui.scss | 6 +++---
3 files changed, 24 insertions(+), 19 deletions(-)
diff --git a/src/styles/element-ui/element-ui.css b/src/styles/element-ui/element-ui.css
index 12cb69d..a93c143 100644
--- a/src/styles/element-ui/element-ui.css
+++ b/src/styles/element-ui/element-ui.css
@@ -1,33 +1,38 @@
-:deep(.el-table tr:nth-child(2n)) {
- background: #324e75;
+.el-table tr th {
+ background: #005ca9;
+ color: #fff !important;
+}
+
+.el-table tr:nth-child(2n) {
+ background: #14327b;
+ color: #fff !important;
+}
+
+.el-table tr:nth-child(2n-1) {
+ background: #1d2669;
color: #fff;
}
-:deep(.el-table tr:nth-child(2n-1)) {
- background: #26426a;
- color: #fff;
-}
-
-:deep(.el-table tr:hover td) {
+.el-table tr:hover td {
cursor: pointer;
background-color: rgba(222, 176, 176, 0.2) !important;
}
-:deep(.el-table::before) {
+.el-table::before {
height: 0px;
}
-:deep(.el-pagination.is-background .el-pager li:not(.disabled).active) {
- background-color: #1a3252;
+.el-pagination.is-background .el-pager li:not(.disabled).active {
+ background-color: #005ca9;
color: #ffffff !important;
}
-:deep(.el-pagination.is-background .btn-next),
-:deep(.el-pagination.is-background .btn-prev),
-:deep(.el-pagination.is-background .el-pager li) {
+.el-pagination.is-background .btn-next,
+.el-pagination.is-background .btn-prev,
+.el-pagination.is-background .el-pager li {
background-color: #fff;
}
-:deep(.el-pagination.is-background .el-pager li:hover) {
+.el-pagination.is-background .el-pager li:hover {
color: #1a3252;
}
diff --git a/src/styles/element-ui/element-ui.min.css b/src/styles/element-ui/element-ui.min.css
index 52b1d3b..9b50aa4 100644
--- a/src/styles/element-ui/element-ui.min.css
+++ b/src/styles/element-ui/element-ui.min.css
@@ -1 +1 @@
-:deep(.el-table tr:nth-child(2n)){background:#324e75;color:#fff}:deep(.el-table tr:nth-child(2n-1)){background:#26426a;color:#fff}:deep(.el-table tr:hover td){cursor:pointer;background-color:rgba(222,176,176,0.2) !important}:deep(.el-table::before){height:0px}:deep(.el-pagination.is-background .el-pager li:not(.disabled).active){background-color:#1a3252;color:#ffffff !important}:deep(.el-pagination.is-background .btn-next),:deep(.el-pagination.is-background .btn-prev),:deep(.el-pagination.is-background .el-pager li){background-color:#fff}:deep(.el-pagination.is-background .el-pager li:hover){color:#1a3252}
+.el-table tr th{background:#005ca9;color:#fff !important}.el-table tr:nth-child(2n){background:#14327b;color:#fff !important}.el-table tr:nth-child(2n-1){background:#1d2669;color:#fff}.el-table tr:hover td{cursor:pointer;background-color:rgba(222,176,176,0.2) !important}.el-table::before{height:0px}.el-pagination.is-background .el-pager li:not(.disabled).active{background-color:#005ca9;color:#ffffff !important}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{background-color:#fff}.el-pagination.is-background .el-pager li:hover{color:#1a3252}
diff --git a/src/styles/element-ui/element-ui.scss b/src/styles/element-ui/element-ui.scss
index 568d83a..394768d 100644
--- a/src/styles/element-ui/element-ui.scss
+++ b/src/styles/element-ui/element-ui.scss
@@ -1,12 +1,12 @@
// 表格 el-table!
.el-table tr th {
- background: rgba(0, 92, 169, 1.0) !important;
+ background: rgba(0, 92, 169, 1.0) ;
color: #fff !important;
}
.el-table tr:nth-child(2n) {
- background: rgba(20, 50, 123, 1.0) !important;
+ background: rgba(20, 50, 123, 1.0) ;
color: #fff !important;
}
@@ -29,7 +29,7 @@
// 分页 el-pagination!
.el-pagination.is-background .el-pager li:not(.disabled).active {
- background-color: #1a3252;
+ background-color: rgba(0, 92, 169, 1.0) ;
color: #ffffff !important;
}
--
Gitblit v1.9.3