Sha256: 58ce46fa06c01c9061be45ffada3c1f006ccf3164c4e657f6ed5e3772dffa858

Contents?: true

Size: 763 Bytes

Versions: 10

Compression:

Stored size: 763 Bytes

Contents

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

@mixin is-active-parent {
    .#{$state-is-prefix}active & { @content; }
}

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

@mixin is-info {
    &.#{$state-is-prefix}info { @content; }
}

@mixin is-error {
    &.#{$state-is-prefix}error { @content; }
}

@mixin is-warning {
    &.#{$state-is-prefix}warning { @content; }
}

@mixin is-success {
    &.#{$state-is-prefix}success { @content; }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
titon-toolkit-1.2.2 scss/toolkit/mixins/_state.scss
titon-toolkit-1.2.1 scss/toolkit/mixins/_state.scss
titon-toolkit-1.2.0 scss/toolkit/mixins/_state.scss
titon-toolkit-1.1.0 scss/toolkit/mixins/_state.scss
titon-toolkit-1.1.0.rc.2 scss/toolkit/mixins/_state.scss
titon-toolkit-1.1.0.rc.1 scss/toolkit/mixins/_state.scss
titon-toolkit-1.0.5 scss/toolkit/mixins/_state.scss
titon-toolkit-1.0.4 scss/toolkit/mixins/_state.scss
titon-toolkit-1.0.2 scss/toolkit/mixins/_state.scss
titon-toolkit-1.0.1 scss/toolkit/mixins/_state.scss