FatttSnake #12
@@ -102,29 +102,4 @@ $font-secondary-color: #9E9E9E;
|
|||||||
width: 23px;
|
width: 23px;
|
||||||
height: 23px;
|
height: 23px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.loading-mask {
|
|
||||||
position: absolute;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
z-index: 100;
|
|
||||||
background-color: rgba(200, 200, 200, 0.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
.fit-fullscreen {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
height: 100vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fit-center {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
}
|
||||||
7
src/assets/css/fit-center.scss
Normal file
7
src/assets/css/fit-center.scss
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
.fit-center {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
5
src/assets/css/fit-fullscreen.scss
Normal file
5
src/assets/css/fit-fullscreen.scss
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
.fit-fullscreen {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
10
src/assets/css/loading-mask.scss
Normal file
10
src/assets/css/loading-mask.scss
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
.loading-mask {
|
||||||
|
position: absolute;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
z-index: 100;
|
||||||
|
background-color: rgba(200, 200, 200, 0.2);
|
||||||
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
import '@/assets/css/fit-center.scss'
|
||||||
|
|
||||||
const FitCenter: React.FC<PropsWithChildren> = (props: PropsWithChildren) => {
|
const FitCenter: React.FC<PropsWithChildren> = (props: PropsWithChildren) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
import '@/assets/css/fit-fullscreen.scss'
|
||||||
|
|
||||||
interface FitFullscreenProps extends PropsWithChildren {
|
interface FitFullscreenProps extends PropsWithChildren {
|
||||||
zIndex?: number
|
zIndex?: number
|
||||||
backgroundColor?: string
|
backgroundColor?: string
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import React from 'react'
|
|||||||
import Icon from '@ant-design/icons'
|
import Icon from '@ant-design/icons'
|
||||||
import FitFullScreen from '@/components/FitFullScreen.tsx'
|
import FitFullScreen from '@/components/FitFullScreen.tsx'
|
||||||
import { COLOR_FONT_MAIN } from '@/constants/Common.constants.ts'
|
import { COLOR_FONT_MAIN } from '@/constants/Common.constants.ts'
|
||||||
|
import '@/assets/css/loading-mask.scss'
|
||||||
|
|
||||||
const LoadingMask: React.FC = () => {
|
const LoadingMask: React.FC = () => {
|
||||||
const loadingIcon = (
|
const loadingIcon = (
|
||||||
|
|||||||
Reference in New Issue
Block a user