Sha256: f59c95caa776bf09f5ec63b28300652bf06d7644d1c23af71d3e66053d1c78b2

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

Stored size: 1.6 KB

Contents

{"version":3,"sources":["../../../../src/govuk/components/phase-banner/_index.scss"],"names":[],"mappings":"AAAA,sBAAsB;;AAEtB;EACE;IACE,6BAA6B;IAC7B,gCAAgC;;IAEhC,6CAA6C;EAC/C;;EAEA;IACE,8BAA8B;IAC9B,0BAA0B;;IAE1B,cAAc;IACd,SAAS;EACX;;EAEA;IACE,mCAAmC;IACnC,kEAAkE;;IAElE;MACE;QACE,8BAA8B;MAChC;IACF;;IAEA,0EAA0E;IAC1E,iFAAiF;IACjF,oFAAoF;IACpF,kBAAkB;IAClB;MACE,iBAAiB;IACnB;EACF;;EAEA;IACE,mBAAmB;IACnB,sBAAsB;EACxB;AACF","file":"_index.scss","sourcesContent":["@import \"../tag/index\";\n\n@include govuk-exports(\"govuk/component/phase-banner\") {\n  .govuk-phase-banner {\n    padding-top: govuk-spacing(2);\n    padding-bottom: govuk-spacing(2);\n\n    border-bottom: 1px solid $govuk-border-colour;\n  }\n\n  .govuk-phase-banner__content {\n    @include govuk-font($size: 16);\n    @include govuk-text-colour;\n\n    display: table;\n    margin: 0;\n  }\n\n  .govuk-phase-banner__content__tag {\n    @include govuk-font-size($size: 16);\n    margin-right: govuk-spacing(if($govuk-new-typography-scale, 3, 2));\n\n    @if $govuk-new-typography-scale {\n      @include govuk-media-query($from: tablet) {\n        margin-right: govuk-spacing(2);\n      }\n    }\n\n    // When forced colour mode is active, for example to provide high contrast,\n    // the background colour of the tag is the same as the rest of the page. To ensure\n    // that the tag is perceived as separate to the rest of the text in the phase banner,\n    // it is made bold.\n    @media screen and (forced-colors: active) {\n      font-weight: bold;\n    }\n  }\n\n  .govuk-phase-banner__text {\n    display: table-cell;\n    vertical-align: middle;\n  }\n}\n"]}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
defra_ruby_template-5.4.1 node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map
defra_ruby_template-5.4.0 node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map