mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
move from csslint to stylelint
This commit is contained in:
+20
-6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user