From 2917f4ab44f36aaf765f5b1b54b67551b600af77 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sat, 5 Nov 2016 11:01:17 +0100 Subject: Fix background css (partly). --- src/App.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/App.scss') diff --git a/src/App.scss b/src/App.scss index a15751aa..afd65172 100644 --- a/src/App.scss +++ b/src/App.scss @@ -2,7 +2,7 @@ $main-color: #f58d2c; $main-background: white; $darkened-background: whitesmoke; -body { +#app { background-color: $main-color; background-size: cover; background-attachment: fixed; -- cgit v1.2.3-70-g09d2 From 1a94217222de1b5f61a1b88bf633d752d45ccc1f Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sun, 6 Nov 2016 17:43:43 +0100 Subject: Fix app height. --- src/App.scss | 1 + 1 file changed, 1 insertion(+) (limited to 'src/App.scss') diff --git a/src/App.scss b/src/App.scss index afd65172..100187cf 100644 --- a/src/App.scss +++ b/src/App.scss @@ -8,6 +8,7 @@ $darkened-background: whitesmoke; background-attachment: fixed; background-repeat: no-repeat; background-position: 0 50px; + min-height: 100vh; } h4 { -- cgit v1.2.3-70-g09d2 From 86749f759d6b2f75871242ba1edcd53e6d8ab14c Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sun, 6 Nov 2016 19:28:48 +0100 Subject: Remove superfluous css. --- src/App.scss | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/App.scss') diff --git a/src/App.scss b/src/App.scss index 100187cf..a4d87308 100644 --- a/src/App.scss +++ b/src/App.scss @@ -304,11 +304,6 @@ attention { display: flex; padding: 0.5em; - media-upload { - font-size: 26px; - flex: 1; - } - button { flex: 2; } -- cgit v1.2.3-70-g09d2 From 1ae5223742415d69d3b6ec9fd46d04c85d8f787b Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sun, 6 Nov 2016 20:11:23 +0100 Subject: Add NavPanel to app. --- src/App.js | 4 +++- src/App.scss | 21 --------------------- 2 files changed, 3 insertions(+), 22 deletions(-) (limited to 'src/App.scss') diff --git a/src/App.js b/src/App.js index 3c677566..c3e5164a 100644 --- a/src/App.js +++ b/src/App.js @@ -1,9 +1,11 @@ import UserPanel from './components/user_panel/user_panel.vue' +import NavPanel from './components/nav_panel/nav_panel.vue' export default { name: 'app', components: { - UserPanel + UserPanel, + NavPanel }, computed: { user () { return this.$store.state.users.currentUser || {} }, diff --git a/src/App.scss b/src/App.scss index a4d87308..32e4a3eb 100644 --- a/src/App.scss +++ b/src/App.scss @@ -222,27 +222,6 @@ status.ng-enter.ng-enter-active { cursor: pointer; } -nav-panel ul { - list-style: none; - margin: 0; - padding: 0; -} - -nav-panel li { - border-bottom: 1px solid silver; - padding: 0.5em; - padding-left: 1em; -} - -nav-panel li:last-child { - border: none; -} - -nav-panel a { - display: block; - width: 100%; -} - .status-el p { margin: 0; margin-top: 0.2em; -- cgit v1.2.3-70-g09d2