Sha256: 332a0b574c9bdff62be63c271bcde3583f14ce758309875ff9285251d15de61c

Contents?: true

Size: 1.23 KB

Versions: 110

Compression:

Stored size: 1.23 KB

Contents

////
/// @group settings/spacing
////

/// Single point spacing variables. Access using `govuk-spacing()`
/// (see `helpers/spacing`).
///
/// @type Map
/// @access private

$govuk-spacing-points: (
  0: 0,
  1: 5px,
  2: 10px,
  3: 15px,
  4: 20px,
  5: 25px,
  6: 30px,
  7: 40px,
  8: 50px,
  9: 60px
) !default;

/// Responsive spacing maps
///
/// These definitions are used to generate responsive spacing that adapts
/// according to the breakpoints (see 'helpers/spacing'). These maps should be
/// used wherever possible to standardise responsive spacing.
///
/// You can define different behaviour on tablet and desktop. The 'null'
/// breakpoint is for mobile.
///
/// Access responsive spacing with `govuk-responsive-margin` or
/// `govuk-responsive-padding` mixins (see `helpers/spacing`).
///
/// @type Map
/// @access private

$govuk-spacing-responsive-scale: (
  0: (
    null: 0
  ),
  1: (
    null: 5px
  ),
  2: (
    null: 10px
  ),
  3: (
    null: 15px
  ),
  4: (
    null: 15px,
    tablet: 20px
  ),
  5: (
    null: 15px,
    tablet: 25px
  ),
  6: (
    null: 20px,
    tablet: 30px
  ),
  7: (
    null: 25px,
    tablet: 40px
  ),
  8: (
    null: 30px,
    tablet: 50px
  ),
  9: (
    null: 40px,
    tablet: 60px
  )
) !default;

Version data entries

110 entries across 110 versions & 4 rubygems

Version Path
govuk_tech_docs-3.3.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-35.2.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
katalyst-govuk-formbuilder-1.4.0 vendor/assets/stylesheets/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-35.1.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-35.1.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-35.0.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.14.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.13.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.12.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.11.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.10.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.10.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.9.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.9.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.8.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.8.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.7.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.7.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.6.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-34.5.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss