-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient.css
More file actions
234 lines (211 loc) · 5.63 KB
/
Copy pathclient.css
File metadata and controls
234 lines (211 loc) · 5.63 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
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); /* Nouvelle couleur de fond */
}
#background-slider {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
overflow: hidden;
}
#background-slider img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transition: opacity 1s ease-in-out;
}
#background-slider img.active {
opacity: 1;
}
.container-index {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 95%;
max-width: 650px; /* Réduit de 750px */
padding: 15px 20px; /* Réduit de 20px */
background-color: var(--container-bg) !important;
border-radius: 15px; /* Réduit de 20px */
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
z-index: 1;
position: relative; /* Ajouté pour le logo absolu */
border: 1px solid var(--border-color);
backdrop-filter: blur(10px);
}
/* Styles spécifiques à la page client, si nécessaire */
.client-form-container {
max-width: 600px;
margin: 20px auto; /* Réduit de 50px */
padding: 20px; /* Réduit de 30px */
background-color: #0a7df1;
border-radius: 8px;
box-shadow: 0 0 15px rgba(23, 0, 0, 0.1);
}
.container-index h2 {
color: #ffffff;
margin-top: 5px; /* Réduit de 10px */
margin-bottom: 15px; /* Réduit de 25px */
text-align: center;
font-size: 1.4em; /* Réduit de 1.8em */
text-transform: capitalize;
letter-spacing: 1px;
border-bottom: 2px solid var(--accent-blue);
padding-bottom: 8px; /* Réduit de 10px */
width: 100%;
}
.client-content-wrapper {
width: 100%;
background-color: #1e252e;
padding: 15px 20px; /* Réduit de 25px */
border-radius: 10px; /* Réduit de 12px */
border: 1px solid var(--border-color);
}
.client-content-wrapper label {
color: #ffffff;
}
.client-content-wrapper input,
.client-content-wrapper select,
.client-content-wrapper option {
color: #ffffff;
}
.client-content-wrapper input::placeholder,
.client-content-wrapper select::placeholder {
color: rgba(255, 255, 255, 0.65);
}
.form-group {
margin-bottom: 8px; /* Réduit de 12px */
display: flex;
align-items: center;
}
.form-group label {
margin-bottom: 0;
color: #ffffff !important;
font-weight: 600;
width: 120px; /* Réduit de 130px */
text-align: left;
margin-right: 10px;
font-size: 0.9em; /* Réduit de 0.95em */
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
flex: 1;
background-color: #1e252e; /* Fond sombre opaque */
border: 1px solid var(--border-color);
color: var(--text-color);
border-radius: 6px;
padding: 8px 10px;
font-size: 0.95em;
cursor: pointer;
appearance: none; /* Pour un style plus propre */
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");
background-repeat: no-repeat;
background-position: calc(100% - 12px) center;
}
.form-group select option {
background-color: #1e252e; /* Fond des options */
color: #ffffff; /* Couleur du texte des options */
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
border-color: #466a8e;
outline: none;
box-shadow: 0 0 0 2px rgba(70, 106, 142, 0.2);
}
.form-actions {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 25px; /* Ajouté pour descendre les boutons */
}
.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; }
/* Responsivité Mobile */
@media screen and (max-width: 768px) {
.container-index {
padding: 20px;
margin: 10px;
width: calc(100% - 20px);
}
.form-group {
flex-direction: column;
align-items: flex-start;
}
.form-group label {
width: 100%;
margin-bottom: 5px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
#nom-institution-select,
#nom-institution-new {
width: 100% !important;
margin-bottom: 10px;
}
.form-group div {
width: 100% !important;
}
.form-actions {
flex-direction: column;
gap: 10px !important;
}
.form-actions button {
width: 100%;
margin: 0;
}
}
.back-link {
display: block;
text-align: center;
margin-top: 20px;
color: black;
text-decoration: none;
font-size: 1.3em; /* Augmente la taille de la police */
}
.back-link:hover {
text-decoration: underline;
}