2023-02-21 12:05:28 +00:00
|
|
|
input,
|
|
|
|
select {
|
|
|
|
padding: 5px;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid #464545;
|
|
|
|
}
|
|
|
|
input::placeholder {
|
|
|
|
color: #5a5959;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
color: #5a5959;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2023-02-22 14:32:02 +00:00
|
|
|
|
|
|
|
/* Dialog */
|
|
|
|
|
|
|
|
.dialog__trigger {
|
|
|
|
appearance: none;
|
|
|
|
display: inline-flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
height: 40px;
|
|
|
|
width: auto;
|
|
|
|
outline: none;
|
|
|
|
border-radius: 6px;
|
|
|
|
padding: 0 16px;
|
|
|
|
background-color: hsl(200 98% 39%);
|
|
|
|
color: white;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 0;
|
|
|
|
transition: 250ms background-color;
|
|
|
|
}
|
|
|
|
.dialog__trigger:hover {
|
|
|
|
background-color: hsl(201 96% 32%);
|
|
|
|
}
|
|
|
|
.dialog__trigger:focus-visible {
|
|
|
|
outline: 2px solid hsl(200 98% 39%);
|
|
|
|
outline-offset: 2px;
|
|
|
|
}
|
|
|
|
.dialog__trigger:active {
|
|
|
|
background-color: hsl(201 90% 27%);
|
|
|
|
}
|
|
|
|
.dialog__overlay {
|
|
|
|
position: fixed;
|
|
|
|
inset: 0;
|
|
|
|
z-index: 50;
|
|
|
|
background-color: rgb(0 0 0 / 0.2);
|
|
|
|
animation: overlayHide 250ms ease 100ms forwards;
|
|
|
|
}
|
|
|
|
.dialog__overlay[data-expanded] {
|
|
|
|
animation: overlayShow 250ms ease;
|
|
|
|
}
|
|
|
|
.dialog__positioner {
|
|
|
|
position: fixed;
|
|
|
|
inset: 0;
|
|
|
|
z-index: 50;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.dialog__content {
|
|
|
|
z-index: 50;
|
|
|
|
max-width: min(calc(100vw - 16px), 500px);
|
|
|
|
border: 1px solid hsl(240 5% 84%);
|
|
|
|
border-radius: 6px;
|
|
|
|
padding: 16px;
|
|
|
|
background-color: white;
|
|
|
|
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
|
|
animation: contentHide 300ms ease-in forwards;
|
|
|
|
}
|
|
|
|
.dialog__content[data-expanded] {
|
|
|
|
animation: contentShow 300ms ease-out;
|
|
|
|
}
|
|
|
|
.dialog__header {
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
.dialog__close-button {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
color: hsl(240 5% 34%);
|
|
|
|
}
|
|
|
|
.dialog__title {
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 500;
|
|
|
|
color: hsl(240 6% 10%);
|
|
|
|
}
|
|
|
|
.dialog__description {
|
|
|
|
font-size: 16px;
|
|
|
|
color: hsl(240 5% 26%);
|
|
|
|
}
|
2023-02-23 21:25:31 +00:00
|
|
|
|
|
|
|
.dialog__description > div {
|
|
|
|
padding-bottom: 20px;
|
|
|
|
font-size: 18px;
|
|
|
|
justify-content: space-between;
|
|
|
|
color: hsl(240 6% 10%);
|
|
|
|
}
|
|
|
|
|
2023-02-22 14:32:02 +00:00
|
|
|
@keyframes overlayShow {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes overlayHide {
|
|
|
|
from {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes contentShow {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(0.96);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes contentHide {
|
|
|
|
from {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(0.96);
|
|
|
|
}
|
|
|
|
}
|