Sha256: bc297ada7924df0ca4b4c8c2e4f70eaf3a84cd0a0f02b945a0b8ad18c55c6c8a

Contents?: true

Size: 1.19 KB

Versions: 6

Compression:

Stored size: 1.19 KB

Contents

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

@import "../common";

.#{$vendor-prefix}input-group {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;

    > * {
        float: left;
        display: inline-block;
        position: relative;
        border-radius: 0;
        margin-right: -1px;
        white-space: nowrap;
        height: auto;
        vertical-align: middle;

        &:last-child { margin-right: 0; }
        &:hover { z-index: 1; }
        &:focus { z-index: 2; }
    }

    @include clear-fix;
}

.#{$vendor-prefix}input-addon {
    vertical-align: middle;
    line-height: normal;
    @include size-medium;

    @include is-small(false, true) { @include size-small; }
    @include is-large(false, true) { @include size-large; }
}

//-------------------- Modifiers --------------------//

.#{$vendor-prefix}input-group.#{$shape-round-class} {
    > *:first-child {
        border-top-left-radius: $round;
        border-bottom-left-radius: $round;
    }

    > *:last-child {
        border-top-right-radius: $round;
        border-bottom-right-radius: $round;
    }
}

Version data entries

6 entries across 6 versions & 1 rubygems

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