summaryrefslogtreecommitdiff
path: root/www/lib/ionic/scss/_menu.scss
diff options
context:
space:
mode:
authorARC <arjunrc@gmail.com>2015-04-25 09:13:54 -0400
committerARC <arjunrc@gmail.com>2015-04-25 09:13:54 -0400
commit86e4e291bfda3365c0bb82bacb2b9990a86ce759 (patch)
treec9729d4bd5366656e39761319546593c02f0f709 /www/lib/ionic/scss/_menu.scss
First Commit
Diffstat (limited to 'www/lib/ionic/scss/_menu.scss')
-rw-r--r--www/lib/ionic/scss/_menu.scss64
1 files changed, 64 insertions, 0 deletions
diff --git a/www/lib/ionic/scss/_menu.scss b/www/lib/ionic/scss/_menu.scss
new file mode 100644
index 00000000..c2bf286a
--- /dev/null
+++ b/www/lib/ionic/scss/_menu.scss
@@ -0,0 +1,64 @@
+
+/**
+ * Menus
+ * --------------------------------------------------
+ * Side panel structure
+ */
+
+.menu {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ z-index: $z-index-menu;
+ overflow: hidden;
+
+ min-height: 100%;
+ max-height: 100%;
+ width: $menu-width;
+
+ background-color: $menu-bg;
+
+ .scroll-content {
+ z-index: $z-index-menu-scroll-content;
+ }
+
+ .bar-header {
+ z-index: $z-index-menu-bar-header;
+ }
+}
+
+.menu-content {
+ @include transform(none);
+ box-shadow: $menu-side-shadow;
+}
+
+.menu-open .menu-content .pane,
+.menu-open .menu-content .scroll-content {
+ pointer-events: none;
+}
+
+.grade-b .menu-content,
+.grade-c .menu-content {
+ @include box-sizing(content-box);
+ right: -1px;
+ left: -1px;
+ border-right: 1px solid #ccc;
+ border-left: 1px solid #ccc;
+ box-shadow: none;
+}
+
+.menu-left {
+ left: 0;
+}
+
+.menu-right {
+ right: 0;
+}
+
+.aside-open.aside-resizing .menu-right {
+ display: none;
+}
+
+.menu-animated {
+ @include transition-transform($menu-animation-speed ease);
+}