2016-03-17 11:45:48 +00:00
|
|
|
%big-number,
|
2015-12-17 11:52:24 +00:00
|
|
|
.big-number {
|
|
|
|
|
|
2016-05-11 15:05:40 +01:00
|
|
|
display: block;
|
|
|
|
|
|
|
|
|
|
&-number {
|
2016-06-22 09:56:17 +01:00
|
|
|
@include bold-48($tabular-numbers: true);
|
2016-05-11 15:05:40 +01:00
|
|
|
display: block;
|
|
|
|
|
}
|
2015-12-17 11:52:24 +00:00
|
|
|
|
|
|
|
|
&-label {
|
|
|
|
|
@include core-19;
|
2016-05-11 15:05:40 +01:00
|
|
|
display: inline-block;
|
|
|
|
|
padding-bottom: 10px;
|
2016-03-17 11:45:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2018-06-25 13:34:54 +01:00
|
|
|
.big-number-dark {
|
|
|
|
|
@extend %big-number;
|
|
|
|
|
padding: $gutter-half;
|
|
|
|
|
position: relative;
|
|
|
|
|
background: $black;
|
|
|
|
|
color: $white;
|
|
|
|
|
|
|
|
|
|
.big-number-number {
|
|
|
|
|
@include bold-36($tabular-numbers: true);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-05-05 10:34:15 +01:00
|
|
|
.big-number-smaller {
|
2016-05-11 15:05:40 +01:00
|
|
|
|
2016-04-20 15:37:17 +01:00
|
|
|
@extend %big-number;
|
2016-05-11 15:05:40 +01:00
|
|
|
|
|
|
|
|
.big-number-number {
|
2016-06-22 09:56:17 +01:00
|
|
|
@include bold-36($tabular-numbers: true);
|
2016-05-11 15:05:40 +01:00
|
|
|
}
|
|
|
|
|
|
2016-04-20 15:37:17 +01:00
|
|
|
}
|
|
|
|
|
|
2016-06-09 16:39:25 +01:00
|
|
|
.big-number-smallest {
|
|
|
|
|
|
|
|
|
|
@extend %big-number;
|
|
|
|
|
|
|
|
|
|
.big-number-number {
|
2016-06-22 09:56:17 +01:00
|
|
|
@include bold-24($tabular-numbers: true);
|
2016-06-09 16:39:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2016-03-17 11:45:48 +00:00
|
|
|
.big-number-with-status {
|
|
|
|
|
|
|
|
|
|
@extend %big-number;
|
2016-04-29 15:47:31 +01:00
|
|
|
position: relative;
|
2016-08-09 10:39:57 +01:00
|
|
|
margin-bottom: $gutter-two-thirds;
|
2016-05-03 13:25:22 +01:00
|
|
|
|
2017-10-02 12:34:10 +01:00
|
|
|
.big-number,
|
|
|
|
|
.big-number-smaller {
|
2016-06-08 15:41:02 +01:00
|
|
|
padding: $gutter-half;
|
2016-04-29 15:47:31 +01:00
|
|
|
position: relative;
|
2016-06-22 13:28:32 +01:00
|
|
|
background: $black;
|
|
|
|
|
color: $white;
|
2016-04-29 15:47:31 +01:00
|
|
|
}
|
|
|
|
|
|
2016-06-08 15:41:02 +01:00
|
|
|
.big-number-label {
|
2016-04-29 15:47:31 +01:00
|
|
|
|
2016-06-08 15:41:02 +01:00
|
|
|
padding-bottom: 0;
|
2016-04-29 15:47:31 +01:00
|
|
|
|
2016-06-08 15:41:02 +01:00
|
|
|
&:link,
|
|
|
|
|
&:visited {
|
|
|
|
|
color: $link-colour;
|
2016-04-29 15:47:31 +01:00
|
|
|
}
|
|
|
|
|
|
2016-03-17 11:45:48 +00:00
|
|
|
}
|
|
|
|
|
|
2016-06-08 15:41:02 +01:00
|
|
|
.big-number-link {
|
2016-04-29 15:47:31 +01:00
|
|
|
|
2016-06-08 15:41:02 +01:00
|
|
|
text-decoration: none;
|
|
|
|
|
background: $link-colour;
|
|
|
|
|
color: $white;
|
|
|
|
|
display: block;
|
|
|
|
|
border: 2px solid $link-colour;
|
|
|
|
|
margin-bottom: 5px;
|
2016-04-29 15:47:31 +01:00
|
|
|
|
2016-06-08 15:41:02 +01:00
|
|
|
&:hover {
|
2016-06-22 13:28:32 +01:00
|
|
|
|
2016-06-08 15:41:02 +01:00
|
|
|
color: $light-blue-25;
|
2016-06-22 13:28:32 +01:00
|
|
|
|
|
|
|
|
.big-number {
|
|
|
|
|
color: $light-blue-25;
|
|
|
|
|
}
|
|
|
|
|
|
2016-06-08 15:41:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
|
&:focus {
|
|
|
|
|
outline: 3px solid $yellow;
|
|
|
|
|
}
|
|
|
|
|
|
2017-11-09 17:17:50 +00:00
|
|
|
.big-number,
|
|
|
|
|
.big-number-smaller {
|
2016-06-22 13:28:32 +01:00
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
2016-06-08 15:41:02 +01:00
|
|
|
.big-number-label {
|
|
|
|
|
text-decoration: underline;
|
2016-04-29 15:47:31 +01:00
|
|
|
}
|
|
|
|
|
|
2016-03-17 11:45:48 +00:00
|
|
|
}
|
|
|
|
|
|
2016-03-23 09:21:35 +00:00
|
|
|
%big-number-status,
|
2016-03-17 11:45:48 +00:00
|
|
|
.big-number-status {
|
|
|
|
|
|
2016-03-23 09:21:35 +00:00
|
|
|
@include core-19;
|
2016-03-17 11:45:48 +00:00
|
|
|
display: block;
|
|
|
|
|
background: $green;
|
2016-06-08 15:41:02 +01:00
|
|
|
color: $white;
|
2016-03-23 09:21:35 +00:00
|
|
|
padding: 15px;
|
2016-03-17 11:45:48 +00:00
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
|
|
|
|
|
&:link,
|
|
|
|
|
&:visited,
|
|
|
|
|
&:active,
|
|
|
|
|
&:hover {
|
|
|
|
|
color: $white;
|
2016-06-08 15:41:02 +01:00
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
|
&:focus {
|
|
|
|
|
color: $black;
|
|
|
|
|
border-bottom: 1px solid $black;
|
2016-03-17 11:45:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2016-03-23 09:21:35 +00:00
|
|
|
}
|
2016-03-17 11:45:48 +00:00
|
|
|
|
2016-03-23 09:21:35 +00:00
|
|
|
.big-number-status-failing {
|
|
|
|
|
@extend %big-number-status;
|
|
|
|
|
background: $error-colour;
|
2015-12-17 11:52:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
2017-05-22 17:02:03 +01:00
|
|
|
|
|
|
|
|
.big-number-meta-wrapper {
|
|
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
margin: $gutter-half 0 $gutter 0;
|
|
|
|
|
background: $govuk-blue;
|
|
|
|
|
|
|
|
|
|
.big-number-meta {
|
|
|
|
|
|
|
|
|
|
padding: ($gutter / 3) $gutter-half;
|
|
|
|
|
color: $white;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
|
|
@include media(desktop) {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 7px;
|
|
|
|
|
right: 5px;
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|