nhsuk-tools-chart-components-react 1.1.12 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/bundle.css +138 -138
- package/dist/esm/bundle.css +163 -163
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ The Blood Pressure (BP) chart component can be used to visualise systolic and di
|
|
|
52
52
|
/>
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
A `storybook` instance for the components can be found in `https://
|
|
55
|
+
A `storybook` instance for the components can be found in `https://red-water-0aa7dfb03.6.azurestaticapps.net/?path=/docs/welcome--docs`
|
|
56
56
|
|
|
57
57
|
## Installation
|
|
58
58
|
|
package/dist/cjs/bundle.css
CHANGED
|
@@ -15,6 +15,63 @@
|
|
|
15
15
|
margin-bottom: 3px;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
.nhsuk-bar-slider-graph {
|
|
19
|
+
position: relative;
|
|
20
|
+
outline: 1px solid black;
|
|
21
|
+
margin-top: 20px;
|
|
22
|
+
display: flex;
|
|
23
|
+
height: 28px;
|
|
24
|
+
}
|
|
25
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
26
|
+
.nhsuk-bar-slider-graph {
|
|
27
|
+
height: 24px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.nhsuk-bar-slider-arrow-marker {
|
|
32
|
+
position: absolute;
|
|
33
|
+
height: 16px;
|
|
34
|
+
width: 16px;
|
|
35
|
+
margin: -9px 0 -8px -8px;
|
|
36
|
+
}
|
|
37
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
38
|
+
.nhsuk-bar-slider-arrow-marker {
|
|
39
|
+
height: 12px;
|
|
40
|
+
width: 12px;
|
|
41
|
+
margin: -9px 0 -6px -6px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.nhsuk-bar-slider-label-align-left {
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: left;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.nhsuk-bar-slider-label-align-center {
|
|
51
|
+
display: flex;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.nhsuk-bar-slider-label-align-right {
|
|
56
|
+
display: flex;
|
|
57
|
+
justify-content: right;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.nhsuk-bar-slider-label-marker {
|
|
61
|
+
position: relative;
|
|
62
|
+
height: 25px;
|
|
63
|
+
width: auto;
|
|
64
|
+
white-space: nowrap;
|
|
65
|
+
margin-top: -30px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.nhsuk-bar-slider-value-marker {
|
|
69
|
+
position: relative;
|
|
70
|
+
font-weight: bold;
|
|
71
|
+
margin-left: 5px;
|
|
72
|
+
margin-right: 2px;
|
|
73
|
+
}
|
|
74
|
+
|
|
18
75
|
.nhsuk-bmi-classification-underweight, .nhsuk-bmi-legend-key-classification-underweight {
|
|
19
76
|
background: #330072;
|
|
20
77
|
}
|
|
@@ -44,21 +101,6 @@
|
|
|
44
101
|
}
|
|
45
102
|
}
|
|
46
103
|
|
|
47
|
-
.nhsuk-bmi-chart-marker {
|
|
48
|
-
position: absolute;
|
|
49
|
-
z-index: 4;
|
|
50
|
-
height: 24px;
|
|
51
|
-
width: 24px;
|
|
52
|
-
margin: 2px 0 -12px -12px;
|
|
53
|
-
}
|
|
54
|
-
@media (min-width: 320px) and (max-width: 641px) {
|
|
55
|
-
.nhsuk-bmi-chart-marker {
|
|
56
|
-
height: 20px;
|
|
57
|
-
width: 20px;
|
|
58
|
-
margin: 2px 0 -10px -10px;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
104
|
.nhsuk-bmi-classification-underweight, .nhsuk-bmi-legend-key-classification-underweight {
|
|
63
105
|
background: #330072;
|
|
64
106
|
}
|
|
@@ -85,6 +127,21 @@
|
|
|
85
127
|
box-shadow: none;
|
|
86
128
|
}
|
|
87
129
|
|
|
130
|
+
.nhsuk-bmi-chart-marker {
|
|
131
|
+
position: absolute;
|
|
132
|
+
z-index: 4;
|
|
133
|
+
height: 24px;
|
|
134
|
+
width: 24px;
|
|
135
|
+
margin: 2px 0 -12px -12px;
|
|
136
|
+
}
|
|
137
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
138
|
+
.nhsuk-bmi-chart-marker {
|
|
139
|
+
height: 20px;
|
|
140
|
+
width: 20px;
|
|
141
|
+
margin: 2px 0 -10px -10px;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
88
145
|
.nhsuk-bmi-classification-underweight, .nhsuk-bmi-legend-key-classification-underweight {
|
|
89
146
|
background: #330072;
|
|
90
147
|
}
|
|
@@ -147,50 +204,6 @@
|
|
|
147
204
|
text-align: center;
|
|
148
205
|
}
|
|
149
206
|
|
|
150
|
-
.nhsuk-bar-slider-arrow-marker {
|
|
151
|
-
position: absolute;
|
|
152
|
-
height: 16px;
|
|
153
|
-
width: 16px;
|
|
154
|
-
margin: -9px 0 -8px -8px;
|
|
155
|
-
}
|
|
156
|
-
@media (min-width: 320px) and (max-width: 641px) {
|
|
157
|
-
.nhsuk-bar-slider-arrow-marker {
|
|
158
|
-
height: 12px;
|
|
159
|
-
width: 12px;
|
|
160
|
-
margin: -9px 0 -6px -6px;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.nhsuk-bar-slider-label-align-left {
|
|
165
|
-
display: flex;
|
|
166
|
-
justify-content: left;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.nhsuk-bar-slider-label-align-center {
|
|
170
|
-
display: flex;
|
|
171
|
-
justify-content: center;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.nhsuk-bar-slider-label-align-right {
|
|
175
|
-
display: flex;
|
|
176
|
-
justify-content: right;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.nhsuk-bar-slider-label-marker {
|
|
180
|
-
position: relative;
|
|
181
|
-
height: 25px;
|
|
182
|
-
width: auto;
|
|
183
|
-
white-space: nowrap;
|
|
184
|
-
margin-top: -30px;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.nhsuk-bar-slider-value-marker {
|
|
188
|
-
position: relative;
|
|
189
|
-
font-weight: bold;
|
|
190
|
-
margin-left: 5px;
|
|
191
|
-
margin-right: 2px;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
207
|
.nhsuk-bp-graph {
|
|
195
208
|
position: relative;
|
|
196
209
|
margin-left: 20px;
|
|
@@ -245,41 +258,66 @@
|
|
|
245
258
|
border-bottom: 2px solid black;
|
|
246
259
|
}
|
|
247
260
|
|
|
248
|
-
.nhsuk-
|
|
249
|
-
position:
|
|
250
|
-
outline:
|
|
251
|
-
margin-top: 20px;
|
|
252
|
-
display: flex;
|
|
253
|
-
height: 28px;
|
|
254
|
-
}
|
|
255
|
-
@media (min-width: 320px) and (max-width: 641px) {
|
|
256
|
-
.nhsuk-bar-slider-graph {
|
|
257
|
-
height: 24px;
|
|
258
|
-
}
|
|
261
|
+
.nhsuk-bp-diastolic-axis-marker, .nhsuk-bp-systolic-axis-marker {
|
|
262
|
+
position: absolute;
|
|
263
|
+
outline: 0.5px solid black;
|
|
259
264
|
}
|
|
260
265
|
|
|
261
|
-
.nhsuk-bp-
|
|
266
|
+
.nhsuk-bp-diastolic-axis-label, .nhsuk-bp-systolic-axis-label {
|
|
262
267
|
position: absolute;
|
|
263
|
-
z-index: 6;
|
|
264
|
-
height: 24px;
|
|
265
|
-
width: 24px;
|
|
266
|
-
margin: 0 0 -12px -12px;
|
|
267
268
|
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
269
|
+
|
|
270
|
+
.nhsuk-bp-systolic-axis-marker {
|
|
271
|
+
width: 5px;
|
|
272
|
+
left: -5px;
|
|
273
|
+
}
|
|
274
|
+
.nhsuk-bp-systolic-axis-marker:first-child {
|
|
275
|
+
bottom: -1px !important;
|
|
276
|
+
}
|
|
277
|
+
.nhsuk-bp-systolic-axis-marker:last-child {
|
|
278
|
+
bottom: calc(100% + 1px) !important;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.nhsuk-bp-diastolic-axis-marker {
|
|
282
|
+
height: 5px;
|
|
283
|
+
bottom: -5px;
|
|
284
|
+
}
|
|
285
|
+
.nhsuk-bp-diastolic-axis-marker:first-child {
|
|
286
|
+
left: -1px !important;
|
|
287
|
+
}
|
|
288
|
+
.nhsuk-bp-diastolic-axis-marker:last-child {
|
|
289
|
+
left: calc(100% + 1px) !important;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
@media (max-width: 450px) {
|
|
293
|
+
.nhsuk-bp-diastolic-axis-marker-85 {
|
|
294
|
+
display: none;
|
|
273
295
|
}
|
|
274
296
|
}
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
297
|
+
|
|
298
|
+
.nhsuk-bp-diastolic-axis-marker-90 {
|
|
299
|
+
display: none;
|
|
300
|
+
}
|
|
301
|
+
@media (max-width: 450px) {
|
|
302
|
+
.nhsuk-bp-diastolic-axis-marker-90 {
|
|
303
|
+
display: block;
|
|
280
304
|
}
|
|
281
305
|
}
|
|
282
306
|
|
|
307
|
+
.nhsuk-bp-systolic-axis-label {
|
|
308
|
+
left: -30px;
|
|
309
|
+
top: -10px;
|
|
310
|
+
width: 26px;
|
|
311
|
+
text-align: end;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.nhsuk-bp-diastolic-axis-label {
|
|
315
|
+
bottom: -25px;
|
|
316
|
+
left: -10px;
|
|
317
|
+
width: 20px;
|
|
318
|
+
text-align: center;
|
|
319
|
+
}
|
|
320
|
+
|
|
283
321
|
.nhsuk-bp-classification-low, .nhsuk-bp-legend-key-classification-low {
|
|
284
322
|
background: #330072;
|
|
285
323
|
}
|
|
@@ -389,66 +427,28 @@
|
|
|
389
427
|
border-left: none;
|
|
390
428
|
}
|
|
391
429
|
|
|
392
|
-
.nhsuk-bp-
|
|
393
|
-
position: absolute;
|
|
394
|
-
outline: 0.5px solid black;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
.nhsuk-bp-diastolic-axis-label, .nhsuk-bp-systolic-axis-label {
|
|
430
|
+
.nhsuk-bp-graph-marker {
|
|
398
431
|
position: absolute;
|
|
432
|
+
z-index: 6;
|
|
433
|
+
height: 24px;
|
|
434
|
+
width: 24px;
|
|
435
|
+
margin: 0 0 -12px -12px;
|
|
399
436
|
}
|
|
400
|
-
|
|
401
|
-
.nhsuk-bp-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
.nhsuk-bp-systolic-axis-marker:first-child {
|
|
406
|
-
bottom: -1px !important;
|
|
407
|
-
}
|
|
408
|
-
.nhsuk-bp-systolic-axis-marker:last-child {
|
|
409
|
-
bottom: calc(100% + 1px) !important;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
.nhsuk-bp-diastolic-axis-marker {
|
|
413
|
-
height: 5px;
|
|
414
|
-
bottom: -5px;
|
|
415
|
-
}
|
|
416
|
-
.nhsuk-bp-diastolic-axis-marker:first-child {
|
|
417
|
-
left: -1px !important;
|
|
418
|
-
}
|
|
419
|
-
.nhsuk-bp-diastolic-axis-marker:last-child {
|
|
420
|
-
left: calc(100% + 1px) !important;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
@media (max-width: 450px) {
|
|
424
|
-
.nhsuk-bp-diastolic-axis-marker-85 {
|
|
425
|
-
display: none;
|
|
437
|
+
@media (max-width: 320px) {
|
|
438
|
+
.nhsuk-bp-graph-marker {
|
|
439
|
+
height: 20px;
|
|
440
|
+
width: 20px;
|
|
441
|
+
margin: 0 0 -10px -10px;
|
|
426
442
|
}
|
|
427
443
|
}
|
|
428
|
-
|
|
429
|
-
.nhsuk-bp-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
.nhsuk-bp-diastolic-axis-marker-90 {
|
|
434
|
-
display: block;
|
|
444
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
445
|
+
.nhsuk-bp-graph-marker {
|
|
446
|
+
height: 22px;
|
|
447
|
+
width: 22px;
|
|
448
|
+
margin: 0 0 -11px -11px;
|
|
435
449
|
}
|
|
436
450
|
}
|
|
437
451
|
|
|
438
|
-
.nhsuk-bp-systolic-axis-label {
|
|
439
|
-
left: -30px;
|
|
440
|
-
top: -10px;
|
|
441
|
-
width: 26px;
|
|
442
|
-
text-align: end;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
.nhsuk-bp-diastolic-axis-label {
|
|
446
|
-
bottom: -25px;
|
|
447
|
-
left: -10px;
|
|
448
|
-
width: 20px;
|
|
449
|
-
text-align: center;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
452
|
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
453
453
|
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
454
454
|
}
|
package/dist/esm/bundle.css
CHANGED
|
@@ -28,35 +28,6 @@
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.nhsuk-bmi-classification-underweight, .nhsuk-bmi-legend-key-classification-underweight {
|
|
32
|
-
background: #330072;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.nhsuk-bmi-classification-healthy, .nhsuk-bmi-legend-key-classification-healthy {
|
|
36
|
-
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.nhsuk-bmi-classification-overweight, .nhsuk-bmi-legend-key-classification-overweight {
|
|
40
|
-
background: #ffb81c;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.nhsuk-bmi-classification-obese, .nhsuk-bmi-legend-key-classification-obese {
|
|
44
|
-
background: repeating-linear-gradient(45deg, #da5147, #da5147 4.5px, #d5281b 4.5px, #d5281b 9px);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.nhsuk-bmi-graph {
|
|
48
|
-
position: relative;
|
|
49
|
-
outline: 1px solid black;
|
|
50
|
-
display: flex;
|
|
51
|
-
height: 28px;
|
|
52
|
-
margin-bottom: nhsuk-spacing(4);
|
|
53
|
-
}
|
|
54
|
-
@media (min-width: 320px) and (max-width: 641px) {
|
|
55
|
-
.nhsuk-bmi-graph {
|
|
56
|
-
height: 24px;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
31
|
.nhsuk-bar-slider-arrow-marker {
|
|
61
32
|
position: absolute;
|
|
62
33
|
height: 16px;
|
|
@@ -117,14 +88,17 @@
|
|
|
117
88
|
background: repeating-linear-gradient(45deg, #da5147, #da5147 4.5px, #d5281b 4.5px, #d5281b 9px);
|
|
118
89
|
}
|
|
119
90
|
|
|
120
|
-
.nhsuk-bmi-
|
|
121
|
-
|
|
122
|
-
|
|
91
|
+
.nhsuk-bmi-graph {
|
|
92
|
+
position: relative;
|
|
93
|
+
outline: 1px solid black;
|
|
94
|
+
display: flex;
|
|
95
|
+
height: 28px;
|
|
96
|
+
margin-bottom: nhsuk-spacing(4);
|
|
123
97
|
}
|
|
124
|
-
|
|
125
|
-
.nhsuk-bmi-
|
|
126
|
-
|
|
127
|
-
|
|
98
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
99
|
+
.nhsuk-bmi-graph {
|
|
100
|
+
height: 24px;
|
|
101
|
+
}
|
|
128
102
|
}
|
|
129
103
|
|
|
130
104
|
.nhsuk-bmi-chart-marker {
|
|
@@ -142,6 +116,32 @@
|
|
|
142
116
|
}
|
|
143
117
|
}
|
|
144
118
|
|
|
119
|
+
.nhsuk-bmi-classification-underweight, .nhsuk-bmi-legend-key-classification-underweight {
|
|
120
|
+
background: #330072;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.nhsuk-bmi-classification-healthy, .nhsuk-bmi-legend-key-classification-healthy {
|
|
124
|
+
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.nhsuk-bmi-classification-overweight, .nhsuk-bmi-legend-key-classification-overweight {
|
|
128
|
+
background: #ffb81c;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.nhsuk-bmi-classification-obese, .nhsuk-bmi-legend-key-classification-obese {
|
|
132
|
+
background: repeating-linear-gradient(45deg, #da5147, #da5147 4.5px, #d5281b 4.5px, #d5281b 9px);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.nhsuk-bmi-legend-key-classification-obese {
|
|
136
|
+
border-bottom: none;
|
|
137
|
+
box-shadow: none;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.nhsuk-bmi-legend-key-marker {
|
|
141
|
+
border-bottom: none;
|
|
142
|
+
box-shadow: none;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
145
|
.nhsuk-bmi-axis-marker {
|
|
146
146
|
position: absolute;
|
|
147
147
|
outline: 0.5px solid black;
|
|
@@ -246,60 +246,6 @@
|
|
|
246
246
|
box-shadow: none;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
.nhsuk-bp-graph {
|
|
250
|
-
position: relative;
|
|
251
|
-
margin-left: 20px;
|
|
252
|
-
margin-right: 20px;
|
|
253
|
-
outline: 2px solid black;
|
|
254
|
-
display: flex;
|
|
255
|
-
flex-direction: column;
|
|
256
|
-
height: 350px;
|
|
257
|
-
}
|
|
258
|
-
@media (max-width: 320px) {
|
|
259
|
-
.nhsuk-bp-graph {
|
|
260
|
-
height: 225px;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
@media (min-width: 320px) and (max-width: 641px) {
|
|
264
|
-
.nhsuk-bp-graph {
|
|
265
|
-
height: 275px;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.nhsuk-bp-graph-row {
|
|
270
|
-
flex-grow: 1;
|
|
271
|
-
display: flex;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.nhsuk-bp-systolic-legend-wrapper {
|
|
275
|
-
display: flex;
|
|
276
|
-
align-items: flex-end;
|
|
277
|
-
margin-bottom: 10px;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.nhsuk-bp-diastolic-legend-wrapper {
|
|
281
|
-
display: flex;
|
|
282
|
-
align-items: flex-start;
|
|
283
|
-
margin-top: 30px;
|
|
284
|
-
padding-left: 18px;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
.nhsuk-bp-diastolic-legend-marker, .nhsuk-bp-systolic-legend-marker {
|
|
288
|
-
height: 16px;
|
|
289
|
-
margin-right: 5px;
|
|
290
|
-
border-left: 2px solid black;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.nhsuk-bp-systolic-legend-marker {
|
|
294
|
-
width: 40px;
|
|
295
|
-
border-top: 2px solid black;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.nhsuk-bp-diastolic-legend-marker {
|
|
299
|
-
width: 20px;
|
|
300
|
-
border-bottom: 2px solid black;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
249
|
.nhsuk-bp-diastolic-axis-marker, .nhsuk-bp-systolic-axis-marker {
|
|
304
250
|
position: absolute;
|
|
305
251
|
outline: 0.5px solid black;
|
|
@@ -360,28 +306,60 @@
|
|
|
360
306
|
text-align: center;
|
|
361
307
|
}
|
|
362
308
|
|
|
363
|
-
.nhsuk-bp-graph
|
|
364
|
-
position:
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
309
|
+
.nhsuk-bp-graph {
|
|
310
|
+
position: relative;
|
|
311
|
+
margin-left: 20px;
|
|
312
|
+
margin-right: 20px;
|
|
313
|
+
outline: 2px solid black;
|
|
314
|
+
display: flex;
|
|
315
|
+
flex-direction: column;
|
|
316
|
+
height: 350px;
|
|
369
317
|
}
|
|
370
318
|
@media (max-width: 320px) {
|
|
371
|
-
.nhsuk-bp-graph
|
|
372
|
-
height:
|
|
373
|
-
width: 20px;
|
|
374
|
-
margin: 0 0 -10px -10px;
|
|
319
|
+
.nhsuk-bp-graph {
|
|
320
|
+
height: 225px;
|
|
375
321
|
}
|
|
376
322
|
}
|
|
377
323
|
@media (min-width: 320px) and (max-width: 641px) {
|
|
378
|
-
.nhsuk-bp-graph
|
|
379
|
-
height:
|
|
380
|
-
width: 22px;
|
|
381
|
-
margin: 0 0 -11px -11px;
|
|
324
|
+
.nhsuk-bp-graph {
|
|
325
|
+
height: 275px;
|
|
382
326
|
}
|
|
383
327
|
}
|
|
384
328
|
|
|
329
|
+
.nhsuk-bp-graph-row {
|
|
330
|
+
flex-grow: 1;
|
|
331
|
+
display: flex;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.nhsuk-bp-systolic-legend-wrapper {
|
|
335
|
+
display: flex;
|
|
336
|
+
align-items: flex-end;
|
|
337
|
+
margin-bottom: 10px;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.nhsuk-bp-diastolic-legend-wrapper {
|
|
341
|
+
display: flex;
|
|
342
|
+
align-items: flex-start;
|
|
343
|
+
margin-top: 30px;
|
|
344
|
+
padding-left: 18px;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.nhsuk-bp-diastolic-legend-marker, .nhsuk-bp-systolic-legend-marker {
|
|
348
|
+
height: 16px;
|
|
349
|
+
margin-right: 5px;
|
|
350
|
+
border-left: 2px solid black;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.nhsuk-bp-systolic-legend-marker {
|
|
354
|
+
width: 40px;
|
|
355
|
+
border-top: 2px solid black;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.nhsuk-bp-diastolic-legend-marker {
|
|
359
|
+
width: 20px;
|
|
360
|
+
border-bottom: 2px solid black;
|
|
361
|
+
}
|
|
362
|
+
|
|
385
363
|
.nhsuk-bp-classification-low, .nhsuk-bp-legend-key-classification-low {
|
|
386
364
|
background: #330072;
|
|
387
365
|
}
|
|
@@ -433,6 +411,28 @@
|
|
|
433
411
|
z-index: 0;
|
|
434
412
|
}
|
|
435
413
|
|
|
414
|
+
.nhsuk-bp-graph-marker {
|
|
415
|
+
position: absolute;
|
|
416
|
+
z-index: 6;
|
|
417
|
+
height: 24px;
|
|
418
|
+
width: 24px;
|
|
419
|
+
margin: 0 0 -12px -12px;
|
|
420
|
+
}
|
|
421
|
+
@media (max-width: 320px) {
|
|
422
|
+
.nhsuk-bp-graph-marker {
|
|
423
|
+
height: 20px;
|
|
424
|
+
width: 20px;
|
|
425
|
+
margin: 0 0 -10px -10px;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
429
|
+
.nhsuk-bp-graph-marker {
|
|
430
|
+
height: 22px;
|
|
431
|
+
width: 22px;
|
|
432
|
+
margin: 0 0 -11px -11px;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
|
|
436
436
|
.nhsuk-bp-graph-cell {
|
|
437
437
|
flex-grow: 1;
|
|
438
438
|
border-bottom: 1px solid white;
|
|
@@ -461,6 +461,44 @@
|
|
|
461
461
|
background: #330072;
|
|
462
462
|
}
|
|
463
463
|
|
|
464
|
+
.nhsuk-cbmi-legend-key-classification-overweight {
|
|
465
|
+
border-bottom: none;
|
|
466
|
+
box-shadow: none;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.nhsuk-cbmi-legend-key, .nhsuk-cbmi-legend-key-classification-underweight, .nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
470
|
+
border-bottom: 2px solid white;
|
|
471
|
+
margin-bottom: 2px;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.nhsuk-cbmi-legend-marker {
|
|
475
|
+
margin-bottom: 2px;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.nhsuk-cbmi-classification-underweight-heading {
|
|
479
|
+
border-left: 8px solid #330072;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.nhsuk-cbmi-classification-healthy-heading {
|
|
483
|
+
border-left: 8px solid #30b4ab;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.nhsuk-cbmi-classification-overweight-heading {
|
|
487
|
+
border-left: 8px solid #ffb81c;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
491
|
+
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
495
|
+
background: #ffb81c;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
|
|
499
|
+
background: #330072;
|
|
500
|
+
}
|
|
501
|
+
|
|
464
502
|
.nhsuk-cbmi-graph {
|
|
465
503
|
position: relative;
|
|
466
504
|
outline: 1px solid black;
|
|
@@ -486,41 +524,39 @@
|
|
|
486
524
|
background: #330072;
|
|
487
525
|
}
|
|
488
526
|
|
|
489
|
-
.nhsuk-cbmi-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
.nhsuk-cbmi-legend-key, .nhsuk-cbmi-legend-key-classification-underweight, .nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
495
|
-
border-bottom: 2px solid white;
|
|
496
|
-
margin-bottom: 2px;
|
|
527
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-classification-underweight {
|
|
528
|
+
position: absolute;
|
|
529
|
+
bottom: 0%;
|
|
530
|
+
outline: 1px solid black;
|
|
531
|
+
height: 28px;
|
|
497
532
|
}
|
|
498
|
-
|
|
499
|
-
.nhsuk-cbmi-
|
|
500
|
-
|
|
533
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
534
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-classification-underweight {
|
|
535
|
+
height: 24px;
|
|
536
|
+
}
|
|
501
537
|
}
|
|
502
538
|
|
|
503
|
-
.nhsuk-cbmi-classification-underweight
|
|
504
|
-
|
|
539
|
+
.nhsuk-cbmi-classification-underweight {
|
|
540
|
+
z-index: 3;
|
|
505
541
|
}
|
|
506
542
|
|
|
507
|
-
.nhsuk-cbmi-classification-healthy
|
|
508
|
-
|
|
543
|
+
.nhsuk-cbmi-classification-healthy {
|
|
544
|
+
z-index: 2;
|
|
509
545
|
}
|
|
510
546
|
|
|
511
|
-
.nhsuk-cbmi-classification-overweight
|
|
512
|
-
|
|
547
|
+
.nhsuk-cbmi-classification-overweight {
|
|
548
|
+
z-index: 1;
|
|
513
549
|
}
|
|
514
550
|
|
|
515
|
-
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-
|
|
551
|
+
.nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-classification-healthy {
|
|
516
552
|
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
517
553
|
}
|
|
518
554
|
|
|
519
|
-
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-
|
|
555
|
+
.nhsuk-cbmi-legend-key-classification-overweight, .nhsuk-cbmi-classification-overweight {
|
|
520
556
|
background: #ffb81c;
|
|
521
557
|
}
|
|
522
558
|
|
|
523
|
-
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-
|
|
559
|
+
.nhsuk-cbmi-legend-key-classification-underweight, .nhsuk-cbmi-classification-underweight {
|
|
524
560
|
background: #330072;
|
|
525
561
|
}
|
|
526
562
|
|
|
@@ -583,15 +619,15 @@
|
|
|
583
619
|
}
|
|
584
620
|
}
|
|
585
621
|
|
|
586
|
-
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-
|
|
622
|
+
.nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-classification-healthy {
|
|
587
623
|
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
588
624
|
}
|
|
589
625
|
|
|
590
|
-
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-
|
|
626
|
+
.nhsuk-cbmi-legend-key-classification-overweight, .nhsuk-cbmi-classification-overweight {
|
|
591
627
|
background: #ffb81c;
|
|
592
628
|
}
|
|
593
629
|
|
|
594
|
-
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-
|
|
630
|
+
.nhsuk-cbmi-legend-key-classification-underweight, .nhsuk-cbmi-classification-underweight {
|
|
595
631
|
background: #330072;
|
|
596
632
|
}
|
|
597
633
|
|
|
@@ -616,40 +652,4 @@
|
|
|
616
652
|
left: -10px;
|
|
617
653
|
width: 20px;
|
|
618
654
|
text-align: center;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
622
|
-
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
626
|
-
background: #ffb81c;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
|
|
630
|
-
background: #330072;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-classification-underweight {
|
|
634
|
-
position: absolute;
|
|
635
|
-
bottom: 0%;
|
|
636
|
-
outline: 1px solid black;
|
|
637
|
-
height: 28px;
|
|
638
|
-
}
|
|
639
|
-
@media (min-width: 320px) and (max-width: 641px) {
|
|
640
|
-
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-classification-underweight {
|
|
641
|
-
height: 24px;
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
.nhsuk-cbmi-classification-underweight {
|
|
646
|
-
z-index: 3;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
.nhsuk-cbmi-classification-healthy {
|
|
650
|
-
z-index: 2;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
.nhsuk-cbmi-classification-overweight {
|
|
654
|
-
z-index: 1;
|
|
655
655
|
}
|