aboutsummaryrefslogtreecommitdiff
path: root/less/tooltip.less
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2018-09-22 15:46:56 +0300
committerXhmikosR <[email protected]>2018-11-18 10:00:03 +0200
commitd5e5889c6cbab313ab7d59bb213bb18c2c39b774 (patch)
treeabee5a795c7d13b7771cc35df04a24a8cd7fc501 /less/tooltip.less
parent627b359541373ee9d1c098c527b8a1dcbc323647 (diff)
downloadbootstrap-d5e5889c6cbab313ab7d59bb213bb18c2c39b774.tar.xz
bootstrap-d5e5889c6cbab313ab7d59bb213bb18c2c39b774.zip
Remove a few duplicate selectors.
Diffstat (limited to 'less/tooltip.less')
-rw-r--r--less/tooltip.less43
1 files changed, 20 insertions, 23 deletions
diff --git a/less/tooltip.less b/less/tooltip.less
index 11b9be835..650ab424d 100644
--- a/less/tooltip.less
+++ b/less/tooltip.less
@@ -1,5 +1,3 @@
-// stylelint-disable no-duplicate-selectors
-
//
// Tooltips
// --------------------------------------------------
@@ -34,28 +32,8 @@
padding: 0 @tooltip-arrow-width;
margin-left: -3px;
}
-}
-
-// Wrapper for the tooltip content
-.tooltip-inner {
- max-width: @tooltip-max-width;
- padding: 3px 8px;
- color: @tooltip-color;
- text-align: center;
- background-color: @tooltip-bg;
- border-radius: @border-radius-base;
-}
-// Arrows
-.tooltip-arrow {
- position: absolute;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid;
-}
-// Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
-.tooltip {
+ // Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
&.top .tooltip-arrow {
bottom: 0;
left: 50%;
@@ -113,3 +91,22 @@
border-bottom-color: @tooltip-arrow-color;
}
}
+
+// Wrapper for the tooltip content
+.tooltip-inner {
+ max-width: @tooltip-max-width;
+ padding: 3px 8px;
+ color: @tooltip-color;
+ text-align: center;
+ background-color: @tooltip-bg;
+ border-radius: @border-radius-base;
+}
+
+// Arrows
+.tooltip-arrow {
+ position: absolute;
+ width: 0;
+ height: 0;
+ border-color: transparent;
+ border-style: solid;
+}