comparison static/bootstrap/less/tooltip.less @ 88:a5a3d454eac9

Updated Bootstrap.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 05 Apr 2013 08:08:12 -0700
parents 130eccd396d8
children d29e2f337b00
comparison
equal deleted inserted replaced
87:c0cf67362fb1 88:a5a3d454eac9
7 .tooltip { 7 .tooltip {
8 position: absolute; 8 position: absolute;
9 z-index: @zindexTooltip; 9 z-index: @zindexTooltip;
10 display: block; 10 display: block;
11 visibility: visible; 11 visibility: visible;
12 padding: 5px;
13 font-size: 11px; 12 font-size: 11px;
13 line-height: 1.4;
14 .opacity(0); 14 .opacity(0);
15 &.in { .opacity(80); } 15 &.in { .opacity(80); }
16 &.top { margin-top: -3px; } 16 &.top { margin-top: -3px; padding: 5px 0; }
17 &.right { margin-left: 3px; } 17 &.right { margin-left: 3px; padding: 0 5px; }
18 &.bottom { margin-top: 3px; } 18 &.bottom { margin-top: 3px; padding: 5px 0; }
19 &.left { margin-left: -3px; } 19 &.left { margin-left: -3px; padding: 0 5px; }
20 } 20 }
21 21
22 // Wrapper for the tooltip content 22 // Wrapper for the tooltip content
23 .tooltip-inner { 23 .tooltip-inner {
24 max-width: 200px; 24 max-width: 200px;
25 padding: 3px 8px; 25 padding: 8px;
26 color: @tooltipColor; 26 color: @tooltipColor;
27 text-align: center; 27 text-align: center;
28 text-decoration: none; 28 text-decoration: none;
29 background-color: @tooltipBackground; 29 background-color: @tooltipBackground;
30 .border-radius(@baseBorderRadius); 30 .border-radius(@baseBorderRadius);