Merge pull request #3642 from alphagov/live-broadcast-tag

Show an indication that a broadcast service is live
This commit is contained in:
Chris Hill-Scott
2020-09-23 15:32:33 +01:00
committed by GitHub
3 changed files with 63 additions and 9 deletions

View File

@@ -20,19 +20,27 @@
&-service-type {
@include bold-16;
position: relative;
display: inline-block;
margin-left: govuk-spacing(2);
padding: 0 govuk-spacing(1);
text-transform: uppercase;
letter-spacing: 0.05em;
&--training {
@include bold-16;
position: relative;
display: inline-block;
margin-left: govuk-spacing(2);
padding: 0 govuk-spacing(1);
background: $grey-3;
color: mix($grey-1, $text-colour);
text-transform: uppercase;
letter-spacing: 0.05em;
box-shadow: 0 -3px 0 0 $grey-3;
}
&--live {
// This uses new Design System colours to match .govuk-tag--red
background: #F6D7D2;
color: #942514;
box-shadow: 0 -3px 0 0 #F6D7D2;
}
}
&-service-switch,