From 9fb3d03a33f7aa4d510cdbd0e47a90ab40fa9609 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 10 Jul 2020 10:34:18 +0800 Subject: [PATCH] =?UTF-8?q?style=20=EF=BC=9A=E4=BF=AE=E6=94=B9=E8=BF=87?= =?UTF-8?q?=E5=BA=A6=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/assets/stylus/main.scss | 41 ++++++++++++----------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index ebfdc4ad6..d7f471203 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -369,7 +369,7 @@ li{ margin-bottom:10px; font-size: 14px; } - .nz-tab-style-light { +.nz-tab-style-light { border-bottom: 3px solid $global-text-color-active; color: #333; cursor: default; @@ -377,9 +377,9 @@ li{ font-weight: 600; letter-spacing: 0; } - .nz-tab-style-light-right{ +.nz-tab-style-light-right{ margin-left:30px; - } +} /* begin--nz-tab组件*/ .nz-tab { @@ -635,7 +635,7 @@ li{ align-content: center; } .has-sub-popper { - color: red; + color: red; } .main-list { height: 100%; @@ -1019,23 +1019,24 @@ li{ max-height: 0; } } -.right-box-enter-active { - animation: slide-in-from-right 0.4s; +.right-box-enter-active, .right-box-leave-active { + transition: transform 0.6s; } -.right-box-leave-active { - animation: slide-out-to-right 0.4s; +.right-box-enter,.right-box-leave-to { + transform: translateX(100%); } -.right-box-580-enter-active { - animation: slide-in-from-right-580 0.4s; +.right-box-580-enter-active,.right-box-580-leave-active { + transition: transform 0.6s; } -.right-box-580-leave-active { - animation: slide-out-to-right-580 0.4s; +.right-box-580-enter,.right-box-580-leave-to { + transform: translateX(100%); } -.right-box-840-enter-active { - animation: slide-in-from-right-840 0.4s; + +.right-box-840-enter-active,.right-box-840-leave-active { + transition: transform 0.6s; } -.right-box-840-leave-active { - animation: slide-out-to-right-840 0.4s; +.right-box-840-enter,.right-box-840-leave-to { + transform: translateX(100%); } /* end--右弹框滑入滑出动画*/ @@ -1900,10 +1901,10 @@ li{ .nz-table .el-table__fixed, .nz-table .el-table__fixed-right { height: 100% !important; } - .nz-table .el-table__fixed-body-wrapper { - height: calc(100% - 33px) !important; - } - .ant-table-scroll { +.nz-table .el-table__fixed-body-wrapper { + height: calc(100% - 33px) !important; +} +.ant-table-scroll { max-height: unset !important; height: 100%; }