Sha256: a4ee7191760a4e717ef301c9addd862a69bc905868fbbac1cf86896b2d596a20

Contents?: true

Size: 1.3 KB

Versions: 534

Compression:

Stored size: 1.3 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,
    tablet: 0
  ),
  1: (
    null: 5px,
    tablet: 5px
  ),
  2: (
    null: 10px,
    tablet: 10px
  ),
  3: (
    null: 15px,
    tablet: 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

534 entries across 531 versions & 5 rubygems

Version Path
govuk_tech_docs-3.0.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-27.4.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-27.3.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-27.3.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-27.2.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-27.1.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_tech_docs-2.4.3 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-27.0.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-26.0.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-25.7.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-25.6.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-25.5.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-25.4.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-25.3.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-25.3.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-25.2.3 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-25.2.2 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-25.2.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-25.2.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-25.1.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss