Skip to content

Commit

Permalink
Merge pull request #383 from alphagov/add-beta-label
Browse files Browse the repository at this point in the history
Add new Beta Label
  • Loading branch information
evilstreak committed Mar 12, 2014
2 parents 58402b3 + b4ec990 commit bdb02db
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@
@import "static-pages/error-pages";

@import "multi-step";

@import "beta-label";
16 changes: 16 additions & 0 deletions app/assets/stylesheets/beta-label.scss
Original file line number Diff line number Diff line change
@@ -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;
}
}
1 change: 1 addition & 0 deletions app/views/root/beta_label.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<div class="beta-label"><span class="beta">beta</span> This part of GOV.UK is being rebuilt &ndash; <a href="/help/beta">find out what this means</a></div>

0 comments on commit bdb02db

Please sign in to comment.