154 lines
2.7 KiB
CSS
154 lines
2.7 KiB
CSS
.buttons {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.buttons button {
|
|
padding: 10px;
|
|
font-size: 1.2rem;
|
|
background-color: white;
|
|
color: #ff561e;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
box-shadow: 0 0 1px 0 rgba(24, 94, 224, 0.15), 0 6px 12px 0 rgba(24, 94, 224, 0.15);
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.card {
|
|
width: 300px;
|
|
height: fit-content;
|
|
background: rgb(255, 255, 255);
|
|
border-radius: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 20px;
|
|
padding: 30px;
|
|
position: relative;
|
|
box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.068);
|
|
}
|
|
.card-content {
|
|
width: 100%;
|
|
height: fit-content;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
.card-heading {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: rgb(27, 27, 27);
|
|
}
|
|
.card-description {
|
|
font-weight: 100;
|
|
color: rgb(102, 102, 102);
|
|
}
|
|
.card-button-wrapper {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
}
|
|
.card-button {
|
|
width: 50%;
|
|
height: 35px;
|
|
border-radius: 10px;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
}
|
|
.primary {
|
|
background-color: #ff561e;
|
|
color: white;
|
|
}
|
|
.primary:hover {
|
|
background-color: rgb(255, 73, 66);
|
|
}
|
|
.secondary {
|
|
background-color: #ddd;
|
|
}
|
|
.secondary:hover {
|
|
background-color: rgb(197, 197, 197);
|
|
}
|
|
.exit-button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: none;
|
|
background-color: transparent;
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
cursor: pointer;
|
|
}
|
|
.exit-button:hover svg {
|
|
fill: black;
|
|
}
|
|
.exit-button svg {
|
|
fill: rgb(175, 175, 175);
|
|
}
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
}
|
|
.input-container {
|
|
position: relative;
|
|
margin: 50px auto;
|
|
width: auto;
|
|
}
|
|
|
|
.input-container input[type="text"] {
|
|
font-size: 20px;
|
|
width: 100%;
|
|
border: none;
|
|
border-bottom: 2px solid #ccc;
|
|
padding: 5px 0;
|
|
background-color: transparent;
|
|
outline: none;
|
|
}
|
|
|
|
.input-container .label {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
color: #ccc;
|
|
transition: all 0.3s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.input-container input[type="text"]:focus ~ .label,
|
|
.input-container input[type="text"]:valid ~ .label {
|
|
top: -20px;
|
|
font-size: 16px;
|
|
color: #333;
|
|
}
|
|
|
|
.input-container .underline {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
height: 2px;
|
|
width: 100%;
|
|
background-color: #333;
|
|
transform: scaleX(0);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.input-container input[type="text"]:focus ~ .underline,
|
|
.input-container input[type="text"]:valid ~ .underline {
|
|
transform: scaleX(1);
|
|
}
|