Sha256: 113b4ad1d072bb575c556479bae712d234649302ad84ac4a0224cdae932b8a15

Contents?: true

Size: 1.52 KB

Versions: 65

Compression:

Stored size: 1.52 KB

Contents

{"version":3,"sources":["../../../../src/govuk/components/label/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,0BAA0B;;IAE1B,cAAc;;IAEd,+BAA+B;EACjC;;EAEA,qEAAqE;EACrE;;;IAGE,qCAAqC;IACrC,+BAA+B;EACjC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,mCAAmC;EACrC;;EAEA;IACE,qCAAqC;EACvC;;EAEA,4EAA4E;EAC5E,6EAA6E;EAC7E,wBAAwB;EACxB,CAAC;EACD,2EAA2E;EAC3E,yCAAyC;EACzC;IACE,SAAS;EACX;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/label\") {\n  .govuk-label {\n    @include govuk-font($size: 19);\n    @include govuk-text-colour;\n\n    display: block;\n\n    margin-bottom: govuk-spacing(1);\n  }\n\n  // Modifiers that make labels look more like their equivalent headings\n  .govuk-label--xl,\n  .govuk-label--l,\n  .govuk-label--m {\n    @include govuk-typography-weight-bold;\n    margin-bottom: govuk-spacing(3);\n  }\n\n  .govuk-label--xl {\n    @include govuk-font-size($size: 48);\n  }\n\n  .govuk-label--l {\n    @include govuk-font-size($size: 36);\n  }\n\n  .govuk-label--m {\n    @include govuk-font-size($size: 24);\n  }\n\n  .govuk-label--s {\n    @include govuk-typography-weight-bold;\n  }\n\n  // When the label is nested inside a heading, override the heading so that it\n  // does not have a margin. Effectively we want to be able to treat the heading\n  // as if it is not there.\n  //\n  // This breaks BEM conventions because it exists as a parent of the 'block',\n  // so we can't really consider an element.\n  .govuk-label-wrapper {\n    margin: 0;\n  }\n}\n"]}

Version data entries

65 entries across 65 versions & 2 rubygems

Version Path
govuk_publishing_components-51.2.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-51.1.1 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-51.1.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-51.0.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-50.0.1 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-50.0.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-49.1.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-49.0.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-48.0.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-47.0.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-46.4.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-46.3.1 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-46.3.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-46.2.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-46.1.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-46.0.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-45.10.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-45.9.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-45.8.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map
govuk_publishing_components-45.7.0 node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map