Sha256: 5ccd80a040fb7b7889c2ccd4d31e55dba4089b301f0adee26e838678af83894e

Contents?: true

Size: 900 Bytes

Versions: 143

Compression:

Stored size: 900 Bytes

Contents

@import "../../settings/all";
@import "../../tools/all";
@import "../../helpers/all";

@include govuk-exports("govuk/component/panel") {

  .govuk-panel {
    @include govuk-font($size: 19);

    box-sizing: border-box;

    margin-bottom: govuk-spacing(3);
    padding: govuk-spacing(7) - $govuk-border-width;

    border: $govuk-border-width solid transparent;

    text-align: center;

    @include govuk-media-query($until: tablet) {
      padding: govuk-spacing(6) - $govuk-border-width;
    }
  }

  .govuk-panel--confirmation {
    color: govuk-colour("white");
    background: govuk-colour("green", $legacy: "turquoise");
  }

  .govuk-panel__title {
    margin-top: 0;
    margin-bottom: govuk-spacing(6);

    @include govuk-font($size: 48, $weight: bold);
  }

  .govuk-panel__title:last-child {
    margin-bottom: 0;
  }

  .govuk-panel__body {
    @include govuk-font($size: 36);
  }

}

Version data entries

143 entries across 143 versions & 3 rubygems

Version Path
govuk_tech_docs-2.2.2 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_tech_docs-2.2.1 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_tech_docs-2.2.0 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_tech_docs-2.1.1 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_tech_docs-2.1.0 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_tech_docs-2.0.13 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
dxw_govuk_frontend_rails-3.6.0 vendor/assets/stylesheets/components/panel/_panel.scss
dxw_govuk_frontend_rails-3.5.0 vendor/assets/stylesheets/components/panel/_panel.scss
govuk_publishing_components-21.54.0 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_publishing_components-21.53.0 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_publishing_components-21.52.1 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_publishing_components-21.52.0 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_publishing_components-21.51.0 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_publishing_components-21.50.1 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_publishing_components-21.50.0 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_publishing_components-21.49.0 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_publishing_components-21.48.0 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_publishing_components-21.47.0 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_publishing_components-21.46.0 node_modules/govuk-frontend/govuk/components/panel/_panel.scss
govuk_publishing_components-21.45.0 node_modules/govuk-frontend/govuk/components/panel/_panel.scss