From 2fb2a43e6a03be47a80d5be16b0f5a4c6943277a Mon Sep 17 00:00:00 2001 From: Victoria Wang Date: Fri, 17 Jul 2015 13:56:31 -0700 Subject: [PATCH] Add selected color to appropriate dashboard buttons --- sass/_project-sass/_project-Main.scss | 19 +++++++++++++++++++ views/dashboard.erb | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/sass/_project-sass/_project-Main.scss b/sass/_project-sass/_project-Main.scss index dd540d26..5d921276 100644 --- a/sass/_project-sass/_project-Main.scss +++ b/sass/_project-sass/_project-Main.scss @@ -271,6 +271,22 @@ } } } +.files { + .btn.iconview-button { + background: #4F727B; + } + .btn.listview-button { + background: #77ABB8; + } +} +.files.list-view { + .btn.listview-button { + background: #4F727B; + } + .btn.iconview-button { + background: #77ABB8; + } +} .files .header { background: #5E95A1; color: #fff; @@ -592,6 +608,9 @@ .files .list { @include dashboard-list-view; } + .files .btn-group { + display: none; + } } .files.list-view .list { @include dashboard-list-view; diff --git a/views/dashboard.erb b/views/dashboard.erb index 9e82c8f6..ab6964b1 100644 --- a/views/dashboard.erb +++ b/views/dashboard.erb @@ -83,8 +83,8 @@
- - + +