From 1f9dbd3cf27dd29c198aff6a567f7a9c1b7e4f7b Mon Sep 17 00:00:00 2001 From: psychobunny Date: Fri, 21 Aug 2015 18:26:44 -0400 Subject: [PATCH] hamburger button --- public/less/admin/mobile.less | 33 ++++++++++++++++++++++++++++--- src/views/admin/partials/menu.tpl | 10 +++++++++- 2 files changed, 39 insertions(+), 4 deletions(-) diff --git a/public/less/admin/mobile.less b/public/less/admin/mobile.less index cffe28ea3b..107a1d4d79 100644 --- a/public/less/admin/mobile.less +++ b/public/less/admin/mobile.less @@ -1,3 +1,7 @@ +#mobile-menu { + display: none; +} + @media (max-width: 1200px) { } @@ -7,18 +11,41 @@ padding-top: 90px; } + #mobile-menu { + width: 31px; + background: none; + border: none; + vertical-align: 10%; + margin-right: 10px; + margin-left: -15px; + outline: none !important; + display: block; + + position: absolute; + top: 22px; + left: 22px; + + .bar { + width: 100%; + height: 2px; + background: #fff; + margin-bottom: 3px; + border-radius: 10px; + } + } + .header { - height: 60px; + height: 58px; box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.26); position: fixed; top: 0px; z-index: 1; #main-page-title { - bottom: -29px; + bottom: -31px; font-size: 20px; color: #FFF; - left: 20px; + left: 52px; font-weight: 400; } diff --git a/src/views/admin/partials/menu.tpl b/src/views/admin/partials/menu.tpl index 9d3a80a37c..2e8bb3df00 100644 --- a/src/views/admin/partials/menu.tpl +++ b/src/views/admin/partials/menu.tpl @@ -1,5 +1,13 @@