Sha256: f03912045dc470990f30c4c85a53df299c9c55db918a98a2c9d6d85d9dbbd7c4
Contents?: true
Size: 1.19 KB
Versions: 120
Compression:
Stored size: 1.19 KB
Contents
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items. .gem-c-govspeak { .steps { padding-left: 0; margin-left: 0; > li { list-style-type: none; margin-left: 0; padding: .75em 0 .75em 2.5em; position: relative; // IE doesn't render this correctly with this element as display:block // (it leaves a space for the :before pseudo element) by setting to // display inline block and a width of 100% it works correctly. display: inline-block; width: 100%; box-sizing: border-box; // stylelint-disable max-nesting-depth &::before { background-color: govuk-colour("black"); border-radius: 50%; color: govuk-colour("white"); float: left; font-size: 80%; height: 1.75em; left: .3em; line-height: 1.75em; position: absolute; text-align: center; top: .9em; width: 1.75em; } @for $i from 1 through 30 { &:nth-child(#{$i}):before { content: "#{$i}"; } } // stylelint-enable max-nesting-depth } } }
Version data entries
120 entries across 120 versions & 1 rubygems