From 4ed81da0227d418fec0554aec48ffda1eba88f19 Mon Sep 17 00:00:00 2001 From: summerscope Date: Wed, 30 Apr 2014 15:36:42 +1000 Subject: [PATCH] Updates to styling homepage and active table --- app/assets/stylesheets/darkswarm/active_table.css.sass | 2 ++ app/assets/stylesheets/darkswarm/home_panes.css.sass | 6 ++++++ app/assets/stylesheets/darkswarm/hub_node.css.sass | 5 ----- app/assets/stylesheets/darkswarm/ui.css.sass | 1 + 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/darkswarm/active_table.css.sass b/app/assets/stylesheets/darkswarm/active_table.css.sass index c950cad28a..2023e24cca 100644 --- a/app/assets/stylesheets/darkswarm/active_table.css.sass +++ b/app/assets/stylesheets/darkswarm/active_table.css.sass @@ -84,6 +84,8 @@ border-right: 1px solid $disabled-dark strong color: $dark-grey + &:hover, &:active, &:focus + color: $dark-grey .active_table_row:nth-child(2) border-left: 1px solid $disabled-dark border-right: 1px solid $disabled-dark diff --git a/app/assets/stylesheets/darkswarm/home_panes.css.sass b/app/assets/stylesheets/darkswarm/home_panes.css.sass index 810aaf3b17..d2c83845d5 100644 --- a/app/assets/stylesheets/darkswarm/home_panes.css.sass +++ b/app/assets/stylesheets/darkswarm/home_panes.css.sass @@ -30,3 +30,9 @@ background-image: url("/assets/home/producers-bg.svg") background-repeat: no-repeat background-position: right center + +// Responsive +@media all and (max-width: 768px) + #map, #groups, #producers + .row + background-position: center center \ No newline at end of file diff --git a/app/assets/stylesheets/darkswarm/hub_node.css.sass b/app/assets/stylesheets/darkswarm/hub_node.css.sass index f24a5e6302..b68a1462d5 100644 --- a/app/assets/stylesheets/darkswarm/hub_node.css.sass +++ b/app/assets/stylesheets/darkswarm/hub_node.css.sass @@ -20,7 +20,6 @@ &:hover background-color: $clr-brick-bright - &.closed &:hover, &:active, &:focus border: 1px solid $clr-brick @@ -34,7 +33,3 @@ .active_table_row:first-child &, & * color: $clr-brick - - - - diff --git a/app/assets/stylesheets/darkswarm/ui.css.sass b/app/assets/stylesheets/darkswarm/ui.css.sass index ddb4ab5324..29a0ee02b5 100644 --- a/app/assets/stylesheets/darkswarm/ui.css.sass +++ b/app/assets/stylesheets/darkswarm/ui.css.sass @@ -37,3 +37,4 @@ .neutral-btn.turquoise:hover, .neutral-btn.turquoise:active, .neutral-btn.turquoise:focus background-color: rgba(0, 0, 0, 0.1) text-shadow: 0 1px 0 #fff +