mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Switching out colour schemes
This commit is contained in:
@@ -1,35 +1,36 @@
|
||||
@import branding
|
||||
|
||||
.active_table .active_table_node
|
||||
.hubs
|
||||
.active_table .active_table_node
|
||||
|
||||
&.open
|
||||
.active_table_row:first-child
|
||||
border-top: 1px solid $clr-brick
|
||||
border-left: 1px solid $clr-brick
|
||||
border-right: 1px solid $clr-brick
|
||||
&:hover, &:active, &:focus
|
||||
color: $clr-brick
|
||||
|
||||
.active_table_row:nth-child(2)
|
||||
border-left: 1px solid $clr-brick
|
||||
border-right: 1px solid $clr-brick
|
||||
border-bottom: 1px solid $clr-brick
|
||||
|
||||
.active_table_row.link
|
||||
background-color: $clr-brick
|
||||
&:hover
|
||||
background-color: $clr-brick-bright
|
||||
|
||||
&.closed
|
||||
&:hover, &:active, &:focus
|
||||
border: 1px solid $clr-brick
|
||||
color: $clr-brick
|
||||
|
||||
&.current
|
||||
&.closed
|
||||
&, & *
|
||||
color: $clr-brick
|
||||
&.open
|
||||
.active_table_row:first-child
|
||||
&, & *
|
||||
border-top: 1px solid $clr-brick
|
||||
border-left: 1px solid $clr-brick
|
||||
border-right: 1px solid $clr-brick
|
||||
&:hover, &:active, &:focus
|
||||
color: $clr-brick
|
||||
|
||||
.active_table_row:nth-child(2)
|
||||
border-left: 1px solid $clr-brick
|
||||
border-right: 1px solid $clr-brick
|
||||
border-bottom: 1px solid $clr-brick
|
||||
|
||||
.active_table_row.link
|
||||
background-color: $clr-brick
|
||||
&:hover
|
||||
background-color: $clr-brick-bright
|
||||
|
||||
&.closed
|
||||
&:hover, &:active, &:focus
|
||||
border: 1px solid $clr-brick
|
||||
color: $clr-brick
|
||||
|
||||
&.current
|
||||
&.closed
|
||||
&, & *
|
||||
color: $clr-brick
|
||||
&.open
|
||||
.active_table_row:first-child
|
||||
&, & *
|
||||
color: $clr-brick
|
||||
|
||||
@@ -1,36 +1,34 @@
|
||||
@import branding
|
||||
|
||||
.active_table .active_table_node
|
||||
.producers
|
||||
.active_table .active_table_node
|
||||
&.open
|
||||
.active_table_row:first-child
|
||||
border-top: 1px solid $clr-turquoise
|
||||
border-left: 1px solid $clr-turquoise
|
||||
border-right: 1px solid $clr-turquoise
|
||||
&:hover, &:active, &:focus
|
||||
color: $clr-turquoise
|
||||
|
||||
&.open
|
||||
.active_table_row:first-child
|
||||
border-top: 1px solid $clr-turquoise
|
||||
border-left: 1px solid $clr-turquoise
|
||||
border-right: 1px solid $clr-turquoise
|
||||
&:hover, &:active, &:focus
|
||||
color: $clr-turquoise
|
||||
.active_table_row:nth-child(2)
|
||||
border-left: 1px solid $clr-turquoise
|
||||
border-right: 1px solid $clr-turquoise
|
||||
border-bottom: 1px solid $clr-turquoise
|
||||
|
||||
.active_table_row:nth-child(2)
|
||||
border-left: 1px solid $clr-turquoise
|
||||
border-right: 1px solid $clr-turquoise
|
||||
border-bottom: 1px solid $clr-turquoise
|
||||
|
||||
.active_table_row.link
|
||||
background-color: $clr-turquoise
|
||||
&:hover
|
||||
background-color: $clr-turquoise-bright
|
||||
|
||||
&.closed
|
||||
&:hover, &:active, &:focus
|
||||
border: 1px solid $clr-turquoise
|
||||
color: $clr-turquoise
|
||||
|
||||
&.current
|
||||
.active_table_row.link
|
||||
background-color: $clr-turquoise
|
||||
&:hover
|
||||
background-color: $clr-turquoise-bright
|
||||
|
||||
&.closed
|
||||
&, & *
|
||||
color: $clr-turquoise-bright
|
||||
&.open
|
||||
.active_table_row:first-child
|
||||
&, & *
|
||||
color: $clr-turquoise
|
||||
color: $clr-turquoise
|
||||
&.open
|
||||
.active_table_row:first-child
|
||||
&, & *
|
||||
color: $clr-turquoise
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#hubs{"ng-controller" => "HubsCtrl"}
|
||||
#hubs.hubs{"ng-controller" => "HubsCtrl"}
|
||||
:javascript
|
||||
angular.module('Darkswarm').value('hubs', #{render "json/hubs"})
|
||||
|
||||
|
||||
@@ -33,4 +33,4 @@
|
||||
= render partial: 'producers/skinny'
|
||||
= render partial: 'producers/fat'
|
||||
|
||||
= render partial: "shared/footer"
|
||||
= render partial: "shared/footer"
|
||||
|
||||
Reference in New Issue
Block a user