nhsuk-tools-chart-components-react 2.1.0 → 2.3.0
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 +318 -318
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/bundle.css +267 -267
- package/dist/esm/components/bar-slider/bar-slider-chart-axis.js +1 -1
- package/dist/esm/components/bar-slider/bar-slider-chart-axis.js.map +1 -1
- package/dist/esm/components/bar-slider/bar-slider-chart-regions.js +1 -1
- package/dist/esm/components/bar-slider/bar-slider-chart-regions.js.map +1 -1
- package/dist/esm/components/bar-slider/bar-slider-figure-chart.js +1 -1
- package/dist/esm/components/bar-slider/bar-slider-figure-chart.js.map +1 -1
- package/dist/esm/components/blood-pressure/bp-chart.js +1 -1
- package/dist/esm/components/blood-pressure/bp-chart.js.map +1 -1
- package/dist/esm/components/blood-pressure/bp-figure-chart.js +1 -1
- package/dist/esm/components/blood-pressure/bp-figure-chart.js.map +1 -1
- package/dist/esm/components/bmi/bmi-figure-chart.js +1 -1
- package/dist/esm/components/bmi/bmi-figure-chart.js.map +1 -1
- package/dist/esm/components/chart-legend.js +1 -1
- package/dist/esm/components/chart-legend.js.map +1 -1
- package/dist/esm/components/child-bmi/cbmi-chart-marker.js +1 -1
- package/dist/esm/components/child-bmi/cbmi-chart-marker.js.map +1 -1
- package/dist/esm/components/child-bmi/cbmi-figure-chart.js +1 -1
- package/dist/esm/components/child-bmi/cbmi-figure-chart.js.map +1 -1
- package/dist/esm/models/bar-slider-chart.model.js +1 -1
- package/dist/esm/models/bar-slider-chart.model.js.map +1 -1
- package/dist/esm/utils/bar-slider.utils.js +1 -1
- package/dist/esm/utils/bar-slider.utils.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +9 -6
package/dist/cjs/bundle.css
CHANGED
|
@@ -1,119 +1,96 @@
|
|
|
1
|
-
.nhsuk-chart-legend-card {
|
|
2
|
-
max-width: 250px;
|
|
3
|
-
}
|
|
4
1
|
|
|
5
|
-
.nhsuk-
|
|
2
|
+
.nhsuk-bar-slider-graph {
|
|
3
|
+
position: relative;
|
|
4
|
+
outline: 1px solid black;
|
|
5
|
+
margin-top: 20px;
|
|
6
6
|
display: flex;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
.nhsuk-chart-legend-key {
|
|
10
|
-
width: 25px;
|
|
11
|
-
height: 25px;
|
|
12
|
-
margin-right: 10px;
|
|
13
|
-
border-bottom: 1px solid white;
|
|
14
|
-
box-shadow: 0px 2px 0px 0px black;
|
|
15
|
-
margin-bottom: 3px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
.nhsuk-bar-slider-arrow-marker {
|
|
20
|
-
position: absolute;
|
|
21
|
-
height: 16px;
|
|
22
|
-
width: 16px;
|
|
23
|
-
margin: -9px 0 -8px -8px;
|
|
7
|
+
height: 28px;
|
|
24
8
|
}
|
|
25
9
|
@media (min-width: 320px) and (max-width: 641px) {
|
|
26
|
-
.nhsuk-bar-slider-
|
|
27
|
-
height:
|
|
28
|
-
width: 12px;
|
|
29
|
-
margin: -9px 0 -6px -6px;
|
|
10
|
+
.nhsuk-bar-slider-graph {
|
|
11
|
+
height: 24px;
|
|
30
12
|
}
|
|
31
13
|
}
|
|
32
14
|
|
|
33
|
-
.nhsuk-bar-slider-label-align-left {
|
|
34
|
-
display: flex;
|
|
35
|
-
justify-content: left;
|
|
36
|
-
}
|
|
37
15
|
|
|
38
|
-
.nhsuk-
|
|
39
|
-
|
|
40
|
-
justify-content: center;
|
|
16
|
+
.nhsuk-bmi-legend-key-classification-underweight, .nhsuk-bmi-classification-underweight {
|
|
17
|
+
background: #330072;
|
|
41
18
|
}
|
|
42
19
|
|
|
43
|
-
.nhsuk-
|
|
44
|
-
|
|
45
|
-
justify-content: right;
|
|
20
|
+
.nhsuk-bmi-legend-key-classification-healthy, .nhsuk-bmi-classification-healthy {
|
|
21
|
+
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
46
22
|
}
|
|
47
23
|
|
|
48
|
-
.nhsuk-
|
|
49
|
-
|
|
50
|
-
height: 25px;
|
|
51
|
-
width: auto;
|
|
52
|
-
white-space: nowrap;
|
|
53
|
-
margin-top: -30px;
|
|
24
|
+
.nhsuk-bmi-legend-key-classification-overweight, .nhsuk-bmi-classification-overweight {
|
|
25
|
+
background: #ffb81c;
|
|
54
26
|
}
|
|
55
27
|
|
|
56
|
-
.nhsuk-
|
|
57
|
-
|
|
58
|
-
font-weight: bold;
|
|
59
|
-
margin-left: 5px;
|
|
60
|
-
margin-right: 2px;
|
|
28
|
+
.nhsuk-bmi-legend-key-classification-obese, .nhsuk-bmi-classification-obese {
|
|
29
|
+
background: repeating-linear-gradient(45deg, #da5147, #da5147 4.5px, #d5281b 4.5px, #d5281b 9px);
|
|
61
30
|
}
|
|
62
31
|
|
|
63
|
-
.nhsuk-bmi-classification-
|
|
64
|
-
|
|
32
|
+
.nhsuk-bmi-classification-obese, .nhsuk-bmi-classification-overweight, .nhsuk-bmi-classification-healthy, .nhsuk-bmi-classification-underweight {
|
|
33
|
+
position: absolute;
|
|
34
|
+
bottom: 0%;
|
|
35
|
+
outline: 1px solid black;
|
|
36
|
+
border-right: 1px solid black;
|
|
37
|
+
box-shadow: -1px 0px white inset, 2px 0px white, 0px -2px white;
|
|
38
|
+
height: 28px;
|
|
65
39
|
}
|
|
66
|
-
|
|
67
|
-
.nhsuk-bmi-classification-
|
|
68
|
-
|
|
40
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
41
|
+
.nhsuk-bmi-classification-obese, .nhsuk-bmi-classification-overweight, .nhsuk-bmi-classification-healthy, .nhsuk-bmi-classification-underweight {
|
|
42
|
+
height: 24px;
|
|
43
|
+
}
|
|
69
44
|
}
|
|
70
45
|
|
|
71
|
-
.nhsuk-bmi-classification-
|
|
72
|
-
|
|
46
|
+
.nhsuk-bmi-classification-underweight {
|
|
47
|
+
z-index: 3;
|
|
73
48
|
}
|
|
74
49
|
|
|
75
|
-
.nhsuk-bmi-classification-
|
|
76
|
-
|
|
50
|
+
.nhsuk-bmi-classification-healthy {
|
|
51
|
+
z-index: 2;
|
|
77
52
|
}
|
|
78
53
|
|
|
79
|
-
.nhsuk-bmi-
|
|
80
|
-
|
|
81
|
-
box-shadow: none;
|
|
54
|
+
.nhsuk-bmi-classification-overweight {
|
|
55
|
+
z-index: 1;
|
|
82
56
|
}
|
|
83
57
|
|
|
84
|
-
.nhsuk-bmi-
|
|
85
|
-
border-
|
|
58
|
+
.nhsuk-bmi-classification-obese {
|
|
59
|
+
border-right: none;
|
|
86
60
|
box-shadow: none;
|
|
87
61
|
}
|
|
88
62
|
|
|
63
|
+
.nhsuk-chart-legend-card {
|
|
64
|
+
max-width: 250px;
|
|
65
|
+
}
|
|
89
66
|
|
|
90
|
-
.nhsuk-
|
|
91
|
-
position: relative;
|
|
92
|
-
outline: 1px solid black;
|
|
93
|
-
margin-top: 20px;
|
|
67
|
+
.nhsuk-chart-legend-key-wrapper {
|
|
94
68
|
display: flex;
|
|
95
|
-
height: 28px;
|
|
96
69
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
70
|
+
|
|
71
|
+
.nhsuk-chart-legend-key {
|
|
72
|
+
width: 25px;
|
|
73
|
+
height: 25px;
|
|
74
|
+
margin-right: 10px;
|
|
75
|
+
border-bottom: 1px solid white;
|
|
76
|
+
box-shadow: 0px 2px 0px 0px black;
|
|
77
|
+
margin-bottom: 3px;
|
|
101
78
|
}
|
|
102
79
|
|
|
103
80
|
|
|
104
|
-
.nhsuk-bmi-classification-underweight, .nhsuk-bmi-
|
|
81
|
+
.nhsuk-bmi-legend-key-classification-underweight, .nhsuk-bmi-classification-underweight {
|
|
105
82
|
background: #330072;
|
|
106
83
|
}
|
|
107
84
|
|
|
108
|
-
.nhsuk-bmi-classification-healthy, .nhsuk-bmi-
|
|
85
|
+
.nhsuk-bmi-legend-key-classification-healthy, .nhsuk-bmi-classification-healthy {
|
|
109
86
|
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
110
87
|
}
|
|
111
88
|
|
|
112
|
-
.nhsuk-bmi-classification-overweight, .nhsuk-bmi-
|
|
89
|
+
.nhsuk-bmi-legend-key-classification-overweight, .nhsuk-bmi-classification-overweight {
|
|
113
90
|
background: #ffb81c;
|
|
114
91
|
}
|
|
115
92
|
|
|
116
|
-
.nhsuk-bmi-classification-obese, .nhsuk-bmi-
|
|
93
|
+
.nhsuk-bmi-legend-key-classification-obese, .nhsuk-bmi-classification-obese {
|
|
117
94
|
background: repeating-linear-gradient(45deg, #da5147, #da5147 4.5px, #d5281b 4.5px, #d5281b 9px);
|
|
118
95
|
}
|
|
119
96
|
|
|
@@ -130,119 +107,86 @@
|
|
|
130
107
|
}
|
|
131
108
|
}
|
|
132
109
|
|
|
133
|
-
|
|
134
|
-
.nhsuk-bmi-chart-marker {
|
|
135
|
-
position: absolute;
|
|
136
|
-
z-index: 4;
|
|
137
|
-
height: 24px;
|
|
138
|
-
width: 24px;
|
|
139
|
-
margin: 2px 0 -12px -12px;
|
|
140
|
-
}
|
|
141
|
-
@media (min-width: 320px) and (max-width: 641px) {
|
|
142
|
-
.nhsuk-bmi-chart-marker {
|
|
143
|
-
height: 20px;
|
|
144
|
-
width: 20px;
|
|
145
|
-
margin: 2px 0 -10px -10px;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.nhsuk-bp-classification-low, .nhsuk-bp-legend-key-classification-low {
|
|
110
|
+
.nhsuk-bmi-legend-key-classification-underweight, .nhsuk-bmi-classification-underweight {
|
|
150
111
|
background: #330072;
|
|
151
112
|
}
|
|
152
113
|
|
|
153
|
-
.nhsuk-
|
|
154
|
-
background: repeating-linear-gradient(-45deg, #
|
|
114
|
+
.nhsuk-bmi-legend-key-classification-healthy, .nhsuk-bmi-classification-healthy {
|
|
115
|
+
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
155
116
|
}
|
|
156
117
|
|
|
157
|
-
.nhsuk-
|
|
118
|
+
.nhsuk-bmi-legend-key-classification-overweight, .nhsuk-bmi-classification-overweight {
|
|
158
119
|
background: #ffb81c;
|
|
159
120
|
}
|
|
160
121
|
|
|
161
|
-
.nhsuk-
|
|
162
|
-
background: repeating-linear-gradient(45deg, #
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
#nhsuk-bp-chart > figure {
|
|
166
|
-
margin: 0;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.nhsuk-bp-legend-key-wrapper {
|
|
170
|
-
display: flex;
|
|
171
|
-
}
|
|
172
|
-
.nhsuk-bp-legend-key-wrapper:last-child {
|
|
173
|
-
margin-top: 5px;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.nhsuk-bp-legend-display-card {
|
|
177
|
-
margin-top: 50px;
|
|
178
|
-
max-width: 300px;
|
|
122
|
+
.nhsuk-bmi-legend-key-classification-obese, .nhsuk-bmi-classification-obese {
|
|
123
|
+
background: repeating-linear-gradient(45deg, #da5147, #da5147 4.5px, #d5281b 4.5px, #d5281b 9px);
|
|
179
124
|
}
|
|
180
125
|
|
|
181
|
-
.nhsuk-
|
|
126
|
+
.nhsuk-bmi-legend-key-classification-obese {
|
|
182
127
|
border-bottom: none;
|
|
183
128
|
box-shadow: none;
|
|
184
129
|
}
|
|
185
130
|
|
|
186
|
-
.nhsuk-
|
|
131
|
+
.nhsuk-bmi-legend-key-marker {
|
|
187
132
|
border-bottom: none;
|
|
188
133
|
box-shadow: none;
|
|
189
134
|
}
|
|
190
135
|
|
|
191
136
|
|
|
192
|
-
.nhsuk-
|
|
137
|
+
.nhsuk-bar-slider-arrow-marker {
|
|
193
138
|
position: absolute;
|
|
194
|
-
|
|
139
|
+
height: 16px;
|
|
140
|
+
width: 16px;
|
|
141
|
+
margin: -9px 0 -8px -8px;
|
|
195
142
|
}
|
|
196
|
-
|
|
197
|
-
.nhsuk-
|
|
198
|
-
|
|
143
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
144
|
+
.nhsuk-bar-slider-arrow-marker {
|
|
145
|
+
height: 12px;
|
|
146
|
+
width: 12px;
|
|
147
|
+
margin: -9px 0 -6px -6px;
|
|
148
|
+
}
|
|
199
149
|
}
|
|
200
150
|
|
|
201
|
-
.nhsuk-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
}
|
|
205
|
-
.nhsuk-bp-systolic-axis-marker:first-child {
|
|
206
|
-
bottom: -1px !important;
|
|
207
|
-
}
|
|
208
|
-
.nhsuk-bp-systolic-axis-marker:last-child {
|
|
209
|
-
bottom: calc(100% + 1px) !important;
|
|
151
|
+
.nhsuk-bar-slider-label-align-left {
|
|
152
|
+
display: flex;
|
|
153
|
+
justify-content: left;
|
|
210
154
|
}
|
|
211
155
|
|
|
212
|
-
.nhsuk-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}
|
|
216
|
-
.nhsuk-bp-diastolic-axis-marker:first-child {
|
|
217
|
-
left: -1px !important;
|
|
218
|
-
}
|
|
219
|
-
.nhsuk-bp-diastolic-axis-marker:last-child {
|
|
220
|
-
left: calc(100% + 1px) !important;
|
|
156
|
+
.nhsuk-bar-slider-label-align-center {
|
|
157
|
+
display: flex;
|
|
158
|
+
justify-content: center;
|
|
221
159
|
}
|
|
222
160
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
}
|
|
161
|
+
.nhsuk-bar-slider-label-align-right {
|
|
162
|
+
display: flex;
|
|
163
|
+
justify-content: right;
|
|
227
164
|
}
|
|
228
165
|
|
|
229
|
-
.nhsuk-
|
|
230
|
-
|
|
166
|
+
.nhsuk-bar-slider-label-marker {
|
|
167
|
+
position: relative;
|
|
168
|
+
height: 25px;
|
|
169
|
+
width: auto;
|
|
170
|
+
white-space: nowrap;
|
|
171
|
+
margin-top: -30px;
|
|
231
172
|
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
173
|
+
|
|
174
|
+
.nhsuk-bar-slider-value-marker {
|
|
175
|
+
position: relative;
|
|
176
|
+
font-weight: bold;
|
|
177
|
+
margin-left: 5px;
|
|
178
|
+
margin-right: 2px;
|
|
236
179
|
}
|
|
237
180
|
|
|
238
|
-
.nhsuk-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
181
|
+
.nhsuk-bmi-axis-marker {
|
|
182
|
+
position: absolute;
|
|
183
|
+
outline: 0.5px solid black;
|
|
184
|
+
height: 5px;
|
|
185
|
+
bottom: -5px;
|
|
243
186
|
}
|
|
244
187
|
|
|
245
|
-
.nhsuk-
|
|
188
|
+
.nhsuk-bmi-axis-marker-label {
|
|
189
|
+
position: absolute;
|
|
246
190
|
bottom: -25px;
|
|
247
191
|
left: -10px;
|
|
248
192
|
width: 20px;
|
|
@@ -250,6 +194,22 @@
|
|
|
250
194
|
}
|
|
251
195
|
|
|
252
196
|
|
|
197
|
+
.nhsuk-bmi-chart-marker {
|
|
198
|
+
position: absolute;
|
|
199
|
+
z-index: 4;
|
|
200
|
+
height: 24px;
|
|
201
|
+
width: 24px;
|
|
202
|
+
margin: 2px 0 -12px -12px;
|
|
203
|
+
}
|
|
204
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
205
|
+
.nhsuk-bmi-chart-marker {
|
|
206
|
+
height: 20px;
|
|
207
|
+
width: 20px;
|
|
208
|
+
margin: 2px 0 -10px -10px;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
|
|
253
213
|
.nhsuk-bp-graph {
|
|
254
214
|
position: relative;
|
|
255
215
|
margin-left: 20px;
|
|
@@ -320,65 +280,30 @@
|
|
|
320
280
|
background: repeating-linear-gradient(45deg, #e1746b, #e1746b 4.5px, #dd5349 4.5px, #dd5349 9px);
|
|
321
281
|
}
|
|
322
282
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
bottom: 0%;
|
|
326
|
-
outline: 1px solid black;
|
|
327
|
-
border-top: 1px solid black;
|
|
328
|
-
border-right: 1px solid black;
|
|
329
|
-
box-shadow: -1px 1px white inset, 2px 0px white, 0px -2px white, 2px -2px white;
|
|
330
|
-
z-index: 5;
|
|
331
|
-
background: transparent;
|
|
283
|
+
#nhsuk-bp-chart > figure {
|
|
284
|
+
margin: 0;
|
|
332
285
|
}
|
|
333
286
|
|
|
334
|
-
.nhsuk-bp-
|
|
335
|
-
|
|
336
|
-
bottom: 0%;
|
|
337
|
-
z-index: 3;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.nhsuk-bp-classification-healthy {
|
|
341
|
-
position: absolute;
|
|
342
|
-
bottom: 0%;
|
|
343
|
-
z-index: 2;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.nhsuk-bp-classification-slightlyraised {
|
|
347
|
-
position: absolute;
|
|
348
|
-
bottom: 0%;
|
|
349
|
-
z-index: 1;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
.nhsuk-bp-classification-high {
|
|
353
|
-
position: absolute;
|
|
354
|
-
bottom: 0%;
|
|
355
|
-
z-index: 0;
|
|
287
|
+
.nhsuk-bp-legend-key-wrapper {
|
|
288
|
+
display: flex;
|
|
356
289
|
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
360
|
-
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
290
|
+
.nhsuk-bp-legend-key-wrapper:last-child {
|
|
291
|
+
margin-top: 5px;
|
|
361
292
|
}
|
|
362
293
|
|
|
363
|
-
.nhsuk-
|
|
364
|
-
|
|
294
|
+
.nhsuk-bp-legend-display-card {
|
|
295
|
+
margin-top: 50px;
|
|
296
|
+
max-width: 300px;
|
|
365
297
|
}
|
|
366
298
|
|
|
367
|
-
.nhsuk-
|
|
368
|
-
|
|
299
|
+
.nhsuk-bp-legend-key-classification-low {
|
|
300
|
+
border-bottom: none;
|
|
301
|
+
box-shadow: none;
|
|
369
302
|
}
|
|
370
303
|
|
|
371
|
-
.nhsuk-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
margin-top: 20px;
|
|
375
|
-
display: flex;
|
|
376
|
-
height: 28px;
|
|
377
|
-
}
|
|
378
|
-
@media (min-width: 320px) and (max-width: 641px) {
|
|
379
|
-
.nhsuk-cbmi-graph {
|
|
380
|
-
height: 24px;
|
|
381
|
-
}
|
|
304
|
+
.nhsuk-bp-legend-key-marker {
|
|
305
|
+
border-bottom: none;
|
|
306
|
+
box-shadow: none;
|
|
382
307
|
}
|
|
383
308
|
|
|
384
309
|
.nhsuk-bp-graph-cell {
|
|
@@ -397,76 +322,55 @@
|
|
|
397
322
|
border-left: none;
|
|
398
323
|
}
|
|
399
324
|
|
|
325
|
+
.nhsuk-bp-classification-low, .nhsuk-bp-legend-key-classification-low {
|
|
326
|
+
background: #330072;
|
|
327
|
+
}
|
|
400
328
|
|
|
401
|
-
.nhsuk-
|
|
402
|
-
background: repeating-linear-gradient(-45deg, #
|
|
329
|
+
.nhsuk-bp-classification-healthy, .nhsuk-bp-legend-key-classification-healthy {
|
|
330
|
+
background: repeating-linear-gradient(-45deg, #59c3bc, #59c3bc 4.5px, #33b6ad 4.5px, #33b6ad 9px);
|
|
403
331
|
}
|
|
404
332
|
|
|
405
|
-
.nhsuk-
|
|
333
|
+
.nhsuk-bp-classification-slightlyraised, .nhsuk-bp-legend-key-classification-slightlyraised {
|
|
406
334
|
background: #ffb81c;
|
|
407
335
|
}
|
|
408
336
|
|
|
409
|
-
.nhsuk-
|
|
410
|
-
background: #
|
|
337
|
+
.nhsuk-bp-classification-high, .nhsuk-bp-legend-key-classification-high {
|
|
338
|
+
background: repeating-linear-gradient(45deg, #e1746b, #e1746b 4.5px, #dd5349 4.5px, #dd5349 9px);
|
|
411
339
|
}
|
|
412
340
|
|
|
413
|
-
.nhsuk-
|
|
341
|
+
.nhsuk-bp-region-boundary {
|
|
414
342
|
position: absolute;
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
height: 12px;
|
|
423
|
-
width: 12px;
|
|
424
|
-
margin: -9px 0 -6px -6px;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
.nhsuk-cbmi-chart-label-align-left {
|
|
429
|
-
display: flex;
|
|
430
|
-
justify-content: left;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
.nhsuk-cbmi-chart-label-align-center {
|
|
434
|
-
display: flex;
|
|
435
|
-
justify-content: center;
|
|
343
|
+
bottom: 0%;
|
|
344
|
+
outline: 1px solid black;
|
|
345
|
+
border-top: 1px solid black;
|
|
346
|
+
border-right: 1px solid black;
|
|
347
|
+
box-shadow: -1px 1px white inset, 2px 0px white, 0px -2px white, 2px -2px white;
|
|
348
|
+
z-index: 5;
|
|
349
|
+
background: transparent;
|
|
436
350
|
}
|
|
437
351
|
|
|
438
|
-
.nhsuk-
|
|
439
|
-
|
|
440
|
-
|
|
352
|
+
.nhsuk-bp-classification-low {
|
|
353
|
+
position: absolute;
|
|
354
|
+
bottom: 0%;
|
|
355
|
+
z-index: 3;
|
|
441
356
|
}
|
|
442
357
|
|
|
443
|
-
.nhsuk-
|
|
444
|
-
position:
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
white-space: nowrap;
|
|
448
|
-
margin-top: -30px;
|
|
449
|
-
z-index: 4;
|
|
358
|
+
.nhsuk-bp-classification-healthy {
|
|
359
|
+
position: absolute;
|
|
360
|
+
bottom: 0%;
|
|
361
|
+
z-index: 2;
|
|
450
362
|
}
|
|
451
363
|
|
|
452
|
-
.nhsuk-
|
|
453
|
-
position:
|
|
454
|
-
|
|
455
|
-
|
|
364
|
+
.nhsuk-bp-classification-slightlyraised {
|
|
365
|
+
position: absolute;
|
|
366
|
+
bottom: 0%;
|
|
367
|
+
z-index: 1;
|
|
456
368
|
}
|
|
457
369
|
|
|
458
|
-
.nhsuk-
|
|
370
|
+
.nhsuk-bp-classification-high {
|
|
459
371
|
position: absolute;
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
box-shadow: 0px 0px white inset, 2px 0px white, -2px 0px white;
|
|
463
|
-
z-index: 4;
|
|
464
|
-
height: 28px;
|
|
465
|
-
}
|
|
466
|
-
@media (min-width: 320px) and (max-width: 641px) {
|
|
467
|
-
.nhsuk-cbmi-chart-axis-marker {
|
|
468
|
-
height: 24px;
|
|
469
|
-
}
|
|
372
|
+
bottom: 0%;
|
|
373
|
+
z-index: 0;
|
|
470
374
|
}
|
|
471
375
|
|
|
472
376
|
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
@@ -508,51 +412,83 @@
|
|
|
508
412
|
}
|
|
509
413
|
|
|
510
414
|
|
|
511
|
-
.nhsuk-
|
|
512
|
-
|
|
415
|
+
.nhsuk-bp-graph-marker {
|
|
416
|
+
position: absolute;
|
|
417
|
+
z-index: 6;
|
|
418
|
+
height: 24px;
|
|
419
|
+
width: 24px;
|
|
420
|
+
margin: 0 0 -12px -12px;
|
|
513
421
|
}
|
|
514
|
-
|
|
515
|
-
.nhsuk-
|
|
516
|
-
|
|
422
|
+
@media (max-width: 320px) {
|
|
423
|
+
.nhsuk-bp-graph-marker {
|
|
424
|
+
height: 20px;
|
|
425
|
+
width: 20px;
|
|
426
|
+
margin: 0 0 -10px -10px;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
430
|
+
.nhsuk-bp-graph-marker {
|
|
431
|
+
height: 22px;
|
|
432
|
+
width: 22px;
|
|
433
|
+
margin: 0 0 -11px -11px;
|
|
434
|
+
}
|
|
517
435
|
}
|
|
518
436
|
|
|
519
|
-
|
|
520
|
-
|
|
437
|
+
|
|
438
|
+
.nhsuk-bp-diastolic-axis-marker, .nhsuk-bp-systolic-axis-marker {
|
|
439
|
+
position: absolute;
|
|
440
|
+
outline: 0.5px solid black;
|
|
521
441
|
}
|
|
522
442
|
|
|
523
|
-
.nhsuk-
|
|
443
|
+
.nhsuk-bp-diastolic-axis-label, .nhsuk-bp-systolic-axis-label {
|
|
524
444
|
position: absolute;
|
|
525
|
-
bottom: 0%;
|
|
526
|
-
outline: 1px solid black;
|
|
527
|
-
height: 28px;
|
|
528
445
|
}
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
446
|
+
|
|
447
|
+
.nhsuk-bp-systolic-axis-marker {
|
|
448
|
+
width: 5px;
|
|
449
|
+
left: -5px;
|
|
450
|
+
}
|
|
451
|
+
.nhsuk-bp-systolic-axis-marker:first-child {
|
|
452
|
+
bottom: -1px !important;
|
|
453
|
+
}
|
|
454
|
+
.nhsuk-bp-systolic-axis-marker:last-child {
|
|
455
|
+
bottom: calc(100% + 1px) !important;
|
|
533
456
|
}
|
|
534
457
|
|
|
535
|
-
.nhsuk-
|
|
536
|
-
|
|
458
|
+
.nhsuk-bp-diastolic-axis-marker {
|
|
459
|
+
height: 5px;
|
|
460
|
+
bottom: -5px;
|
|
461
|
+
}
|
|
462
|
+
.nhsuk-bp-diastolic-axis-marker:first-child {
|
|
463
|
+
left: -1px !important;
|
|
464
|
+
}
|
|
465
|
+
.nhsuk-bp-diastolic-axis-marker:last-child {
|
|
466
|
+
left: calc(100% + 1px) !important;
|
|
537
467
|
}
|
|
538
468
|
|
|
539
|
-
|
|
540
|
-
|
|
469
|
+
@media (max-width: 450px) {
|
|
470
|
+
.nhsuk-bp-diastolic-axis-marker-85 {
|
|
471
|
+
display: none;
|
|
472
|
+
}
|
|
541
473
|
}
|
|
542
474
|
|
|
543
|
-
.nhsuk-
|
|
544
|
-
|
|
475
|
+
.nhsuk-bp-diastolic-axis-marker-90 {
|
|
476
|
+
display: none;
|
|
477
|
+
}
|
|
478
|
+
@media (max-width: 450px) {
|
|
479
|
+
.nhsuk-bp-diastolic-axis-marker-90 {
|
|
480
|
+
display: block;
|
|
481
|
+
}
|
|
545
482
|
}
|
|
546
483
|
|
|
547
|
-
.nhsuk-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
484
|
+
.nhsuk-bp-systolic-axis-label {
|
|
485
|
+
left: -30px;
|
|
486
|
+
top: -10px;
|
|
487
|
+
width: 26px;
|
|
488
|
+
text-align: end;
|
|
552
489
|
}
|
|
553
490
|
|
|
554
|
-
.nhsuk-
|
|
555
|
-
position: absolute;
|
|
491
|
+
.nhsuk-bp-diastolic-axis-label {
|
|
556
492
|
bottom: -25px;
|
|
557
493
|
left: -10px;
|
|
558
494
|
width: 20px;
|
|
@@ -560,37 +496,40 @@
|
|
|
560
496
|
}
|
|
561
497
|
|
|
562
498
|
|
|
563
|
-
.nhsuk-
|
|
564
|
-
|
|
565
|
-
z-index: 6;
|
|
566
|
-
height: 24px;
|
|
567
|
-
width: 24px;
|
|
568
|
-
margin: 0 0 -12px -12px;
|
|
499
|
+
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
500
|
+
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
569
501
|
}
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
502
|
+
|
|
503
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
504
|
+
background: #ffb81c;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
|
|
508
|
+
background: #330072;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.nhsuk-cbmi-graph {
|
|
512
|
+
position: relative;
|
|
513
|
+
outline: 1px solid black;
|
|
514
|
+
margin-top: 20px;
|
|
515
|
+
display: flex;
|
|
516
|
+
height: 28px;
|
|
576
517
|
}
|
|
577
518
|
@media (min-width: 320px) and (max-width: 641px) {
|
|
578
|
-
.nhsuk-
|
|
579
|
-
height:
|
|
580
|
-
width: 22px;
|
|
581
|
-
margin: 0 0 -11px -11px;
|
|
519
|
+
.nhsuk-cbmi-graph {
|
|
520
|
+
height: 24px;
|
|
582
521
|
}
|
|
583
522
|
}
|
|
584
523
|
|
|
585
|
-
.nhsuk-cbmi-
|
|
524
|
+
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
586
525
|
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
587
526
|
}
|
|
588
527
|
|
|
589
|
-
.nhsuk-cbmi-
|
|
528
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
590
529
|
background: #ffb81c;
|
|
591
530
|
}
|
|
592
531
|
|
|
593
|
-
.nhsuk-cbmi-
|
|
532
|
+
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
|
|
594
533
|
background: #330072;
|
|
595
534
|
}
|
|
596
535
|
|
|
@@ -619,49 +558,110 @@
|
|
|
619
558
|
}
|
|
620
559
|
|
|
621
560
|
|
|
622
|
-
.nhsuk-
|
|
561
|
+
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
562
|
+
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
566
|
+
background: #ffb81c;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
|
|
623
570
|
background: #330072;
|
|
624
571
|
}
|
|
625
572
|
|
|
626
|
-
.nhsuk-
|
|
573
|
+
.nhsuk-cbmi-chart-arrow-marker {
|
|
574
|
+
position: absolute;
|
|
575
|
+
z-index: 4;
|
|
576
|
+
height: 16px;
|
|
577
|
+
width: 16px;
|
|
578
|
+
margin: -9px 0 -8px -8px;
|
|
579
|
+
}
|
|
580
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
581
|
+
.nhsuk-cbmi-chart-arrow-marker {
|
|
582
|
+
height: 12px;
|
|
583
|
+
width: 12px;
|
|
584
|
+
margin: -9px 0 -6px -6px;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.nhsuk-cbmi-chart-label-align-left {
|
|
589
|
+
display: flex;
|
|
590
|
+
justify-content: left;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
.nhsuk-cbmi-chart-label-align-center {
|
|
594
|
+
display: flex;
|
|
595
|
+
justify-content: center;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
.nhsuk-cbmi-chart-label-align-right {
|
|
599
|
+
display: flex;
|
|
600
|
+
justify-content: right;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.nhsuk-cbmi-chart-label-marker {
|
|
604
|
+
position: relative;
|
|
605
|
+
height: 25px;
|
|
606
|
+
width: auto;
|
|
607
|
+
white-space: nowrap;
|
|
608
|
+
margin-top: -30px;
|
|
609
|
+
z-index: 4;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.nhsuk-cbmi-chart-centile-marker {
|
|
613
|
+
position: relative;
|
|
614
|
+
font-weight: bold;
|
|
615
|
+
margin-left: 5px;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.nhsuk-cbmi-chart-axis-marker {
|
|
619
|
+
position: absolute;
|
|
620
|
+
margin-left: -1px;
|
|
621
|
+
border: 1.5px solid black;
|
|
622
|
+
box-shadow: 0px 0px white inset, 2px 0px white, -2px 0px white;
|
|
623
|
+
z-index: 4;
|
|
624
|
+
height: 28px;
|
|
625
|
+
}
|
|
626
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
627
|
+
.nhsuk-cbmi-chart-axis-marker {
|
|
628
|
+
height: 24px;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
627
634
|
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
628
635
|
}
|
|
629
636
|
|
|
630
|
-
.nhsuk-
|
|
637
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
631
638
|
background: #ffb81c;
|
|
632
639
|
}
|
|
633
640
|
|
|
634
|
-
.nhsuk-
|
|
635
|
-
background:
|
|
641
|
+
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
|
|
642
|
+
background: #330072;
|
|
636
643
|
}
|
|
637
644
|
|
|
638
|
-
.nhsuk-
|
|
645
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-classification-underweight {
|
|
639
646
|
position: absolute;
|
|
640
647
|
bottom: 0%;
|
|
641
648
|
outline: 1px solid black;
|
|
642
|
-
border-right: 1px solid black;
|
|
643
|
-
box-shadow: -1px 0px white inset, 2px 0px white, 0px -2px white;
|
|
644
649
|
height: 28px;
|
|
645
650
|
}
|
|
646
651
|
@media (min-width: 320px) and (max-width: 641px) {
|
|
647
|
-
.nhsuk-
|
|
652
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-classification-underweight {
|
|
648
653
|
height: 24px;
|
|
649
654
|
}
|
|
650
655
|
}
|
|
651
656
|
|
|
652
|
-
.nhsuk-
|
|
657
|
+
.nhsuk-cbmi-classification-underweight {
|
|
653
658
|
z-index: 3;
|
|
654
659
|
}
|
|
655
660
|
|
|
656
|
-
.nhsuk-
|
|
661
|
+
.nhsuk-cbmi-classification-healthy {
|
|
657
662
|
z-index: 2;
|
|
658
663
|
}
|
|
659
664
|
|
|
660
|
-
.nhsuk-
|
|
665
|
+
.nhsuk-cbmi-classification-overweight {
|
|
661
666
|
z-index: 1;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
.nhsuk-bmi-classification-obese {
|
|
665
|
-
border-right: none;
|
|
666
|
-
box-shadow: none;
|
|
667
667
|
}
|