improve center style code of spin

This commit is contained in:
afc163 2016-02-21 15:02:11 +08:00
parent bcb9c2d133
commit 4a50b31d23

View File

@ -31,12 +31,12 @@
&-nested-loading & {
position: absolute;
top: 50%;
left: 50%;
height: 20px;
line-height: 20px;
margin-top: -10px;
margin-left: -2.5 * @spin-dot-size;
z-index: 4;
text-align: center;
width: 100%;
}
&-container {
@ -82,10 +82,6 @@
}
}
&-nested-loading &-sm {
margin-left: -2.5 * @spin-dot-size-sm;
}
// large
&-lg &-dot {
.square(@spin-dot-size-lg);
@ -93,10 +89,6 @@
margin-left: @spin-dot-size-lg;
}
}
&-nested-loading &-sm {
margin-left: -2.5 * @spin-dot-size-lg;
}
}
// pulse