Sha256: eb7730e181f3764aab3b9bb22483813e46034a951daa839609dd0bf6dad5b151

Contents?: true

Size: 748 Bytes

Versions: 5

Compression:

Stored size: 748 Bytes

Contents

@include color-rule('.uniformLabel.') using ($color) {
    color: $color;
    background-color: rgba($color, 0.2);
}

.uniformLabel{
    --pad-v: 0.1428em;
    --pad-h: 0.357em;
    display:inline-block;
    vertical-align:baseline;
    padding: var(--pad-v) var(--pad-h);
    border-radius: 0.3em;
    line-height: 1.2;
    background: rgba(color('gray-80'), 0.15);
    &.-outline{
        border: 0.1em solid currentColor;
        background: transparent;
    }
    &.-round{
        border-radius: 1em;
        padding-left: calc(var(--pad-h) * 1.5);
        padding-right: calc(var(--pad-h) * 1.5);
    }
    &.-lg{
        --pad-v: 0.215em;
        --pad-h: 0.54em;
    }
    &.-xl{
        --pad-v: 0.43em;
        --pad-h: 1.071em;
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
uniform-ui-3.0.0.beta10 lib/assets/stylesheets/uniform/components/label.scss
uniform-ui-3.0.0.beta8 lib/assets/stylesheets/uniform/components/label.scss
uniform-ui-3.0.0.beta5 lib/assets/stylesheets/uniform/components/label.scss
uniform-ui-3.0.0.beta4 lib/assets/stylesheets/uniform/components/label.scss
uniform-ui-3.0.0.beta2 lib/assets/stylesheets/uniform/components/label.scss