update Spin style

This commit is contained in:
梁灏 2017-09-18 17:50:28 +08:00
parent ade5dbba52
commit 4fffb066ab
2 changed files with 13 additions and 11 deletions

View file

@ -28,19 +28,18 @@
&-fix {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: @zindex-spin;
display: table;
.square(100%);
background-color: #fff;
background-color: rgba(255,255,255,.95);
}
&-fix &-main {
display: table-cell;
vertical-align: middle;
.square(inherit);
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
&-fix &-dot {