Sha256: 1cbead024aec1fcf4d8ee35fa786f8e807790226748de8dd6c00f22042ebeafb

Contents?: true

Size: 661 Bytes

Versions: 2

Compression:

Stored size: 661 Bytes

Contents

// Panels
// ==========================================================================

.panel {
  @extend %contain-floats;
  clear: both;
  border-left-style: solid;
  border-color: $border-colour;

  padding: em(15, 19);
  margin-bottom: em(15, 19);

  :first-child {
    margin-top: 0;
  }

  :only-child,
  :last-child {
    margin-bottom: 0;
  }
}

.panel-border-wide {
  border-left-width: 10px;
}

// Used to show the left edge of "toggled" content
.panel-border-narrow {
  border-left-width: 5px;
}

// Panels within form groups
// Remove the bottom padding as .form-group sets a bottom margin
.form-group .panel-border-narrow {
  padding-bottom: 0;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
govuk_elements_rails-1.2.0 vendor/assets/stylesheets/elements/_panels.scss
govuk_elements_rails-1.1.4 vendor/assets/stylesheets/elements/_panels.scss