2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-02 16:04:07 +03:00

Remove a few duplicate selectors.

This commit is contained in:
XhmikosR
2018-09-22 15:46:56 +03:00
parent 627b359541
commit d5e5889c6c
3 changed files with 90 additions and 103 deletions
+20 -23
View File
@@ -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;
}