govuk-frontend
Version:
GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.
2 lines (1 loc) • 1.06 kB
Source Map (JSON)
{"version":3,"sources":["../../../../src/govuk/components/inset-text/_index.scss"],"names":[],"mappings":"AAAA,oBAAoB;;AAEpB;EACE;IACE,8BAA8B;;IAE9B,yBAAyB;;IAEzB,iCAAiC;IACjC,qDAAqD;IACrD,0CAA0C;IAC1C,6CAA6C;;IAE7C,WAAW;;IAEX,2CAA2C;IAC3C,kDAAkD;IAClD,oCAAoC;;IAEpC;MACE,aAAa;IACf;;IAEA;;MAEE,gBAAgB;IAClB;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../../base\";\n\n@include govuk-exports(\"govuk/component/inset-text\") {\n .govuk-inset-text {\n @include govuk-font($size: 19);\n\n padding: govuk-spacing(3);\n\n // Margin top intended to collapse\n // This adds an additional 10px to the paragraph above\n @include govuk-responsive-margin(6, \"top\");\n @include govuk-responsive-margin(6, \"bottom\");\n\n clear: both;\n\n border-left: $govuk-border-width-wide solid;\n border-left-color: govuk-functional-colour(border);\n color: govuk-functional-colour(text);\n\n > :first-child {\n margin-top: 0;\n }\n\n > :only-child,\n > :last-child {\n margin-bottom: 0;\n }\n }\n}\n"]}