Sha256: e92d191be5c74a89c5a9880f02f276169086e1447101ce354ce6d890eafccfa1

Contents?: true

Size: 1.22 KB

Versions: 101

Compression:

Stored size: 1.22 KB

Contents

// This is in place until a proper fix comes through from GOV.UK Frontend.
//
// TODO: Replace with the print styles that will come from GOV.UK Frontend.

@import "govuk_publishing_components/component_support";
@import "../accordion";

// Open all of the accordion sections.
.gem-c-accordion__section-content {
  display: block !important; // stylelint-disable-line declaration-no-important
}

// Change the colour from the blue link colour to black.
.gem-c-accordion__section-button {
  color: govuk-colour("black") !important; // stylelint-disable-line declaration-no-important
}

// Removing spacing
.gem-c-accordion__section-header {
  padding-bottom: govuk-spacing(1);
}

// Change the summary subheading size.
.gem-c-accordion__section-summary {
  @include govuk-typography-common;
  @include govuk-typography-responsive($size: 16, $important: true);
}

// Hide the unusable "Show all sections" button and the "Chevron" icons.
.gem-c-accordion__open-all,
.gem-c-accordion__icon,
.gem-c-accordion__toggle-link {
  display: none !important; // stylelint-disable-line declaration-no-important
}

// Hide all hidden content
.gem-c-accordion .govuk-visually-hidden {
  display: none !important; // stylelint-disable-line declaration-no-important
}

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
govuk_publishing_components-28.5.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-28.4.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-28.3.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-28.2.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-28.1.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-28.0.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.20.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.19.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.18.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.17.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.16.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.15.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.14.2 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.14.1 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.14.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.13.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.12.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.11.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.10.5 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-27.10.4 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss