[improvement] rename packages dir to src (#3659)

This commit is contained in:
neverland
2019-06-27 11:25:57 +08:00
committed by GitHub
parent 8489918dca
commit 75c79b7044
619 changed files with 21 additions and 21 deletions
+54
View File
@@ -0,0 +1,54 @@
@import '../style/var';
.van-skeleton {
display: flex;
padding: 0 15px;
&__avatar {
flex-shrink: 0;
margin-right: 15px;
background-color: @skeleton-avatar-background-color;
&--round {
border-radius: 100%;
}
}
&__content {
width: 100%;
}
&__avatar + &__content {
padding-top: 8px;
}
&__row,
&__title {
height: @skeleton-row-height;
background-color: @skeleton-row-background-color;
}
&__title {
margin: 0;
}
&__row {
&:not(:first-child) {
margin-top: @skeleton-row-margin-top;
}
}
&__title + &__row {
margin-top: 20px;
}
&--animate {
animation: van-skeleton-blink @skeleton-animation-duration ease-in-out infinite;
}
}
@keyframes van-skeleton-blink {
50% {
opacity: .6;
}
}