From 7e96181f071e117f5375ec1fc78f676945edf9cb Mon Sep 17 00:00:00 2001 From: summerscope Date: Fri, 9 May 2014 14:54:47 +1000 Subject: [PATCH] Add style classification to distinguish between pane and full page for #id --- app/assets/stylesheets/darkswarm/home_panes.css.sass | 10 +++++----- app/views/home/_beta.html.haml | 2 +- app/views/home/_groups.html.haml | 2 +- app/views/home/_map.html.haml | 2 +- app/views/home/_producers.html.haml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/assets/stylesheets/darkswarm/home_panes.css.sass b/app/assets/stylesheets/darkswarm/home_panes.css.sass index d2c83845d5..153649bc8b 100644 --- a/app/assets/stylesheets/darkswarm/home_panes.css.sass +++ b/app/assets/stylesheets/darkswarm/home_panes.css.sass @@ -2,12 +2,12 @@ @import mixins -#beta +#beta.pane @include lightbg .row @include panepadding -#map +#map.pane @include darkbg .row @include panepadding @@ -15,7 +15,7 @@ background-repeat: no-repeat background-position: left center -#groups +#groups.pane @include darkbg .row @include panepadding @@ -23,7 +23,7 @@ background-repeat: no-repeat background-position: left center -#producers +#producers.pane @include turqbg .row @include panepadding @@ -33,6 +33,6 @@ // Responsive @media all and (max-width: 768px) - #map, #groups, #producers + #map.pane, #groups.pane, #producers.pane .row background-position: center center \ No newline at end of file diff --git a/app/views/home/_beta.html.haml b/app/views/home/_beta.html.haml index ba6993cb68..af72211862 100644 --- a/app/views/home/_beta.html.haml +++ b/app/views/home/_beta.html.haml @@ -1,4 +1,4 @@ -#beta +#beta.pane .row .small-12.columns.text-center diff --git a/app/views/home/_groups.html.haml b/app/views/home/_groups.html.haml index 5f651e3728..0e16977f20 100644 --- a/app/views/home/_groups.html.haml +++ b/app/views/home/_groups.html.haml @@ -1,4 +1,4 @@ -#groups +#groups.pane .row .small-12.columns.text-center diff --git a/app/views/home/_map.html.haml b/app/views/home/_map.html.haml index b9898806aa..29224493e2 100644 --- a/app/views/home/_map.html.haml +++ b/app/views/home/_map.html.haml @@ -1,4 +1,4 @@ -#map +#map.pane .row .small-12.columns.text-center diff --git a/app/views/home/_producers.html.haml b/app/views/home/_producers.html.haml index 7dca6143e2..c24f170e72 100644 --- a/app/views/home/_producers.html.haml +++ b/app/views/home/_producers.html.haml @@ -1,4 +1,4 @@ -#producers +#producers.pane .row .small-12.columns.text-center