Sha256: f8637dd3740622fda4f9aa461ad8e31ec83740eab98e38063ec084dee5804869

Contents?: true

Size: 1.98 KB

Versions: 8

Compression:

Stored size: 1.98 KB

Contents

.gem-c-document-list {
  @include govuk-text-colour;
  @include govuk-font(19);
  margin: 0;
  padding: 0;
}

.gem-c-document-list__item {
  overflow: hidden;
  margin-bottom: govuk-spacing(2);
  padding-bottom: govuk-spacing(2);
  border-bottom: 1px solid $govuk-border-colour;
  list-style: none;

  &:last-child {
    border-bottom: 0;
  }
}

.gem-c-document-list__item-title {
  @include govuk-link-common;
  @include govuk-link-style-default;
  @include govuk-font($size: 19, $weight: bold);
  display: inline-block;
}

.gem-c-document-list--no-underline {
  .gem-c-document-list__item-title {
    text-decoration: none;
  }
}

.gem-c-document-list__item-title--context {
  margin-right: govuk-spacing(2);

  .direction-rtl & {
    margin-right: 0;
    margin-left: govuk-spacing(2);
  }
}

.gem-c-document-list__item-context {
  color: govuk-colour("grey-1");
}

.gem-c-document-list__item-description {
  @include govuk-text-colour;
  margin: 0 0 5px 0;
}

.gem-c-document-list__subtext {
  margin: govuk-spacing(1) 0 0 0;
}

.gem-c-document-list__item-description,
.gem-c-document-list__subtext {
  @include govuk-font($size: 16, $line-height: 1.5);
}

.gem-c-document-list__item-metadata {
  padding: 0;
}

.gem-c-document-list__attribute {
  @include govuk-text-colour;
  @include govuk-font(14);
  display: inline-block;
  list-style: none;
  padding-right: govuk-spacing(4);

  .direction-rtl & {
    padding-right: 0;
    padding-left: govuk-spacing(4);
  }
}

.gem-c-document-list--bottom-margin {
  margin-bottom: govuk-spacing(4);
}

.gem-c-document-list--top-margin {
  margin-top: govuk-spacing(4);
}

.gem-c-document-list__multi-list {
  width: 100%;
  margin-right: 25px;
}

.gem-c-document-list__item--highlight {
  border: 1px solid govuk-colour("grey-2");
  padding: govuk-spacing(6);
  margin-bottom: govuk-spacing(6);

  .gem-c-document-list__item-title {
    @include govuk-font(24, bold);
  }
}

.gem-c-document-list__highlight-text {
  @include govuk-font(16, bold);
  margin: 0 0 govuk-spacing(3) 0;

}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
govuk_publishing_components-17.21.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-17.20.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-17.19.1 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-17.19.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-17.18.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-17.17.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-17.16.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-17.15.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss