Sha256: ad89f6207ed27f0746bbb32622cbeb12366498f6e33ca0524ce64876c334ab06

Contents?: true

Size: 1.44 KB

Versions: 10

Compression:

Stored size: 1.44 KB

Contents

.button{
  text-decoration: none;

  &:hover,
  &:active,
  &:focus{
    background: lighten($button-background, 10%);
  }

  &--green{
    @extend .button;
    $button-background: $brand-green;
    background: $button-background;
    float: right;

    &:hover,
    &:active,
    &:focus{
      background: lighten($button-background, 10%);
    }
  }

  &--dark-blue{
    @extend .button;
    $button-background: $brand-blue-dark;
    background: $button-background;

    &:hover,
    &:active,
    &:focus{
      background: lighten($button-background, 10%);
    }
  }

  &--de-emphasized{
    @extend .button;
    $button-background: $slate;
    background: $button-background;

    &:hover,
    &:active,
    &:focus{
      background: lighten($button-background, 10%);
    }
  }

  &--left{
    @extend .button;
    float: left;
  }

  &--right{
    @extend .button;
    float: right;
  }

  &--center{
    @extend .button;
    float: none;
  }

  &--expand{
    @extend .button;
    @extend .expanded;
  }

  &--expand-medium-down{
    @extend .button;

    @include breakpoint(medium down){
      display: block;
      margin: 0 auto;
    }
  }

  &--small{
    @extend .button;
    @extend .small;
  }
}

button.disabled,
button[disabled],
.button.disabled,
.button[disabled]{
  background-color: lighten($secondary-color, 10%);
  border-color: none;

  &:hover,
  &:active,
  &:focus{
    background-color: lighten($secondary-color, 10%);
    border-color: none;
  }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ama_layout-4.7.1 app/assets/stylesheets/ama_layout/layout_components/buttons.scss
ama_layout-4.7.0 app/assets/stylesheets/ama_layout/layout_components/buttons.scss
ama_layout-4.6.5 app/assets/stylesheets/ama_layout/layout_components/buttons.scss
ama_layout-4.6.4 app/assets/stylesheets/ama_layout/layout_components/buttons.scss
ama_layout-4.6.3 app/assets/stylesheets/ama_layout/layout_components/buttons.scss
ama_layout-4.6.2 app/assets/stylesheets/ama_layout/layout_components/buttons.scss
ama_layout-4.6.1 app/assets/stylesheets/ama_layout/layout_components/buttons.scss
ama_layout-4.5.1 app/assets/stylesheets/ama_layout/layout_components/buttons.scss
ama_layout-4.5.0 app/assets/stylesheets/ama_layout/layout_components/buttons.scss
ama_layout-4.4.2 app/assets/stylesheets/ama_layout/layout_components/buttons.scss