Sha256: 1ab43d37885fad346de41dafd0a8858602d91db17d72e54e65de41e2e350cd10

Contents?: true

Size: 1.64 KB

Versions: 207

Compression:

Stored size: 1.64 KB

Contents

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


// Base class
.tooltip {
  position: absolute;
  z-index: @zindexTooltip;
  display: block;
  visibility: visible;
  font-size: 11px;
  line-height: 1.4;
  .opacity(0);
  &.in     { .opacity(80); }
  &.top    { margin-top:  -3px; padding: 5px 0; }
  &.right  { margin-left:  3px; padding: 0 5px; }
  &.bottom { margin-top:   3px; padding: 5px 0; }
  &.left   { margin-left: -3px; padding: 0 5px; }
}

// Wrapper for the tooltip content
.tooltip-inner {
  max-width: 200px;
  padding: 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

207 entries across 135 versions & 12 rubygems

Version Path
card-mod-bootstrap-0.18.1 vendor/bootswatch/docs/3/bower_components/font-awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less
card-mod-bootstrap-0.18.1 vendor/bootswatch/docs/2/bower_components/bootstrap/less/tooltip.less
card-mod-bootstrap-0.18.0 vendor/bootswatch/docs/3/bower_components/font-awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less
card-mod-bootstrap-0.18.0 vendor/bootswatch/docs/2/bower_components/bootstrap/less/tooltip.less
card-mod-bootstrap-0.17.0 vendor/bootswatch/docs/3/bower_components/font-awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less
card-mod-bootstrap-0.17.0 vendor/bootswatch/docs/2/bower_components/bootstrap/less/tooltip.less
card-mod-bootstrap-0.16.0 vendor/bootswatch/docs/3/bower_components/font-awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less
card-mod-bootstrap-0.16.0 vendor/bootswatch/docs/2/bower_components/bootstrap/less/tooltip.less
card-mod-bootstrap-0.15.6 vendor/bootswatch/docs/2/bower_components/bootstrap/less/tooltip.less
card-mod-bootstrap-0.15.6 vendor/bootswatch/docs/3/bower_components/font-awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less
card-mod-bootstrap-0.15.5 vendor/bootswatch/docs/2/bower_components/bootstrap/less/tooltip.less
card-mod-bootstrap-0.15.5 vendor/bootswatch/docs/3/bower_components/font-awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less
card-mod-bootstrap-0.15.4 vendor/bootswatch/docs/2/bower_components/bootstrap/less/tooltip.less
card-mod-bootstrap-0.15.4 vendor/bootswatch/docs/3/bower_components/font-awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less
card-mod-bootstrap-0.15.3 vendor/bootswatch/docs/2/bower_components/bootstrap/less/tooltip.less
card-mod-bootstrap-0.15.3 vendor/bootswatch/docs/3/bower_components/font-awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less
card-mod-bootstrap-0.15.1.2 vendor/bootswatch/docs/3/bower_components/font-awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less
card-mod-bootstrap-0.15.1.2 vendor/bootswatch/docs/2/bower_components/bootstrap/less/tooltip.less
card-mod-bootstrap-0.15.2.pre1 vendor/bootswatch/docs/2/bower_components/bootstrap/less/tooltip.less
card-mod-bootstrap-0.15.2.pre1 vendor/bootswatch/docs/3/bower_components/font-awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less