@medplum/react 0.9.7

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.
Files changed (158) hide show
  1. package/README.md +91 -0
  2. package/dist/cjs/defaulttheme.css +245 -0
  3. package/dist/cjs/index.js +5256 -0
  4. package/dist/cjs/index.js.map +1 -0
  5. package/dist/cjs/index.min.js +2 -0
  6. package/dist/cjs/index.min.js.map +1 -0
  7. package/dist/cjs/package.json +1 -0
  8. package/dist/cjs/styles.css +1510 -0
  9. package/dist/esm/defaulttheme.css +245 -0
  10. package/dist/esm/index.js +5129 -0
  11. package/dist/esm/index.js.map +1 -0
  12. package/dist/esm/index.min.js +2 -0
  13. package/dist/esm/index.min.js.map +1 -0
  14. package/dist/esm/package.json +1 -0
  15. package/dist/esm/styles.css +1510 -0
  16. package/dist/types/AddressDisplay.d.ts +6 -0
  17. package/dist/types/AddressInput.d.ts +8 -0
  18. package/dist/types/AnnotationInput.d.ts +8 -0
  19. package/dist/types/AttachmentArrayDisplay.d.ts +7 -0
  20. package/dist/types/AttachmentArrayInput.d.ts +9 -0
  21. package/dist/types/AttachmentDisplay.d.ts +7 -0
  22. package/dist/types/AttachmentInput.d.ts +9 -0
  23. package/dist/types/Autocomplete.d.ts +19 -0
  24. package/dist/types/Avatar.d.ts +12 -0
  25. package/dist/types/BackboneElementDisplay.d.ts +11 -0
  26. package/dist/types/BackboneElementInput.d.ts +12 -0
  27. package/dist/types/Button.d.ts +15 -0
  28. package/dist/types/CalendarInput.d.ts +15 -0
  29. package/dist/types/CodeInput.d.ts +9 -0
  30. package/dist/types/CodeableConceptDisplay.d.ts +6 -0
  31. package/dist/types/CodeableConceptInput.d.ts +9 -0
  32. package/dist/types/CodingDisplay.d.ts +6 -0
  33. package/dist/types/CodingInput.d.ts +9 -0
  34. package/dist/types/ContactPointDisplay.d.ts +6 -0
  35. package/dist/types/ContactPointInput.d.ts +8 -0
  36. package/dist/types/DateTimeDisplay.d.ts +5 -0
  37. package/dist/types/DateTimeInput.d.ts +23 -0
  38. package/dist/types/DefaultResourceTimeline.d.ts +6 -0
  39. package/dist/types/DescriptionList.d.ts +12 -0
  40. package/dist/types/DiagnosticReportDisplay.d.ts +12 -0
  41. package/dist/types/Dialog.d.ts +10 -0
  42. package/dist/types/Document.d.ts +7 -0
  43. package/dist/types/EncounterTimeline.d.ts +6 -0
  44. package/dist/types/ErrorBoundary.d.ts +18 -0
  45. package/dist/types/ExtensionInput.d.ts +8 -0
  46. package/dist/types/FhirPathDisplay.d.ts +9 -0
  47. package/dist/types/FhirPathTable.d.ts +29 -0
  48. package/dist/types/FooterLinks.d.ts +6 -0
  49. package/dist/types/Form.d.ts +8 -0
  50. package/dist/types/FormSection.d.ts +11 -0
  51. package/dist/types/FormUtils.d.ts +5 -0
  52. package/dist/types/GoogleButton.d.ts +8 -0
  53. package/dist/types/Header.d.ts +10 -0
  54. package/dist/types/HeaderSearchInput.d.ts +10 -0
  55. package/dist/types/HumanNameDisplay.d.ts +8 -0
  56. package/dist/types/HumanNameInput.d.ts +8 -0
  57. package/dist/types/IdentifierDisplay.d.ts +6 -0
  58. package/dist/types/IdentifierInput.d.ts +8 -0
  59. package/dist/types/Input.d.ts +21 -0
  60. package/dist/types/InputRow.d.ts +7 -0
  61. package/dist/types/Loading.d.ts +3 -0
  62. package/dist/types/Logo.d.ts +6 -0
  63. package/dist/types/MedplumLink.d.ts +12 -0
  64. package/dist/types/MedplumProvider.d.ts +34 -0
  65. package/dist/types/MenuItem.d.ts +9 -0
  66. package/dist/types/MenuSeparator.d.ts +3 -0
  67. package/dist/types/PatientTimeline.d.ts +6 -0
  68. package/dist/types/PeriodDisplay.d.ts +6 -0
  69. package/dist/types/PeriodInput.d.ts +8 -0
  70. package/dist/types/Popup.d.ts +14 -0
  71. package/dist/types/QuantityDisplay.d.ts +7 -0
  72. package/dist/types/QuantityInput.d.ts +8 -0
  73. package/dist/types/QuestionnaireBuilder.d.ts +8 -0
  74. package/dist/types/QuestionnaireForm.d.ts +16 -0
  75. package/dist/types/QuestionnaireUtils.d.ts +30 -0
  76. package/dist/types/RangeDisplay.d.ts +6 -0
  77. package/dist/types/RangeInput.d.ts +14 -0
  78. package/dist/types/RatioDisplay.d.ts +6 -0
  79. package/dist/types/RatioInput.d.ts +14 -0
  80. package/dist/types/ReferenceDisplay.d.ts +7 -0
  81. package/dist/types/ReferenceInput.d.ts +9 -0
  82. package/dist/types/ResourceArrayDisplay.d.ts +13 -0
  83. package/dist/types/ResourceArrayInput.d.ts +13 -0
  84. package/dist/types/ResourceBadge.d.ts +9 -0
  85. package/dist/types/ResourceBlame.d.ts +10 -0
  86. package/dist/types/ResourceDiff.d.ts +9 -0
  87. package/dist/types/ResourceDiffTable.d.ts +9 -0
  88. package/dist/types/ResourceForm.d.ts +10 -0
  89. package/dist/types/ResourceHistoryTable.d.ts +9 -0
  90. package/dist/types/ResourceInput.d.ts +11 -0
  91. package/dist/types/ResourceName.d.ts +7 -0
  92. package/dist/types/ResourcePropertyDisplay.d.ts +25 -0
  93. package/dist/types/ResourcePropertyInput.d.ts +22 -0
  94. package/dist/types/ResourceTable.d.ts +7 -0
  95. package/dist/types/ResourceTimeline.d.ts +11 -0
  96. package/dist/types/Scheduler.d.ts +7 -0
  97. package/dist/types/Scrollable.d.ts +9 -0
  98. package/dist/types/SearchControl.d.ts +38 -0
  99. package/dist/types/SearchControlField.d.ts +41 -0
  100. package/dist/types/SearchFieldEditor.d.ts +11 -0
  101. package/dist/types/SearchFilterEditor.d.ts +10 -0
  102. package/dist/types/SearchFilterValueDialog.d.ts +15 -0
  103. package/dist/types/SearchFilterValueDisplay.d.ts +7 -0
  104. package/dist/types/SearchFilterValueInput.d.ts +12 -0
  105. package/dist/types/SearchPopupMenu.d.ts +15 -0
  106. package/dist/types/SearchUtils.d.ts +177 -0
  107. package/dist/types/Select.d.ts +16 -0
  108. package/dist/types/ServiceRequestTimeline.d.ts +6 -0
  109. package/dist/types/SignInForm.d.ts +14 -0
  110. package/dist/types/SubMenu.d.ts +7 -0
  111. package/dist/types/Tab.d.ts +12 -0
  112. package/dist/types/TabList.d.ts +10 -0
  113. package/dist/types/TabPanel.d.ts +6 -0
  114. package/dist/types/TabSwitch.d.ts +6 -0
  115. package/dist/types/TextArea.d.ts +17 -0
  116. package/dist/types/Timeline.d.ts +17 -0
  117. package/dist/types/TitleBar.d.ts +6 -0
  118. package/dist/types/UploadButton.d.ts +6 -0
  119. package/dist/types/constants.d.ts +1 -0
  120. package/dist/types/index.d.ts +72 -0
  121. package/dist/types/stories/AddressInput.stories.d.ts +6 -0
  122. package/dist/types/stories/AttachmentArrayInput.stories.d.ts +6 -0
  123. package/dist/types/stories/AttachmentInput.stories.d.ts +6 -0
  124. package/dist/types/stories/Autocomplete.stories.d.ts +8 -0
  125. package/dist/types/stories/Avatar.stories.d.ts +10 -0
  126. package/dist/types/stories/Button.stories.d.ts +9 -0
  127. package/dist/types/stories/DiagnosticReportDisplay.stories.d.ts +5 -0
  128. package/dist/types/stories/Dialog.stories.d.ts +5 -0
  129. package/dist/types/stories/EncounterTimeline.stories.d.ts +5 -0
  130. package/dist/types/stories/FhirPathDisplay.stories.d.ts +7 -0
  131. package/dist/types/stories/FormSection.stories.d.ts +6 -0
  132. package/dist/types/stories/Header.stories.d.ts +6 -0
  133. package/dist/types/stories/Input.stories.d.ts +6 -0
  134. package/dist/types/stories/Loading.stories.d.ts +5 -0
  135. package/dist/types/stories/Logo.stories.d.ts +5 -0
  136. package/dist/types/stories/PatientTimeline.stories.d.ts +5 -0
  137. package/dist/types/stories/QuestionnaireBuilder.stories.d.ts +7 -0
  138. package/dist/types/stories/QuestionnaireForm.stories.d.ts +9 -0
  139. package/dist/types/stories/ReferenceInput.stories.d.ts +6 -0
  140. package/dist/types/stories/ResourceBlame.stories.d.ts +5 -0
  141. package/dist/types/stories/ResourceForm.stories.d.ts +12 -0
  142. package/dist/types/stories/ResourceHistoryTable.stories.d.ts +5 -0
  143. package/dist/types/stories/ResourceTable.stories.d.ts +7 -0
  144. package/dist/types/stories/Scheduler.stories.d.ts +5 -0
  145. package/dist/types/stories/SearchControl.stories.d.ts +9 -0
  146. package/dist/types/stories/Select.stories.d.ts +6 -0
  147. package/dist/types/stories/SignInForm.stories.d.ts +8 -0
  148. package/dist/types/stories/Tabs.stories.d.ts +6 -0
  149. package/dist/types/stories/Timeline.stories.d.ts +5 -0
  150. package/dist/types/test.setup.d.ts +1 -0
  151. package/dist/types/useResource.d.ts +8 -0
  152. package/dist/types/utils/blame.d.ts +8 -0
  153. package/dist/types/utils/date.d.ts +6 -0
  154. package/dist/types/utils/diff.d.ts +16 -0
  155. package/dist/types/utils/dom.d.ts +15 -0
  156. package/dist/types/utils/outcomes.d.ts +2 -0
  157. package/dist/types/utils.d.ts +5 -0
  158. package/package.json +95 -0
@@ -0,0 +1,1510 @@
1
+ .medplum-input {
2
+ border: 0.1px solid var(--medplum-gray-300);
3
+ border-radius: 3px;
4
+ background: var(--medplum-surface);
5
+ box-shadow: 0 1px 1px 0 var(--medplum-shadow);
6
+ color: var(--medplum-gray-800);
7
+ font-size: var(--medplum-font-normal);
8
+ height: 34px;
9
+ line-height: 28px;
10
+ max-width: 400px;
11
+ padding: 2px 8px;
12
+ width: 100%;
13
+ }
14
+
15
+ .medplum-input:focus {
16
+ background: var(--medplum-surface);
17
+ color: var(--medplum-gray-900);
18
+ border: 0.1px solid var(--medplum-blue-300);
19
+ box-shadow: 0 0 0 2px var(--medplum-blue-200);
20
+ outline: 0;
21
+ }
22
+
23
+ .medplum-input:disabled {
24
+ background: var(--medplum-gray-100);
25
+ }
26
+
27
+ .medplum-input-error {
28
+ margin: 2px 0;
29
+ padding: 2px 0;
30
+ font-size: var(--medplum-font-small);
31
+ color: red;
32
+ }
33
+
34
+ input[type='checkbox'],
35
+ input[type='radio'] {
36
+ border: 0.1px solid var(--medplum-gray-300);
37
+ border-radius: 0;
38
+ background: var(--medplum-surface);
39
+ margin: 4px;
40
+ }
41
+
42
+ input[type='checkbox']:focus,
43
+ input[type='radio']:focus {
44
+ background: var(--medplum-surface);
45
+ color: var(--medplum-gray-900);
46
+ border: 0.1px solid var(--medplum-blue-300);
47
+ }
48
+
49
+ input[type='checkbox']:disabled,
50
+ input[type='radio']:disabled {
51
+ background: var(--medplum-gray-100);
52
+ }
53
+
54
+ .medplum-input-row {
55
+ display: flex;
56
+ width: 100%;
57
+ gap: 3px;
58
+ align-items: center;
59
+ white-space: nowrap;
60
+ }
61
+
62
+ select.medplum-select {
63
+ background: var(--medplum-surface);
64
+ padding: 4px 8px;
65
+ margin: 1px;
66
+ line-height: 28px;
67
+ border-radius: 3px;
68
+ }
69
+
70
+ select.medplum-select:not([size]) {
71
+ border: 0.1px solid var(--medplum-gray-300);
72
+ border-radius: 3px;
73
+ box-shadow: 0 1px 1px 0 var(--medplum-shadow);
74
+ color: var(--medplum-gray-800);
75
+ font-size: var(--medplum-font-normal);
76
+ height: 34px;
77
+ line-height: 28px;
78
+ max-width: 400px;
79
+ width: 100%;
80
+ }
81
+
82
+ select.medplum-select:focus {
83
+ color: var(--medplum-gray-900);
84
+ border: 0.1px solid var(--medplum-blue-300);
85
+ box-shadow: 0 0 0 2px var(--medplum-blue-200);
86
+ outline: 0;
87
+ }
88
+
89
+ select.medplum-select:disabled {
90
+ background: var(--medplum-gray-100);
91
+ }
92
+
93
+ .medplum-button {
94
+ border: 0.1px solid var(--medplum-gray-300);
95
+ border-radius: 4px;
96
+ background: var(--medplum-gray-50);
97
+ outline: none;
98
+ font-size: var(--medplum-font-normal);
99
+ line-height: 24px;
100
+ color: var(--medplum-gray-800);
101
+ margin: 1px 2px;
102
+ padding: 4px 12px;
103
+ cursor: pointer;
104
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
105
+ }
106
+
107
+ .medplum-button:hover {
108
+ background: var(--medplum-gray-200);
109
+ }
110
+
111
+ .medplum-button:active {
112
+ background: var(--medplum-gray-300);
113
+ }
114
+
115
+ .medplum-button:focus {
116
+ box-shadow: 0 0 0 2px var(--medplum-blue-200);
117
+ }
118
+
119
+ .medplum-button.medplum-button-large {
120
+ font-size: var(--medplum-font-big);
121
+ line-height: 32px;
122
+ padding: 4px 32px;
123
+ }
124
+
125
+ .medplum-button.medplum-button-small {
126
+ font-size: var(--medplum-font-small);
127
+ line-height: 24px;
128
+ padding: 1px 6px;
129
+ box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.1);
130
+ }
131
+
132
+ .medplum-button.medplum-button-primary {
133
+ background-color: var(--medplum-blue-600);
134
+ border-color: var(--medplum-blue-600);
135
+ color: var(--medplum-surface);
136
+ }
137
+
138
+ .medplum-button.medplum-button-primary:hover {
139
+ background-color: var(--medplum-blue-700);
140
+ border-color: var(--medplum-blue-700);
141
+ }
142
+
143
+ .medplum-button.medplum-button-primary:active {
144
+ background-color: var(--medplum-blue-800);
145
+ border-color: var(--medplum-blue-800);
146
+ }
147
+
148
+ .medplum-button.medplum-button-primary:focus {
149
+ box-shadow: 0 0 0 2px var(--medplum-blue-200);
150
+ }
151
+
152
+ .medplum-button.medplum-button-danger {
153
+ background-color: var(--medplum-red-700);
154
+ border-color: var(--medplum-red-700);
155
+ color: var(--medplum-surface);
156
+ }
157
+
158
+ .medplum-button.medplum-button-danger:hover {
159
+ background-color: var(--medplum-red-800);
160
+ border-color: var(--medplum-red-800);
161
+ }
162
+
163
+ .medplum-button.medplum-button-danger:active {
164
+ background-color: var(--medplum-red-900);
165
+ border-color: var(--medplum-red-900);
166
+ }
167
+
168
+ .medplum-button.medplum-button-danger:focus {
169
+ box-shadow: 0 0 0 2px var(--medplum-red-200);
170
+ }
171
+
172
+ .medplum-button.medplum-button-borderless {
173
+ background-color: var(--medplum-surface);
174
+ border: 0;
175
+ box-shadow: none;
176
+ }
177
+
178
+ .medplum-button.medplum-button-borderless:hover {
179
+ background: var(--medplum-gray-200);
180
+ }
181
+
182
+ .medplum-button.medplum-button-borderless:active {
183
+ background: var(--medplum-gray-300);
184
+ }
185
+
186
+ .medplum-button.medplum-button-borderless:focus {
187
+ box-shadow: 0 0 0 2px var(--medplum-blue-200);
188
+ }
189
+
190
+ .medplum-autocomplete-container {
191
+ border: 0.1px solid var(--medplum-gray-300);
192
+ border-radius: 3px;
193
+ background: var(--medplum-surface);
194
+ box-shadow: 0 1px 1px 0 var(--medplum-shadow);
195
+ outline: 2px var(--medplum-surface);
196
+ position: relative;
197
+ cursor: text;
198
+ height: 34px;
199
+ line-height: 28px;
200
+ width: 100%;
201
+ max-width: 400px;
202
+ text-align: left;
203
+ }
204
+
205
+ .medplum-autocomplete-container.focused {
206
+ background: var(--medplum-surface);
207
+ color: var(--medplum-gray-900);
208
+ border: 0.1px solid var(--medplum-blue-500);
209
+ box-shadow: 0 0 0 2px var(--medplum-blue-400);
210
+ }
211
+
212
+ .medplum-autocomplete-container > ul {
213
+ margin: 0;
214
+ padding: 0;
215
+ list-style-type: none;
216
+ overflow: hidden;
217
+ cursor: text;
218
+ height: 34px;
219
+ }
220
+
221
+ .medplum-autocomplete-container li.medplum-autocomplete-item {
222
+ margin: 0;
223
+ padding: 0;
224
+ display: inline-block;
225
+ list-style: none;
226
+ white-space: nowrap;
227
+ user-select: none;
228
+ }
229
+
230
+ .medplum-autocomplete-container li.medplum-autocomplete-item.choice {
231
+ margin: 1px 0 1px 4px;
232
+ padding: 0 6px;
233
+ border: 0.1px solid var(--medplum-orange-200);
234
+ border-radius: 4px;
235
+ background-color: var(--medplum-gray-50);
236
+ cursor: move;
237
+ line-height: 22px;
238
+ }
239
+
240
+ .medplum-autocomplete-container li.medplum-autocomplete-item.unstructured {
241
+ border: 0.1px dashed var(--medplum-red-700) !important;
242
+ }
243
+
244
+ .medplum-autocomplete-container li.medplum-autocomplete-item input {
245
+ color: var(--medplum-gray-800);
246
+ display: inline-block;
247
+ width: 80px;
248
+ height: 28px;
249
+ line-height: 26px;
250
+ padding: 0 0 0 4px;
251
+ margin: 3px 0 0 2px;
252
+ outline: none;
253
+ border: none;
254
+ box-shadow: none;
255
+ background: transparent;
256
+ }
257
+
258
+ .medplum-autocomplete-container li.medplum-autocomplete-item input::-moz-focus-inner {
259
+ border: 0px;
260
+ }
261
+
262
+ .medplum-autocomplete-container li.medplum-autocomplete-item input:focus {
263
+ border: none;
264
+ box-shadow: none;
265
+ outline: none;
266
+ }
267
+
268
+ .medplum-autocomplete {
269
+ position: absolute;
270
+ background: var(--medplum-surface);
271
+ width: 300px;
272
+ z-index: 5;
273
+ cursor: pointer;
274
+ border: 0.1px solid var(--medplum-gray-300);
275
+ border-radius: 2px;
276
+ box-shadow: 0 2px 4px var(--medplum-shadow);
277
+ transition: opacity 0.218s;
278
+ }
279
+
280
+ .medplum-autocomplete-row {
281
+ display: flex;
282
+ align-items: center;
283
+ justify-content: center;
284
+ height: 48px;
285
+ margin: 0;
286
+ padding: 0;
287
+ cursor: pointer;
288
+ overflow: hidden;
289
+ white-space: nowrap;
290
+ }
291
+
292
+ .medplum-autocomplete-active {
293
+ background-color: var(--medplum-gray-200);
294
+ }
295
+
296
+ .medplum-autocomplete-icon {
297
+ width: 48px;
298
+ height: 48px;
299
+ padding: 8px;
300
+ margin: 0;
301
+ cursor: pointer;
302
+ }
303
+
304
+ .medplum-autocomplete-label {
305
+ flex: 1;
306
+ padding: 0 0 0 8px;
307
+ cursor: pointer;
308
+ user-select: none;
309
+ overflow: hidden;
310
+ white-space: nowrap;
311
+ }
312
+
313
+ .medplum-autocomplete-label div {
314
+ line-height: 18px;
315
+ overflow: hidden;
316
+ white-space: nowrap;
317
+ }
318
+
319
+ .medplum-autocomplete-label .medplum-autocomplete-help-text {
320
+ font-size: 12px;
321
+ color: var(--medplum-gray-500);
322
+ }
323
+
324
+ .medplum-avatar {
325
+ padding: 0;
326
+ width: 32px;
327
+ height: 32px;
328
+ min-width: 32px;
329
+ min-height: 32px;
330
+ line-height: 32px;
331
+ user-select: none;
332
+ border-radius: 50%;
333
+ overflow: hidden;
334
+ text-align: center;
335
+ color: var(--medplum-surface);
336
+ background-color: var(--medplum-gray-500);
337
+ font-size: 18px;
338
+ }
339
+
340
+ .medplum-avatar img {
341
+ width: 100%;
342
+ height: 100%;
343
+ object-fit: cover;
344
+ }
345
+
346
+ .medplum-avatar.xsmall {
347
+ width: 20px;
348
+ height: 20px;
349
+ min-width: 20px;
350
+ min-height: 20px;
351
+ line-height: 20px;
352
+ font-size: 10px;
353
+ }
354
+
355
+ .medplum-avatar.small {
356
+ width: 24px;
357
+ height: 24px;
358
+ min-width: 24px;
359
+ min-height: 24px;
360
+ line-height: 24px;
361
+ font-size: 11px;
362
+ }
363
+
364
+ .medplum-avatar.large {
365
+ width: 56px;
366
+ height: 56px;
367
+ min-width: 56px;
368
+ min-height: 56px;
369
+ line-height: 56px;
370
+ font-size: 28px;
371
+ }
372
+
373
+ .medplum-avatar > a {
374
+ color: var(--medplum-surface);
375
+ text-decoration: none;
376
+ }
377
+
378
+ fieldset {
379
+ border: 0;
380
+ margin: 6px 0 16px 0;
381
+ padding: 2px 0 8px 0;
382
+ }
383
+
384
+ fieldset.bordered {
385
+ border: 0.1px solid var(--medplum-gray-300);
386
+ border-radius: 6px;
387
+ margin: 6px 0 16px 0;
388
+ padding: 2px 8px 8px 8px;
389
+ }
390
+
391
+ fieldset label,
392
+ fieldset legend {
393
+ display: block;
394
+ margin: 2px 0 4px 0;
395
+ font-size: var(--medplum-font-small);
396
+ }
397
+
398
+ fieldset small {
399
+ display: block;
400
+ margin: 2px 0 4px 0;
401
+ padding: 2px 0 4px 0;
402
+ font-size: var(--medplum-font-small);
403
+ }
404
+
405
+ dl.medplum-description-list {
406
+ display: grid;
407
+ grid-template-columns: 30% 70%;
408
+ margin: 0;
409
+ }
410
+
411
+ dl.medplum-description-list dt,
412
+ dl.medplum-description-list dd {
413
+ padding: 12px 8px;
414
+ border-top: 0.1px solid var(--medplum-gray-300);
415
+ margin: 0;
416
+ }
417
+
418
+ dl.medplum-description-list.compact {
419
+ grid-template-columns: 20% 80%;
420
+ }
421
+
422
+ dl.medplum-description-list.compact dt,
423
+ dl.medplum-description-list.compact dd {
424
+ padding: 0 4px 4px 0;
425
+ border: 0;
426
+ }
427
+
428
+ .medplum-textarea {
429
+ background: var(--medplum-surface);
430
+ border: 0.1px solid var(--medplum-gray-300);
431
+ border-radius: 3px;
432
+ box-shadow: 0 1px 1px 0 var(--medplum-shadow);
433
+ color: var(--medplum-foreground);
434
+ line-height: 18px;
435
+ padding: 2px 4px;
436
+ margin: 0;
437
+ }
438
+
439
+ .medplum-textarea:focus {
440
+ background: var(--medplum-surface);
441
+ color: var(--medplum-gray-900);
442
+ border: 0.1px solid var(--medplum-blue-300);
443
+ box-shadow: 0 0 0 2px var(--medplum-blue-200);
444
+ outline: 0;
445
+ }
446
+
447
+ .medplum-textarea:disabled {
448
+ background: var(--medplum-gray-100);
449
+ }
450
+
451
+ .medplum-resource-badge {
452
+ display: inline-flex;
453
+ align-items: center;
454
+ gap: 4px;
455
+ white-space: nowrap;
456
+ }
457
+
458
+ .medplum-diagnostic-report-header {
459
+ display: flex;
460
+ flex-direction: row;
461
+ align-items: center;
462
+ background-color: var(--medplum-surface);
463
+ padding: 4px;
464
+ overflow: hidden;
465
+ }
466
+
467
+ .medplum-diagnostic-report-header > .medplum-avatar {
468
+ margin: 5px;
469
+ }
470
+
471
+ .medplum-diagnostic-report-header > dl {
472
+ margin: 5px 30px 5px 0;
473
+ }
474
+
475
+ .medplum-diagnostic-report-header dt {
476
+ color: var(--medplum-gray-500);
477
+ text-transform: uppercase;
478
+ font-size: 10px;
479
+ white-space: nowrap;
480
+ height: 16px;
481
+ display: flex;
482
+ align-items: center;
483
+ }
484
+
485
+ .medplum-diagnostic-report-header dd {
486
+ font-size: 16px;
487
+ font-weight: bold;
488
+ line-height: 32px;
489
+ white-space: nowrap;
490
+ height: 40px;
491
+ display: flex;
492
+ align-items: center;
493
+ margin: 0;
494
+ }
495
+
496
+ table.medplum-table {
497
+ border-collapse: collapse;
498
+ width: 100%;
499
+ }
500
+
501
+ table.medplum-table th,
502
+ table.medplum-table td {
503
+ border: 0.1px solid var(--medplum-gray-400);
504
+ padding: 4px 6px;
505
+ }
506
+
507
+ .medplum-loading {
508
+ position: relative;
509
+ display: flex;
510
+ flex-direction: column;
511
+ align-items: center;
512
+ justify-content: center;
513
+ height: 100%;
514
+ }
515
+
516
+ .medplum-loading-container {
517
+ position: fixed;
518
+ left: 50%;
519
+ top: 50%;
520
+ margin-top: -50px;
521
+ margin-left: -50px;
522
+ width: 100px;
523
+ height: 100px;
524
+ }
525
+
526
+ .medplum-loading-spinner {
527
+ position: absolute;
528
+ top: 0;
529
+ left: 0;
530
+ height: 100px;
531
+ width: 100px;
532
+ animation: rotate 2s linear infinite;
533
+ transform-origin: center center;
534
+ }
535
+
536
+ .medplum-loading-spinner circle {
537
+ fill: none;
538
+ stroke: var(--medplum-navbar);
539
+ stroke-width: 4;
540
+ stroke-dasharray: 2, 400;
541
+ stroke-dashoffset: 0;
542
+ stroke-linecap: round;
543
+ animation: dash 1.5s ease-in-out infinite;
544
+ }
545
+
546
+ @keyframes rotate {
547
+ 100% {
548
+ transform: rotate(360deg);
549
+ }
550
+ }
551
+
552
+ @keyframes dash {
553
+ 0% {
554
+ stroke-dasharray: 2, 400;
555
+ stroke-dashoffset: 0;
556
+ }
557
+ 50% {
558
+ stroke-dasharray: 180, 400;
559
+ stroke-dashoffset: -70px;
560
+ }
561
+ 100% {
562
+ stroke-dasharray: 180, 400;
563
+ stroke-dashoffset: -248px;
564
+ }
565
+ }
566
+
567
+ .medplum-menu-item {
568
+ color: var(--medplum-foreground);
569
+ list-style: none;
570
+ margin: 0;
571
+ padding: 4px 7em 4px 28px;
572
+ white-space: nowrap;
573
+ }
574
+
575
+ .medplum-menu-item:hover {
576
+ background-color: var(--medplum-blue-50);
577
+ }
578
+
579
+ .medplum-diff-removed {
580
+ color: red;
581
+ text-decoration: line-through;
582
+ }
583
+
584
+ .medplum-diff-added {
585
+ color: green;
586
+ }
587
+
588
+ table.medplum-diff-table {
589
+ border-collapse: collapse;
590
+ width: 100%;
591
+ }
592
+
593
+ table.medplum-diff-table tr {
594
+ border-top: 0.1px solid var(--medplum-gray-300);
595
+ }
596
+
597
+ table.medplum-diff-table th,
598
+ table.medplum-diff-table td {
599
+ padding: 12px 6px;
600
+ vertical-align: top;
601
+ }
602
+
603
+ .medplum-scrollable-container {
604
+ position: relative;
605
+ overflow: hidden;
606
+ width: 100%;
607
+ }
608
+
609
+ .medplum-scrollable-content {
610
+ position: relative;
611
+ width: 100%;
612
+ overflow: auto;
613
+ }
614
+
615
+ .medplum-popup {
616
+ position: fixed;
617
+ background: var(--medplum-surface);
618
+ cursor: default;
619
+ margin: 0;
620
+ outline: none;
621
+ z-index: 11;
622
+ border-radius: 0;
623
+ box-shadow: 0 2px 4px var(--medplum-shadow);
624
+ transition: opacity 0.2s;
625
+ border: 0.1px solid var(--medplum-gray-400);
626
+ }
627
+
628
+ .medplum-backdrop {
629
+ position: absolute;
630
+ overflow: hidden;
631
+ z-index: 10;
632
+ top: 50px;
633
+ left: 0;
634
+ bottom: 0;
635
+ width: 0;
636
+ background: black;
637
+ transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1), width 20ms ease;
638
+ opacity: 0;
639
+ }
640
+
641
+ .medplum-backdrop.active {
642
+ opacity: 0.5;
643
+ width: 100%;
644
+ }
645
+
646
+ .medplum-timeline article.medplum-timeline-item {
647
+ max-width: 700px;
648
+ padding: 0;
649
+ }
650
+
651
+ .medplum-timeline article.medplum-timeline-item-pinned {
652
+ background-color: var(--medplum-blue-50);
653
+ }
654
+
655
+ .medplum-timeline .medplum-timeline-item-header {
656
+ display: flex;
657
+ padding: 8px;
658
+ }
659
+
660
+ .medplum-timeline .medplum-timeline-item-avatar {
661
+ margin-right: 8px;
662
+ }
663
+
664
+ .medplum-timeline .medplum-timeline-item-title {
665
+ flex: 1;
666
+ }
667
+
668
+ .medplum-timeline .medplum-timeline-item-title > a {
669
+ color: var(--medplum-gray-800);
670
+ font-weight: bold;
671
+ }
672
+
673
+ .medplum-timeline .medplum-timeline-item-actions > a {
674
+ color: var(--medplum-gray-700);
675
+ font-weight: bold;
676
+ width: 32px;
677
+ height: 32px;
678
+ display: flex;
679
+ align-content: center;
680
+ justify-content: center;
681
+ padding: 6px;
682
+ border-radius: 50%;
683
+ }
684
+
685
+ .medplum-timeline .medplum-timeline-item-actions > a:hover {
686
+ background-color: rgba(0, 0, 0, 0.1);
687
+ }
688
+
689
+ .medplum-timeline .medplum-timeline-item-actions > a > svg {
690
+ width: 20px;
691
+ height: 20px;
692
+ }
693
+
694
+ .medplum-timeline .medplum-timeline-item-subtitle {
695
+ font-size: 11px;
696
+ }
697
+
698
+ .medplum-timeline .medplum-timeline-item-subtitle > a,
699
+ .medplum-timeline .medplum-timeline-item-subtitle > span {
700
+ margin-right: 6px;
701
+ color: var(--medplum-gray-500);
702
+ }
703
+
704
+ .medplum-timeline .medplum-timeline-item-footer {
705
+ display: flex;
706
+ padding: 8px;
707
+ border-top: 0.1px solid var(--medplum-gray-200);
708
+ }
709
+
710
+ .medplum-timeline .medplum-timeline-icon {
711
+ width: 26px;
712
+ height: 26px;
713
+ padding: 4px 0;
714
+ margin-right: 2px;
715
+ color: var(--medplum-gray-500);
716
+ }
717
+
718
+ .medplum-timeline-item-header > form {
719
+ display: flex;
720
+ width: 100%;
721
+ }
722
+
723
+ .medplum-timeline-item-header > form > input[type='text'] {
724
+ flex: 1;
725
+ margin-right: 4px;
726
+ }
727
+
728
+ .medplum-document {
729
+ margin: 20px auto 6px auto;
730
+ padding: 10px;
731
+ clear: both;
732
+ text-align: center;
733
+ }
734
+
735
+ .medplum-document article {
736
+ background-color: var(--medplum-surface);
737
+ max-width: 900px;
738
+ margin: 8px auto 16px auto;
739
+ padding: 15px 25px;
740
+ text-align: left;
741
+ border: 0.1px solid var(--medplum-gray-300);
742
+ border-radius: 8px;
743
+ box-shadow: 0 1px 3px 0 var(--medplum-shadow);
744
+ }
745
+
746
+ .medplum-document h1,
747
+ .medplum-document h2,
748
+ .medplum-document h3 {
749
+ margin: 12px 0;
750
+ }
751
+
752
+ .medplum-document p,
753
+ .medplum-document li {
754
+ line-height: 175%;
755
+ margin: 8px 0 16px 0;
756
+ }
757
+
758
+ @media (max-width: 700px) {
759
+ .medplum-document {
760
+ margin: 10px auto 6px auto;
761
+ padding: 6px;
762
+ }
763
+
764
+ .medplum-document article {
765
+ padding: 6px 12px;
766
+ }
767
+ }
768
+
769
+ .medplum-document img,
770
+ .medplum-document video {
771
+ width: 100%;
772
+ }
773
+
774
+ .medplum-document textarea {
775
+ line-height: 18px;
776
+ margin: 0;
777
+ min-height: 300px;
778
+ padding: 2px 4px;
779
+ width: 100%;
780
+ }
781
+
782
+ .medplum-footer {
783
+ text-align: center;
784
+ font-size: 12px;
785
+ }
786
+
787
+ .medplum-footer a {
788
+ color: var(--medplum-gray-500);
789
+ margin: 0 8px;
790
+ }
791
+
792
+ header {
793
+ min-height: 50px;
794
+ line-height: 24px;
795
+ margin: 0 0 2px 0;
796
+ padding: 8px;
797
+ display: flex;
798
+ align-items: center;
799
+ justify-content: space-between;
800
+ background-color: var(--medplum-navbar);
801
+ box-shadow: 0 1px 2px 0 var(--medplum-shadow);
802
+ color: white;
803
+ }
804
+
805
+ header > div {
806
+ display: flex;
807
+ align-items: center;
808
+ justify-content: space-between;
809
+ padding: 0 8px 0 4px;
810
+ }
811
+
812
+ header svg {
813
+ margin-right: 8px;
814
+ }
815
+
816
+ header a {
817
+ text-decoration: none;
818
+ padding: 0 8px 0 4px;
819
+ color: white;
820
+ font-weight: bold;
821
+ }
822
+
823
+ header a:hover {
824
+ text-decoration: none;
825
+ }
826
+
827
+ header a:focus {
828
+ outline: none;
829
+ }
830
+
831
+ .medplum-nav-search-container {
832
+ border: 0;
833
+ border-radius: 3px;
834
+ background-color: var(--medplum-navbar-textbox);
835
+ box-shadow: none;
836
+ position: relative;
837
+ margin: 0;
838
+ cursor: text;
839
+ height: 32px;
840
+ width: 250px;
841
+ line-height: 28px;
842
+ margin-left: 32px;
843
+ }
844
+
845
+ @media (max-width: 700px) {
846
+ #medplum-header-logo {
847
+ display: none;
848
+ }
849
+
850
+ .medplum-nav-search-container {
851
+ width: 200px;
852
+ margin-left: 16px;
853
+ }
854
+ }
855
+
856
+ .medplum-nav-search-container.focused {
857
+ background: var(--medplum-surface);
858
+ color: var(--medplum-gray-900);
859
+ border: 0.1px solid var(--medplum-blue-300);
860
+ box-shadow: 0 0 0 2px var(--medplum-blue-200);
861
+ }
862
+
863
+ .medplum-nav-search-container > ul {
864
+ margin: 0;
865
+ padding: 0;
866
+ list-style-type: none;
867
+ overflow: hidden;
868
+ cursor: text;
869
+ height: 32px;
870
+ }
871
+
872
+ .medplum-nav-search-container > ul > li {
873
+ margin: 0;
874
+ padding: 0;
875
+ display: inline-block;
876
+ list-style: none;
877
+ white-space: nowrap;
878
+ user-select: none;
879
+ }
880
+
881
+ .medplum-nav-search-container > ul > li.choice {
882
+ margin: 1px 0 1px 4px;
883
+ padding: 0 6px;
884
+ border: 0.1px solid var(--medplum-orange-200);
885
+ border-radius: 4px;
886
+ background-color: var(--medplum-gray-50);
887
+ cursor: move;
888
+ line-height: 22px;
889
+ color: var(--medplum-gray-800);
890
+ }
891
+
892
+ .medplum-nav-search-container > ul > li.unstructured {
893
+ border: 0.1px dashed var(--medplum-red-700) !important;
894
+ }
895
+
896
+ .medplum-nav-search-container > ul > li > input {
897
+ display: inline-block;
898
+ width: 80px;
899
+ line-height: 26px;
900
+ padding: 0 0 0 6px;
901
+ margin: 2px 0 0 2px;
902
+ outline: none;
903
+ border: none;
904
+ box-shadow: none;
905
+ background: transparent;
906
+ height: 28px;
907
+ color: var(--medplum-navbar-placeholder);
908
+ }
909
+
910
+ .medplum-nav-search-container > ul > li > input::placeholder {
911
+ color: var(--medplum-navbar-placeholder);
912
+ }
913
+
914
+ .medplum-nav-search-container.focused > ul > li > input::placeholder {
915
+ color: var(--medplum-gray-500);
916
+ }
917
+
918
+ .medplum-nav-search-container > ul > li > input::-moz-focus-inner {
919
+ border: 0px;
920
+ }
921
+
922
+ .medplum-nav-search-container > ul > li > input:focus {
923
+ border: none;
924
+ box-shadow: none;
925
+ outline: none;
926
+ color: var(--medplum-gray-800);
927
+ }
928
+
929
+ div.medplum-nav-menu-container {
930
+ position: relative;
931
+ }
932
+
933
+ .medplum-nav-menu-popover {
934
+ display: block;
935
+ position: absolute;
936
+ top: 0;
937
+ right: 0;
938
+ transform: translate(0px, 32px);
939
+ border: 0.1px solid var(--medplum-gray-400);
940
+ border-radius: 4px;
941
+ background-color: var(--medplum-surface);
942
+ color: var(--medplum-gray-600);
943
+ padding: 6px;
944
+ width: 300px;
945
+ z-index: 100;
946
+ }
947
+
948
+ .medplum-nav-menu {
949
+ display: flex;
950
+ flex-direction: column;
951
+ text-align: center;
952
+ justify-content: center;
953
+ }
954
+
955
+ .medplum-nav-menu a {
956
+ color: var(--medplum-foreground);
957
+ font-weight: normal;
958
+ }
959
+
960
+ .medplum-nav-menu-profile {
961
+ display: flex;
962
+ align-items: center;
963
+ justify-content: center;
964
+ height: 64px;
965
+ margin: 0;
966
+ padding: 0;
967
+ text-align: left;
968
+ cursor: pointer;
969
+ }
970
+
971
+ .medplum-nav-menu-profile:hover {
972
+ background-color: var(--medplum-gray-200);
973
+ }
974
+
975
+ .medplum-nav-menu-profile-icon {
976
+ width: 48px;
977
+ height: 48px;
978
+ padding: 8px;
979
+ margin: 0;
980
+ cursor: pointer;
981
+ }
982
+
983
+ .medplum-nav-menu-profile-label {
984
+ flex: 1;
985
+ padding: 0 0 0 8px;
986
+ cursor: pointer;
987
+ user-select: none;
988
+ line-height: 18px;
989
+ }
990
+
991
+ .medplum-nav-menu-profile-label .medplum-nav-menu-profile-help-text {
992
+ font-size: 12px;
993
+ color: var(--medplum-gray-500);
994
+ }
995
+
996
+ .medplum-sidebar {
997
+ position: fixed;
998
+ overflow: auto;
999
+ z-index: 40;
1000
+ top: 50px;
1001
+ left: 0;
1002
+ width: 200px;
1003
+ bottom: 0;
1004
+ background: var(--medplum-background);
1005
+ padding: 4px 8px;
1006
+ transition-property: transform;
1007
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1008
+ transition-duration: 150ms;
1009
+ transform: translateX(-200px);
1010
+ user-select: none;
1011
+ }
1012
+
1013
+ .medplum-sidebar.active {
1014
+ transform: translateX(0px);
1015
+ }
1016
+
1017
+ .medplum-sidebar > h5 {
1018
+ margin: 32px 0 4px 6px;
1019
+ font-size: 9px;
1020
+ font-weight: normal;
1021
+ text-transform: uppercase;
1022
+ letter-spacing: 2px;
1023
+ }
1024
+
1025
+ .medplum-sidebar > ul {
1026
+ list-style: none;
1027
+ padding-left: 0;
1028
+ }
1029
+
1030
+ .medplum-sidebar > ul > li {
1031
+ list-style: none;
1032
+ margin: 8px 0;
1033
+ }
1034
+
1035
+ .medplum-sidebar > ul > li > a {
1036
+ display: flex;
1037
+ border-radius: 4px;
1038
+ padding: 6px;
1039
+ text-decoration: none;
1040
+ color: var(--medplum-gray-700);
1041
+ }
1042
+
1043
+ .medplum-sidebar > ul > li > a:hover {
1044
+ background: var(--medplum-gray-300);
1045
+ }
1046
+
1047
+ .medplum-questionnaire-option-row {
1048
+ display: flex;
1049
+ align-items: center;
1050
+ line-height: 24px;
1051
+ }
1052
+
1053
+ .medplum-questionnaire-option-row label {
1054
+ margin: 0;
1055
+ }
1056
+
1057
+ .medplum-questionnaire-option-checkbox {
1058
+ padding: 4px 8px 0 4px;
1059
+ }
1060
+
1061
+ .medplum-questionnaire-builder .section {
1062
+ position: relative;
1063
+ margin: 4px;
1064
+ padding: 16px 12px 16px 4px;
1065
+ background-color: var(--medplum-surface);
1066
+ border: 1px solid var(--medplum-gray-300);
1067
+ border-radius: 8px;
1068
+ }
1069
+
1070
+ .medplum-questionnaire-builder .section h1 {
1071
+ margin: 4px 0;
1072
+ }
1073
+
1074
+ .medplum-questionnaire-builder .section.hovering {
1075
+ border-color: var(--medplum-blue-500);
1076
+ }
1077
+
1078
+ .medplum-questionnaire-builder .section.editing {
1079
+ margin: 8px 4px 12px 4px;
1080
+ padding: 4px 4px 20px 4px;
1081
+ border-left: 4px solid var(--medplum-blue-500);
1082
+ }
1083
+
1084
+ .medplum-questionnaire-builder .section.editing input,
1085
+ .medplum-questionnaire-builder .section.editing select {
1086
+ margin: 2px 4px;
1087
+ }
1088
+
1089
+ .medplum-questionnaire-builder .section > .top-actions {
1090
+ top: 0;
1091
+ padding: 4px;
1092
+ color: var(--medplum-gray-500);
1093
+ }
1094
+
1095
+ .medplum-questionnaire-builder .section > .bottom-actions {
1096
+ bottom: 0;
1097
+ }
1098
+
1099
+ .medplum-questionnaire-builder .section > .top-actions,
1100
+ .medplum-questionnaire-builder .section > .bottom-actions {
1101
+ position: absolute;
1102
+ right: 0;
1103
+ }
1104
+
1105
+ .medplum-questionnaire-builder .section > .top-actions a,
1106
+ .medplum-questionnaire-builder .section > .bottom-actions a {
1107
+ font-size: 10px;
1108
+ color: var(--medplum-gray-500);
1109
+ margin: 0 6px 4px 0;
1110
+ }
1111
+
1112
+ .medplum-questionnaire-builder .section.editing > .top-actions a,
1113
+ .medplum-questionnaire-builder .section.editing > .bottom-actions a {
1114
+ color: var(--medplum-blue-500);
1115
+ }
1116
+
1117
+ .medplum-blame-container {
1118
+ overflow-x: auto;
1119
+ }
1120
+
1121
+ .medplum-blame {
1122
+ border: 0.1px solid var(--medplum-gray-100);
1123
+ border-collapse: collapse;
1124
+ border-radius: 4px;
1125
+ border-spacing: 0;
1126
+ width: 100%;
1127
+ }
1128
+
1129
+ .medplum-blame .start-row {
1130
+ border-top: 0.1px solid var(--medplum-gray-100);
1131
+ }
1132
+
1133
+ .medplum-blame .normal-row {
1134
+ border-top: 0;
1135
+ }
1136
+
1137
+ .medplum-blame .details {
1138
+ border-right: 0.1px solid var(--medplum-gray-100);
1139
+ padding: 4px;
1140
+ font-size: 10px;
1141
+ line-height: 10px;
1142
+ vertical-align: top;
1143
+ }
1144
+
1145
+ .medplum-blame .line-number {
1146
+ background-color: var(--medplum-gray-50);
1147
+ border: 0;
1148
+ color: var(--medplum-gray-500);
1149
+ font-family: monospace;
1150
+ padding: 4px 8px;
1151
+ text-align: right;
1152
+ }
1153
+
1154
+ .medplum-blame .line {
1155
+ font-family: monospace;
1156
+ padding: 4px 8px;
1157
+ }
1158
+
1159
+ .medplum-blame .line-pre {
1160
+ margin: 0;
1161
+ }
1162
+
1163
+ .medplum-search-control {
1164
+ max-width: 100%;
1165
+ overflow: auto;
1166
+ text-align: left;
1167
+ margin-bottom: 20px;
1168
+ background: var(--medplum-surface);
1169
+ }
1170
+
1171
+ .medplum-search-control .medplum-search-summary {
1172
+ line-height: 28px;
1173
+ padding: 2px 6px;
1174
+ font-size: 12px;
1175
+ white-space: nowrap;
1176
+ }
1177
+
1178
+ /*
1179
+ * Table styles
1180
+ */
1181
+
1182
+ .medplum-search-control > table {
1183
+ width: 100%;
1184
+ clear: both;
1185
+ border-top: 0.1px solid var(--medplum-gray-300);
1186
+ border-collapse: collapse;
1187
+ }
1188
+
1189
+ .medplum-search-control > table tr {
1190
+ border-bottom: 0.1px solid var(--medplum-gray-300);
1191
+ }
1192
+
1193
+ .medplum-search-control > table td,
1194
+ .medplum-search-control > table th {
1195
+ padding: 7px 10px;
1196
+ cursor: pointer;
1197
+ }
1198
+
1199
+ .medplum-search-control > table td.c {
1200
+ text-align: center;
1201
+ }
1202
+
1203
+ .medplum-search-control > table td.r {
1204
+ text-align: right;
1205
+ }
1206
+
1207
+ /* Header cells */
1208
+
1209
+ .medplum-search-control > table thead th {
1210
+ text-align: left;
1211
+ background-color: var(--medplum-blue-50);
1212
+ white-space: nowrap;
1213
+ color: var(--medplum-gray-700);
1214
+ border: 0.1px solid var(--medplum-gray-300);
1215
+ position: relative;
1216
+ }
1217
+
1218
+ .medplum-search-control > table thead th:hover {
1219
+ background-color: var(--medplum-blue-200);
1220
+ }
1221
+
1222
+ .medplum-search-control > table thead th.filters {
1223
+ background-color: var(--medplum-gray-100);
1224
+ text-align: center;
1225
+ color: var(--medplum-gray-600);
1226
+ }
1227
+
1228
+ .medplum-search-control > table thead th svg {
1229
+ position: absolute;
1230
+ top: 2px;
1231
+ right: 2px;
1232
+ width: 14px;
1233
+ height: 14px;
1234
+ }
1235
+
1236
+ /* Body cells */
1237
+
1238
+ .medplum-search-control > table tbody tr {
1239
+ background-color: var(--medplum-surface);
1240
+ }
1241
+
1242
+ .medplum-search-control > table tbody tr.high-priority {
1243
+ background-color: var(--medplum-gray-300);
1244
+ }
1245
+
1246
+ .medplum-search-control > table tbody tr.duplicate {
1247
+ background-color: var(--medplum-gray-100);
1248
+ }
1249
+
1250
+ .medplum-search-control > table tbody tr:hover {
1251
+ background-color: var(--medplum-yellow-100);
1252
+ }
1253
+
1254
+ .medplum-search-control > table tbody td {
1255
+ color: var(--medplum-gray-800);
1256
+ border-right: 0.1px solid var(--medplum-gray-100);
1257
+ }
1258
+
1259
+ .medplum-search-control .medplum-empty-search {
1260
+ background: var(--medplum-gray-100);
1261
+ border: 0.1px solid var(--medplum-gray-300);
1262
+ color: var(--medplum-gray-500);
1263
+ text-align: center;
1264
+ padding: 40px;
1265
+ font-size: var(--medplum-font-big);
1266
+ }
1267
+
1268
+ .medplum-search-icon-cell {
1269
+ padding: 0 !important;
1270
+ text-align: center !important;
1271
+ width: 32px !important;
1272
+ min-width: 32px !important;
1273
+ max-width: 32px !important;
1274
+ }
1275
+
1276
+ .medplum-search-icon-cell input[type='checkbox'] {
1277
+ margin: 0;
1278
+ padding: 0;
1279
+ border: 0.1px solid var(--medplum-gray-600);
1280
+ outline: 0;
1281
+ }
1282
+
1283
+ /*
1284
+ * Filter editor
1285
+ */
1286
+
1287
+ .medplum-filter-editor {
1288
+ text-align: left;
1289
+ min-width: 800px;
1290
+ }
1291
+
1292
+ .medplum-filter-editor-table {
1293
+ width: 100%;
1294
+ border-collapse: collapse;
1295
+ }
1296
+
1297
+ .modal-dialog {
1298
+ background: var(--medplum-gray-600);
1299
+ border: 0.1px solid var(--medplum-gray-700);
1300
+ color: var(--medplum-foreground);
1301
+ padding: 0;
1302
+ position: absolute;
1303
+ z-index: 21;
1304
+ box-shadow: var(--medplum-shadow) 0 2px 6px;
1305
+ outline: 0;
1306
+ }
1307
+
1308
+ .modal-dialog a,
1309
+ .modal-dialog a:link,
1310
+ .modal-dialog a:visited {
1311
+ color: var(--medplum-blue-800);
1312
+ cursor: pointer;
1313
+ }
1314
+
1315
+ .modal-dialog-bg {
1316
+ background: rgba(0, 0, 0, 0.5);
1317
+ left: 0;
1318
+ position: absolute;
1319
+ top: 0;
1320
+ right: 0;
1321
+ bottom: 0;
1322
+ z-index: 20;
1323
+ }
1324
+
1325
+ .modal-dialog-title {
1326
+ background: var(--medplum-gray-800);
1327
+ color: var(--medplum-surface);
1328
+ cursor: pointer;
1329
+ padding: 6px;
1330
+ display: flex;
1331
+ justify-content: space-between;
1332
+ }
1333
+
1334
+ .modal-dialog-title-close {
1335
+ cursor: pointer;
1336
+ vertical-align: middle;
1337
+ }
1338
+
1339
+ .modal-dialog-title-close:hover {
1340
+ background-color: var(--medplum-gray-700);
1341
+ }
1342
+
1343
+ .modal-dialog-title-close > svg {
1344
+ width: 20px;
1345
+ height: 20px;
1346
+ }
1347
+
1348
+ .modal-dialog-content {
1349
+ text-align: center;
1350
+ background-color: var(--medplum-surface);
1351
+ padding: 8px;
1352
+ }
1353
+
1354
+ .modal-dialog-buttons {
1355
+ text-align: right;
1356
+ background-color: var(--medplum-gray-100);
1357
+ border-top: 1px solid var(--medplum-gray-400);
1358
+ padding: 8px;
1359
+ }
1360
+
1361
+ .modal-dialog-buttons button {
1362
+ padding: 1px 6px;
1363
+ }
1364
+
1365
+ .medplum-menu-separator {
1366
+ border-top: 0.1px solid var(--medplum-gray-400);
1367
+ margin: 4px 0;
1368
+ padding: 0;
1369
+ }
1370
+
1371
+ .medplum-submenu-arrow {
1372
+ color: var(--medplum-foreground);
1373
+ left: auto;
1374
+ padding-right: 6px;
1375
+ position: absolute;
1376
+ right: 0;
1377
+ text-align: right;
1378
+ user-select: none;
1379
+ }
1380
+
1381
+ .medplum-title-bar {
1382
+ display: flex;
1383
+ width: 100%;
1384
+ height: 50px;
1385
+ padding: 15px;
1386
+ justify-content: space-between;
1387
+ background: var(--medplum-surface);
1388
+ border-bottom: 2px solid var(--medplum-gray-200);
1389
+ color: var(--medplum-gray-800);
1390
+ }
1391
+
1392
+ .medplum-title-bar > div {
1393
+ display: flex;
1394
+ align-items: center;
1395
+ }
1396
+
1397
+ .medplum-title-bar h1 {
1398
+ font-size: 14px;
1399
+ font-weight: bold;
1400
+ padding: 0 4px 0 1px;
1401
+ margin: 0 4px 0 1px;
1402
+ color: var(--medplum-gray-800);
1403
+ }
1404
+
1405
+ .medplum-signin {
1406
+ max-width: 400px;
1407
+ }
1408
+
1409
+ .medplum-signin-buttons {
1410
+ display: flex;
1411
+ justify-content: space-between;
1412
+ line-height: 32px;
1413
+ }
1414
+
1415
+ .medplum-signin-buttons > div {
1416
+ display: flex;
1417
+ align-items: center;
1418
+ }
1419
+
1420
+ .medplum-signin-buttons a {
1421
+ font-size: 12px;
1422
+ margin-right: 16px;
1423
+ }
1424
+
1425
+ .medplum-signin-buttons label {
1426
+ font-size: 12px;
1427
+ }
1428
+
1429
+ .medplum-signin-google-container {
1430
+ padding: 20px 0 10px 0;
1431
+ margin: 20px 0 10px 0;
1432
+ text-align: center;
1433
+ display: flex;
1434
+ align-items: center;
1435
+ justify-content: center;
1436
+ border-top: 0.1px solid var(--medplum-gray-200);
1437
+ }
1438
+
1439
+ .medplum-signin-google-icon {
1440
+ margin-right: 8px;
1441
+ }
1442
+
1443
+ .medplum-signin-google-icon svg {
1444
+ display: inline-block;
1445
+ vertical-align: top;
1446
+ }
1447
+
1448
+ .medplum-left {
1449
+ text-align: left;
1450
+ }
1451
+
1452
+ .medplum-center {
1453
+ text-align: center;
1454
+ }
1455
+
1456
+ .medplum-right {
1457
+ text-align: right;
1458
+ }
1459
+
1460
+ a.medplum-tab {
1461
+ display: inline-block;
1462
+ line-height: 50px;
1463
+ margin: 0;
1464
+ padding: 0 8px;
1465
+ min-width: 75px;
1466
+ height: 50px;
1467
+ text-align: center;
1468
+ cursor: pointer;
1469
+ user-select: none;
1470
+ color: var(--medplum-gray-600);
1471
+ text-decoration: none;
1472
+ outline: 0;
1473
+ }
1474
+
1475
+ a.medplum-tab:focus,
1476
+ a.medplum-tab:hover {
1477
+ border-bottom: 2px solid var(--medplum-blue-100);
1478
+ outline: 0;
1479
+ text-decoration: none;
1480
+ }
1481
+
1482
+ a.medplum-tab.selected {
1483
+ border-bottom: 2px solid var(--medplum-orange-300);
1484
+ color: var(--medplum-gray-800);
1485
+ font-weight: bold;
1486
+ }
1487
+
1488
+ .medplum-surface {
1489
+ background-color: var(--medplum-surface);
1490
+ }
1491
+
1492
+ .medplum-tablist {
1493
+ position: relative;
1494
+ min-height: 50px;
1495
+ user-select: none;
1496
+ white-space: nowrap;
1497
+ }
1498
+
1499
+ .medplum-tablist-foreground {
1500
+ position: absolute;
1501
+ top: 0;
1502
+ left: 0;
1503
+ min-width: 100%;
1504
+ bottom: 0;
1505
+ user-select: none;
1506
+ white-space: nowrap;
1507
+ border-bottom: 2px solid var(--medplum-gray-200);
1508
+ padding: 0 20px;
1509
+ z-index: 3;
1510
+ }