@haniffalab/cherita-react 0.2.0-dev.2024-09-26.ab815be6 → 0.2.0-dev.2024-10-16.42ace931

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/dist/App.scss DELETED
@@ -1,259 +0,0 @@
1
- // Theme CSS
2
- $accordion-button-active-bg: #e7edf0;
3
-
4
- @import "bootstrap/scss/bootstrap";
5
-
6
- input[type="checkbox"], .cursor-pointer {
7
- cursor: pointer;
8
- }
9
-
10
- .loading-spinner {
11
- @extend .bg-light;
12
- height: 100%;
13
- width: 100%;
14
- display: flex;
15
- z-index: 1;
16
- opacity: 75%;
17
- position: absolute;
18
- justify-content: center;
19
- align-items: center;
20
- }
21
-
22
- .cherita-container {
23
- margin: 40px auto;
24
- background-color: #fff;
25
- border-radius: 0.25rem;
26
- box-shadow: 0 0.5em 1em 0.3em rgba(10, 10, 10, .15), 0 0 0 1px rgba(10, 10, 10, .02);
27
- color: #4a4a4a;
28
- max-width: 100%;
29
- position: relative;
30
- overflow: hidden;
31
- }
32
-
33
- .cherita-navbar {
34
- @extend .mx-1;
35
- @extend .my-2;
36
- position: absolute;
37
- z-index: 11;
38
- top: 0;
39
- left: 0;
40
- right: 0;
41
- border-radius: 0.25rem;
42
- }
43
-
44
- .cherita-container .cherita-navbar-item>.dropdown-menu {
45
- height: var(--dropdown-height);
46
- overflow-x: hidden;
47
- overflow-y: scroll;
48
- }
49
-
50
- /* Scrollbar styling */
51
-
52
- /* Works on Firefox */
53
- .cherita-container * {
54
- scrollbar-width: thin;
55
- scrollbar-color: rgb(70, 70, 70) auto;
56
- }
57
-
58
- /* Works on Chrome, Edge, and Safari */
59
- .cherita-container *::-webkit-scrollbar {
60
- width: 7px;
61
- }
62
-
63
- .cherita-container *::-webkit-scrollbar-track {
64
- background: #212529;
65
- }
66
-
67
- .cherita-container *::-webkit-scrollbar-thumb {
68
- background-color: rgb(70, 70, 70);
69
- }
70
-
71
- /* End scrollbar styling*/
72
-
73
- .cherita-container-plot {
74
- margin-top: 76px;
75
- padding: 20px;
76
- position: relative;
77
- min-height: 500px;
78
- }
79
-
80
- .cherita-container-scatterplot {
81
- position: relative;
82
- min-height: 500px;
83
- height: 100%;
84
- }
85
-
86
- .cherita-spatial-controls {
87
- position: absolute;
88
- z-index: 10;
89
- top: 1rem;
90
- left: 1rem;
91
- width: 3rem;
92
- }
93
-
94
- .cherita-spatial-footer {
95
- position: absolute;
96
- z-index: 10;
97
- bottom: 1rem;
98
- display: flex;
99
- justify-content: space-between;
100
- align-items: flex-end;
101
- flex-wrap: wrap;
102
- width: 100%;
103
- padding-left: 2rem;
104
- padding-right: 2rem;
105
- padding-bottom: 1rem;
106
- pointer-events: none;
107
- > * {
108
- pointer-events: auto;
109
- }
110
- }
111
-
112
- .cherita-toolbox-footer {
113
- display: flex;
114
- flex-direction: column;
115
- }
116
-
117
- .cherita-toolbox-footer .alert {
118
- width: fit-content;
119
- }
120
-
121
- .cherita-toolbox {
122
- order: 1;
123
- }
124
-
125
- .cherita-legend {
126
- order: 2;
127
- width: 12rem;
128
- }
129
-
130
- @include media-breakpoint-down(xl) {
131
- .cherita-spatial-controls {
132
- top: 100px;
133
- }
134
- }
135
-
136
- .cherita-accordion-active .accordion-button {
137
- background-color: rgb(204, 227, 237)
138
- }
139
-
140
- .obs-value-list-check {
141
- padding-right: 1rem;
142
- word-break: auto-phrase;
143
- overflow-wrap: anywhere;
144
- }
145
-
146
- .grad-step {
147
- display: inline-block;
148
- height: 20px;
149
- width: 1%;
150
- }
151
- .gradient {
152
- width: 100%;
153
- white-space: nowrap;
154
- position: relative;
155
- display: inline-block;
156
- top: 4px;
157
- padding-bottom: 15px;
158
- }
159
-
160
- .gradient .domain-min {
161
- position: absolute;
162
- left: 0;
163
- font-size: 11px;
164
- bottom: 3px;
165
- }
166
- .gradient .domain-med {
167
- position: absolute;
168
- right: 25%;
169
- left: 25%;
170
- text-align: center;
171
- font-size: 11px;
172
- bottom: 3px;
173
- }
174
- .gradient .domain-max {
175
- position: absolute;
176
- right: 0;
177
- font-size: 11px;
178
- bottom: 3px;
179
- }
180
-
181
- .cm-string {
182
- padding: 0px 4px;
183
- display: inline-block;
184
- min-width: 13px;
185
- min-height: 13px;
186
- border-radius: 3px;
187
- box-sizing: border-box;
188
- position: relative;
189
- vertical-align: middle;
190
- margin-left: 2px;
191
- margin-bottom: 2px;
192
- position: relative;
193
- top: 1px;
194
- }
195
- .cm-small {
196
- height: 15px;
197
- width: 15px;
198
- }
199
-
200
- .obs-distribution {
201
- width: 100%;
202
- height: 4rem;
203
- }
204
-
205
- .obs-continuous-stats {
206
- font-weight: lighter;
207
- margin: 0;
208
- }
209
-
210
- .value-count-badge {
211
- color: black !important;
212
- background-color: rgb(222, 222, 222) !important;
213
- }
214
-
215
- .value-pct-gauge-container {
216
- width: 1.5rem;
217
- height: 1.5rem;
218
- padding: 0.2rem;
219
- }
220
-
221
- .feature-histogram-container {
222
- height: 1.25rem;
223
- width: 5rem;
224
- display: flex;
225
- align-items: center;
226
- }
227
-
228
- .feature-histogram {
229
- @extend .feature-histogram-container;
230
- background-color: rgb(222, 222, 222);
231
- }
232
-
233
- .feature-histogram-tooltip .MuiChartsTooltip-markCell,.MuiChartsTooltip-labelCell {
234
- display: none;
235
- }
236
-
237
- .feature-histogram-tooltip .MuiChartsTooltip-valueCell {
238
- padding: 0.5rem !important;
239
- }
240
-
241
- .feature-histogram-tooltip .MuiChartsTooltip-valueCell > p {
242
- font-size: 0.85rem !important;
243
- }
244
-
245
- .feature-histogram-tooltip td > p {
246
- font-size: 0.85rem !important;
247
- }
248
-
249
- .feature-disease-info {
250
- font-weight: lighter;
251
- border-top: 1px solid var(list-group-border-color);
252
- border-right: 0;
253
- border-left: 0;
254
- border-bottom: 0;
255
- }
256
-
257
- .feature-disease-info table {
258
- margin: 0;
259
- }