Sha256: 7e75bf1b635ba4a3564543084eb92959703061d56bd43a01b49f831b7550beec

Contents?: true

Size: 991 Bytes

Versions: 11

Compression:

Stored size: 991 Bytes

Contents

$stratum: 30000
$distance-from-trigger: 6px
$corner-size: 8px
$background: #666

.up-tooltip
  z-index: $stratum
  position: fixed
  background-color: $background
  color: white
  padding: 6px 9px
  white-space: nowrap
  //box-shadow: 0 0 4px rgba(0, 0, 0, 0.2)
  
  &[up-origin=top]
    margin-top: -$distance-from-trigger
    &:after
      content: ''
      position: absolute
      border-style: solid
      border-width: $corner-size $corner-size 0
      border-color: $background transparent
      display: block
      width: 0
      z-index: 1
      bottom: -$corner-size
      left: 50%
      margin-left: -$corner-size
  
  &[up-origin=bottom]
    margin-top: $distance-from-trigger
    &:after
      content: ''
      position: absolute
      border-style: solid
      border-width: 0 $corner-size $corner-size
      border-color: $background transparent
      display: block
      width: 0
      z-index: 1
      top: -$corner-size
      left: 50%
      margin-left: -$corner-size

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
upjs-rails-0.6.4 lib/assets/stylesheets/up/tooltip.css.sass
upjs-rails-0.6.3 lib/assets/stylesheets/up/tooltip.css.sass
upjs-rails-0.6.2 lib/assets/stylesheets/up/tooltip.css.sass
upjs-rails-0.6.1 lib/assets/stylesheets/up/tooltip.css.sass
upjs-rails-0.6.0 lib/assets/stylesheets/up/tooltip.css.sass
upjs-rails-0.5.0 lib/assets/stylesheets/up/tooltip.css.sass
upjs-rails-0.4.4 lib/assets/stylesheets/up/tooltip.css.sass
upjs-rails-0.4.3 lib/assets/stylesheets/up/tooltip.css.sass
upjs-rails-0.4.2 lib/assets/stylesheets/up/tooltip.css.sass
upjs-rails-0.4.1 lib/assets/stylesheets/up/tooltip.css.sass
upjs-rails-0.4.0 lib/assets/stylesheets/up/tooltip.css.sass