From a337285343663b4055215c2865a1b4fc399ba3e2 Mon Sep 17 00:00:00 2001 From: Vit Brunner Date: Fri, 31 Oct 2014 21:26:26 +0100 Subject: [PATCH] Add up/down arrows to bottom menu --- bower.json | 2 +- source/partials/comparison.html.jade | 2 ++ source/styles/style.css.styl | 9 +++++++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/bower.json b/bower.json index 568038a..c0cb799 100644 --- a/bower.json +++ b/bower.json @@ -6,7 +6,7 @@ "angular": "1.2.20", "angular-route": "1.2.20", "angular-sanitize": "1.2.20", - "fontawesome": "3.0.2", + "fontawesome": "4.2.0", "lodash": "2.4.1", "marked": "0.3.2", "pure": "0.2.0", diff --git a/source/partials/comparison.html.jade b/source/partials/comparison.html.jade index 470b0f5..e8a286b 100644 --- a/source/partials/comparison.html.jade +++ b/source/partials/comparison.html.jade @@ -3,6 +3,8 @@ .version(ng-repeat="heading in headings") .version-padded .version-menu + .arrow.fa.fa-chevron-up(ng-show="!pick") + .arrow.fa.fa-chevron-down(ng-show="pick") .text(ng-bind-html="heading") .pick(ng-show="pick") diff --git a/source/styles/style.css.styl b/source/styles/style.css.styl index 5e814c3..ff6c7fe 100644 --- a/source/styles/style.css.styl +++ b/source/styles/style.css.styl @@ -6,6 +6,8 @@ body .pure-menu.pure-menu-open height: 36px + color: #E5E5A1 + background: #22220C li a color: #C6C684 @@ -25,16 +27,18 @@ body vertical-align: middle .pure-menu.menu-main - background: #22220C margin-bottom: 1em .pure-menu.menu-verses - background: #22220C position: fixed left: 0 bottom: 0 :hover cursor: pointer + .arrow + left: -15px + line-height: 22px + position: absolute .version vertical-align: top @@ -50,6 +54,7 @@ body .version-menu color: #E5E5A1 padding: 0px 10px + position: relative .section color: #E5E5A1