Sha256: 860398e3e7217d94b07068909b79e78fe9c651d9d2abe2c5167aeb5838695ab6
Contents?: true
Size: 1.84 KB
Versions: 1
Compression:
Stored size: 1.84 KB
Contents
/** * @copyright 2010-2014, The Titon Project * @license http://opensource.org/licenses/BSD-3-Clause * @link http://titon.io */ @import "../common"; .#{$vendor-prefix}flyout { position: absolute; top: 0; left: 0; z-index: $flyout-zindex; opacity: 0; visibility: hidden; box-sizing: content-box; // required by MooTools for multi columns transition: opacity $flyout-transition, visibility $flyout-transition; ul { @include reset-list; float: left; width: 200px; } li { position: relative; > a { padding: $small-padding; line-height: 100%; display: block; text-decoration: none; .caret-right { display: none; } } // Hover states > a:hover, &.is-open > a {} // Display caret arrow &.has-children > a .caret-right { float: right; display: inline-block; // reveal margin-top: 3px; } // Nested flyouts > .#{$vendor-prefix}flyout { left: 90%; transition: left $flyout-transition, right $flyout-transition, opacity $flyout-transition; // Reverse menu to left side in case it goes outside the viewport // Will be set automatically from the Javascript layer &.push-left { left: auto; right: 90%; } } &.is-open > .#{$vendor-prefix}flyout { opacity: 1; visibility: visible; left: 100%; &.push-left { left: auto; right: 100%; } } } @include clear-fix; } .#{$vendor-prefix}flyout-heading { padding: $small-padding; line-height: 100%; display: block; text-decoration: none; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
titon-toolkit-1.4.0 | scss/toolkit/components/flyout.scss |