mue/src/features/welcome/welcome.scss

335 lines
5.4 KiB
SCSS
Raw Normal View History

2024-03-19 21:45:17 +00:00
@import '../../scss/index';
@import 'scss/variables';
2021-03-20 12:55:20 +00:00
.welcomemodal {
@include themed {
background-color: t($modal-background);
}
}
2022-04-23 09:34:52 +00:00
.welcomeContent {
@include themed {
2022-08-07 17:36:56 +00:00
background-color: t($modal-background);
}
.MuiFormControlLabel-root {
margin-right: 0;
}
.link {
display: flex;
flex-flow: row;
gap: 15px;
align-items: center;
}
2022-08-07 17:36:56 +00:00
@extend %tabText;
height: 80vh;
2022-08-07 17:36:56 +00:00
width: clamp(60vw, 1200px, 90vw);
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(1, 1fr);
grid-gap: 0;
2024-02-19 13:07:44 +00:00
section.aside {
display: flex;
align-items: center;
2022-08-07 17:36:56 +00:00
justify-content: center;
@include themed {
2022-08-07 17:36:56 +00:00
background-color: t($modal-sidebar);
}
2022-08-07 17:36:56 +00:00
}
2024-02-19 13:07:44 +00:00
section.content {
display: flex;
flex-flow: column;
justify-content: space-between;
overflow-y: auto;
2022-08-07 17:36:56 +00:00
.content {
display: flex;
flex-flow: column;
padding: 25px;
gap: 20px;
}
}
}
.progressbar {
position: fixed;
bottom: 50px;
text-align: center;
display: inline;
overflow: hidden;
white-space: nowrap;
2020-09-16 10:43:58 +00:00
.step {
display: inline-block;
2024-01-26 14:09:10 +00:00
border-bottom: 2px solid grey;
padding: 10px 20px;
margin: 5px;
transition: 0.2s ease-in-out;
cursor: pointer;
border-radius: 10px 10px 0 0;
&:hover {
2024-01-29 13:59:22 +00:00
background: #dd4038;
border-radius: 10px;
border-bottom: 2px solid #dd4038;
}
}
2020-09-16 10:43:58 +00:00
.active {
2024-01-29 13:59:22 +00:00
background: #d21a11;
border-bottom: 2px solid #d21a11;
2024-01-26 14:09:10 +00:00
border-radius: 10px;
}
}
.themesToggleArea {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: auto auto;
2024-03-19 21:45:17 +00:00
div:nth-child(1) {
grid-column: span 1 / span 1 !important;
}
2024-03-19 21:45:17 +00:00
div:nth-child(2),
div:nth-child(3) {
grid-column: span 1 / span 1 !important;
}
2024-03-19 21:45:17 +00:00
@include themed {
.active {
background: t($modal-sidebarActive);
}
.toggle {
background: t($modal-sidebar);
text-align: center;
border-radius: 20px;
padding: 20px;
border: 3px solid t($modal-sidebarActive);
transition: 0.33s;
display: flex;
flex-direction: column;
align-items: center;
place-content: center center;
cursor: pointer;
&:hover {
background: t($modal-sidebarActive);
}
span {
font-size: 1rem;
}
svg {
font-size: 2.5em;
}
}
.auto {
svg {
font-size: 12px;
padding-right: 5px;
}
}
.options {
display: flex;
justify-content: space-between;
gap: 25px;
margin-top: 25px;
.lightTheme,
.darkTheme,
.legacyStyle,
.newStyle {
width: 50%;
padding: 50px;
span {
display: block;
}
}
}
}
2020-11-04 12:19:12 +00:00
}
.themesToggleArea .toggle {
margin-bottom: 10px;
}
.upload {
width: 100%;
height: 100%;
border-radius: 20px;
border: none;
outline: none;
padding: 50px;
display: flex;
flex-flow: column;
align-items: center;
transition: 0.3s;
@include themed {
background: t($modal-sidebar);
color: t($color);
cursor: pointer;
border: 3px solid t($modal-sidebarActive);
&:hover {
background: t($modal-sidebarActive);
}
}
svg {
font-size: 4em;
}
span {
font-size: 2em;
}
}
a.privacy {
text-decoration: none;
color: var(--modal-text);
font-size: 1rem;
&:hover {
color: #5352ed;
}
}
.examples {
2024-01-29 13:59:22 +00:00
display: flex;
flex-flow: column;
2024-01-29 13:59:22 +00:00
.shareYourMue {
width: -moz-fit-content;
2024-01-29 13:59:22 +00:00
width: fit-content;
}
img {
2024-01-29 13:59:22 +00:00
max-width: 60%;
border-radius: 10px 10px 10px 0;
2024-01-29 13:59:22 +00:00
}
}
2024-01-29 13:59:22 +00:00
.shareYourMue {
padding: 8px 20px;
border-radius: 0 0 10px 10px;
2024-01-29 13:59:22 +00:00
letter-spacing: 2px;
2024-01-29 13:59:22 +00:00
@include themed {
background-color: t($modal-sidebarActive);
}
}
.createButtons {
display: flex;
flex-flow: row;
justify-content: space-between;
margin-top: 15px;
button {
width: 150px;
height: 40px;
}
}
.showcaseimg {
width: 350px;
height: auto;
/* animation-name: float-in;
animation-duration: 1.2s;
animation-timing-function: ease-in; */
}
2022-09-07 15:04:06 +00:00
.welcomeContent {
.light {
.toggle.lightTheme {
background-color: rgb(219 219 219 / 72%);
2022-09-07 15:04:06 +00:00
}
2022-08-07 17:36:56 +00:00
}
2022-09-07 15:04:06 +00:00
.dark {
.toggle.darkTheme {
background-color: rgb(65 71 84 / 90%);
2022-09-07 15:04:06 +00:00
}
2022-08-07 17:36:56 +00:00
}
}
.welcomeNotice {
display: flex;
flex-flow: row;
gap: 25px;
padding: 25px;
align-items: center;
@include themed {
background-color: t($modal-sidebar);
border-radius: t($borderRadius);
}
.icon {
2024-01-29 13:59:22 +00:00
background: linear-gradient(238.7deg, #ff5c25 13.8%, #d21a11 49.49%, #ff456e 87.48%);
/* @include themed {
background-color: t($modal-sidebarActive);
} */
height: 50px !important;
width: 50px !important;
border-radius: 100%;
display: grid;
place-items: center;
text-align: center;
flex-shrink: 0;
2024-01-29 13:59:22 +00:00
color: #f18d91;
font-size: 24px;
}
.text {
display: flex;
flex-flow: column;
}
a {
text-decoration: none;
margin-left: auto;
padding: 0 20px;
@include modal-button(standard);
}
}
.toggle.active {
@include themed {
background-color: t($modal-sidebarActive) !important;
}
2022-08-21 11:41:05 +00:00
}
.welcomeButtons {
z-index: 999;
-webkit-backdrop-filter: blur(2px);
backdrop-filter: blur(2px);
position: sticky;
bottom: 0;
padding: 25px;
display: flex;
justify-content: flex-end;
gap: 20px;
button {
@include modal-button(standard);
}
}