-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
206 lines (173 loc) · 3.81 KB
/
index.css
File metadata and controls
206 lines (173 loc) · 3.81 KB
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
/* PAGE LAYOUT */
* {
box-sizing: border-box;
}
.vis-container {
display: flex;
flex-direction: column;
align-items: center;
border: 1px solid black;
width: 100%;
height: 100%; /* Allow it to fill available space */
font-size: 11px;
font-family: sans-serif;
color: #000;
background-color: #fff;
padding: 5px;
box-sizing: border-box;
overflow: hidden; /* Prevent container from growing */
}
.row-container {
display: flex;
flex-direction: row;
justify-content: space-around;
width: 100%;
padding-top: 5px;
min-height: 0; /* Allow shrinking */
overflow: hidden;
}
/* Make demographics row fixed height */
.demographics-row {
flex: 0 0 auto;
height: auto;
}
/* Make concepts row grow to fill space */
.concepts-row {
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
}
/* Make concepts tables row grow within concepts column */
.concepts-tables-row {
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
}
.concepts-ctrl-row {
gap: 10px;
align-items: center;
justify-content: flex-start;
}
.col-container {
flex: 1;
border: 1px solid lightgray;
min-width: 0;
display: flex;
flex-direction: column;
overflow: auto;
box-sizing: border-box;
/* Scrollbar styling */
scrollbar-width: thin;
scrollbar-color: #888 #f1f1f1;
}
.col-container::-webkit-scrollbar {
height: 8px;
width: 8px;
}
.col-container::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
.col-container::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
.col-container::-webkit-scrollbar-thumb:hover {
background: #555;
}
.col-container > div {
flex: 0 0 auto;
overflow: auto;
min-width: 0;
}
.col-container.no-border, .row-container.no-border {
border: none;
}
/* Drag bar styling */
.drag-bar {
flex: 0 0 5px;
background-color: #ddd;
cursor: col-resize;
min-width: 5px;
}
.drag-bar:hover {
background-color: #999;
}
h1.tight-header, h2.tight-header {
margin: 0;
line-height: 1;
}
/* TOOLTIP */
.tooltip {
position: absolute;
visibility: hidden;
background: whitesmoke;
color: black;
padding: 8px;
border-radius: 8px;
border: 1px solid darkgray;
/*background-image: linear-gradient(to right, lightgray, white);*/
pointer-events: none;
z-index: 1000;
}
/* COHORT SUMMARY */
.cohort-summary{
gap: 32px; /* space between columns */
padding: 15px;
background-image: linear-gradient(to right, lightgray, darkgray);
overflow: auto;
}
/* BAR CHART */
/* overall barchart size */
.barchart{
/*font-size: 14px;*/
width: 100%; /* allows resize to fit the page*/
height: auto;
}
/* axis labels */
/*.axis-label {*/
/*font-size: 14px;*/
/*}*/
/* lines and tick marks */
.axis path,
.axis line {
fill: none;
stroke: black;
shape-rendering: crispEdges;
}
/* axis text */
/*.axis text {*/
/* font-size: 14px;*/
/*}*/
/* CONCEPTS TABLE */
.concepts-row {
width: 100%;
height: 100%; /* fill vis-container height */
}
.div-concepts-table-body {
margin-top: 0;
overflow-y: auto;
overflow-x: auto;
background-color: #f9f9f9;
}
.table-body-wrapper {
overflow: auto;
max-height: 370px; /* header height removed */
}
/* concepts table row hover and select */
.selected .cell-bg {
fill: #f0ffff !important;
/*stroke: #ccc !important;*/
}
.selected {
opacity: 1;
}
.row-border {
fill: none;
stroke: #f0ffff;
stroke-width: 2px;
pointer-events: none;
}
g[cursor="pointer"]:hover .cell-bg {
fill: #f5f5f5;
}