-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd_site.css
More file actions
303 lines (264 loc) · 6.76 KB
/
Copy pathadd_site.css
File metadata and controls
303 lines (264 loc) · 6.76 KB
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
color: var(--text-color);
background-color: var(--bg-color);
}
.container-add_site {
background-color: var(--container-bg) !important;
padding: 20px; /* Réduit */
border-radius: 20px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
width: 95%;
max-width: 730px; /* Augmenté de 700px à 730px (+30px largeur) */
z-index: 1;
position: relative; /* Assure que le logo absolu se place par rapport à ce container */
border: 1px solid var(--border-color);
backdrop-filter: blur(10px);
}
.form-fields-wrapper {
background-color: var(--card-bg);
padding: 30px 25px; /* Augmenté de 15px à 30px verticalement (+30px hauteur totale) */
border: 1px solid var(--border-color);
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
margin-bottom: 15px; /* Réduit */
width: 100%;
}
h2 {
text-align: center;
color: #ffffff;
margin-bottom: 15px; /* Réduit */
text-decoration: none;
border-bottom: 2px solid var(--accent-blue);
padding-bottom: 8px;
font-size: 1.4em; /* Réduit */
}
.form-row {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 10px;
}
.form-group {
flex: 1;
min-width: 250px;
}
.form-group label {
display: block;
margin-bottom: 5px; /* Réduit */
color: var(--text-color);
font-weight: 600;
font-size: 0.95em; /* Réduit */
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.new-input-field {
width: 100%;
padding: 10px;
background-color: #1e252e !important; /* Force le fond sombre */
border: 1px solid var(--border-color);
color: var(--text-color) !important; /* Force le texte clair */
border-radius: 6px;
box-sizing: border-box;
font-size: 0.95em;
transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.new-input-field:focus {
border-color: var(--accent-blue);
background-color: rgba(255, 255, 255, 0.08) !important;
outline: none;
box-shadow: 0 0 10px rgba(0, 119, 179, 0.2);
}
/* Style spécifique pour les listes déroulantes */
.form-group select {
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23e0e0e0' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E%0A");
background-repeat: no-repeat;
background-position: calc(100% - 12px) center;
}
.form-group select option {
background-color: #1e252e;
color: #e0e0e0;
}
.form-actions {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 15px;
}
.form-actions button {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
font-size: 1em;
font-weight: 600;
transition: all 0.3s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-ok {
background-color: var(--accent-green);
color: white;
}
.action-button.back-btn {
background-color: var(--accent-blue);
color: white;
}
.form-actions button:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.btn-ok:hover { background-color: #27ae60; }
.action-button.back-btn:hover { background-color: #005f99; }
.back-link {
display: block;
text-align: center;
margin-top: 20px;
color: black; /* Couleur noire */
text-decoration: none;
font-size: 1.3em; /* Augmente la taille de la police */
}
.back-link:hover {
text-decoration: underline;
}
.new-input-field {
margin-top: 5px;
width: calc(100% - 22px); /* Ajuster la largeur pour le padding */
}
/* Responsivité Mobile */
@media screen and (max-width: 768px) {
.container-add_site {
padding: 15px;
margin: 10px;
width: calc(100% - 20px);
}
.form-group {
min-width: 100%;
}
.form-actions button {
width: 100%;
}
}
/* Styles pour la modal de confirmation de mot de passe */
.modal {
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
}
.modal-content {
background-color: rgb(3, 3, 58);
padding: 30px;
border-radius: 8px;
border: 3px solid white;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
width: 90%;
max-width: 400px;
position: relative;
text-align: center;
}
.modal-content h3 {
color: white;
margin-bottom: 15px;
text-decoration: underline;
}
.modal-content p {
color: white;
margin-bottom: 20px;
font-size: 1.1em;
}
.modal-content input[type="password"] {
width: 100%;
padding: 12px;
border: 2px solid white;
border-radius: 4px;
background-color: white;
font-size: 1em;
margin-bottom: 10px;
box-sizing: border-box;
}
.modal-buttons {
display: flex;
gap: 15px;
justify-content: center;
}
.modal-buttons button {
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1em;
transition: all 0.3s ease;
border: 2px solid white;
}
.modal-buttons .btn-ok {
background-color: #007bff;
color: white;
}
.modal-buttons .btn-ok:hover {
background-color: #0056b3;
border-color: black;
}
.modal-buttons .back-btn {
background-color: #6c757d;
color: white;
}
.modal-buttons .back-btn:hover {
background-color: #545b62;
border-color: black;
}
.close {
position: absolute;
right: 15px;
top: 15px;
color: white;
font-size: 28px;
font-weight: bold;
cursor: pointer;
transition: color 0.3s ease;
}
.close:hover {
color: #ff0000;
}
.error-message {
color: #ff6b6b !important;
background-color: rgba(255, 0, 0, 0.1);
padding: 10px;
border-radius: 4px;
border: 1px solid #ff6b6b;
font-size: 0.9em;
}
/* Responsivité pour la modal */
@media screen and (max-width: 480px) {
.modal-content {
width: 95%;
padding: 20px;
}
.modal-buttons {
flex-direction: column;
gap: 10px;
}
.modal-buttons button {
width: 100%;
}
}