summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/bootstrap/_tooltip.scss
blob: 89d77f93ed63b2e79b5eaeb237b1cd0a3b97e1e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// TOOLTIP
// -------

.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:  -2px; }
  &.right  { margin-left:  2px; }
  &.bottom { margin-top:   2px; }
  &.left   { margin-left: -2px; }
  &.top .tooltip-arrow    { @include popoverArrow-top(); }
  &.left .tooltip-arrow   { @include popoverArrow-left(); }
  &.bottom .tooltip-arrow { @include popoverArrow-bottom(); }
  &.right .tooltip-arrow  { @include popoverArrow-right(); }
}
.tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  color: $white;
  text-align: center;
  text-decoration: none;
  background-color: $black;
  @include border-radius(4px);
}
.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
}