Sha256: 40bc8916d927e1033cb19c89006253d9b79ddfe0a851c82e27bb807a6bc25765
Contents?: true
Size: 1.89 KB
Versions: 1
Compression:
Stored size: 1.89 KB
Contents
/** * @copyright 2010-2013, The Titon Project * @license http://opensource.org/licenses/bsd-license.php * @link http://titon.io */ @import "../common"; .#{$vendor-prefix}flyout { position: absolute; top: 0; left: 0; z-index: $flyout-zindex; opacity: 0; visibility: hidden; @include box-sizing(content-box); // required by MooTools for multi columns @include transition(opacity $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, &.#{$state-is-prefix}open > a {} // Display caret arrow &.#{$state-has-prefix}children > a .caret-right { float: right; display: inline-block; // reveal margin-top: 3px; } // Nested flyouts > .#{$vendor-prefix}flyout { left: 90%; @include 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%; } } &.#{$state-is-prefix}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.2.2 | scss/toolkit/components/flyout.scss |