From 1456c9748fdbbd0fb140bc2f339d89f7dce8b063 Mon Sep 17 00:00:00 2001 From: Nick Wittwer Date: Sun, 20 Jan 2019 10:24:16 +0100 Subject: [PATCH] Added labels to side panel --- src/components/SidePanel/index.vue | 54 +++++++++++++++++++++--------- 1 file changed, 38 insertions(+), 16 deletions(-) diff --git a/src/components/SidePanel/index.vue b/src/components/SidePanel/index.vue index fac3bb0e..051a3eb8 100644 --- a/src/components/SidePanel/index.vue +++ b/src/components/SidePanel/index.vue @@ -2,20 +2,23 @@
-
- Screens +
+
+ Screens +
+ Screens
-
- Sync +
+
+ Sync +
+
Sync
@@ -95,6 +98,7 @@ export default { grid-template-rows: 1fr; .side-panel__track { + position: relative; display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3, min-content); @@ -108,16 +112,34 @@ export default { .station { margin: 0.5rem 0.75rem; - padding: 0.5rem; display: flex; + flex-direction: column; align-items: center; justify-content: center; - box-sizing: border-box; - border-radius: 50%; &:first-child { margin-top: 1rem; } + + .station__button { + // margin: 0.5rem 0.75rem; + display: flex; + align-items: center; + justify-content: center; + padding: 0.4rem; + box-sizing: border-box; + border-radius: 50%; + } + + .station__title { + color: #757575; + margin-top: 0.25rem; + font-size: 0.8rem; + } + } + + .side-panel__content { + position: relative; } } }