-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd_equipment.css
More file actions
268 lines (235 loc) · 6.52 KB
/
Copy pathadd_equipment.css
File metadata and controls
268 lines (235 loc) · 6.52 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
.form-container {
max-width:800px;
margin: 20px auto;
padding: 30px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
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_eqpt {
background-color: var(--container-bg);
padding: 40px 15px; /* Augmenté le padding vertical */
border-radius: 15px; /* Réduit de 20px */
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
width: 95%;
max-width: 800px;
z-index: 1;
position: relative;
border: 1px solid var(--border-color);
backdrop-filter: blur(10px);
min-height: 600px; /* Ajout d'une hauteur minimale pour ajouter 40% */
display: flex;
flex-direction: column;
justify-content: center;
}
.form-fields-wrapper {
background-color: var(--card-bg);
padding: 10px 20px; /* Réduit */
border: 1px solid var(--border-color);
border-radius: 10px; /* Réduit de 12px */
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
margin-bottom: 10px; /* Réduit de 15px */
width: 100%;
}
.container-add_eqpt h2 {
text-align: center;
color: #ffffff;
margin-bottom: 30px; /* Augmenté significativement */
text-decoration: none;
border-bottom: 2px solid var(--accent-blue);
padding-bottom: 10px; /* Augmenté */
font-size: 1.5em; /* Taille plus grande */
}
.form-row {
display: flex;
flex-wrap: wrap;
gap: 10px; /* Réduit de 15px */
margin-bottom: 5px; /* Réduit de 10px */
}
.form-group {
flex: 1;
min-width: 200px; /* Réduit de 250px */
margin-bottom: 25px; /* Augmenté pour ajouter de la hauteur */
}
.form-group label {
display: block;
margin-bottom: 10px; /* Augmenté */
color: var(--text-color);
font-weight: 600;
font-size: 1em; /* Taille standard */
}
.form-group input[type="text"],
.form-group input[type="date"],
.form-group select {
width: 100%;
padding: 6px 8px; /* Réduit de 11px 8px */
background-color: #1e252e !important; /* Fond sombre opaque */
border: 1px solid var(--border-color);
color: var(--text-color) !important;
border-radius: 5px; /* Réduit de 6px */
box-sizing: border-box;
font-size: 0.9em; /* Réduit de 0.95em */
transition: all 0.3s ease;
}
/* 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");
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: 30px; /* Réaugmenté */
margin-top: 50px; /* Augmenté significativement pour ajouter de la hauteur */
width: 100%;
padding: 0 40px; /* Réaugmenté */
box-sizing: border-box;
}
.form-actions button, .back-btn, .btn-ok {
flex: 0 1 200px; /* Boutons plus larges */
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
padding: 15px 25px; /* Padding vertical augmenté */
border-radius: 10px;
cursor: pointer;
font-size: 1.1em; /* Police plus grande */
font-weight: 600;
transition: all 0.3s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.btn-ok {
background-color: var(--accent-green);
color: white;
}
.back-btn {
background-color: var(--accent-blue);
color: white;
text-decoration: none;
}
button:hover, .back-btn:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.btn-ok:hover { background-color: #27ae60; }
.back-btn:hover { background-color: #005f99; }
.form-group-submit {
text-align: center;
margin-top: 30px;
}
.checklist-container {
max-height: 200px;
overflow-y: auto;
border: 2px solid black;
padding: 10px;
border-radius: 4px;
background-color: white;
text-align: left;
width: 90%;
margin: 0 auto;
}
.checkbox-item {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 5px;
padding: 5px;
}
.checkbox-item input[type="checkbox"] {
width: 20px;
height: 20px;
cursor: pointer;
}
.checkbox-item label {
font-size: 1em !important;
font-weight: normal !important;
cursor: pointer;
margin-bottom: 0 !important;
}
.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;
}
.form-row {
display: flex;
justify-content: space-between;
gap: 20px; /* Espacement entre les colonnes */
margin-bottom: 5px;
}
.form-row .form-group {
flex: 1; /* Chaque form-group prend une part égale de l'espace */
margin-bottom: 0; /* Réinitialiser la marge inférieure pour les groupes dans une ligne */
}
/* Pour le dernier élément si impair, ou pour les petits écrans */
@media (max-width: 768px) {
.form-row {
flex-direction: column;
gap: 0;
}
.form-row .form-group {
margin-bottom: 15px; /* Restaurer la marge pour les petits écrans */
}
}
.new-input {
margin-top: 10px;
}
.in-jointure {
color: #007bff; /* Une couleur distincte pour les équipements déjà en jointure */
font-weight: bold;
}
.virtual-jointure-option {
color: #673AB7; /* Couleur violette pour les options virtuelles */
font-style: italic;
font-weight: bold;
}
.jointured-equipment {
color: red;
font-weight: bold;
}
.available-equipment {
color: green;
font-weight: normal;
}
.current-jointure-equipment {
color: red; /* Ou une autre couleur distinctive */
font-weight: bold;
}
.other-jointure-equipment {
color: gray;
font-style: italic;
}
.form-group select .selected-equipment-red {
color: red;
font-weight: bold;
}
.form-group select option.star-equipment-option {
background-color: #fffacd !important; /* Light yellow */
font-weight: bold;
color: black !important; /* S'assurer que le texte est visible sur fond jaune */
}