From b8e03ec5da24c2bc0722b9061d66d4f1703b467b Mon Sep 17 00:00:00 2001 From: ZiuChen <457353192@qq.com> Date: Mon, 15 Aug 2022 16:22:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E5=BC=B9=E5=87=BA?= =?UTF-8?q?=E4=BE=A7=E6=A0=8F=E6=BB=9A=E5=8A=A8=E6=9D=A1=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style/cpns/clip-full-data.less | 20 ++++++++++++++++++++ src/style/cpns/clip-item-list.less | 2 +- src/style/index.less | 2 +- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/style/cpns/clip-full-data.less b/src/style/cpns/clip-full-data.less index 1f7065d..37ea9ac 100644 --- a/src/style/cpns/clip-full-data.less +++ b/src/style/cpns/clip-full-data.less @@ -4,11 +4,31 @@ top: 0; height: 100%; width: 60%; + color: @text-color; background: @bg-color; padding: 0px 20px 0px 20px; overflow-y: scroll; word-break: break-all; white-space: pre-wrap; + &::-webkit-scrollbar { + width: 5px; + height: 10px; + } + &::-webkit-scrollbar-track { + border-radius: 2px; + background-color: @bg-color; + &-piece { + border-radius: 2px; + background-color: @bg-color; + } + } + &::-webkit-scrollbar-thumb { + background: @bg-color; + border-radius: 2px; + } + &::-webkit-scrollbar-thumb:hover { + background: @nav-bg-color; + } } .clip-overlay { z-index: 999999999; diff --git a/src/style/cpns/clip-item-list.less b/src/style/cpns/clip-item-list.less index 43632c4..335a8a9 100644 --- a/src/style/cpns/clip-item-list.less +++ b/src/style/cpns/clip-item-list.less @@ -26,7 +26,7 @@ justify-content: center; align-items: center; font-size: 13px; - color: @text-color-lighter; + color: @text-color; background-color: @text-bg-color; border-radius: 5px; min-width: 50px; diff --git a/src/style/index.less b/src/style/index.less index fbda60f..21305ac 100644 --- a/src/style/index.less +++ b/src/style/index.less @@ -11,7 +11,7 @@ @primary-color: #8a2be2; @primary-color-lighter: #d3b8ec; @text-color: #e8e6e3; - @text-color-lighter: rgb(207, 207, 207); + @text-color-lighter: rgb(181, 181, 181); @text-bg-color: #7f7c83; @text-bg-color-lighter: #4e4e4e; @nav-bg-color: #222426;