Sha256: 6fb5b1004b4617b58dd30afe0f32c3c28baedd0e2f1abe2b47570df1d3d02382

Contents?: true

Size: 730 Bytes

Versions: 1

Compression:

Stored size: 730 Bytes

Contents

[class*='btn-flat'],
[class*='btn-outline'] {
  background-color: transparent;
  box-shadow: none;

  &.active,
  &:active {
    box-shadow: none;
  }

  &.disabled,
  &:disabled {
    background-color: transparent;
  }
}

@each $color, $values in $theme-colors {
  .btn-flat-#{$color},
  .btn-outline-#{$color} {
    @include plain-active-focus-hover {
      color: map-get(theme-color($color), color);
    }

    &.disabled,
    &:disabled {
      color: $btn-color-disabled;
    }
  }
}

.btn-flat-light,
.btn-outline-light {
  @include focus-hover {
    background-image: linear-gradient(to bottom, $btn-overlay-inverse, $btn-overlay-inverse);
  }

  &.active,
  &:active {
    background-color: $btn-bg-active-inverse;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
material-sass-4.0.0.beta3 assets/stylesheets/material/material/_button-flat.scss