map: show buttons along content buttons

This commit is contained in:
Nils Schneider 2015-07-07 01:56:11 +02:00
commit 144dba319e
4 changed files with 45 additions and 34 deletions

View file

@ -6,14 +6,6 @@
width: 100%;
height: 100%;
button.locate-user:after {
content: '\f2a7';
}
button.add-layer:after {
content: '\f217';
}
.node-alert {
-webkit-animation: blink 2s linear;
-webkit-animation-iteration-count: infinite;

View file

@ -13,25 +13,24 @@ $buttondistance: 12pt;
@import '_map';
@import '_forcegraph';
.contenttoggle {
z-index: 100;
position: absolute;
top: $buttondistance;
right: $buttondistance;
}
.contenttoggle.next-graph:after {
content: '\f341';
}
.contenttoggle.next-map:after {
content: '\f203';
}
.content {
position: fixed;
width: 100%;
height: 100vh;
.buttons {
direction: rtl;
unicode-bidi: bidi-override;
z-index: 100;
position: absolute;
top: $buttondistance;
right: $buttondistance;
button {
margin-left: $buttondistance;
}
}
}
.tabs {