Create style.css
Browse files- ui/style.css +98 -0
ui/style.css
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* استایلهای جدید برای بخش احراز هویت */
|
| 2 |
+
.auth-section {
|
| 3 |
+
background: white;
|
| 4 |
+
border-radius: 10px;
|
| 5 |
+
padding: 15px;
|
| 6 |
+
margin-bottom: 20px;
|
| 7 |
+
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
.user-info {
|
| 11 |
+
display: flex;
|
| 12 |
+
justify-content: space-between;
|
| 13 |
+
align-items: center;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
.auth-buttons {
|
| 17 |
+
display: flex;
|
| 18 |
+
gap: 10px;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.btn {
|
| 22 |
+
padding: 10px 20px;
|
| 23 |
+
border: none;
|
| 24 |
+
border-radius: 5px;
|
| 25 |
+
cursor: pointer;
|
| 26 |
+
font-weight: 600;
|
| 27 |
+
transition: all 0.3s ease;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.btn-primary {
|
| 31 |
+
background: #667eea;
|
| 32 |
+
color: white;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.btn-secondary {
|
| 36 |
+
background: #e2e8f0;
|
| 37 |
+
color: #4a5568;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.btn:hover {
|
| 41 |
+
transform: translateY(-2px);
|
| 42 |
+
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
/* مودال */
|
| 46 |
+
.modal {
|
| 47 |
+
position: fixed;
|
| 48 |
+
top: 0;
|
| 49 |
+
left: 0;
|
| 50 |
+
width: 100%;
|
| 51 |
+
height: 100%;
|
| 52 |
+
background: rgba(0,0,0,0.5);
|
| 53 |
+
display: flex;
|
| 54 |
+
justify-content: center;
|
| 55 |
+
align-items: center;
|
| 56 |
+
z-index: 1000;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.modal-content {
|
| 60 |
+
background: white;
|
| 61 |
+
padding: 30px;
|
| 62 |
+
border-radius: 15px;
|
| 63 |
+
max-width: 400px;
|
| 64 |
+
width: 90%;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.modal h3 {
|
| 68 |
+
margin-bottom: 20px;
|
| 69 |
+
text-align: center;
|
| 70 |
+
color: #4a5568;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.modal input {
|
| 74 |
+
width: 100%;
|
| 75 |
+
padding: 12px;
|
| 76 |
+
margin-bottom: 15px;
|
| 77 |
+
border: 2px solid #e2e8f0;
|
| 78 |
+
border-radius: 8px;
|
| 79 |
+
font-size: 16px;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
.modal input:focus {
|
| 83 |
+
outline: none;
|
| 84 |
+
border-color: #667eea;
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
/* ریسپانسیو */
|
| 88 |
+
@media (max-width: 768px) {
|
| 89 |
+
.user-info {
|
| 90 |
+
flex-direction: column;
|
| 91 |
+
gap: 10px;
|
| 92 |
+
text-align: center;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
.auth-buttons {
|
| 96 |
+
justify-content: center;
|
| 97 |
+
}
|
| 98 |
+
}
|