Sha256: f04d4ac5cd7608f97a93bffba243b97d929c834176e883f2d6ad40061993f85f

Contents?: true

Size: 887 Bytes

Versions: 6

Compression:

Stored size: 887 Bytes

Contents

/**
 * @copyright   2010-2014, The Titon Project
 * @license     http://opensource.org/licenses/BSD-3-Clause
 * @link        http://titon.io
 */

@import "../common";

.#{$vendor-prefix}divider {
    position: relative;
    text-align: center;
    margin: $margin 0;
    user-select: none;
    overflow: hidden;
    clear: both;
    min-height: 2px;

    &:after,
    &:before {
        position: absolute;
        content: " ";
        width: 50%;
        top: 50%;
        margin-top: -1px;
        border-top: 1px solid black(.1);
        border-bottom: 1px solid white(.75);
    }

    &:before {
        left: 0;
        margin-left: -1.5rem;
    }

    &:after {
        right: 0;
        margin-right: -1.5rem;
    }

    // Collapse the middle when there is no content
    &:empty {
        &:before,
        &:after {
            margin: -1px 0 0 0 !important;
        }
    }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
titon-toolkit-1.5.3 scss/toolkit/components/divider.scss
titon-toolkit-1.5.2 scss/toolkit/components/divider.scss
titon-toolkit-1.5.1 scss/toolkit/components/divider.scss
titon-toolkit-1.5.0 scss/toolkit/components/divider.scss
titon-toolkit-1.4.1 scss/toolkit/components/divider.scss
titon-toolkit-1.4.0 scss/toolkit/components/divider.scss