[Mobile] Hide Back Button

When you are at the highest level the
back button fades out and is unclickable.
When you are able to go up a level the
back button appears/fades in and is
pressable. Also removed the object type
name from the header.
This commit is contained in:
Shivam Dave
2015-07-29 11:13:09 -07:00
parent 28a2a5b92a
commit 7e35e55f0b
7 changed files with 92 additions and 16 deletions

View File

@@ -180,10 +180,26 @@
}
}
// Hides objects on phone and tablet
.mobile-unhide {
.mobile-important-hide {
@include phoneandtablet {
display: inline-block;
display: none !important;
}
}
.mobile-back-hide {
@include phoneandtablet {
pointer-events: none;
@include trans-prop-nice(opacity, .4s);
opacity: 0;
}
}
// Hides objects on phone and tablet
.mobile-back-unhide {
@include phoneandtablet {
pointer-events: all;
@include trans-prop-nice(opacity, .4s);
opacity: 1;
}
}
@@ -199,7 +215,7 @@
overflow-x: hidden !important;
}
}
.disable-select {
.mobile-disable-select {
@include phoneandtablet {
@include user-select(none);
}