Sha256: 0148cedc6d1c2264a87b9741ebdde2ab81a36543cea299c1922d4d5540985e5f

Contents?: true

Size: 980 Bytes

Versions: 3

Compression:

Stored size: 980 Bytes

Contents

// Buttons
// ==========================================================================

.button {
  @include button ($button-colour);
  @include box-sizing (border-box);
  vertical-align: top;

  @include media (mobile) {
    width: 100%;
  }
}

// Fix unwanted button padding in Firefox
.button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.button:focus {
  outline: 3px solid $focus-colour;
}

// Disabled buttons
.button[disabled="disabled"] {
  background: $button-colour;
}

.button[disabled="disabled"]:focus {
  outline: none;
}

// Start now buttons
.button-start,
.button-get-started {
  @include bold-24;
  background-image: file-url("icon-pointer.png");
  background-repeat: no-repeat;
  background-position: 100% 50%;
  padding: em(7) em(41) em(4) em(16);

  @include device-pixel-ratio {
    background-image: file-url("icon-pointer-2x.png");
    background-size: 30px 19px;
  }

  @include ie(6) {
    background-image: file-url("icon-pointer-2x.png");
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
govuk_elements_rails-1.2.2 vendor/assets/stylesheets/elements/_buttons.scss
govuk_elements_rails-1.2.1 vendor/assets/stylesheets/elements/_buttons.scss
govuk_elements_rails-1.2.0 vendor/assets/stylesheets/elements/_buttons.scss