diff options
author | Gabriel Albo <gabriel@albo.com.br> | 2014-10-10 00:09:24 -0300 |
---|---|---|
committer | Gabriel Albo <gabriel@albo.com.br> | 2014-10-13 10:25:43 -0300 |
commit | 7cef77fd1469cb22e31edf50b27db1a6a982b494 (patch) | |
tree | 4575ac191dc185d317dee2380d2109f0280de2ca /web-ui/app | |
parent | 576379c2b1e3493eeaf47e32d7942d7026f6d3ea (diff) |
UI Redesign - Changed left menu color scheme to a darker theme
Diffstat (limited to 'web-ui/app')
-rw-r--r-- | web-ui/app/index.html | 2 | ||||
-rw-r--r-- | web-ui/app/scss/_colors.scss | 2 | ||||
-rw-r--r-- | web-ui/app/scss/styles.scss | 33 |
3 files changed, 25 insertions, 12 deletions
diff --git a/web-ui/app/index.html b/web-ui/app/index.html index 3687bc77..0249630e 100644 --- a/web-ui/app/index.html +++ b/web-ui/app/index.html @@ -20,7 +20,7 @@ </header> <div class="inner-wrap"> - <div class="column collapsed-nav no-padding"> + <div id="menu" class="column collapsed-nav no-padding"> <a class="left-off-canvas-toggle" href="#"><i class="fa fa-navicon"></i></a> <ul id="tags-shortcuts" class="shortcuts"> </ul> diff --git a/web-ui/app/scss/_colors.scss b/web-ui/app/scss/_colors.scss index b0a88978..d011e23c 100644 --- a/web-ui/app/scss/_colors.scss +++ b/web-ui/app/scss/_colors.scss @@ -12,3 +12,5 @@ $top_pane: #EAEAEA; $secondary: #3E3A37; $primary_color: #EF4E2F; $action_buttons: #2ba6cb; + +$secondary_callout: #FF7902; diff --git a/web-ui/app/scss/styles.scss b/web-ui/app/scss/styles.scss index 6eb850a8..4aff99ae 100644 --- a/web-ui/app/scss/styles.scss +++ b/web-ui/app/scss/styles.scss @@ -236,9 +236,11 @@ section { } &#left-pane { + background-color: $secondary; + color: white; nav { padding-bottom: 25px; - border-right: 1px solid $contrast; + border-right: 1px solid lighten($secondary, 10%); ul#default-tag-list, #custom-tag-list { li { transition: background-color 150ms ease-out; @@ -246,10 +248,12 @@ section { cursor: pointer; &:hover { background: #CCC; + color: $secondary; } &.selected { font-weight: bold; background: $contrast; + color: $secondary; } } } @@ -302,12 +306,13 @@ section { } h3 { + color: white; text-transform: uppercase; font-size: 0.6em; padding: 5px; font-weight: 600; margin: 0 10px; - border-bottom: 1px dotted #DDD; + border-bottom: 1px dotted lighten($secondary, 10%); } } } @@ -331,10 +336,10 @@ section { } .unread-count { - @include mail-count($error); + @include mail-count($secondary_callout); } .total-count { - @include mail-count($total_count_bg); + @include mail-count(#999); } @@ -426,19 +431,23 @@ button { } } +#menu { + padding-top: 55px; +} + .collapsed-nav { width: 50px; position: absolute; z-index: 2; height: 100vh; - background: #FFF; - border-right: 1px solid darken($contrast, 20%); + background: $secondary; .left-off-canvas-toggle { + color: white; text-align: center; display: block; left: 0; padding: 10px; - background: #FFF; + background: $secondary; top: 0; z-index: 10000; position: relative; @@ -451,9 +460,11 @@ button { opacity: 0.8; &.selected { background: $contrast; - color: #212121; opacity: 1; cursor: default; + a { + color: $secondary; + } } @include searching(6px, 26px, #666, 0.9em); a { @@ -461,11 +472,11 @@ button { position: relative; font-size: 1.4em; padding: 5px; - color: #555; + color: white; text-align: center; &:hover { background: darken($contrast, 10%); - color: #333; + color: $secondary; @include btn-transition; } &[title]:hover:after { @@ -480,7 +491,7 @@ button { left: 0; border: 1px solid #FFF; position: absolute; - opacity: 0.88; + opacity: 0.95; } .total-count { background: #999; |