Sha256: 2b7dd17a7e51b50e22197b97c3217b772776485a14084fa2f1c988a30cfd20be
Contents?: true
Size: 1.05 KB
Versions: 8
Compression:
Stored size: 1.05 KB
Contents
.gem-c-big-number { margin-bottom: govuk-spacing(3); } .gem-c-big-number__value { @include govuk-font($size: 80, $weight: bold); } .gem-c-big-number__label { @include govuk-font($size: 16, $weight: bold, $line-height: 2); // This pseudo element is to bypass an issue with NVDA where block level elements are dictated separately. // What's happening here is that the label and the number technically have an inline relationship but appear to have a block relationship thanks to this element &:before { content: ""; display: block; } } .gem-c-big-number__link { display: inline-block; text-decoration: none; // Add govuk-link hover decoration to main value if no label present but a href attribute is .gem-c-big-number__value--decorated { @include govuk-link-decoration; @include govuk-link-style-no-underline; } .gem-c-big-number__label { @include govuk-link-decoration; } &:hover, &:active { .gem-c-big-number__label, .gem-c-big-number__value--decorated { @include govuk-link-hover-decoration; } } }
Version data entries
8 entries across 8 versions & 1 rubygems