Sha256: 2aa62e95fa9a7adef0fce4f64d670dd88a1080a4cc22db01b4c3a052a5d4a7a3

Contents?: true

Size: 1.43 KB

Versions: 4

Compression:

Stored size: 1.43 KB

Contents

/**
 * @copyright   2010-2013, The Titon Project
 * @license     http://opensource.org/licenses/bsd-license.php
 * @link        http://titon.io
 */

@import "../common";

.#{$vendor-prefix}progress {
    overflow: hidden;
    position: relative;
    background: $gray;

    @include is-small {
        .#{$vendor-prefix}progress-bar {
            height: 1rem;
            line-height: 1rem;
            font-size: $small-size;
        }
    }

    @include is-medium {
        .#{$vendor-prefix}progress-bar {
            height: 1.5rem;
            line-height: 1.5rem;
            font-size: $medium-size;
        }
    }

    @include is-large {
        .#{$vendor-prefix}progress-bar {
            height: 2rem;
            line-height: 2rem;
            font-size: $large-size;
        }
    }

    .#{$vendor-prefix}progress-bar + .#{$vendor-prefix}progress-bar {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    @include clear-fix;
}

.#{$vendor-prefix}progress-bar {
    height: 1.5rem;
    line-height: 1.5rem;
    overflow: hidden;
    position: relative;
    text-align: center;
    font-size: $medium-size;
    background: $gray-darkest;
    float: left;
    @include transition(width .6s, background $progress-transition);
}

.#{$vendor-prefix}progress.round {
    border-radius: $round;

    .#{$vendor-prefix}progress-bar {
        border-top-left-radius: $round;
        border-bottom-left-radius: $round;
    }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
titon-toolkit-1.0.5 scss/toolkit/components/progress.scss
titon-toolkit-1.0.4 scss/toolkit/components/progress.scss
titon-toolkit-1.0.2 scss/toolkit/components/progress.scss
titon-toolkit-1.0.1 scss/toolkit/components/progress.scss