This repository was archived by the owner on Nov 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·356 lines (293 loc) · 6.19 KB
/
style.css
File metadata and controls
executable file
·356 lines (293 loc) · 6.19 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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
body.dinet_page_dinet_monitoring_page main,
body.toplevel_page_dinet_admin_plugin main,
body.toplevel_page_dinet_plugin main {
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
}
.dinet_page_title {
font-size: 2rem;
font-weight: 400;
}
.dinet_citation {
font-size: 1rem;
color: #777;
}
body.dinet_page_dinet_monitoring_page section,
body.dinet_page_dinet_admin_page section,
body.dinet_page_dinet_patient_record section,
body.toplevel_page_dinet_admin_plugin section,
body.toplevel_page_dinet_plugin section,
body.plugins_page_dinet_add_food main.dinet_add_food {
background-color: #fff;
border: 1px solid #e5e5e5;
box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
padding: 0 1rem 1rem 1rem;
margin-right: 1rem;
}
body.dinet_page_dinet_admin_page section header h2,
body.dinet_page_dinet_patient_record section header h2,
body.dinet_page_dinet_monitoring_page section header h2,
body.toplevel_page_dinet_admin_plugin section header h2,
body.toplevel_page_dinet_plugin section header h2 {
font-weight: 400;
font-size: 1.3rem;
}
.dinet_add_eaten_food {
width: 100%;
margin-top: 1rem;
}
.dinet_add_eaten_food table {
width: 100%;
}
.dinet_add_eaten_food th,
.dinet_add_eaten_food tr.food_item {
width: 30%;
text-align: left;
}
.dinet_add_eaten_food tr.food_item input.quantity {
margin-right: 0;
}
.dinet_add_eaten_food tr.food_item input.add_input {
color: #0073aa;
font-size: 13px;
font-weight: 600;
background: #f7f7f7;
border-bottom-right-radius: 2px;
border-top-right-radius: 2px;
border: 1px solid #ccc;
margin-left: -4px;
/*border-left: 0;*/
cursor: pointer;
transition: 0.3s;
height: 28px;
/*width: 28px;*/
}
#table_food input{
height: 28px;
}
.dinet_add_eaten_food tr.food_item input.add_input:hover {
color: #fff;
background: #0073aa;
border: 1px solid #006291;
}
.dinet_add_eaten_food .pagination_button {
color: #0073aa;
font-size: 13px;
padding: 0.5rem 1rem;
font-weight: 600;
background: #f7f7f7;
border-radius: 2px;
border: 1px solid #ccc;
cursor: pointer;
transition: 0.3s;
width: 100px;
margin-top: 1rem;
}
.dinet_add_eaten_food .pagination_button:hover {
color: #fff;
background: #0073aa;
border: 1px solid #006291;
}
.add_info{
text-align: center;
width: 120px;
}
.add_info h2{
text-align: left;
}
.add_info div input{
width: calc(100% - 55px);
}
.add_info label{
min-width: 50px;
margin: 1rem 0;
text-align: left;
display: inline-block;
}
.add_info .save_info:hover{
color: #fff;
background: #0073aa;
border: 1px solid #006291;
}
.add_info .save_info{
color: #0073aa;
font-size: 13px;
font-weight: 600;
background: #f7f7f7;
border-radius: 2px;
border: 1px solid #ccc;
padding: 0.5rem 1rem;
cursor: pointer;
margin: 1rem auto;
transition: 0.3s;
}
.toast_add_eaten_food {
width: 100%;
position: fixed;
margin-left: -20px;
bottom: calc(50% - 50px);
color: #F0F0F0;
font-size: 20px;
padding: 10px;
text-align: center;
}
.dinet_chart{
width: 500px;
}
.statChart{
width: 500px;
}
.search_bar{
padding: 0.5rem;
margin-bottom: 1rem;
width: 50%;
}
.dinet_add_new_food{
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
.dinet_add_new_food > div {
margin-right: 5rem;
}
.dinet_info_add_new_food label{
display: inline-block;
min-width: 280px;
}
.dinet_info_add_new_food input{
display: inline-block;
min-width: 212px;
}
.dinet_last_food{
flex: 3;
}
.btn-delete{
background: rgba(255, 0, 0, 0);
border: none;
color: red;
cursor: pointer;
}
.patient_list header h2{
display: inline-block;
}
.patient_list header a{
display: inline-block;
margin-left: 2rem;
}
.patient_record{
min-width: 510px;
}
.patient_record_form_group label{
width: 100px;
display: inline-block;
}
.patient_record_form_group textarea,
.patient_record_form_group input{
padding: 0.5rem;
margin-bottom: 1rem;
width: 400px;
}
.patient_consultation{
margin-bottom: 1rem;
flex: 1;
flex-basis: calc(100% - 430px);
}
.goal input[type="text"]{
padding: 0.5rem;
margin-bottom: 1rem;
}
.goal input[type="button"]{
height:35px;
}
.inputError{
color: red !important;
border-color: red !important;
box-shadow: 0 2px 5px rgba(255, 0, 0, .4) !important;
}
.table_last_eaten_food_overflow{
border: 1px solid #eee;
max-height: calc(36px * 7);
overflow-y: scroll;
}
.dinet_last_food_table{
border: none !important;
}
/* Responsive table ajout de consommation */
@media all and (max-width: 782px) {
.table_food,
.table_food thead,
.table_food tbody,
.table_food th,
.table_food td,
.table_food tr {
display: block;
}
.table_food thead {
display: none;
}
.table_food tr.food_item {
border: 1px solid #ccc;
width: 100%;
}
.table_food td {
border: none;
}
.table_food .food_description{
font-size: 1.5rem;
font-weight: bold;
border-bottom: 1px solid #ddd;
}
.table_food .quantity{
display: block;
padding-top: 0;
padding-bottom: 0;
}
.table_food input,.table_food select{
width: 100% !important;
}
}
@media all and (max-width: 544px){
.citation{
display: none;
}
body.dinet_page_dinet_monitoring_page section,
body.toplevel_page_dinet_plugin section{
width: 100%;
}
}
@media all and (max-width: 782px){
.dinet_add_eaten_food tr.food_item input.add_input{
padding-top: 12px;
padding-bottom: 26px;
}
.search_bar{
width: 100%;
}
.add_info{
width: auto;
margin-bottom: 1rem;
}
.goal{
margin-top: 1rem;
}
}
@media all and (max-width: 1235px){
.statChart{
width: 100%;
}
.dinet_chart{
width: 100%;
}
.IMC {
margin-top: 1rem;
width: calc(50% - 2rem - 20px);
}
.add_info{
margin-top: 1rem;
width: calc(50% - 2rem - 20px);
}
.quantity{
width: 70%;
}
}