Sha256: e954ab089dd30439027a48034e28a7b5756025a012a339534445709e92bc4b54
Contents?: true
Size: 1.3 KB
Versions: 29
Compression:
Stored size: 1.3 KB
Contents
$share-button-width: 32px; $share-button-height: 32px; .gem-c-share-links__list { list-style: none; margin: 0; padding: 0; } .gem-c-share-links__list-item { box-sizing: border-box; position: relative; display: inline-block; min-height: $share-button-height; padding-left: ($share-button-width + govuk-spacing(2)); margin-bottom: govuk-spacing(2); font-size: $share-button-height / 2; line-height: $share-button-height; } .gem-c-share-links__link { @extend %govuk-link; @include govuk-font(16, $weight: bold); margin-right: govuk-spacing(6); text-decoration: none; } .gem-c-share-links__title { @include govuk-text-colour; @include govuk-font($size: 16, $line-height: 1.5); margin: 0 0 govuk-spacing(2) 0; } .gem-c-share-links__link-icon { position: absolute; top: 0; left: 0; width: $share-button-width; height: $share-button-height; vertical-align: top; } .direction-rtl { .gem-c-share-links__link { display: inline-block; margin-right: 0; margin-left: govuk-spacing(6); } .gem-c-share-links__list-item { padding-left: 0; padding-right: ($share-button-width + govuk-spacing(2)); } .gem-c-share-links__link-icon { left: auto; right: 0; } } .gem-c-share-links--stacked { .gem-c-share-links__list-item { display: block; } }
Version data entries
29 entries across 29 versions & 1 rubygems