From 9d70ed845a45c0cafb8ff39cb8a821613faeade4 Mon Sep 17 00:00:00 2001
From: Mr Ke <kelq@hugeinfo.com.cn>
Date: Mon, 06 Apr 2020 17:05:18 +0800
Subject: [PATCH] 表单搜索公用组件
---
src/style/reset.scss | 48 ++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 46 insertions(+), 2 deletions(-)
diff --git a/src/style/reset.scss b/src/style/reset.scss
index 791988d..802dc2e 100644
--- a/src/style/reset.scss
+++ b/src/style/reset.scss
@@ -2,7 +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