Style the modal
This commit is contained in:
parent
945b33485e
commit
8eb5532b7b
@ -37,43 +37,58 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.modal {
|
.modal {
|
||||||
background: #1e1e1e;
|
background: #111;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
border-radius: 12px;
|
border-radius: 16px;
|
||||||
width: 340px;
|
width: 380px;
|
||||||
height: 420px;
|
box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
|
||||||
box-shadow: 0 0 10px #000;
|
|
||||||
|
|
||||||
/* Flexbox centering */
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
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 {
|
.modal input {
|
||||||
width: 90%;
|
width: 95%;
|
||||||
height: 35px;
|
height: 40px;
|
||||||
padding: 0.5rem;
|
padding: 0.6rem;
|
||||||
margin-bottom: 0.75rem;
|
margin-bottom: 1rem;
|
||||||
background-color: #2c2c2c;
|
background-color: #1f1f1f;
|
||||||
border: none;
|
border: 1px solid #2c2c2c;
|
||||||
color: white;
|
color: #fff;
|
||||||
border-radius: 6px;
|
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 {
|
.modal button {
|
||||||
width: 90%;
|
width: 80%;
|
||||||
padding: 0.5rem;
|
padding: 0.6rem;
|
||||||
background-color: #007bff;
|
background: linear-gradient(to right, #007bff, #00f0ff);
|
||||||
color: white;
|
color: white;
|
||||||
|
font-weight: 600;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 6px;
|
border-radius: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
transition: background 0.3s ease;
|
||||||
|
font-family: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal button:hover {
|
.modal button:hover {
|
||||||
background-color: #0056b3;
|
background: linear-gradient(to right, #00f0ff, #007bff);
|
||||||
}
|
}
|
||||||
|
|
||||||
.add-button {
|
.add-button {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user