[Mobile] Slide menu

Rouch menu using important to
overwrite splitter setting of
amounts. Also has default values
for now for all devices.
This commit is contained in:
Shivam Dave
2015-07-15 16:49:16 -07:00
parent ee35976c92
commit 4b5540830b
4 changed files with 99 additions and 128 deletions

View File

@@ -20,49 +20,58 @@
* at runtime from the About dialog for additional information.
*****************************************************************************/
// style="min-width: 150px; max-width: 800px; width: 25%;"
// NOTE: Added to adjust the browse folder tree list view
// NOTE: Added to adjust the browse folder left list view
.holder-hide {
@include phone {
@include transition-duration(.2s);
left: (-1) * $phoneSlideMenuWidth;
}
@include tablet {
@include transition-duration(.2s);
left: (-1) * $tabletSlideMenuWidth;
}
.browse-wrapper,
.pane-special {
position: absolute;
left: 0; top: 0;
right: 0; left: 0;
white-space: nowrap;
height: 100%;
// overflow: hidden;
}
.holder-show {
@include transition-duration(.2s);
@include phone {
left: 0px;
.browse-hidetree {
.pane-special.left {
// background-color: #FFF;
// right: auto;
// width: 50px;
display: none !important;
}
@include tablet {
left: 0px;
}
.pane-special.right {
// background-color: #325DE6;
width: auto !important;
left: 0px !important;
}
}
.browse-showtree {
.pane-special.left {
display: block !important;
// background-color: #FFF;
width: 300px !important;
right: auto !important;
}
.pane-special.right {
// background-color: #325DE6;
left: 300px !important;
width: auto !important;
}
}
.button-pos {
position: absolute;
@include transition-duration(.2s);
@include phone {
left: $phoneSlideMenuWidth;
}
@include tablet {
left: $tabletSlideMenuWidth;
}
@include transition-duration(.2s);
}
.object-header-mobile {
position: relative;
@include phone {
left: $phoneSlideMenuWidth/10;
}
@include tablet {
left: $tabletSlideMenuWidth/10;
}
}
.mobile-menu-icon {
@@ -92,17 +101,3 @@
display: none;
}
}
.browse-manage {
@include phone {
width: $phoneSlideMenuWidth;
}
@include tablet {
width: $tabletSlideMenuWidth;
}
@include desktop {
min-width: 150px;
max-width: 800px;
width: 25%;
}
}