Skip to content

Commit

Permalink
Nicer map & smaller map
Browse files Browse the repository at this point in the history
 - Fixes #3
 - No more fullscreen for project map
 - All maps now have shadows
 - Now disabling SCSS rules on file level
  • Loading branch information
MichalBryxi committed May 8, 2016
1 parent 0baff1d commit 75f4262
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
10 changes: 0 additions & 10 deletions frontend/app/project/map/route.js
Original file line number Diff line number Diff line change
@@ -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;
}
}
});
10 changes: 6 additions & 4 deletions frontend/app/styles/layout/application.scss
Original file line number Diff line number Diff line change
@@ -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);
}
Expand Down Expand Up @@ -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;
Expand All @@ -51,3 +49,7 @@ footer.page-footer {
color: $color-4-3;
}
}

.s-map {
@extend .z-depth-2;
}

0 comments on commit 75f4262

Please sign in to comment.