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
defra_ruby_template-3.15.1 vendor/assets/stylesheets/settings/_spacing.scss
defra_ruby_template-3.15.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
defra_ruby_template-3.15.0 vendor/assets/stylesheets/settings/_spacing.scss
defra_ruby_template-3.15.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
dxw_govuk_frontend_rails-4.0.0 vendor/assets/stylesheets/settings/_spacing.scss
govuk_publishing_components-30.4.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-30.4.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-30.3.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-30.2.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-30.2.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-30.1.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-30.0.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-29.15.3 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-29.15.2 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-29.15.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-29.15.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-29.14.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-29.13.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-29.12.1 node_modules/govuk-frontend/govuk/settings/_spacing.scss
govuk_publishing_components-29.12.0 node_modules/govuk-frontend/govuk/settings/_spacing.scss