Sha256: dad7ec08668194b05d0237f010d194f98d44eda30a8b31312676bc7723dbe61f

Contents?: true

Size: 1.27 KB

Versions: 83

Compression:

Stored size: 1.27 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 {
  @include box-sizing(border-box);
  position: relative;
  display: inline-block;
  min-height: $share-button-height;
  padding-left: ($share-button-width + $gutter-one-third);
  margin-bottom: $gutter-one-third;
  font-size: $share-button-height / 2;
  line-height: $share-button-height;
}

.gem-c-share-links__link {
  @extend %govuk-link;
  @include bold-16;
  margin-right: $gutter;
  text-decoration: none;
}

.gem-c-share-links__title {
  @include govuk-text-colour;
  @include govuk-font($size: 16, $line-height: 1.5);
  margin: 0 0 $gutter-one-third 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: $gutter;
  }

  .gem-c-share-links__list-item {
    padding-left: 0;
    padding-right: ($share-button-width + $gutter-one-third);
  }

  .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

83 entries across 83 versions & 1 rubygems

Version Path
govuk_publishing_components-12.17.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.16.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.15.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.14.1 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.14.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.13.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.12.1 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.12.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.11.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.10.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.9.1 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.9.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.8.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.7.1 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.7.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.6.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.5.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.4.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.3.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
govuk_publishing_components-12.2.0 app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss