Sha256: c2ef5f57c8cb95ac68942a14f9817264bbc924f80b03362ee8b00020c4ec8e90

Contents?: true

Size: 1.06 KB

Versions: 32

Compression:

Stored size: 1.06 KB

Contents

@import "govuk_publishing_components/individual_component_support";
@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
ul.govuk-tabs__list { // stylelint-disable-line selector-no-qualifying-type
  margin: 0;
  padding: 0;
  list-style: none;
  @include govuk-responsive-margin(6, "bottom");
}

li.govuk-tabs__list-item { // stylelint-disable-line selector-no-qualifying-type
  margin-left: govuk-spacing(5);
}

.js-enabled { // stylelint-disable-line no-duplicate-selectors
  @include govuk-media-query($from: tablet) {
    ul.govuk-tabs__list { // stylelint-disable-line selector-no-qualifying-type
      margin-bottom: 0;
    }
  }
}

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
govuk_publishing_components-35.16.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.15.5 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.15.4 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.15.3 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.15.2 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.15.1 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.15.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.14.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.13.2 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.13.1 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.13.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.12.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.11.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.10.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.9.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.8.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.7.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.6.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.5.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-35.4.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss