refactor: Update loading indicator styles to use ::before pseudo-elements and hide svg elements.
This commit is contained in:
@@ -368,31 +368,47 @@
|
||||
backdrop-filter: blur(8px) !important;
|
||||
}
|
||||
|
||||
#loading img {
|
||||
#loading img,
|
||||
#loading svg {
|
||||
display: none !important;
|
||||
visibility: hidden !important;
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
}
|
||||
|
||||
#loading::after {
|
||||
#loading::before {
|
||||
content: '';
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border: 4px solid rgba(96, 165, 250, 0.2);
|
||||
border-top-color: #60a5fa;
|
||||
border-radius: 50%;
|
||||
animation: spin 0.8s linear infinite;
|
||||
z-index: 100001;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to { transform: rotate(360deg); }
|
||||
to { transform: translate(-50%, -50%) rotate(360deg); }
|
||||
}
|
||||
|
||||
/* 모달 로딩 인디케이터 오버라이드 */
|
||||
#modal_loading img {
|
||||
#modal_loading img,
|
||||
#modal_loading svg {
|
||||
display: none !important;
|
||||
visibility: hidden !important;
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
}
|
||||
|
||||
#modal_loading::after {
|
||||
#modal_loading::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 3px solid rgba(96, 165, 250, 0.2);
|
||||
|
||||
Reference in New Issue
Block a user