Sha256: 30189cc3f470c5365bbfe5472255700d8c48aa968009d8accb27d46fe856a124

Contents?: true

Size: 969 Bytes

Versions: 125

Compression:

Stored size: 969 Bytes

Contents

@import "govuk/components/tabs/tabs";

.js-enabled {
  .gem-c-tabs__panel--no-border {
    padding-right: 0;
    padding-left: 0;
    border: 0;
  }
}

// We have some styles within GOVUK (.content-block) which can leak into the list styles for this component.
// These styles are defined in Static: https://github.com/alphagov/static/blob/a815620cada7ea1c65428c1c3b3ac4dbe28977bf/app/assets/stylesheets/helpers/_text.scss
// This sets more specific selectors so those unwanted styles are overidden
// scss-lint:disable QualifyingElement
// sass-lint:disable no-qualifying-elements
ul.govuk-tabs__list {
  margin: 0;
  padding: 0;
  list-style: none;
  @include govuk-responsive-margin(6, "bottom");
}

li.govuk-tabs__list-item {
  margin-left: govuk-spacing(5);
}

.js-enabled {
  @include govuk-media-query($from: tablet) {
    ul.govuk-tabs__list {
      margin-bottom: 0;
    }
  }
}
// scss-lint:enable QualifyingElement
// sass-lint:enable no-qualifying-elements

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
govuk_publishing_components-21.59.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.58.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.57.1 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.57.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.56.2 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.56.1 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.56.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.55.4 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.55.3 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.55.2 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.55.1 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.55.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.54.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.53.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.52.1 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.52.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.51.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.50.1 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.50.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-21.49.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss