From 4156c915fddd39760f8b927974672df016bcd742 Mon Sep 17 00:00:00 2001 From: ZiuChen <457353192@qq.com> Date: Sun, 4 Sep 2022 13:17:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E5=8A=A8=E7=94=BB=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style/cpns/clip-item-list.less | 7 ++++++- src/style/cpns/clip-search.less | 5 ++--- src/style/cpns/clip-switch.less | 3 ++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/style/cpns/clip-item-list.less b/src/style/cpns/clip-item-list.less index 57d9a74..fc59ea7 100644 --- a/src/style/cpns/clip-item-list.less +++ b/src/style/cpns/clip-item-list.less @@ -40,6 +40,11 @@ padding: 5px 7px 5px 7px; &.clip-data-status { color: @primary-color; + &:hover { + color: @bg-color; + background-color: @primary-color; + transition: all 0.15s; + } } } } @@ -83,7 +88,7 @@ font-size: 13px; color: @text-color-lighter; background: @text-bg-color; - margin: 0px 5px; + margin: 0px 2px; border-radius: 5px; width: 30px; height: 30px; diff --git a/src/style/cpns/clip-search.less b/src/style/cpns/clip-search.less index 60c8171..e2356a8 100644 --- a/src/style/cpns/clip-search.less +++ b/src/style/cpns/clip-search.less @@ -1,8 +1,7 @@ .clip-search { - width: 40%; - margin-right: 30px; + min-width: 300px; input { - width: 100%; + width: 90%; /* normalize */ background: none; outline: none; diff --git a/src/style/cpns/clip-switch.less b/src/style/cpns/clip-switch.less index 2ff6386..39cc207 100644 --- a/src/style/cpns/clip-switch.less +++ b/src/style/cpns/clip-switch.less @@ -19,9 +19,10 @@ justify-content: left; align-items: center; flex-direction: row; + margin-left: 5px; .clip-switch-item { padding: 10px 15px 10px 15px; - margin: 10px 5px 10px 10px; + margin: 10px 5px 10px 5px; cursor: pointer; border-radius: 5px; font-size: 14px;