Sha256: 57776f7c11dfdf6d88e211d65b977d6f53e6bebca040ca480b5aeddc23f8b385

Contents?: true

Size: 1.21 KB

Versions: 25

Compression:

Stored size: 1.21 KB

Contents

// `govuk_frontend_toolkit`
@import "typography";

.gem-c-document-list {
  @include core-19;
  margin: 0;
  padding: 0;
}

.gem-c-document-list__item {
  overflow: hidden;
  margin-bottom: $gutter-one-third;
  padding-bottom: $gutter-one-third;
  border-bottom: 1px solid $border-colour;
  list-style: none;

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

.gem-c-document-list__item-title {
  @include bold-19;
  display: inline-block;
}

.gem-c-document-list__item-title--context {
  margin-right: $gutter-one-third;

  .direction-rtl & {
    margin-right: 0;
    margin-left: $gutter-one-third;
  }
}

.gem-c-document-list__item-context {
  color: $grey-1;
}

.gem-c-document-list__item-description {
  margin-bottom: 5px;
}

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

.gem-c-document-list__attribute {
  @include core-14;
  display: inline-block;
  list-style: none;
  padding-right: $gutter-two-thirds;

  .direction-rtl & {
    padding-right: 0;
    padding-left: $gutter-two-thirds;
  }
}

.gem-c-document-list--bottom-margin {
  margin-bottom: $gutter-two-thirds;
}

.gem-c-document-list--top-margin {
  margin-top: $gutter-two-thirds;
}

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
govuk_publishing_components-11.2.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-11.1.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-11.0.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-10.2.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-10.1.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-10.0.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.28.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.27.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.26.1 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.26.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.25.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.24.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.23.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.22.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.21.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.20.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.19.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.18.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.17.1 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.17 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss