From 6724912c73b7392373f01e0a1d96422c6c99f1f1 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Sat, 2 May 2020 19:52:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/App.vue | 28 +++++++------------ src/renderer/assets/styles/variables.less | 2 +- src/renderer/components/core/Aside.vue | 17 ++++++----- src/renderer/components/core/Player.vue | 4 +-- .../components/material/SearchInput.vue | 2 +- 5 files changed, 24 insertions(+), 29 deletions(-) diff --git a/src/renderer/App.vue b/src/renderer/App.vue index b1dc61e9..ea1117a2 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -1,22 +1,20 @@ @@ -150,7 +150,7 @@ export default { text-decoration: none; position: relative; - padding: 10px 10px; + padding: 10px 3px; // margin: 5px 0; // border-left: 5px solid transparent; transition: @transition-theme; @@ -181,6 +181,9 @@ export default { .icon { margin-bottom: 5px; + &> svg { + width: 27%; + } } diff --git a/src/renderer/components/core/Player.vue b/src/renderer/components/core/Player.vue index 36551e73..c5e108dd 100644 --- a/src/renderer/components/core/Player.vue +++ b/src/renderer/components/core/Player.vue @@ -676,7 +676,7 @@ export default { transition: @transition-theme; transition-property: color; flex: none; - padding: 3px 3px 3px 5px; + padding: 2px; opacity: 1; transition: @transition-theme; transition-property: opacity; @@ -698,7 +698,7 @@ export default { transition: @transition-theme; transition-property: border-color; // border-radius: 50%; - border-radius: @radius-progress-border; + // border-radius: @radius-progress-border; // border: 2px solid @color-theme_2-background_1; } } diff --git a/src/renderer/components/material/SearchInput.vue b/src/renderer/components/material/SearchInput.vue index 2ccfb0f1..ac599f5e 100644 --- a/src/renderer/components/material/SearchInput.vue +++ b/src/renderer/components/material/SearchInput.vue @@ -189,7 +189,7 @@ export default { border-bottom-right-radius: 3px; cursor: pointer; height: 100%; - padding: 5px 7px; + padding: 6px 7px; color: @color-btn; transition: background-color .2s ease;