Sha256: c673c5c40668f5551ff3da395d8bdc9363923bf6b66fd18a5f19b9b2af73ed35

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 KB

Contents

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

@import "../common";

.input-group {
    display: inline-block;

    > .input,
    > .input-addon,
    > .button,
    > .button-group {
        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, &:focus { z-index: 1; }
    }

    @include clear-fix;
}

.input-addon {
    border: 1px solid $gray-dark;
    background: $gray;
    vertical-align: middle;
    padding: $medium-padding;
    line-height: normal;
    font-size: inherit;
}

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

.input-group.round {
    > .input:first-child,
    > .input-addon:first-child,
    > .button:first-child,
    > .button-group:first-child .button {
        border-top-left-radius: $round;
        border-bottom-left-radius: $round;
    }

    > .input:last-child,
    > .input-addon:last-child,
    > .button:last-child,
    > .button-group:last-child .button {
        border-top-right-radius: $round;
        border-bottom-right-radius: $round;
    }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
titon-toolkit-0.14.0 scss/toolkit/layout/input-group.scss
titon-toolkit-0.13.2 scss/toolkit/layout/input-group.scss