Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagecell
Path: blob/master/static/sagecell.css
447 views
1
.sagecell_messages div {
2
margin-bottom: 12pt;
3
}
4
5
.sagecell_sliderControl {
6
max-width: 40em;
7
margin-right: 1.0em;
8
margin-left: 0.5em;
9
}
10
11
.sagecell_multiSliderContainer {
12
margin-left: 1.0em;
13
whitespace: nowrap;
14
}
15
16
.sagecell_multiSliderControl {
17
display: inline-block;
18
margin-right: 0.5em;
19
margin-left: 0.5em;
20
margin-top: 0.25em;
21
}
22
23
.sagecell_colorSelector {
24
display: inline-block;
25
width: 2em;
26
height: 2em;
27
border: 2px solid gray;
28
border-radius: 3px;
29
padding: 1px;
30
cursor: pointer;
31
vertical-align: middle;
32
}
33
34
.sagecell .error, .sagecell .stderr {
35
color: red;
36
}
37
38
.sagecell .colorpicker {
39
z-index: 10;
40
}
41
42
.sagecell .CodeMirror {
43
border: 1px solid;
44
height: auto;
45
}
46
47
.sagecell .CodeMirror-scroll {
48
min-height: 3em;
49
max-height: 14em;
50
}
51
52
.sagecell .CodeMirror-fullscreen .CodeMirror-scroll {
53
max-height: none;
54
}
55
56
.sagecell .CodeMirror-hints {
57
padding-right: 10px;
58
}
59
60
.sagecell .ui-dialog-content {
61
font-size: 80%;
62
}
63
64
.sagecell_input {
65
overflow: hidden;
66
padding-right: 2px;
67
}
68
69
.sagecell button.sagecell_evalButton {
70
cursor: default;
71
}
72
73
.sagecell_output {
74
padding-right: 2px;
75
}
76
77
.sagecell_output_elements {
78
margin-top: 0.5em;
79
}
80
81
.sagecell_permalink {
82
padding-right: 5px;
83
text-align: right;
84
position: relative;
85
}
86
87
.sagecell_permalink_result {
88
position: absolute;
89
padding-right: 5px;
90
text-align: right;
91
right: 3px;
92
z-index: 100;
93
background-color: white;
94
border: 1px solid black;
95
border-radius: 3px;
96
padding: 5px;
97
}
98
99
.sagecell_permalink_result a:not([href]) {
100
color: gray;
101
text-decoration: none;
102
cursor: default;
103
}
104
105
.sagecell_permalink_result img {
106
display: inline-block;
107
background-color: lightgray;
108
width: 200px;
109
height: 200px;
110
}
111
112
.sagecell_sessionContainer {
113
position: relative;
114
}
115
116
.sagecell_sessionContainer:after {
117
display: table;
118
content: " ";
119
clear: both;
120
}
121
122
.sagecell_sessionOutput {
123
position: relative;
124
border: 2px solid;
125
padding: 5px;
126
margin-top: 2px;
127
min-height: 16px;
128
overflow-x: auto;
129
}
130
131
.sagecell_sessionOutput pre {
132
margin: 0px;
133
}
134
135
.sagecell_sessionOutput.sagecell_active {
136
border-color: #080;
137
}
138
139
.sagecell_poweredBy {
140
float: right;
141
padding: 3px 5px 5px 0px;
142
text-align: right;
143
overflow: visible;
144
font-size: 80%;
145
}
146
147
.sagecell_poweredBy img {
148
vertical-align: -5px;
149
border-style: none;
150
text-decoration: none;
151
}
152
153
.sagecell_spinner {
154
position: absolute;
155
right: 5px;
156
top: 5px;
157
}
158
159
.sagecell_sessionFiles {
160
width: 80%;
161
padding-bottom: 1.0em;
162
}
163
164
.sagecell_interactContainer {
165
position: relative;
166
padding: 15px 5px 5px 5px;
167
border: 2px solid lightgray;
168
margin-bottom: 2px;
169
}
170
171
.sagecell_bookmarks {
172
cursor: default;
173
}
174
175
.sagecell_interactContainer .sagecell_bookmarks {
176
position: absolute;
177
right: 3px;
178
top: 3px;
179
}
180
181
.sagecell_bookmarks div {
182
display: inline-block;
183
height: 1.5em;
184
vertical-align: bottom;
185
overflow-y: hidden;
186
font-size: 1.3em;
187
font-family: Arial;
188
color: #8c8c8c;
189
transition: color 0.25s ease-out;
190
}
191
192
.sagecell_bookmarks div:first-child {
193
color: transparent;
194
visibility: hidden;
195
}
196
197
.sagecell_bookmarks div:last-child {
198
margin-left: 10px;
199
width: 1.5em;
200
}
201
202
.sagecell_bookmarks div:last-child:before {
203
display: inline-block;
204
content: "\2605";
205
}
206
207
.sagecell_bookmarks div.sagecell_export {
208
visibility: visible;
209
transition: color 0.5s 0.5s;
210
color: inherit;
211
cursor: pointer;
212
}
213
214
.sagecell_export:before {
215
content: "\22ef";
216
}
217
218
.sagecell_bookmarks input {
219
border: 1px solid black;
220
border-radius: 3px;
221
vertical-align: 50%;
222
background-color: rgba(0, 0, 0, 0.1);
223
font-family: monospace;
224
}
225
226
.sagecell_sessionOutput.sagecell_active .sagecell_bookmarks div:last-child:hover {
227
color: #ffa500;
228
cursor: pointer;
229
}
230
231
.sagecell_bookmarks_list.ui-menu {
232
display: inline-block;
233
min-width: 15em;
234
cursor: default;
235
z-index: 99;
236
}
237
238
.sagecell_bookmarks_list.ui-menu li.ui-state-disabled {
239
opacity: 1;
240
margin: 0px;
241
}
242
243
.sagecell_bookmarks_list > li > a > input,
244
.sagecell_bookmarks_list > li > a > div:first-child {
245
display: inline-block;
246
width: 85%;
247
border: none;
248
border-radius: 3px;
249
}
250
251
.sagecell_bookmarks_list > li > a > div:last-child {
252
float: right;
253
width: 1.5em;
254
text-align: center;
255
font-weight: bold;
256
color: #777;
257
cursor: pointer;
258
transition: 0.25s color;
259
}
260
261
.sagecell_bookmarks_list > li:not(:last-child):not(:hover) > a > div:last-child {
262
display: none;
263
}
264
265
.sagecell_bookmarks_list > li > a > div:last-child:hover {
266
color: darkred;
267
}
268
269
.sagecell_bookmarks_list > li > a > div:last-child:before {
270
content: "\2716";
271
}
272
273
.sagecell_bookmarks_list > li:last-child > a > div:hover {
274
color: darkblue;
275
}
276
277
.sagecell_bookmarks_list > li:last-child > a > div:before {
278
content: "+";
279
}
280
281
.sagecell_interactOutput {
282
padding: 10px;
283
padding-right: 2em;
284
padding-left: 2em;
285
overflow-x: auto;
286
vertical-align: top;
287
}
288
289
.sagecell_interactValueBox {
290
border: 1px solid transparent;
291
background-color: transparent;
292
vertical-align: baseline;
293
font-family: monospace; /* Required since dynamic input box size is determined by monospaced fonts */
294
max-width: 10ex;
295
}
296
297
.sagecell_interactValueBox:hover {
298
border-color: lightgray;
299
}
300
301
.sagecell_interactValueBox:focus {
302
border-color: gray;
303
}
304
305
.sagecell_interactControlCell {
306
display: inline-table;
307
vertical-align: top;
308
min-width: 200px;
309
}
310
311
.sagecell_interactControlLabel {
312
display: table-cell;
313
text-align: right !important;
314
vertical-align: middle !important;
315
padding-right: 0.5ex !important;
316
padding-top: 0.6ex !important;
317
padding-bottom: 0.6ex !important;
318
min-width: 10ex;
319
overflow-wrap: break-word;
320
}
321
322
.sagecell_interactControl {
323
display: table-cell;
324
width: 100%;
325
height: 100%;
326
vertical-align: middle;
327
}
328
329
.sagecell_interactContainer .sagecell_interactControl {
330
/* only pad if we are setting up the layout. If we have an inline control
331
don't pad, but leave it up to the user */
332
padding: 1ex;
333
}
334
335
.sagecell_sliderContainer {
336
display: table;
337
width: 100%;
338
height: 100%;
339
max-width: 700px;
340
min-width: 200px;
341
}
342
343
.sagecell_sliderContainer > div:first-child {
344
display: table-cell;
345
width: 100%;
346
vertical-align: middle;
347
}
348
349
.sagecell_sliderContainer > div:first-child + div {
350
display: table-cell;
351
min-width: 11ex;
352
}
353
354
.sagecell_interactTextbox[size="0"] {
355
width: 100%;
356
max-width: 40em;
357
}
358
359
.sagecell_dirtyControl {
360
box-shadow: 0px 0px 2px 1px #c00;
361
transition: box-shadow 1s;
362
border-radius: 2px;
363
}
364
365
.sagecell_commands, .sagecell .ui-widget .sagecell_commands {
366
width: 100%;
367
height: 200px;
368
border: 1px solid;
369
font-family: monospace;
370
font-size: 10pt;
371
}
372
373
.sagecell_editor {
374
margin-bottom: 8px;
375
}
376
377
.sagecell_options {
378
display: inline-block;
379
margin-right: 2px;
380
float: right;
381
text-align: right;
382
font-size: 80%;
383
}
384
385
.sagecell_fullScreen {
386
position: absolute;
387
right: 1.5em;
388
top: 0.5em;
389
z-index: 10;
390
padding: 2px;
391
color: rgb(128,128,128);
392
}
393
394
.sagecell_editor div.ui-accordion-content.ui-helper-reset {
395
padding: 1em 0.5em;
396
font-size: 90.9%;
397
}
398
399
.sagecell_advancedFrame {
400
border-radius: 5px;
401
background-color: #ddf;
402
border: 1px solid;
403
padding: 0.2em;
404
display: inline-block;
405
width: 300px;
406
overflow: hidden;
407
margin-left: 3em;
408
margin-bottom: 1em;
409
vertical-align: top;
410
}
411
412
.sagecell_advancedTitle {
413
cursor: default;
414
}
415
416
.sagecell_advancedFields {
417
border: 1px solid gray;
418
background-color: white;
419
padding: 5px;
420
}
421
422
.sagecell_fileList li {
423
list-style: none;
424
position: relative;
425
}
426
427
.sagecell_fileName {
428
position: relative;
429
display: inline-block;
430
white-space: nowrap;
431
width: 230px;
432
overflow: hidden;
433
text-overflow: ellipsis;
434
}
435
436
.sagecell_deleteButton {
437
position: absolute;
438
left: -1.2em;
439
cursor: pointer;
440
margin-right: 5px;
441
}
442
443
.sagecell_deleteButton:hover {
444
color: red;
445
}
446
447
.sagecell_deleteButton:active {
448
color: darkred;
449
}
450
451
.sagecell_deleteButton:before {
452
content: "\2716";
453
}
454
455
.sagecell table.table_form tr.row-a {
456
background-color: #f8f8f8;
457
}
458
459
.sagecell table.table_form tr.row-b {
460
background-color: #efefef;
461
}
462
463
.sagecell table.table_form td {
464
padding: 5px 15px;
465
color: #00a;
466
}
467
468
.sagecell .sagecell-templates .hide {
469
display: none;
470
}
471
472
.sagecell .sagecell-templates .pull-right {
473
float: right;
474
}
475
476
.sagecell .sagecell-templates .lighten {
477
color: gray;
478
}
479
480
/* These colors are constructed in
481
* notebook/static/notebook/less/ansicolors.less
482
* but were copied from
483
* notebook/static/style/ipython.min.css
484
* and processed in Python via
485
* replace("{\n ", "{").replace("\n}", "}").replace("\n.","\n.sagecell .")
486
*/
487
.sagecell .ansi-black-fg {color: #3E424D;}
488
.sagecell .ansi-black-bg {background-color: #3E424D;}
489
.sagecell .ansi-black-intense-fg {color: #282C36;}
490
.sagecell .ansi-black-intense-bg {background-color: #282C36;}
491
.sagecell .ansi-red-fg {color: #E75C58;}
492
.sagecell .ansi-red-bg {background-color: #E75C58;}
493
.sagecell .ansi-red-intense-fg {color: #B22B31;}
494
.sagecell .ansi-red-intense-bg {background-color: #B22B31;}
495
.sagecell .ansi-green-fg {color: #00A250;}
496
.sagecell .ansi-green-bg {background-color: #00A250;}
497
.sagecell .ansi-green-intense-fg {color: #007427;}
498
.sagecell .ansi-green-intense-bg {background-color: #007427;}
499
.sagecell .ansi-yellow-fg {color: #DDB62B;}
500
.sagecell .ansi-yellow-bg {background-color: #DDB62B;}
501
.sagecell .ansi-yellow-intense-fg {color: #B27D12;}
502
.sagecell .ansi-yellow-intense-bg {background-color: #B27D12;}
503
.sagecell .ansi-blue-fg {color: #208FFB;}
504
.sagecell .ansi-blue-bg {background-color: #208FFB;}
505
.sagecell .ansi-blue-intense-fg {color: #0065CA;}
506
.sagecell .ansi-blue-intense-bg {background-color: #0065CA;}
507
.sagecell .ansi-magenta-fg {color: #D160C4;}
508
.sagecell .ansi-magenta-bg {background-color: #D160C4;}
509
.sagecell .ansi-magenta-intense-fg {color: #A03196;}
510
.sagecell .ansi-magenta-intense-bg {background-color: #A03196;}
511
.sagecell .ansi-cyan-fg {color: #60C6C8;}
512
.sagecell .ansi-cyan-bg {background-color: #60C6C8;}
513
.sagecell .ansi-cyan-intense-fg {color: #258F8F;}
514
.sagecell .ansi-cyan-intense-bg {background-color: #258F8F;}
515
.sagecell .ansi-white-fg {color: #C5C1B4;}
516
.sagecell .ansi-white-bg {background-color: #C5C1B4;}
517
.sagecell .ansi-white-intense-fg {color: #A1A6B2;}
518
.sagecell .ansi-white-intense-bg {background-color: #A1A6B2;}
519
.sagecell .ansi-default-inverse-fg {color: #FFFFFF;}
520
.sagecell .ansi-default-inverse-bg {background-color: #000000;}
521
.sagecell .ansi-bold {font-weight: bold;}
522
.sagecell .ansi-underline {text-decoration: underline;}
523
524