From 9ef2aa77067fc3861534f10045bae7dabdb74fd9 Mon Sep 17 00:00:00 2001
From: liyj <1003249715@qq.com>
Date: Thu, 09 Apr 2020 14:34:12 +0800
Subject: [PATCH] 。。
---
src/style/reset.scss | 49 +++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 47 insertions(+), 2 deletions(-)
diff --git a/src/style/reset.scss b/src/style/reset.scss
index b6fc7af..802dc2e 100644
--- a/src/style/reset.scss
+++ b/src/style/reset.scss
@@ -2,6 +2,51 @@
margin-bottom: 20px;
}
-.ant-layout-sider-trigger{
- background: #CC4E45;
+.ant-layout-sider-trigger {
+ background: #cc4e45;
+}
+
+.ant-layout-sider {
+ background-color: #fff !important;
+}
+
+*::-webkit-scrollbar {
+ /*滚动条整体样式*/
+ width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
+ height: 1px;
+}
+*::-webkit-scrollbar-thumb {
+ /*滚动条里面小方块*/
+ border-radius: 2.5px;
+ box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
+ background: #848484;
+}
+*::-webkit-scrollbar-track {
+ /*滚动条里面轨道*/
+ box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
+ border-radius: 2.5px;
+ background: #ededed;
+}
+
+.ant-layout {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+}
+
+.ant-layout-content {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+}
+
+.flex-box-column {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+}
+
+.flex-1 {
+ flex: 1;
+ overflow-y: auto;
}
--
Gitblit v1.8.0