Sha256: c2eb3674da649cd04893152e509610a9f841e504e24999cd28a2239716dd44ba
Contents?: true
Size: 1.8 KB
Versions: 2
Compression:
Stored size: 1.8 KB
Contents
/** * @copyright 2010-2013, The Titon Project * @license http://opensource.org/licenses/bsd-license.php * @link http://titon.io */ @import "../common"; .flyout { position: absolute; top: 0; left: 0; z-index: 500; opacity: 0; visibility: hidden; background: $gray; border: 1px solid $gray-dark; @include box-sizing(content-box); // required by MooTools for multi columns @include transition(opacity $flyout-transition); ul { list-style: none; margin: 0; padding: 0; float: left; width: 200px; li { position: relative; > a, > .divider { padding: $small-padding; line-height: 100%; display: block; text-decoration: none; } > a .caret-right { display: none; } &.has-children > a .caret-right { float: right; display: inline-block; // reveal margin-top: 3px; } // Sub-flyouts > .flyout { left: 90%; @include transition(left $flyout-transition, right $flyout-transition, opacity $flyout-transition); // Reverse menu to left side incase it goes outside the viewport // Will be set automatically from the Javascript layer &.flyout--left { left: auto; right: 90%; } } &.is-open > .flyout { opacity: 1; visibility: visible; left: 100%; &.flyout--left { left: auto; right: 100%; } } } } @include clear-fix; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
titon-toolkit-1.0.0.rc.2 | scss/toolkit/components/flyout.scss |
titon-toolkit-1.0.0.rc1 | scss/toolkit/components/flyout.scss |