From 75f426213d22368017b7774ea49ca7ae03145a56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Bryxi=CC=81?= Date: Sun, 8 May 2016 15:38:33 +0100 Subject: [PATCH] Nicer map & smaller map - Fixes #3 - No more fullscreen for project map - All maps now have shadows - Now disabling SCSS rules on file level --- frontend/app/project/map/route.js | 10 ---------- frontend/app/styles/layout/application.scss | 10 ++++++---- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/frontend/app/project/map/route.js b/frontend/app/project/map/route.js index ff4ac03..26d9f31 100644 --- a/frontend/app/project/map/route.js +++ b/frontend/app/project/map/route.js @@ -1,14 +1,4 @@ import Ember from 'ember'; export default Ember.Route.extend({ - actions: { - didTransition() { - this.send('setFullscreen', true); - return true; - }, - willTransition() { - this.send('setFullscreen', false); - return true; - } - } }); diff --git a/frontend/app/styles/layout/application.scss b/frontend/app/styles/layout/application.scss index d940c00..48768cf 100644 --- a/frontend/app/styles/layout/application.scss +++ b/frontend/app/styles/layout/application.scss @@ -1,7 +1,7 @@ +// scss-lint:disable PlaceholderInExtend + .application-container { - // scss-lint:disable PlaceholderInExtend @extend .container; - // scss-lint:enable PlaceholderInExtend min-height: calc(100vh - 70px - 20px - 56px); } @@ -35,9 +35,7 @@ footer.page-footer { .footer-twitter, .footer-github { - // scss-lint:disable PlaceholderInExtend @extend .right; - // scss-lint:enable PlaceholderInExtend color: $color-3-1; padding-left: 1em; @@ -51,3 +49,7 @@ footer.page-footer { color: $color-4-3; } } + +.s-map { + @extend .z-depth-2; +}