Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'less/tooltip.less')
-rw-r--r--less/tooltip.less26
1 files changed, 20 insertions, 6 deletions
diff --git a/less/tooltip.less b/less/tooltip.less
index b48d63e07a..0906835e80 100644
--- a/less/tooltip.less
+++ b/less/tooltip.less
@@ -1,3 +1,5 @@
+/* stylelint-disable no-duplicate-selectors */
+
//
// Tooltips
// --------------------------------------------------
@@ -15,11 +17,23 @@
.opacity(0);
- &.in { .opacity(@tooltip-opacity); }
- &.top { margin-top: -3px; padding: @tooltip-arrow-width 0; }
- &.right { margin-left: 3px; padding: 0 @tooltip-arrow-width; }
- &.bottom { margin-top: 3px; padding: @tooltip-arrow-width 0; }
- &.left { margin-left: -3px; padding: 0 @tooltip-arrow-width; }
+ &.in { .opacity(@tooltip-opacity); }
+ &.top {
+ padding: @tooltip-arrow-width 0;
+ margin-top: -3px;
+ }
+ &.right {
+ padding: 0 @tooltip-arrow-width;
+ margin-left: 3px;
+ }
+ &.bottom {
+ padding: @tooltip-arrow-width 0;
+ margin-top: 3px;
+ }
+ &.left {
+ padding: 0 @tooltip-arrow-width;
+ margin-left: -3px;
+ }
}
// Wrapper for the tooltip content
@@ -50,8 +64,8 @@
border-top-color: @tooltip-arrow-color;
}
&.top-left .tooltip-arrow {
- bottom: 0;
right: @tooltip-arrow-width;
+ bottom: 0;
margin-bottom: -@tooltip-arrow-width;
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
border-top-color: @tooltip-arrow-color;