Sha256: 74d585cad46acc4719f026a2353dd78dc56d47496b5f817eb3c19aae31755c0e

Contents?: true

Size: 1.5 KB

Versions: 3

Compression:

Stored size: 1.5 KB

Contents

//
// Tooltips
// --------------------------------------------------

// Base class
.tooltip
  position: absolute
  z-index: $zindexTooltip
  display: block
  visibility: visible
  padding: 5px
  font-size: 11px
  +ctb-opacity(0)
  &.in
    +ctb-opacity(80)
  &.top
    margin-top: -3px
  &.right
    margin-left: 3px
  &.bottom
    margin-top: 3px
  &.left
    margin-left: -3px

// Wrapper for the tooltip content
.tooltip-inner
  max-width: 200px
  padding: 3px 8px
  color: $tooltipColor
  text-align: center
  text-decoration: none
  background-color: $tooltipBackground
  +ctb-border-radius($baseBorderRadius)

// Arrows
.tooltip-arrow
  position: absolute
  width: 0
  height: 0
  border-color: transparent
  border-style: solid

.tooltip
  &.top .tooltip-arrow
    bottom: 0
    left: 50%
    margin-left: -$tooltipArrowWidth
    border-width: $tooltipArrowWidth $tooltipArrowWidth 0
    border-top-color: $tooltipArrowColor
  &.right .tooltip-arrow
    top: 50%
    left: 0
    margin-top: -$tooltipArrowWidth
    border-width: $tooltipArrowWidth $tooltipArrowWidth $tooltipArrowWidth 0
    border-right-color: $tooltipArrowColor
  &.left .tooltip-arrow
    top: 50%
    right: 0
    margin-top: -$tooltipArrowWidth
    border-width: $tooltipArrowWidth 0 $tooltipArrowWidth $tooltipArrowWidth
    border-left-color: $tooltipArrowColor
  &.bottom .tooltip-arrow
    top: 0
    left: 50%
    margin-left: -$tooltipArrowWidth
    border-width: 0 $tooltipArrowWidth $tooltipArrowWidth
    border-bottom-color: $tooltipArrowColor

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
compass_twitter_bootstrap-2.2.2.2 stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass
compass_twitter_bootstrap-2.2.2.1 stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass
compass_twitter_bootstrap-2.2.2 stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass