ChatGPT-Next-Web/app/components/new-chat.module.scss

116 lines
2.2 KiB
SCSS
Raw Normal View History

2023-04-24 16:49:27 +00:00
@import "../styles/animation.scss";
2023-04-23 17:15:44 +00:00
.new-chat {
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
2023-04-24 16:49:27 +00:00
.mask-header {
display: flex;
justify-content: space-between;
width: 100%;
padding: 10px;
box-sizing: border-box;
animation: slide-in-from-top ease 0.3s;
}
2023-04-23 17:15:44 +00:00
.mask-cards {
display: flex;
2023-04-24 16:49:27 +00:00
margin-top: 5vh;
2023-04-23 17:15:44 +00:00
margin-bottom: 20px;
2023-04-24 16:49:27 +00:00
animation: slide-in ease 0.3s;
2023-04-23 17:15:44 +00:00
.mask-card {
padding: 20px 10px;
border: var(--border-in-light);
box-shadow: var(--card-shadow);
border-radius: 14px;
background-color: var(--white);
transform: scale(1);
&:first-child {
transform: rotate(-15deg) translateY(5px);
}
&:last-child {
transform: rotate(15deg) translateY(5px);
}
}
}
.title {
font-size: 32px;
font-weight: bolder;
2023-04-24 16:49:27 +00:00
margin-bottom: 1vh;
animation: slide-in ease 0.35s;
2023-04-23 17:15:44 +00:00
}
.sub-title {
2023-04-24 16:49:27 +00:00
animation: slide-in ease 0.4s;
2023-04-23 17:15:44 +00:00
}
.actions {
2023-04-24 16:49:27 +00:00
margin-top: 5vh;
margin-bottom: 5vh;
animation: slide-in ease 0.45s;
display: flex;
justify-content: center;
2023-05-01 19:10:13 +00:00
.more {
font-size: 12px;
2023-05-01 19:10:13 +00:00
margin-left: 10px;
}
2023-04-23 17:15:44 +00:00
}
.masks {
flex-grow: 1;
width: 100%;
overflow: hidden;
align-items: center;
padding-top: 20px;
2023-04-24 16:49:27 +00:00
animation: slide-in ease 0.5s;
2023-04-23 17:15:44 +00:00
.mask-row {
margin-bottom: 10px;
display: flex;
justify-content: center;
@for $i from 1 to 10 {
&:nth-child(#{$i * 2}) {
margin-left: 50px;
}
}
.mask {
display: flex;
align-items: center;
2023-04-25 18:02:46 +00:00
padding: 10px 14px;
2023-04-23 17:15:44 +00:00
border: var(--border-in-light);
box-shadow: var(--card-shadow);
background-color: var(--white);
border-radius: 10px;
margin-right: 10px;
2023-04-25 18:02:46 +00:00
max-width: 8em;
2023-04-23 17:15:44 +00:00
transform: scale(1);
cursor: pointer;
transition: all ease 0.3s;
&:hover {
transform: translateY(-5px) scale(1.1);
z-index: 999;
border-color: var(--primary);
}
.mask-name {
margin-left: 10px;
2023-04-25 18:02:46 +00:00
font-size: 14px;
2023-04-23 17:15:44 +00:00
}
}
}
}
}