140 lines
2.5 KiB
CSS
140 lines
2.5 KiB
CSS
.add-button {
|
|
position: fixed;
|
|
bottom: 2rem;
|
|
right: 2rem;
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(145deg, #206064, #182b41);
|
|
box-shadow: 0 0 12px #00f0ff;
|
|
color: white;
|
|
font-size: 2.2rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
z-index: 1000;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
border: none;
|
|
}
|
|
|
|
.add-button:hover {
|
|
transform: rotate(90deg) scale(1.1);
|
|
box-shadow: 0 0 20px #00f0ff;
|
|
}
|
|
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(40px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.modal {
|
|
background: #111;
|
|
padding: 2rem;
|
|
border-radius: 16px;
|
|
width: 380px;
|
|
box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
animation: fadeInUp 0.3s ease-out;
|
|
}
|
|
|
|
.modal select {
|
|
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;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.modal select:focus {
|
|
border: 1px solid #00f0ff;
|
|
outline: none;
|
|
box-shadow: 0 0 6px #00f0ff40;
|
|
}
|
|
|
|
.modal option {
|
|
background-color: #1f1f1f;
|
|
color: #fff;
|
|
}
|
|
|
|
.modal h2 {
|
|
color: #fff;
|
|
font-size: 1.8rem;
|
|
margin-bottom: 1.5rem;
|
|
text-shadow: 0 0 5px #00f0ff;
|
|
}
|
|
|
|
.modal input {
|
|
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: 80%;
|
|
padding: 0.6rem;
|
|
background: linear-gradient(to right, #007bff, #00f0ff);
|
|
color: white;
|
|
font-weight: 600;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: background 0.3s ease;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.modal button:hover {
|
|
background: linear-gradient(to right, #00f0ff, #007bff);
|
|
}
|
|
|
|
.add-button {
|
|
transition: transform 0.2s ease, background-color 0.3s ease;
|
|
}
|
|
|
|
.add-button:hover {
|
|
background-color: #0056b3;
|
|
transform: rotate(90deg);
|
|
}
|
|
|