Sha256: 3b9b6ab52b7ed6246ceb0a4595837d5bc998d9a952c7a3ccb9550f741eac5c0c

Contents?: true

Size: 1.78 KB

Versions: 17

Compression:

Stored size: 1.78 KB

Contents

// ==========
// FLYOUT MENUS
// ==========
$STYLEGUIDE_FLYOUTS_ID: flyout !default;
$STYLEGUIDE_FLYOUTS: () !default;

@if not styleguide-component-exists($STYLEGUIDE_FLYOUTS_ID, $CONFIG_THEME) {
$a-blackhole: styleguide-add-component($STYLEGUIDE_FLYOUTS_ID,  $STYLEGUIDE_FLYOUTS, (
  (default, (
    display               none,                         // hidden by default (use `visible flyout` if you want it shown by default)
    position              absolute,                     // position!
    top                   100%,                         // align it to the bottom of the context
    left                  0,                            // align left
    z-index               1,
    border                ($CONFIG_DIM_GENERIC_BORDER solid nth($CONFIG_COLOR_BORDER_FLYOUT,1)),
    background            nth($CONFIG_TEXTURE_CONTAINER, 1),
    box-shadow            $CONFIG_SHADOW_FLYOUT,
    padding               $CONFIG_DIM_FLYOUT_SPACING,
    min-width             $CONFIG_DIM_FLYOUT_MIN_WIDTH,
    cursor                default,
    float                 left,
    list-style            none                          // just incase its a list
  )),
  (visible, (
    display               block,
    nil
  )),
  (in-button, (
    // restore some things used for buttons
    font-weight           normal,
    white-space           normal,
    text-shadow           none,
    // no box-shadow
    box-shadow            nil,
    // thick borders!
    border-width          $CONFIG_DIM_GENERIC_BORDER_THICK,
    border-radius         $CONFIG_DIM_FLYOUT_RADIUS
  )),
  (in-button-group, (
    inherit (in-button),
    nil
  )),
  (upward, (
    top                   nil,
    bottom                100%
  )),
  (right aligned, (
    left                  nil,
    right                 0
  ))
), $CONFIG_THEME);
}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
archetype-0.0.1.pre.13 stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.12 stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.11 stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.10 stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.9 stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.8 stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.7 stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.6 stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.5 stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.4 stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.3.90263a7 stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.3.6ed259b stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.3.f9dde24 stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.3.00dfd9a stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.3.83f0d7a stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.3.55c4182 stylesheets/archetype/styleguide/components/_flyouts.scss
archetype-0.0.1.pre.3.811928f stylesheets/archetype/styleguide/components/_flyouts.scss