From b767c7d23d031c58c594570d55933e40065495ae Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 26 Jun 2021 20:03:40 +0800 Subject: ... --- FrontEnd/src/views/common/index.css | 42 +++++++++---------------------------- 1 file changed, 10 insertions(+), 32 deletions(-) (limited to 'FrontEnd/src/views/common/index.css') diff --git a/FrontEnd/src/views/common/index.css b/FrontEnd/src/views/common/index.css index f580c781..aaaaad58 100644 --- a/FrontEnd/src/views/common/index.css +++ b/FrontEnd/src/views/common/index.css @@ -1,40 +1,20 @@ -.image-cropper-container { - position: relative; - box-sizing: border-box; - user-select: none; +.cru-avatar { + width: 60px; + height: 60px; } -.image-cropper-container img { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; -} - -.image-cropper-mask-container { - position: absolute; - left: 0; - top: 0; - right: 0; - bottom: 0; - overflow: hidden; +.cru-avatar.large { + width: 100px; + height: 100px; } -.image-cropper-mask { - position: absolute; - box-shadow: 0 0 0 10000px rgba(255, 255, 255, 0.8); - touch-action: none; +.cru-avatar.small { + width: 40px; + height: 40px; } -.image-cropper-handler { - position: absolute; - width: 26px; - height: 26px; - border: black solid 2px; +.cru-round { border-radius: 50%; - background: white; - touch-action: none; } .cru-skeleton { @@ -157,8 +137,6 @@ align-items: center; } - - .alert-container { position: fixed; z-index: 1070; -- cgit v1.2.3