-
Notifications
You must be signed in to change notification settings - Fork 55
/
pygsti_dataviz.css
335 lines (272 loc) · 6.35 KB
/
pygsti_dataviz.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
.notapplicable {
color: DarkSlateBlue;
font-weight: bold;
font-size: 20pt;
}
.successmsg {
color: green;
font-weight: bold;
font-style: normal;
}
.successmsg2 {
color: green;
font-weight: normal;
font-style: normal;
}
.failmsg {
color: red;
font-style: italic;
}
.errorbar {
color: #0000A0;
}
th .errorbar {
color: #ADD8E6;
}
.nmerrorbar {
color: red;
}
/* Plotly mode-bar styles: only show download button */
.modebar {
/* display: none; */
}
.modebar-group {
margin-left: 0px !important; /* removes space btwn bar buttons */
}
.modebar-btn {
display: none;
}
.modebar-btn[data-title="Download plot as a png"] {
display: inline;
}
.modebar-btn[data-title="Download PDF"] {
display: inline;
}
.modebar-btn[data-title="Download python pickle"] {
display: inline;
}
.modebar-btn[data-title="Reset axes"] {
display: inline;
}
.katex {
font-size: 1em !important;
}
.dataTable td, .dataTable th {
/* appearance */
border: 2px solid #333;
/* size */
padding: 5px;
}
.dataTable {
/* text */
font-family: "Computer Modern Serif","times new roman",serif;
/*Helvetica, Arial, sans-serif;*/
/* no space between cells */
border-spacing: 0px;
border-collapse: collapse;
/* auto-size columns & center table in it's parent div */
width: auto;
margin: auto;
margin-top: 5px;
max-width: 100%;
overflow: auto; /*hidden; - this hides content sometimes - needed? */
}
/*.dataTable tr {
width: 20%;
}*/
.dataTable a {
/* link text */
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-decoration: none;
color: #000000;
}
.dataTable a:hover { color: #0000FF; }
.dataTable tbody tr td {
/* appearance */
background-color: #ffffff;
/* text */
color: #262c31;
/* font */
font-family: "Computer Modern Serif","times new roman",serif;
/* font-size: 90%; */
font-size: 10pt;
/* text alignment */
text-align: center;
vertical-align: middle;
}
.dataTable tbody tr.odd td {
/* appearance */
background-color: #d6e0ef;
}
.dataTable thead tr th,
.dataTable tfoot tr td {
/* appearance */
background-color: #333;
/* text */
color: #ffffff;
font-size: 12px;
font-weight: bold;
text-align: center;
}
.dataTableHeading {
font-weight: bold;
color: #333;
margin-bottom: 5px;
}
.dataTableHeading > a {
text-decoration: none;
color: #333;
}
.dataTableHeading > a:hover {
color: #00CDF0;
}
/* For now, also include plotly style additions here too */
.plotly-graph-div {
margin: auto; /*to center plots*/
}
.pygsti-wsoutput-group {
display: inline-block; /* shrink to fit contents for resizable */
max-width: 100%; /* so we can set width as a "desired" width, constrained by parent width */
vertical-align: top; /* so divs in table cells align to TD properly */
}
/* maximum height for fluid report figures */
figure > div.pygsti-wsoutput-group {
vertical-align: top; /* so multiple groups (e.g. tables) align at top */
max-height: 10000px;
}
.abswrap {
position: absolute;
left: 0;
top: 0;
text-align: left;
}
.relwrap {
position: relative;
left: 0; top:0 /*-0.51em;*/
/*height: inherit; from td*/
}
/* relwrap elements typically have height=0 b/c they only contain an abswrap
element (which doesn't count) - so setting top to 100percent puts the
relwrap at the bottom of it's containing div, then setting bottom=0 in
abswrap aligns the bottom of the absolute-positioned div with the height=0
relwrap element at the bottom of the containing div, as desired.
*/
.bot_abswrap {
position: absolute;
left: 0;
bottom: 0;
text-align: left;
}
.bot_relwrap {
position: relative;
left: 0; top:100%;
/*height: inherit; from td*/
}
.plotContainingTD {
text-align: left !important;
vertical-align: top !important;
}
.containerAmidstResize {
background-image: url('https://raw.githubusercontent.com/pyGSTio/pyGSTi/gh-pages/pyGSTi_icon.png'),
url('offline/images/pyGSTi_icon.png');
background-size: 50% 50%;
background-position: center, center;
background-repeat: no-repeat;
}
.containerAmidstResize div.plotly-graph-div {
visibility: hidden;
}
.pygBackground {
background-image: url('https://raw.githubusercontent.com/pyGSTio/pyGSTi/gh-pages/pyGSTi_icon.png'),
url('offline/images/pyGSTi_icon.png');
background-size: 50% 50%;
background-position: center, center;
background-repeat: no-repeat;
}
.switch_container {
margin: 2px;
}
.switch_container span {
float: left;
font-size: 9pt;
}
.switch_container legend {
/* float: left; */
padding: 5px;
font-size: 9pt;
color: white;
}
.switch_container label {
float: left;
padding: 5px;
font-size: 9pt;
}
.switch_container .pygsti-slider-label {
margin-left: 1.5em; /* to match slider */
}
.sidenav .switch_container label {
color: white;
}
.sidenav .switch_container label.ui-checkboxradio-label {
color: black;
}
.ui-selectmenu-menu .ui-menu-item {
font-size: 8pt; /* combo-box options text (select text governed by "span" above) */
}
.ui-selectmenu-button.ui-button {
width: auto; /* make non-sidebar combo boxes adjust width to fit contents */
}
.switch_container .ui-slider {
width: 80%;
float: left;
}
.switch_container .ui-slider-handle {
font-size: 10pt;
}
fieldset {
border: 0px none;
text-align: left; /* for button groups */
padding: 3px 10px 3px 10px; /* reduce default vertical spacing */
}
/* Plotly hovertext size */
.hovertext text {
font-size: 10px !important;
}
/* Download links beneath tables */
.dlLink {
font-size: 12px;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-decoration: none;
color: #000000;
float: left;
}
ul.collapsibleList, .collapsibleList ul {
list-style: none;
margin: 2px;
/*margin-left: 0;*/
padding-left: 0;
}
.collapsibleList li:before {
content: "\0A0 \0A0 \0A0 \0A0 \0A0";
padding-right: 5px;
}
.collapsibleList li {
padding-left: 1em;
text-indent: -1em;
cursor : auto;
font-size: 14px;
}
.collapsibleList li.collapsibleListOpen:before {
content: "\25BC \020";
padding-right: 5px;
}
.collapsibleList li.collapsibleListOpen{
cursor : pointer;
}
.collapsibleList li.collapsibleListClosed:before {
content: "\25BA \020";
padding-right: 5px;
}
.collapsibleList li.collapsibleListClosed{
cursor : pointer;
}