Sha256: d3bad1974035ef1f6b11e062e1c4701ac8b7c55f2e3e74a5a8e01bce13d83a83

Contents?: true

Size: 1.65 KB

Versions: 5

Compression:

Stored size: 1.65 KB

Contents

// ==========
// CLOSES
// ==========
$STYLEGUIDE_CLOSES_ID: close !default;
$STYLEGUIDE_CLOSES: () !default;

@if should-register-component($STYLEGUIDE_CLOSES_ID) {
$a-blackhole: styleguide-add-component($STYLEGUIDE_CLOSES_ID,  $STYLEGUIDE_CLOSES, (
  default: (
    color:                inherit,
    background:           transparent none,
    padding:              0 1px 0 0,
    border:               0,
    margin:               0,
    cursor:               pointer,
    text-decoration:      none,
    position:             absolute,
    overflow:             hidden,
    top:                  vertical-spacing(2),
    right:                horizontal-spacing(2),
    width:                nth($CONFIG_GLYPH_CLOSE, 4),
    height:               nth($CONFIG_GLYPH_CLOSE, 4),
    text-indent:          nth($CONFIG_GLYPH_CLOSE, 4) + 1px,
    glyph-icon:           (nth($CONFIG_GLYPH_CLOSE, 1), nth($CONFIG_GLYPH_CLOSE, 2), nth($CONFIG_GLYPH_CLOSE, 3), before),
    selectors: (
      $CORE_GLYPH_SELECTOR_VAR: (
        vertical-align:   top,
        line-height:      1,
        position:         absolute,
        top:              0,
        right:            0,
        text-decoration:  none,
        cursor:           pointer
      )
    ),
    states: (
      hover: (
        text-shadow:      $CONFIG_SHADOW_CLOSES
      )
    )
  ),
  in a $STYLEGUIDE_ALERTS_ID: (
    color:                nth($CONFIG_COLOR_COPY, 2)
  ),
  in dialog: (
    color:                nth($CONFIG_COLOR_COPY, 2),
    opacity:              0.7,
    top:                  vertical-spacing(2.6, $abuse: true),
    states: (
      hover: (
        opacity:          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/_closes.scss
archetype-theme-1.0.0.alpha.4 stylesheets/archetype/theme/components/_closes.scss
archetype-theme-1.0.0.alpha.3 stylesheets/archetype/theme/components/_closes.scss
archetype-theme-1.0.0.alpha.2 stylesheets/archetype/theme/components/_closes.scss
archetype-theme-1.0.0.alpha.1 /Users/eoneill/workspace/archetype/extensions/archetype-theme/stylesheets/archetype/theme/components/_closes.scss