-
Notifications
You must be signed in to change notification settings - Fork 0
/
range.css
439 lines (383 loc) · 10.1 KB
/
range.css
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
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
@font-face {
font-family: SourceSans;
src: url(SourceSansPro-Regular.otf);
}
@font-face {
font-family: SourceSans;
src: url(SourceSansPro-Bold.otf);
font-weight: bold;
}
@font-face {
font-family: SourceSans;
src: url(SourceSansPro-It.otf);
font-style: italic;
}
@font-face {
font-family: SourceSans;
src: url(SourceSansPro-BoldIt.otf);
font-weight: bold;
font-style: italic;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
/*-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;*/
font-family: "SourceSans", "Calibri", "Trebuchet MS", "Lucida Sans", sans-serif-condensed, sans-serif;
}
body {font-size: 10.5pt; margin: 0px;}
h2 {color: blue; font-size: 140%; line-height: 20px;
margin: 5px 10px 0px 10px; padding-bottom: 4px;
text-align:center;}
.bodycontent { padding:2px 4px 2px 4px; }
.contentrow { padding-bottom: 5px;}
#resuslayer { display:none; }
#vitalslayer { display:none; }
.entrybox {
background-image: url("pwh.gif");
background-repeat: no-repeat;
background-position: right bottom;
background-size: contain;
background-color:#eee;
padding: 5px 0px 10px 10px;
border-radius:10px;
}
.column {
width:100%;
display:block;
padding: 0px 0px 0px 0px;
box-sizing: border-box;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.tableheading {
margin: 14px 0px 6px 0px;
font-weight: bold;
text-align: center;
line-height: 25px;
background-color: #f5f5f5;
border-bottom: 1px solid #bbb;
}
.notcondensed {font-family: "SourceSans", "Calibri", "Trebuchet MS", sans-serif; }
table {
border-collapse:collapse;
}
.nomobile { display:none; }
/*#vasotable td { padding: 4px 0px 4px 1px; }
#otherdrugstable td { padding: 3px 0px 3px 2px; }*/
tr {border-left: 0; border-right: 0; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc;}
tr:first-child {border-top: 0;}
tr:last-child {border-bottom: 0; }
td { padding: 4px 0px 4px 2px; }
td.subheading { font-weight:bold; font-style:italic; }
tr.noborderb { border-bottom:0; }
tr.noborderb td {padding-bottom:0px;}
tr.noborderu { border-top:0; font-size:80%; font-style:italic; }
tr.noborderu td {padding-top:0px;}
/*tr:hover {background-color: #eeeeee; }*/
#table1,
#table1 tr,
#table1 td { border: 0;}
#table1 td { padding: 2px 0px 2px 0px; }
#table1 tr:hover {background-color: transparent; }
#about a:link,
#about a:visited,
#about a:active {color:#442222; text-decoration:none; font-weight:bold;}
#about a:hover {background:#eee;}
button.showhidebutton {
background-color:#666;
font-size:80%;
font-weight: bold;
color:#eee; border-radius:5px; border:1px solid grey; padding: 2px; line-height:14px;
margin-top:2px;
float: right;
outline:0;}
/*button.showhidebutton:hover {outline:0; background-color:#666; border:1px solid black; cursor:pointer;}*/
button.showhidebutton:active, focus {outline:0; padding: 3px 1px 1px 3px; background-color:#333; color:#fff;}
button.endbutton {
height: 26px;
background-color:#ddd;
margin: 2px 0px 2px 0px; padding: 1px 4px 1px 4px;
outline: none;
border: 1px solid #aaa;
}
button.endbutton:hover {
background-color:#eee;
border: 1px solid rgba(81, 203, 238, 1);
box-shadow: 0 0 4px rgba(81, 203, 238, 1);}
button.endbutton:active, focus {
background-color:#666;
border: 1px solid #000;
box-shadow: none;
}
select {
height: 30px;
margin: 2px 0px 2px 0px; padding:0px; vertical-align: bottom;
outline: none;
border:1px solid #aaa;
}
select:focus {
border: 1px solid rgba(81, 203, 238, 1);
box-shadow: 0 0 4px rgba(81, 203, 238, 1);
}
#fontsizechanger {height:26px;}
.bottombar {
margin:0;
padding:10px;
overflow: hidden;
background-color: rgba(50,50,60,0.8);
position: fixed;
bottom:0;
width:100%;
}
ul {
list-style-type: none;
font-weight:bold;
margin: 0;
padding: 0;
overflow: hidden;
background-color: rgba(50, 50, 60, 0.8);
position: fixed;
top: 0;
width: 100%;
box-shadow: 0 0px 9px 0 rgba(0, 0, 0, 0.7);
z-index: 1;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 11px 5px 11px 5px;
text-decoration: none;
height: 40px;
}
li a:hover:not(.active) {
background-color: #111;
}
.active {
background-color: #4CAF50;
}
li.right {float:right; height:40px;}
li.right a {padding:4px 4px 0px 4px;}
input[type=number] {
width:45px; height: 30px; margin: 2px 4px 2px 0px; padding:2px;
font-size:120%;
vertical-align: bottom;
border:1px solid #aaa;
outline: none;
text-align:center;
-moz-appearance:textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance:none;
margin:0;
}
input[type=number]:focus {
border: 1px solid rgba(81, 203, 238, 1);
box-shadow: 0 0 4px rgba(81, 203, 238, 1);
}
input[type=range] {
/*removes default webkit styles*/
-webkit-appearance: none;
/*fix for FF unable to apply focus style bug */
border: 1px solid #eeeeee;
/*required for proper track sizing in FF*/
width: 300px;
padding: 0px 0px 0px 0px;
}
input[type=range]::-webkit-slider-runnable-track {
width: 300px;
height: 10px;
background: #ccc;
border: none;
border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
border: none;
height: 20px;
width: 20px;
border-radius: 50%;
background: goldenrod;
margin-top: -4px;
}
input[type=range]:focus {
outline: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
background: #bbb;
}
input[type=range]::-moz-range-track {
width: 300px;
height: 10px;
background: #ccc;
border: none;
border-radius: 3px;
}
input[type=range]::-moz-range-thumb {
border: none;
height: 20px;
width: 20px;
border-radius: 50%;
background: goldenrod;
}
/*hide the outline behind the border*/
input[type=range]:-moz-focusring{
outline: 1px solid white;
outline-offset: -1px;
}
input[type=range]::-ms-track {
width: 300px;
height: 10px;
/*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
background: transparent;
/*leave room for the larger thumb to overflow with a transparent border */
border-color: transparent;
border-width: 6px 0;
/*remove default tick marks*/
color: transparent;
}
input[type=range]::-ms-fill-lower {
background: #666;
border-radius: 10px;
}
input[type=range]::-ms-fill-upper {
background: #ccc;
border-radius: 10px;
}
input[type=range]::-ms-thumb {
border: none;
height: 20px;
width: 20px;
border-radius: 50%;
background: goldenrod;
}
input[type=range]:focus::-ms-fill-lower {
background: #777;
}
input[type=range]:focus::-ms-fill-upper {
background: #bbb;
}
/* The Modal background */
.modal {
display: block;
position: fixed;
z-index: 1;
padding-top: 80px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
/* Modal Content */
.modal-content {
position: relative;
background-color: #fefefe;
margin: auto;
padding: 0;
font-size: 10.5pt;
border: 1px solid #888;
width: 80%;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s
}
/* Add Animation */
@-webkit-keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
@keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
/* The Close Button */
.close {
color: #white;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.modal-header {
padding: 2px 16px;
background-color: #5cb85c;
color: white;
font-size:120%;
line-height:30px;
font-weight:bold;
}
.modal-body {padding: 16px;}
.modal-footer {
padding: 2px 16px;
background-color: #5cb85c;
color: white;
}
.modal span {cursor: pointer;}
.highlight {
font-weight:bold;
background-color:green;
}
@media print {
body {margin:0; padding:0;}
button, .noprint {display:none; }
#resuslayer {display:none; }
body {font-size:9pt; line-height:11pt margin:0px; }
h2 {padding:0px; margin:0px;}
.nomobile { text-align:center; display:block; }
tr td {padding: 2px 2px 1px 2px; font-color: black; }
.vasostyle {font-color:black; background-color: white;}
.column { width:50%; vertical-align:top; display:inline-block; padding: 0px 4px 0px 4px;}
.column1 { width:40%; vertical-align:top; display:inline-block; }
.column2 { width:60%; vertical-align:top; display:inline-block; }
.tableheading { margin: 6px 0px 0px 0px; }
input[type=number] {font-size:100%; height:20px;margin:0;padding:0;}
select {height:20px;margin:0;padding:0;}
#headerarea {max-height:50px;}
#otherdrugstable td {padding: 0px 2px 0px 2px; font-size:8pt;}
#about a {display:none;}
#otherdrugstable tr.noborderb td {padding-bottom:0px;}
#otherdrugstable tr.noborderu {padding-top:0px;}
#otherdrugstable tr.noborderu td {padding-top:0px; font-size:80%;}
/*label { font-size:120%;}*/
}
@media screen {
#headerarea {font-size:10.5pt;}
tr.vasostyle {
background: #C846C8;
/*background: linear-gradient(to left, #9b25a3, #C846C8);*/
color: white;
border-bottom: 2px solid purple;}
td.subheading {
background: #c2d0ef;
border-bottom: 1px solid #aaaaaa;
/*background: linear-gradient(to top, #c2d0ef, #e5eae9);*/
}
}
@media screen and (min-width:720px) {
h2 { border-bottom: 1px solid #ddd;}
input[type=number] {width:60px;}
.column { width:50%; vertical-align:top; display:inline-block; padding: 0px 5px 0px 5px;}
.column1 { width:45%; vertical-align:top; padding-top:10px; display:inline-block; }
.column2 { width:55%; vertical-align:top; display:inline-block; }
.nomobile { text-align:center; display:block; }
}