Sha256: fe10e50fadfe36f0c3e0b5fa508462982cb1130d922fffccd850c512a7e0ecb2

Contents?: true

Size: 1.61 KB

Versions: 20

Compression:

Stored size: 1.61 KB

Contents

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


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

20 entries across 20 versions & 6 rubygems

Version Path
webgen-sass_twitter_bootstrap-bundle-1.0.0 lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_tooltip.scss
bootstrap-generators-2.2.2 vendor/twitter/bootstrap/sass/_tooltip.scss
anjlab-bootstrap-rails-2.2.2.1 vendor/frameworks/twitter/bootstrap/tooltip.scss
bootstrap-sass-2.2.2.0 vendor/assets/stylesheets/bootstrap/_tooltip.scss
sass-twitter-bootstrap-2.2.2.1 vendor/assets/stylesheets/twitter/_tooltip.scss
sass-twitter-bootstrap-2.2.2 vendor/assets/stylesheets/twitter/_tooltip.scss
anjlab-bootstrap-rails-2.2.2.0 vendor/frameworks/twitter/bootstrap/tooltip.scss
anjlab-bootstrap-rails-2.2.2.rc1 vendor/frameworks/twitter/bootstrap/tooltip.scss
sass-twitter-bootstrap-2.2.1 vendor/assets/stylesheets/twitter/_tooltip.scss
anjlab-bootstrap-rails-2.2.2.rc vendor/frameworks/twitter/bootstrap/tooltip.scss
bootstrap-sass-2.2.1.1 vendor/assets/stylesheets/bootstrap/_tooltip.scss
bootstrap-sass-rails-2.2.1.1 vendor/assets/stylesheets/twitter/bootstrap/_tooltip.scss
bootstrap-sass-2.2.1.0 vendor/assets/stylesheets/bootstrap/_tooltip.scss
anjlab-bootstrap-rails-2.2.1.2 vendor/frameworks/twitter/bootstrap/tooltip.scss
anjlab-bootstrap-rails-2.2.1.1 vendor/frameworks/twitter/bootstrap/tooltip.scss
bootstrap-generators-2.2.1 vendor/twitter/bootstrap/sass/_tooltip.scss
bootstrap-sass-rails-2.2.1.0 vendor/assets/stylesheets/twitter/bootstrap/_tooltip.scss
anjlab-bootstrap-rails-2.2.1.0 vendor/frameworks/twitter/bootstrap/tooltip.scss
bootstrap-sass-rails-2.2.0.0pre1 vendor/assets/stylesheets/twitter/bootstrap/_tooltip.scss
anjlab-bootstrap-rails-2.2.0.0 vendor/frameworks/twitter/bootstrap/tooltip.scss