Merge with new master.

This commit is contained in:
Nicholas Staples
2016-03-18 10:16:14 +00:00
33 changed files with 606 additions and 66 deletions

View File

@@ -2,6 +2,10 @@
@include grid-column(3/4);
}
.column-one-sixth {
@include grid-column(1/6);
}
.column-one-eighth {
@include grid-column(1/8);
}
@@ -16,7 +20,7 @@
}
.bottom-gutter-2-3 {
margin-bottom: $gutter * 2/3;
margin-bottom: $gutter-two-thirds;
}
.align-with-heading {
@@ -26,3 +30,19 @@
padding-left: 2px;
padding-right: 2px;
}
.global-cookie-message {
p {
@extend %site-width-container;
}
}
.footer-nav {
@include copy-16;
margin-bottom: $gutter-two-thirds;
a {
display: inline-block;
margin-right: $gutter-half;
}
}

View File

@@ -80,3 +80,11 @@ a {
}
}
td {
vertical-align: top;
}
.heading-xlarge {
margin-bottom: 20px;
}

View File

@@ -26,9 +26,8 @@
}
.banner-with-tick,
.banner-default-with-tick {
@extend %banner;
%banner-with-tick,
.banner-with-tick {
padding: $gutter-half ($gutter + $gutter-half);
background-image: file-url('tick-white.png');
background-size: 19px;
@@ -37,6 +36,11 @@
font-weight: bold;
}
.banner-default-with-tick {
@extend %banner;
@extend %banner-with-tick;
}
.banner-dangerous {
@extend %banner;
@@ -54,13 +58,15 @@
}
%banner-tip,
.banner-tip {
@extend %banner;
background: $yellow;
@include bold-19;
background-color: $yellow;
color: $text-colour;
text-align: left;
font-weight: bold;
margin-top: 0;
a {
&:link,
@@ -76,6 +82,12 @@
}
.banner-tip-with-tick {
@extend %banner-with-tick;
@extend %banner-tip;
background-image: file-url('tick-black.png');
}
.banner-info,
.banner-important {
@extend %banner;
@@ -91,3 +103,40 @@
.banner-info {
background-image: file-url('icon-information-2x.png');
}
.banner-mode {
@extend %banner;
background: $govuk-blue;
color: $white;
margin-top: $gutter;
.heading-medium {
margin: 0 0 10px 0;
}
a {
&:link,
&:visited {
color: $white;
}
&:hover,
&:active {
color: $light-blue-25;
}
}
.big-number {
margin-top: 10px;
&-label {
padding-bottom: 0;
}
}
}

View File

@@ -1,3 +1,4 @@
%big-number,
.big-number {
@include bold-48($tabular-numbers: true);
@@ -5,6 +6,62 @@
&-label {
@include core-19;
display: block;
padding-bottom: $gutter-half;
}
}
.big-number-with-status {
@extend %big-number;
background: $text-colour;
color: $white;
.big-number {
padding: 15px;
}
.big-number-label {
padding-bottom: 0;
}
.big-number-status {
display: block;
background: $green;
position: relative;
&-error-percentage {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: $error-colour;
z-index: 1;
}
a {
&:link,
&:visited,
&:active,
&:hover {
color: $white;
}
}
.big-number {
@include bold-19;
position: relative;
z-index: 2;
}
.big-number-label {
display: inline;
}
}
}