Sha256: 9b83bbf79eae613ea7aae20b2df12dbec6b9d5c83dfd43e526753a36bedc6950

Contents?: true

Size: 1.02 KB

Versions: 5

Compression:

Stored size: 1.02 KB

Contents

// ==========
// TOOLTIPS
// ==========
$STYLEGUIDE_TOOLTIPS_ID: tooltip !default;
$STYLEGUIDE_TOOLTIPS: () !default;

@if should-register-component($STYLEGUIDE_TOOLTIPS_ID) {
$a-blackhole: styleguide-add-component($STYLEGUIDE_TOOLTIPS_ID, $STYLEGUIDE_TOOLTIPS, (
  default: (
    color:                nth-cyclic($CONFIG_COLOR_COPY, 2),
    border-radius:        $CONFIG_DIM_TOOLTIP_RADIUS,
    background:           nth($CONFIG_TEXTURE_BRISTOL, 1),
    border-color:         nth($CONFIG_COLOR_BORDER_TOOLTIP, 1),
    border-style:         solid,
    border-width:         $CONFIG_DIM_GENERIC_BORDER,
    box-shadow:           $CONFIG_SHADOW_TOOLTIP,
    max-width:            $CONFIG_DIM_TOOLTIP_MAX_WIDTH,
    padding:              $CONFIG_DIM_TOOLTIP_SPACING,
    // structure
    outline:              0,  // for accessibility purposes, we don't want to outline the tooltip if it has focus
    display:              block,
    position:             absolute,
    visibility:           visible,
    z-index:              1
  )
)) !global;
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
archetype-theme-1.0.0.alpha.5 stylesheets/archetype/theme/components/_tooltips.scss
archetype-theme-1.0.0.alpha.4 stylesheets/archetype/theme/components/_tooltips.scss
archetype-theme-1.0.0.alpha.3 stylesheets/archetype/theme/components/_tooltips.scss
archetype-theme-1.0.0.alpha.2 stylesheets/archetype/theme/components/_tooltips.scss
archetype-theme-1.0.0.alpha.1 /Users/eoneill/workspace/archetype/extensions/archetype-theme/stylesheets/archetype/theme/components/_tooltips.scss