From 894ab56e0e650dda334273f21f948677163f134b Mon Sep 17 00:00:00 2001 From: liuwh <hugeinfo123> Date: Sat, 09 May 2020 17:51:53 +0800 Subject: [PATCH] xiangjianlaji --- SunshineIns/src/conf/cover.scss | 58 ++++++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 44 insertions(+), 14 deletions(-) diff --git a/SunshineIns/src/conf/cover.scss b/SunshineIns/src/conf/cover.scss index a27835b..399e2dd 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