Sha256: 00a4102d194138e9dc1a566fe4aec0115da76a3f9734028cd769deec82a6a8e8

Contents?: true

Size: 959 Bytes

Versions: 53

Compression:

Stored size: 959 Bytes

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.
.govuk-accordion__section-content {
  display: block !important; // stylelint-disable-line declaration-no-important
}

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

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

// Hide the unusable "Open all" button and the "+" icons.
.govuk-accordion__open-all,
.govuk-accordion__icon {
  display: none !important; // stylelint-disable-line declaration-no-important
}

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
govuk_publishing_components-33.1.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-33.0.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-32.1.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-32.0.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-31.2.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-31.1.2 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-31.1.1 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-31.1.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-31.0.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-30.7.3 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-30.7.2 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-30.7.1 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-30.7.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-30.6.1 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-30.6.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-30.5.2 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-30.5.1 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-30.5.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-30.4.1 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
govuk_publishing_components-30.4.0 app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss