Browse Source

基础样式修改

zhangxiaojun 1 month ago
parent
commit
dacafee8c3
1 changed files with 22 additions and 0 deletions
  1. 22 0
      src/styles/element/tab.scss

+ 22 - 0
src/styles/element/tab.scss

@@ -0,0 +1,22 @@
+.el-tabs {
+    &.el-tabs--card {
+        .el-tabs__item:nth-child(1) {
+            border-radius: 5px 0 0 0;
+        }
+        .el-tabs__item:nth-last-child(1) {
+            border-radius: 0 5px 0 0;
+        }
+        .el-tabs__item{
+            &.is-active {
+                background-color: #131820;
+                color: #fff;
+            }
+            &.is-active:hover {
+                color: #fff;
+            }
+        }
+        .el-tabs__item:hover {
+            color: #131820;
+        }
+    }
+}