From d9cb8e57537fe5764018f53a224f6afceec64f9e Mon Sep 17 00:00:00 2001
From: liuwh <liuwh@hugeinfo.com.cn>
Date: Tue, 24 Mar 2020 09:22:06 +0800
Subject: [PATCH] 提交
---
SunshineIns/src/conf/cover.scss | 56 +++++++++++++++++++++++++++++++++++++++++++-------------
1 files changed, 43 insertions(+), 13 deletions(-)
diff --git a/SunshineIns/src/conf/cover.scss b/SunshineIns/src/conf/cover.scss
index a27835b..1585c70 100644
--- a/SunshineIns/src/conf/cover.scss
+++ b/SunshineIns/src/conf/cover.scss
@@ -16,8 +16,8 @@
border-color: $color;
}
-.ant-layout-sider{
- background-color: #fff;
+.ant-layout-sider {
+ background-color: #fff;
}
body {
@@ -26,26 +26,42 @@
/**渐变***/
.ant-menu-item-selected {
- color: #FFFFFF;
+ color: #ffffff;
}
.ant-menu-item-selected > a,
.ant-menu-item-selected > a:hover {
- color: #FFFFFF;
+ color: #ffffff;
}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
- background: -webkit-linear-gradient(left, #1790FF , #33C3FF); /* Safari 5.1 - 6.0 */
- background: -o-linear-gradient(right, #1790FF, #33C3FF); /* Opera 11.1 - 12.0 */
- background: -moz-linear-gradient(right, #1790FF, #33C3FF); /* Firefox 3.6 - 15 */
- background: linear-gradient(to right, #1790FF , #33C3FF); /* 标准的语法(必须放在最后) */
+ background: -webkit-linear-gradient(
+ left,
+ #1790ff,
+ #33c3ff
+ ); /* Safari 5.1 - 6.0 */
+ background: -o-linear-gradient(
+ right,
+ #1790ff,
+ #33c3ff
+ ); /* Opera 11.1 - 12.0 */
+ background: -moz-linear-gradient(
+ right,
+ #1790ff,
+ #33c3ff
+ ); /* Firefox 3.6 - 15 */
+ background: linear-gradient(
+ to right,
+ #1790ff,
+ #33c3ff
+ ); /* 标准的语法(必须放在最后) */
}
-.ant-modal-header{
- background: #1790FF;
+.ant-modal-header {
+ background: #1790ff;
}
-.bf-content{
+.bf-content {
height: 300px;
}
-.card-container{
+.card-container {
padding: 20px;
}
.card-container > .ant-tabs-card > .ant-tabs-content {
@@ -69,4 +85,18 @@
.card-container > .ant-tabs-card > .ant-tabs-bar .ant-tabs-tab-active {
border-color: #fff;
background: #fff;
-}
\ No newline at end of file
+}
+
+// 隐藏滚动条
+* {
+ &::-webkit-scrollbar {
+ display: none;
+ }
+ -ms-overflow-style: none;
+ scrollbar-width: none;
+}
+
+.ant-layout-sider-children {
+ display: flex;
+ flex-direction: column;
+}
--
Gitblit v1.8.0