Sha256: 54511b057ed5dc1a8cbda6479373f2955aca56ea945cfc4f9e2b265d9b97e37a

Contents?: true

Size: 714 Bytes

Versions: 3

Compression:

Stored size: 714 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: theme-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

3 entries across 3 versions & 1 rubygems

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