Style the modal

This commit is contained in:
dvirlabs 2025-06-04 02:36:42 +03:00
parent 945b33485e
commit 8eb5532b7b

View File

@ -37,43 +37,58 @@
}
.modal {
background: #1e1e1e;
background: #111;
padding: 2rem;
border-radius: 12px;
width: 340px;
height: 420px;
box-shadow: 0 0 10px #000;
/* Flexbox centering */
border-radius: 16px;
width: 380px;
box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-family: 'Rajdhani', sans-serif;
}
.modal h2 {
color: #fff;
font-size: 1.8rem;
margin-bottom: 1.5rem;
text-shadow: 0 0 5px #00f0ff;
}
.modal input {
width: 90%;
height: 35px;
padding: 0.5rem;
margin-bottom: 0.75rem;
background-color: #2c2c2c;
border: none;
color: white;
border-radius: 6px;
width: 95%;
height: 40px;
padding: 0.6rem;
margin-bottom: 1rem;
background-color: #1f1f1f;
border: 1px solid #2c2c2c;
color: #fff;
border-radius: 8px;
transition: border 0.3s;
font-family: inherit;
}
.modal input:focus {
border: 1px solid #00f0ff;
outline: none;
box-shadow: 0 0 6px #00f0ff40;
}
.modal button {
width: 90%;
padding: 0.5rem;
background-color: #007bff;
width: 80%;
padding: 0.6rem;
background: linear-gradient(to right, #007bff, #00f0ff);
color: white;
font-weight: 600;
border: none;
border-radius: 6px;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s ease;
font-family: inherit;
}
.modal button:hover {
background-color: #0056b3;
background: linear-gradient(to right, #00f0ff, #007bff);
}
.add-button {