From f913cbe94773c9c75afcdb044503508f1436f120 Mon Sep 17 00:00:00 2001 From: Arpad Csanyi Date: Wed, 17 Feb 2016 09:50:54 +0100 Subject: [PATCH] Create basic layout of the Agent's sidebar menu. --- app.css | 38 +++++++++++++++++++++++++++++++++++++- app.html | 39 ++++++++++++++++++++++++++------------- app.js | 4 +++- 3 files changed, 66 insertions(+), 15 deletions(-) diff --git a/app.css b/app.css index 8a3b28f4..dfa74838 100644 --- a/app.css +++ b/app.css @@ -7,7 +7,8 @@ } #sidebar-menu ul { - padding-left: 15px; + padding: 0; + margin: 0; } #sidebar-menu ul li { @@ -15,6 +16,36 @@ padding: 0; } +.sidebar__level-1, .sidebar__level-2 { + padding-left: 15px; +} + +.sidebar__level-2 { + margin-left: 15px; +} + +.sidebar__level-1 { + background-color: #ccc; + font-size: 2rem; + line-height: 3rem; + margin-top: 2rem; +} + +.menu--top .sidebar__level-1:first-child { + margin: 0; +} + +.menu--bottom { + position: absolute; + bottom: 0; + left: 0; + width: 100%; +} + +.menu--bottom .sidebar__level-1 { + background-color: transparent; +} + #main-content { margin-left: 250px; } @@ -62,6 +93,11 @@ max-width: 100%; } +.owl-carousel { + max-width: 991px; + margin: auto; +} + .owl-carousel .item img { display: block; width: 100%; diff --git a/app.html b/app.html index db6b2fa3..b1da97c0 100644 --- a/app.html +++ b/app.html @@ -59,19 +59,32 @@ diff --git a/app.js b/app.js index cbd40d7a..bfef83bf 100644 --- a/app.js +++ b/app.js @@ -106,7 +106,9 @@ var menuObject = { 'name': 'Trackpoing' } ] - }, + } + ], + menuBottom: [ { 'icon': 'gear', 'name': 'Settings'