From b4ec990035fb557fe8bdc7ba90b43c01a9ea1d2b Mon Sep 17 00:00:00 2001 From: Tommy Palmer Date: Wed, 12 Mar 2014 17:37:52 +0000 Subject: [PATCH] Add new Beta Label Following on from https://github.com/alphagov/slimmer/pull/64, it was decided to add the Beta Label and slowly phase out Beta Notice. --- app/assets/stylesheets/application.scss | 2 ++ app/assets/stylesheets/beta-label.scss | 16 ++++++++++++++++ app/views/root/beta_label.html.erb | 1 + 3 files changed, 19 insertions(+) create mode 100644 app/assets/stylesheets/beta-label.scss create mode 100644 app/views/root/beta_label.html.erb diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 9e2b98514..b5007282b 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -26,3 +26,5 @@ @import "static-pages/error-pages"; @import "multi-step"; + +@import "beta-label"; diff --git a/app/assets/stylesheets/beta-label.scss b/app/assets/stylesheets/beta-label.scss new file mode 100644 index 000000000..85522e627 --- /dev/null +++ b/app/assets/stylesheets/beta-label.scss @@ -0,0 +1,16 @@ +.beta-label { + clear: both; + margin:0; + @include copy-16; + + span.beta { + display: inline-block; + background: #f47738; + color: #fff; + @include bold-16; + line-height:1; + text-transform: uppercase; + padding: 5px 5px 2px 6px; + margin-right:10px; + } +} diff --git a/app/views/root/beta_label.html.erb b/app/views/root/beta_label.html.erb new file mode 100644 index 000000000..742e47646 --- /dev/null +++ b/app/views/root/beta_label.html.erb @@ -0,0 +1 @@ +
beta This part of GOV.UK is being rebuilt – find out what this means