[build] add stylelint-config-rational-order plugin

This commit is contained in:
陈嘉涵
2019-05-09 19:00:53 +08:00
parent 21589c9b9f
commit ba4f02b9b4
64 changed files with 571 additions and 442 deletions
+6 -6
View File
@@ -1,27 +1,27 @@
.hairline-common() {
content: ' ';
position: absolute;
pointer-events: none;
box-sizing: border-box;
content: ' ';
pointer-events: none;
}
.hairline(@border-color: #ebedf0) {
.hairline-common();
top: -50%;
left: -50%;
right: -50%;
bottom: -50%;
transform: scale(0.5);
left: -50%;
border: 0 solid @border-color;
transform: scale(0.5);
}
.hairline-bottom(@border-color: #ebedf0, @left: 0) {
.hairline-common();
left: @left;
right: 0;
bottom: 0;
transform: scaleY(0.5);
left: @left;
border-bottom: 1px solid @border-color;
transform: scaleY(0.5);
}