Sha256: 3b04524693e081a1dd4515023aa5865639e3fcd20ee37d2d7495da5ef47d52da

Contents?: true

Size: 1.13 KB

Versions: 8

Compression:

Stored size: 1.13 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;
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
govuk_publishing_components-9.12.2 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.12.1 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.12.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.11.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.10.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.9.1 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.9.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
govuk_publishing_components-9.8.0 app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss