Spaces:
Sleeping
Sleeping
File size: 2,332 Bytes
fd52f31 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content {
background: rgba(99, 102, 241, 0.05);
backdrop-filter: blur(10px);
padding: 2rem;
border-radius: 12px;
width: 90%;
max-width: 400px;
position: relative;
color: white;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-close {
position: absolute;
top: 1rem;
right: 1rem;
background: none;
border: none;
font-size: 1.5rem;
color: white;
cursor: pointer;
padding: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 50%;
transition: background-color 0.3s ease;
}
.modal-close:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.modal-content h2 {
margin-bottom: 1.5rem;
font-size: 1.75rem;
text-align: center;
}
.user-info {
display: flex;
flex-direction: column;
gap: 1rem;
}
.user-info p {
margin: 0;
font-size: 1rem;
}
.form-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.form-group label {
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.8);
}
.form-group input {
width: 100%;
padding: 0.5rem;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 8px;
background: rgba(255, 255, 255, 0.05);
color: white;
font-size: 0.9rem;
}
.update-btn {
width: 100%;
padding: 0.5rem;
border: none;
border-radius: 8px;
background: #6366f1;
color: white;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
margin-top: 1rem;
}
.update-btn:hover {
background: #4f46e5;
transform: translateY(-1px);
}
.message {
text-align: center;
padding: 0.5rem;
border-radius: 4px;
font-size: 0.9rem;
margin-top: 1rem;
}
.light .modal-content {
background: rgba(255, 255, 255, 0.9);
color: black;
}
.light .modal-close {
color: black;
}
.light .form-group label {
color: rgba(0, 0, 0, 0.8);
}
.light .form-group input {
background: rgba(0, 0, 0, 0.05);
border-color: rgba(0, 0, 0, 0.1);
color: black;
} |