[build] add stylelint-config-rational-order plugin
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.clearfix() {
|
||||
&::after {
|
||||
content: '';
|
||||
display: table;
|
||||
clear: both;
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
.multi-ellipsis(@lines) {
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: @lines;
|
||||
|
||||
/* autoprefixer: ignore next */
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -33,6 +33,6 @@ ul {
|
||||
input,
|
||||
button,
|
||||
textarea {
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
@@ -83,10 +83,10 @@ audio,
|
||||
video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font: inherit;
|
||||
font-size: 100%;
|
||||
vertical-align: baseline;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
@@ -148,14 +148,14 @@ summary {
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Arial, Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, sans-serif;
|
||||
color: @text-color;
|
||||
font-family: Arial, Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, sans-serif;
|
||||
background-color: @background-color;
|
||||
}
|
||||
|
||||
a {
|
||||
background: transparent;
|
||||
text-decoration: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
button,
|
||||
@@ -166,7 +166,7 @@ input[type='email'],
|
||||
input[type='search'],
|
||||
select,
|
||||
textarea {
|
||||
font-family: inherit;
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user