Sha256: 08a9c595ab94adda4a653906401b3ddc40fff66ba21ed2e130bcb525cb05f55a

Contents?: true

Size: 1.37 KB

Versions: 4

Compression:

Stored size: 1.37 KB

Contents

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

@import "../common";

.#{$vendor-prefix}type-ahead {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    background: $gray;
    @include transition(opacity 0.3s);

    ul {
        list-style: none;
        margin: 0;
        padding: 0;
        min-width: 200px;
    }

    li {
        > a {
            padding: $small-padding;
            line-height: 100%;
            display: block;
            text-decoration: none;
        }

        > a:hover,
        &.#{$state-is-prefix}active a {
            background: $gray-lightest;
        }
    }
}

.#{$vendor-prefix}type-ahead-heading {
    padding: $small-padding;
    line-height: 100%;
    display: block;
    text-decoration: none;
    background: $gray-dark;
}

.#{$vendor-prefix}type-ahead-highlight {
    background: #fff;
}

.#{$vendor-prefix}type-ahead-desc {
    display: block;
    color: $gray-darkest;
    font-size: .7rem;
}

.#{$vendor-prefix}type-ahead-shadow {
    position: relative;
    height: 2rem;

    input {
        position: absolute;
        top: 0;
        left: 0;
    }

    .#{$state-is-prefix}shadow {
        color: gray;
    }

    .not-shadow {
        background: transparent;
        z-index: 1;
    }
}

Version data entries

4 entries across 4 versions & 1 rubygems

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