diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-01-10 10:19:22 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-01-10 10:19:22 +0100 |
commit | 38dd1c342a5d86989a2773f6499c7fbd005e241d (patch) | |
tree | 7d6b416da6031c5c7f0c83cb47e7b43a3069e31f /library/font_awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less | |
parent | 0f89db3b46be20a80c29ae894e83853831c7394e (diff) | |
download | volse-hubzilla-38dd1c342a5d86989a2773f6499c7fbd005e241d.tar.gz volse-hubzilla-38dd1c342a5d86989a2773f6499c7fbd005e241d.tar.bz2 volse-hubzilla-38dd1c342a5d86989a2773f6499c7fbd005e241d.zip |
font awesome 4.7.0
Diffstat (limited to 'library/font_awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less')
-rw-r--r-- | library/font_awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/library/font_awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less b/library/font_awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less new file mode 100644 index 000000000..83d5f2bd7 --- /dev/null +++ b/library/font_awesome/src/3.2.1/assets/less/bootstrap-2.3.2/tooltip.less @@ -0,0 +1,70 @@ +// +// 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; + } +} |