From 4ba4062519df5121fee8cdb3ddb262d2c99b0dce Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 16 Oct 2021 18:18:41 +0900 Subject: [PATCH] :art: --- src/client/components/tab.vue | 13 +++++-- src/client/pages/pages.vue | 48 ++++++++++++------------ src/client/pages/user/index.timeline.vue | 4 +- 3 files changed, 37 insertions(+), 28 deletions(-) diff --git a/src/client/components/tab.vue b/src/client/components/tab.vue index 58538c2ca..ce86af8f9 100644 --- a/src/client/components/tab.vue +++ b/src/client/components/tab.vue @@ -35,8 +35,8 @@ export default defineComponent({ > button { flex: 1; - padding: 15px 12px 12px 12px; - border-bottom: solid 3px transparent; + padding: 10px 8px; + border-radius: 6px; &:disabled { opacity: 1 !important; @@ -45,11 +45,16 @@ export default defineComponent({ &.active { color: var(--accent); - border-bottom-color: var(--accent); + background: var(--accentedBg); } &:not(.active):hover { color: var(--fgHighlighted); + background: var(--panelHighlight); + } + + &:not(:first-child) { + margin-left: 8px; } > .icon { @@ -61,7 +66,7 @@ export default defineComponent({ font-size: 80%; > button { - padding: 11px 8px 8px 8px; + padding: 11px 8px; } } } diff --git a/src/client/pages/pages.vue b/src/client/pages/pages.vue index 988a759b9..8300e8a6e 100644 --- a/src/client/pages/pages.vue +++ b/src/client/pages/pages.vue @@ -2,33 +2,35 @@
- - - - - - + + + + + + + -
-
- - - -
+
+
+ + + +
-
- - - - -
+
+ + + + +
-
- - - +
+ + + +
-
+
diff --git a/src/client/pages/user/index.timeline.vue b/src/client/pages/user/index.timeline.vue index 8796ded46..c3444f26f 100644 --- a/src/client/pages/user/index.timeline.vue +++ b/src/client/pages/user/index.timeline.vue @@ -1,6 +1,6 @@