Sha256: 2601a8630524caffb78a95226e70332a606c5a0d16479105fd75399dc25e8aec

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

/*** ESSENTIAL STYLES **
// !ul_width = 16em

.sf-menu
  margin: 0
  padding: 0
  list-style: none
  *
    margin: 0
    padding: 0
    list-style: none
  line-height: 1em
  ul
    position: absolute
    top: -999em
    // width: !ul_width
    /* left offset of submenus need to match (see below)
    li
      width: 100%
  li
    &:hover
      visibility: inherit
      /* fixes IE7 'sticky bug'
    float: left
    position: relative
  a
    display: block
    position: relative
  li
    &:hover ul, &.sfHover ul
      left: 0
      top: 2.7em
      /* match top ul list item height
      z-index: 99

ul.sf-menu li
  &:hover li ul, &.sfHover li ul
    top: -999em
  li
    &:hover ul, &.sfHover ul
      // left: !ul_width
      /* match ul width
      top: 0
    &:hover li ul, &.sfHover li ul
      top: -999em
    li
      &:hover ul, &.sfHover ul
        // left: !ul_width
        /* match ul width
        top: 0

/*** Styling **

.sf-menu
  float: left
  margin-bottom: 1em
  a
    padding: .4em .85em
    text-decoration: none
    /* visited pseudo selector so IE6 applies text colour
    color: #fff
    &:visited
      /* visited pseudo selector so IE6 applies text colour
      color: #fff
  li
    background: #000
    padding: .4em 0
    margin: 0
    li
      background: #000
      padding: .4em 0
      margin: 0
      li
        background: #000
    &:hover, &.sfHover
      background: #666
      outline: 0
  a
    &:focus, &:hover, &:active
      background: #666
      outline: 0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sushifish-0.9.6 lib/generators/sushi/templates/superfish.sass