{"version":3,"sources":["../../../../src/govuk/components/warning-text/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,6CAA6C;IAC7C,kBAAkB;IAClB,2BAA2B;EAC7B;;EAEA;IACE,2EAA2E;IAC3E,uCAAuC;IACvC,qCAAqC;IACrC,sBAAsB;;IAEtB,qBAAqB;;IAErB,kBAAkB;IAClB,OAAO;;IAEP,eAAe;IACf,gBAAgB;IAChB,gBAAgB;;IAEhB;MACE,gBAAgB;IAClB;;IAEA,mFAAmF;IACnF,gEAAgE;IAChE,oCAAoC;IACpC,kBAAkB;;IAElB,oCAAoC;IACpC,8BAA8B;;IAE9B,eAAe;IACf,iBAAiB;;IAEjB,kBAAkB;;IAElB,wEAAwE;IACxE,yBAAyB;IACzB,yBAAiB;QAAjB,qBAAiB;YAAjB,iBAAiB;;IAEjB,iEAAiE;IACjE,uEAAuE;IACvE,yBAAyB;;IAEzB;MACE,wBAAwB;MACxB,iBAAiB;MACjB,uBAAuB;IACzB;EACF;;EAEA;IACE,0BAA0B;IAC1B,cAAc;IACd,kBAAkB;EACpB;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/warning-text\") {\n .govuk-warning-text {\n @include govuk-font($size: 19);\n @include govuk-responsive-margin(6, \"bottom\");\n position: relative;\n padding: govuk-spacing(2) 0;\n }\n\n .govuk-warning-text__icon {\n // We apply this here and not at the parent level because the actual text is\n // a and so will always be bold\n @include govuk-typography-weight-bold;\n box-sizing: border-box;\n\n display: inline-block;\n\n position: absolute;\n left: 0;\n\n min-width: 35px;\n min-height: 35px;\n margin-top: -7px;\n\n @include govuk-media-query($from: tablet) {\n margin-top: -5px;\n }\n\n // When a user customises their colours the background colour will often be removed.\n // Adding a border to the component keeps it's shape as a circle.\n border: 3px solid $govuk-text-colour;\n border-radius: 50%;\n\n color: $govuk-body-background-colour;\n background: $govuk-text-colour;\n\n font-size: 30px;\n line-height: 29px;\n\n text-align: center;\n\n // Prevent the exclamation mark from being included when the warning text\n // is copied, for example.\n user-select: none;\n\n // Improve rendering in Windows High Contrast Mode (Edge), where a\n // readability backplate behind the exclamation mark obscures the circle\n forced-color-adjust: none;\n\n @media screen and (forced-colors: active) {\n border-color: windowText;\n color: windowText;\n background: transparent;\n }\n }\n\n .govuk-warning-text__text {\n @include govuk-text-colour;\n display: block;\n padding-left: 45px;\n }\n}\n"]}