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/objects/_grid.scss"],"names":[],"mappings":"AAAA,eAAe;;AAEf,iBAAiB;;AAEjB;EACE;IACE,uBAAuB;IACvB,mCAAmC;IACnC,kCAAkC;EACpC;;EAEA;IACE;MACE,kCAAkC;IACpC;EACF;;EAEA,kEAAkE;EAClE,6EAA6E;EAC7E,2BAA2B;EAC3B;IACE;MACE,gDAAgD;IAClD;EACF;AACF","file":"_grid.scss","sourcesContent":["@use \"sass:map\";\n\n@import \"../base\";\n\n@include govuk-exports(\"govuk/objects/grid\") {\n .govuk-grid-row {\n @include govuk-clearfix;\n margin-right: -($govuk-gutter-half);\n margin-left: -($govuk-gutter-half);\n }\n\n @each $width in map.keys($govuk-grid-widths) {\n .govuk-grid-column-#{$width} {\n @include govuk-grid-column($width);\n }\n }\n\n // These *must* be defined in a separate loop as they have the same\n // specificity as the non-breakpoint specific classes, so need to appear after\n // them in the outputted CSS\n @each $width in map.keys($govuk-grid-widths) {\n .govuk-grid-column-#{$width}-from-desktop {\n @include govuk-grid-column($width, $at: desktop);\n }\n }\n}\n"]}