Sha256: 705079ce6024639be577e80c21b2eb126d41fb5c791f77fdfeee5989f37a72e4

Contents?: true

Size: 495 Bytes

Versions: 2

Compression:

Stored size: 495 Bytes

Contents

@mixin is-active {
    .is-active > &,
    .is-active > li > &,
    &.is-active,
    &.is-active:hover { @content; }
}

@mixin is-disabled {
    .is-disabled > &,
    .is-disabled > li > &,
    &.is-disabled,
    &.is-disabled:hover,
    &[disabled],
    &[disabled]:hover { @content; }
}

@mixin is-info {
    &.is-info { @content; }
}

@mixin is-error {
    &.is-error { @content; }
}

@mixin is-warning {
    &.is-warning { @content; }
}

@mixin is-success {
    &.is-success { @content; }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
titon-toolkit-1.0.0 scss/toolkit/mixins/_state.scss
titon-toolkit-1.0.0.rc.3 scss/toolkit/mixins/_state.scss