[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

View File

@@ -3,12 +3,12 @@
.van-dropdown-menu {
display: flex;
height: 50px;
user-select: none;
background-color: @white;
user-select: none;
&__item {
flex: 1;
display: flex;
flex: 1;
align-items: center;
justify-content: center;
@@ -18,25 +18,25 @@
}
&__title {
font-size: 15px;
position: relative;
font-size: 15px;
&::after {
position: absolute;
content: '';
top: 3px;
right: -12px;
opacity: .6;
border: 3px solid;
transform: rotate(-45deg);
border-color: transparent transparent currentColor currentColor;
transform: rotate(-45deg);
opacity: .6;
content: '';
}
&--active {
&::after {
top: 7px;
opacity: 1;
transform: rotate(135deg);
opacity: 1;
}
}
}