From 78de8f1a1f423a86c05f361e87012a8ea1f1211b Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sat, 1 Jul 2017 15:33:02 +0800 Subject: IMPORTANT: Replace all rem units to px --- src/utilities/loading.less | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/utilities/loading.less') diff --git a/src/utilities/loading.less b/src/utilities/loading.less index 6f8b6e5..8b5c784 100644 --- a/src/utilities/loading.less +++ b/src/utilities/loading.less @@ -1,24 +1,24 @@ // Loading .loading { color: transparent !important; - min-height: 1.6rem; + min-height: @unit-4; pointer-events: none; position: relative; &::after { animation: loading 500ms infinite linear; - border: .2rem solid @primary-color; - border-radius: .8rem; + border: @border-width-lg solid @primary-color; + border-radius: @unit-2; border-right-color: transparent; border-top-color: transparent; content: ""; display: block; - height: 1.6rem; + height: @unit-4; left: 50%; - margin-left: -.8rem; - margin-top: -.8rem; + margin-left: -@unit-2; + margin-top: -@unit-2; position: absolute; top: 50%; - width: 1.6rem; + width: @unit-4; z-index: @zindex-0; } } -- cgit v1.3.1-23-gd82d