Sha256: 431bc08c4b0e98964849f8c04fff5ddb7dcde0806e6813585c4592f4da7f8c60

Contents?: true

Size: 1.49 KB

Versions: 5

Compression:

Stored size: 1.49 KB

Contents

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


// Base class
.tooltip
  position: absolute
  z-index: $zindexTooltip
  display: block
  visibility: visible
  padding: 5px
  font-size: 11px
  +opacity(0)
  &.in
    +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
  +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

5 entries across 5 versions & 1 rubygems

Version Path
sass-rails-bootstrap-2.2.2.3 vendor/assets/stylesheets/twitter/bootstrap/_tooltip.sass
sass-rails-bootstrap-2.2.2.2 vendor/assets/stylesheets/twitter/bootstrap/_tooltip.sass
sass-rails-bootstrap-2.2.2.1 vendor/assets/stylesheets/twitter/bootstrap/_tooltip.sass
sass-rails-bootstrap-2.2.2 vendor/assets/stylesheets/twitter/bootstrap/_tooltip.sass
sass-rails-bootstrap-2.2.1 vendor/assets/stylesheets/twitter/bootstrap/_tooltip.sass