From abc8c588cb7f26fc549a693ba59a631b36a46662 Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Mon, 25 Nov 2024 17:38:50 +0800 Subject: [PATCH] no message --- css/common.css | 60 ++++++------------------------ css/common.less | 79 +++++++++------------------------------- css/contrastDetails.css | 12 ------ css/contrastDetails.less | 15 -------- 4 files changed, 29 insertions(+), 137 deletions(-) diff --git a/css/common.css b/css/common.css index 48f506e..1e3b4c8 100644 --- a/css/common.css +++ b/css/common.css @@ -42,6 +42,18 @@ body { margin-top: 37px; margin-bottom: 40px; } +.scrollbar::-webkit-scrollbar-track-piece { + background-color: transparent; +} +.scrollbar::-webkit-scrollbar { + width: 7px; + height: 7px; + background-color: transparent; +} +.scrollbar::-webkit-scrollbar-thumb { + border-radius: 5px; + background-color: #ebebeb; +} .base { width: 640px; height: 54px; @@ -278,18 +290,6 @@ body { overflow: auto; margin-right: 5px; } -.my-project .my-box .contrast-box .left .list::-webkit-scrollbar-track-piece { - background-color: transparent; -} -.my-project .my-box .contrast-box .left .list::-webkit-scrollbar { - width: 7px; - height: 7px; - background-color: transparent; -} -.my-project .my-box .contrast-box .left .list::-webkit-scrollbar-thumb { - border-radius: 5px; - background-color: #ebebeb; -} .my-project .my-box .contrast-box .left .list .item { padding: 15px 0; justify-content: space-between; @@ -395,18 +395,6 @@ body { overflow: auto; margin-right: 5px; } -.my-project .my-box .contrast-box .right .list::-webkit-scrollbar-track-piece { - background-color: transparent; -} -.my-project .my-box .contrast-box .right .list::-webkit-scrollbar { - width: 7px; - height: 7px; - background-color: transparent; -} -.my-project .my-box .contrast-box .right .list::-webkit-scrollbar-thumb { - border-radius: 5px; - background-color: #ebebeb; -} .my-project .my-box .contrast-box .right .list .item { width: 370px; background-color: #ffffff; @@ -560,18 +548,6 @@ body { width: 16px; height: 16px; } -.my-project .my-box .manage-box .list::-webkit-scrollbar-track-piece { - background-color: transparent; -} -.my-project .my-box .manage-box .list::-webkit-scrollbar { - width: 7px; - height: 7px; - background-color: transparent; -} -.my-project .my-box .manage-box .list::-webkit-scrollbar-thumb { - border-radius: 5px; - background-color: #ebebeb; -} .my-project .my-box .manage-box .list .list-box { flex-wrap: wrap; width: 860px; @@ -741,18 +717,6 @@ body { font-size: 14px; width: 348px; } -.manage-input::-webkit-scrollbar-track-piece { - background-color: transparent; -} -.manage-input::-webkit-scrollbar { - width: 7px; - height: 7px; - background-color: transparent; -} -.manage-input::-webkit-scrollbar-thumb { - border-radius: 5px; - background-color: #ebebeb; -} .empty-box { flex-direction: column; } diff --git a/css/common.less b/css/common.less index d32823e..2a3382f 100644 --- a/css/common.less +++ b/css/common.less @@ -52,6 +52,23 @@ body { } } +.scrollbar { + &::-webkit-scrollbar-track-piece { + background-color: transparent; + } + + &::-webkit-scrollbar { + width: 7px; + height: 7px; + background-color: transparent; + } + + &::-webkit-scrollbar-thumb { + border-radius: 5px; + background-color: rgba(235, 235, 235, 1); + } +} + .base { width: 640px; height: 54px; @@ -312,21 +329,6 @@ body { overflow: auto; margin-right: 5px; - &::-webkit-scrollbar-track-piece { - background-color: transparent; - } - - &::-webkit-scrollbar { - width: 7px; - height: 7px; - background-color: transparent; - } - - &::-webkit-scrollbar-thumb { - border-radius: 5px; - background-color: rgba(235, 235, 235, 1); - } - .item { padding: 15px 0; justify-content: space-between; @@ -337,9 +339,6 @@ body { background-color: rgba(246, 246, 246, 1); } - // &:hover { - // background-color: rgba(246, 246, 246, 1); - // } &:not(:last-of-type) { border-bottom: 1px dotted rgb(215, 215, 215); @@ -448,20 +447,6 @@ body { padding-left: 20px; overflow: auto; margin-right: 5px; - &::-webkit-scrollbar-track-piece { - background-color: transparent; - } - - &::-webkit-scrollbar { - width: 7px; - height: 7px; - background-color: transparent; - } - - &::-webkit-scrollbar-thumb { - border-radius: 5px; - background-color: rgba(235, 235, 235, 1); - } .item { width: 370px; @@ -580,7 +565,6 @@ body { font-size: 14px; color: #555555; font-family: "PingFangSC-Regular", "PingFang SC", sans-serif; - position: relative; &.pitch { font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; @@ -633,20 +617,6 @@ body { } } margin-right: 5px; - &::-webkit-scrollbar-track-piece { - background-color: transparent; - } - - &::-webkit-scrollbar { - width: 7px; - height: 7px; - background-color: transparent; - } - - &::-webkit-scrollbar-thumb { - border-radius: 5px; - background-color: rgba(235, 235, 235, 1); - } .list-box { flex-wrap: wrap; @@ -841,21 +811,6 @@ body { padding-right: 10px; font-size: 14px; width: 348px; - - &::-webkit-scrollbar-track-piece { - background-color: transparent; - } - - &::-webkit-scrollbar { - width: 7px; - height: 7px; - background-color: transparent; - } - - &::-webkit-scrollbar-thumb { - border-radius: 5px; - background-color: rgba(235, 235, 235, 1); - } } .empty-box { diff --git a/css/contrastDetails.css b/css/contrastDetails.css index 1d0a204..951f942 100644 --- a/css/contrastDetails.css +++ b/css/contrastDetails.css @@ -189,18 +189,6 @@ padding-right: 5px; background-color: #ffffff; } -.handle-project-mask .handle-project .list::-webkit-scrollbar-track-piece { - background-color: transparent; -} -.handle-project-mask .handle-project .list::-webkit-scrollbar { - width: 7px; - height: 7px; - background-color: transparent; -} -.handle-project-mask .handle-project .list::-webkit-scrollbar-thumb { - border-radius: 5px; - background-color: #ebebeb; -} .handle-project-mask .handle-project .list .item { padding: 15px 0; margin-right: 10px; diff --git a/css/contrastDetails.less b/css/contrastDetails.less index 19f4fe3..3de74e7 100644 --- a/css/contrastDetails.less +++ b/css/contrastDetails.less @@ -220,21 +220,6 @@ padding-right: 5px; background-color: #ffffff; - &::-webkit-scrollbar-track-piece { - background-color: transparent; - } - - &::-webkit-scrollbar { - width: 7px; - height: 7px; - background-color: transparent; - } - - &::-webkit-scrollbar-thumb { - border-radius: 5px; - background-color: rgba(235, 235, 235, 1); - } - .item { padding: 15px 0; margin-right: 10px;