Update app/src/styles/layout/loading.scss
This commit is contained in:
@@ -1,102 +1,106 @@
|
|||||||
@use "../abstracts/variables" as *;
|
@use "../abstracts/variables" as *;
|
||||||
@use "../abstracts/mixins" as *;
|
@use "../abstracts/mixins" as *;
|
||||||
|
|
||||||
.loading-wrapper {
|
.loading-wrapper {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
background: var(--background-color-solid);
|
background: var(--background-color-solid);
|
||||||
|
|
||||||
&.comparisionLoading {
|
&.comparisionLoading {
|
||||||
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
width: 50vw;
|
width: 50vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading-container {
|
.loading-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 28px;
|
padding: 28px;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background: var(--faint-gradient-color);
|
background: var(--faint-gradient-color);
|
||||||
height: 50vh;
|
height: 50vh;
|
||||||
width: 50vw;
|
width: 50vw;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
border-radius: #{$border-radius-circle};
|
border-radius: #{$border-radius-circle};
|
||||||
filter: blur(200px);
|
filter: blur(200px);
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-name {
|
.project-name {
|
||||||
font-size: var(--font-size-regular);
|
font-size: var(--font-size-regular);
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading-hero-container {
|
.loading-hero-container {
|
||||||
.logo {
|
display: flex;
|
||||||
@include flex-center;
|
align-items: center;
|
||||||
width: 100%;
|
justify-content: center;
|
||||||
margin-bottom: 35px;
|
flex-direction: column;
|
||||||
|
.logo {
|
||||||
circle {
|
@include flex-center;
|
||||||
fill: transparent;
|
width: 100%;
|
||||||
}
|
margin-bottom: 35px;
|
||||||
}
|
|
||||||
|
circle {
|
||||||
.content {
|
fill: transparent;
|
||||||
font-family: #{$font-josefin-sans};
|
}
|
||||||
font-size: #{$xxlarge};
|
}
|
||||||
font-weight: #{$thin-weight};
|
|
||||||
max-width: 250px;
|
.content {
|
||||||
text-align: center;
|
font-family: #{$font-josefin-sans};
|
||||||
line-height: 2rem;
|
font-size: #{$xxlarge};
|
||||||
}
|
font-weight: #{$thin-weight};
|
||||||
}
|
max-width: 250px;
|
||||||
|
text-align: center;
|
||||||
.progress-container {
|
line-height: 2rem;
|
||||||
width: 100%;
|
}
|
||||||
display: flex;
|
}
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
.progress-container {
|
||||||
align-items: center;
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
.progress-value {
|
flex-direction: column;
|
||||||
font-family: #{$font-josefin-sans};
|
justify-content: center;
|
||||||
font-weight: #{$thin-weight};
|
align-items: center;
|
||||||
font-size: 96px;
|
|
||||||
margin-bottom: 22px;
|
.progress-value {
|
||||||
text-align: center;
|
font-family: #{$font-josefin-sans};
|
||||||
}
|
font-weight: #{$thin-weight};
|
||||||
|
font-size: 96px;
|
||||||
.progress-indicator-container {
|
margin-bottom: 22px;
|
||||||
height: 6px;
|
text-align: center;
|
||||||
width: 60%;
|
}
|
||||||
background: var(--highlight-accent-color);
|
|
||||||
border-radius: #{$border-radius-small};
|
.progress-indicator-container {
|
||||||
position: relative;
|
height: 6px;
|
||||||
|
width: 60%;
|
||||||
.progress-bar {
|
background: var(--highlight-accent-color);
|
||||||
height: 6px;
|
border-radius: #{$border-radius-small};
|
||||||
background: var(--accent-color);
|
position: relative;
|
||||||
border-radius: #{$border-radius-small};
|
|
||||||
transition: width 0.2 ease;
|
.progress-bar {
|
||||||
}
|
height: 6px;
|
||||||
}
|
background: var(--accent-color);
|
||||||
}
|
border-radius: #{$border-radius-small};
|
||||||
}
|
transition: width 0.2 ease;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user