Sha256: ce312c233e2d3ac36a7b5f87df89766b06b4e4e3c8e27c102be642022026251c

Contents?: true

Size: 701 Bytes

Versions: 22

Compression:

Stored size: 701 Bytes

Contents

@mixin SolidBtn($name : slate) {
  background: setcolor($name);

  &:hover {
    background: darken(setcolor($name),3%);
  }
}

@mixin OutlineBtn($name : slate) {
  border: 1px solid setcolor($name);
  fill: setcolor($name);
  background: transparent;

  &:hover {
    background: rgba(setcolor($name),12%);
  }

  button {
    color: setcolor($name);
  }

  &.active {
    background: setcolor($name);
    transition: 300ms background;
    fill: white;

    button {
      color: white;
    }
  }
}

@mixin InactiveBtn($name : gun) {
  border: 1px solid lighten(setcolor($name),35%);
  background: lighten(setcolor($name),55%);
  fill: setcolor($name);

  button {
    color: setcolor($name);
  }
}

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
futuro-1.1.8 _sass/helpers/mixins/items.scss
futuro-1.1.7 _sass/helpers/mixins/items.scss
futuro-1.1.6 _sass/helpers/mixins/items.scss
futuro-1.1.5 _sass/helpers/mixins/items.scss
futuro-1.1.4 _sass/helpers/mixins/items.scss
futuro-1.1.3 _sass/helpers/mixins/items.scss
futuro-1.1.2 _sass/helpers/mixins/items.scss
futuro-1.1.1 _sass/helpers/mixins/items.scss
futuro-1.1.0 _sass/helpers/mixins/items.scss
futuro-1.0.9 _sass/helpers/mixins/items.scss
futuro-1.0.8 _sass/helpers/mixins/items.scss
futuro-1.0.7 _sass/helpers/mixins/items.scss
futuro-1.0.6 _sass/helpers/mixins/items.scss
futuro-1.0.5 _sass/helpers/mixins/items.scss
futuro-1.0.4 _sass/helpers/mixins/items.scss
futuro-1.0.3 _sass/helpers/mixins/items.scss
futuro-1.0.2 _sass/helpers/mixins/items.scss
futuro-1.0.1 _sass/helpers/mixins/items.scss
futuro-1.0.0 _sass/helpers/mixins/items.scss
futuro-0.9.9 _sass/helpers/mixins/items.scss