aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-02-03 18:59:51 +0000
committerDave Whiteland <dave@mysociety.org>2013-02-03 18:59:51 +0000
commit1e934f322d74feaef94e4343bad9fb12397eea12 (patch)
treea3b67e4ce780a50b2aba2ac4c6025ab3a90d627e
parentc1d4fbdd68afdff7622ccc28ee1c92d1475b81e1 (diff)
make Oxfordshire's buttons go orange
-rw-r--r--web/cobrands/oxfordshire/_colours.scss5
-rw-r--r--web/cobrands/oxfordshire/layout.scss18
2 files changed, 23 insertions, 0 deletions
diff --git a/web/cobrands/oxfordshire/_colours.scss b/web/cobrands/oxfordshire/_colours.scss
index 0179bdbe4..eea046781 100644
--- a/web/cobrands/oxfordshire/_colours.scss
+++ b/web/cobrands/oxfordshire/_colours.scss
@@ -13,4 +13,9 @@ $col_click_map_dark: $primary_text;
$col_fixed_label: $oxfordshire_lt_green;
$col_fixed_label_dark: $primary_text;
+// Oxfordshire have toasty orange buttons
+$oxfordshire_button_base: #F35A0E;
+$oxfordshire_button_top: #EC6816;
+$oxfordshire_button_bottom: #FE4602;
+$oxfordshire_button_border: #CCC;
diff --git a/web/cobrands/oxfordshire/layout.scss b/web/cobrands/oxfordshire/layout.scss
index 8fc0b0ab6..a94cc447e 100644
--- a/web/cobrands/oxfordshire/layout.scss
+++ b/web/cobrands/oxfordshire/layout.scss
@@ -154,5 +154,23 @@ body.twothirdswidthpage .content {
}
}
+.green-btn,
+button.green-btn,
+input.green-btn{
+ @include button-reset(
+ $oxfordshire_button_top, $oxfordshire_button_bottom, $oxfordshire_button_border, #fff,
+ $oxfordshire_button_top, $oxfordshire_button_bottom, $oxfordshire_button_border, #fff
+ );
+ text-transform:capitalize;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ font-weight: normal;
+ cursor: pointer;
+}
@import "oxfordshire";