[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
+35
View File
@@ -0,0 +1,35 @@
@import '../style/var';
.van-circle {
position: relative;
display: inline-block;
text-align: center;
svg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
&__layer {
transform: rotate(90deg);
// should not use transform-origin: center
// that will cause incorrect style in android devices
transform-origin: 530px 530px;
fill: none;
stroke-linecap: round;
stroke-dasharray: 3140;
stroke-dashoffset: 3140;
}
&__text {
position: absolute;
top: 50%;
left: 0;
width: 100%;
color: @circle-text-color;
transform: translateY(-50%);
}
}