stylesheet.css 8.4 KB
Newer Older
1 2
html,
body {
J
Jason Park 已提交
3 4 5 6 7 8
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
9
    background: rgb(63, 63, 63);
J
Jason Park 已提交
10 11
    font-family: 'Roboto', sans-serif;
    color: rgb(187, 187, 187);
J
Jason Park 已提交
12
    -webkit-font-smoothing: subpixel-antialiased;
J
Jason Park 已提交
13 14
}

G
Gautam krishna.R 已提交
15
*::-webkit-scrollbar {
16
    display: none;
G
Gautam krishna.R 已提交
17 18
}

J
Jason Park 已提交
19 20 21 22 23
a {
    text-decoration: none;
}

* {
24 25 26 27
    color: inherit;
}

*:not(input) {
J
Jason Park 已提交
28 29 30 31
    -webkit-touch-callout: none;
    user-select: none;
}

J
Jason Park 已提交
32 33 34 35 36 37 38 39 40 41
.btn {
    display: inline-table;
}

.btn > .wrapper {
    display: table-cell;
    vertical-align: middle;
}

.btn,
J
Jason Park 已提交
42
button {
J
Jason Park 已提交
43
    vertical-align: top;
J
Jason Park 已提交
44 45 46 47 48 49 50
    border: none;
    height: 100%;
    padding: 0 12px;
    margin: 0;
    background: none;
    font-size: 12px;
    outline: none;
J
Jason Park 已提交
51 52 53
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
J
Jason Park 已提交
54 55
}

J
Jason Park 已提交
56
.btn:hover,
J
Jason Park 已提交
57
button:not([disabled]):hover {
58
    background: rgba(0, 0, 0, .15) !important;
59
    cursor: pointer;
J
Jason Park 已提交
60 61
}

J
Jason Park 已提交
62
.btn.active,
J
Jason Park 已提交
63
button.active {
J
Jason Park 已提交
64
    background: rgb(38, 38, 38);
J
Jason Park 已提交
65
}
J
Jason Park 已提交
66

J
Jason Park 已提交
67 68 69 70 71 72 73 74
.btn input,
button input {
    outline: none;
    background: rgba(0, 0, 0, .3);
    padding: 4px;
    border: none;
}

J
Jason Park 已提交
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
.divider {
    position: absolute !important;
    z-index: 3;
}

.divider.vertical {
    cursor: ew-resize;
}

.divider.horizontal {
    cursor: ns-resize;
}

nav {
    height: 30px;
    width: 100%;
    padding: 0 16px;
}

nav h3 {
    display: inline;
}

.nav-arrow {
    padding: 0 4px;
}

102
#navigation span:empty + .nav-arrow {
J
Jason Park 已提交
103 104 105
    display: none;
}

106
.top-menu-buttons {
J
Jason Park 已提交
107 108 109 110
    float: right;
    height: 100%;
}

J
Jason Park 已提交
111 112 113 114 115 116 117 118 119 120
#shared {
    width: 128px;
}

#shared.collapse {
    display: none;
}

#interval {
    width: 24px;
121 122 123
    text-align: right;
}

J
Jason Park 已提交
124 125 126 127
.sidemenu {
    top: 30px;
    right: 85%;
    visibility: hidden;
J
Jason Park 已提交
128 129
    overflow: scroll;
    padding-bottom: 120px;
J
Jason Park 已提交
130 131 132 133 134 135
}

.sidemenu.active {
    visibility: visible;
}

136
.sidemenu #footer {
J
Jason Park 已提交
137
    border-top: 2px solid rgb(38, 38, 38);
J
Jason Park 已提交
138 139 140
}

.sidemenu button {
J
Jason Park 已提交
141 142 143 144 145 146
    display: block;
    width: 100%;
    height: 30px;
    text-align: left;
}

J
Jason Park 已提交
147 148 149 150 151 152 153 154
button.category {
    background: rgba(0, 0, 0, .10);
}

button.indent {
    padding-left: 28px;
}

155
.algorithms {
J
Jason Park 已提交
156
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.36), inset 0 -2px 2px rgba(0, 0, 0, 0.24);
157 158
}

159
.algorithms.collapse {
J
Jason Park 已提交
160
    display: none;
J
Jason Park 已提交
161 162
}

J
Jason Park 已提交
163 164 165 166 167 168 169 170 171
.workspace {
    position: absolute;
    top: 30px;
    bottom: 0;
    left: 15%;
    right: 0;
}

nav,
J
Jason Park 已提交
172
section,
J
Jason Park 已提交
173 174 175 176 177 178
.viewer_container,
.editor_container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
J
Jason Park 已提交
179 180 181 182 183
    right: 0;
}

nav,
section {
J
Jason Park 已提交
184
    border: 1px solid rgb(38, 38, 38);
J
Jason Park 已提交
185 186 187 188
    box-sizing: border-box;
}

.viewer_container {
J
Jason Park 已提交
189 190 191 192 193 194 195
    right: 50%;
}

.editor_container {
    left: 50%;
}

J
Jason Park 已提交
196
.module_container {
J
Jason Park 已提交
197
    overflow: hidden;
J
Jason Park 已提交
198
    border: none;
J
Jason Park 已提交
199 200 201
}

.tab_container {
J
Jason Park 已提交
202
    top: 30px;
N
nem035 已提交
203 204 205
    background: #242424;
    border: 1px solid #505050;
    border-top: none;
J
Jason Park 已提交
206 207 208 209 210 211
}

.tab {
    position: absolute;
    width: 100%;
    height: 100%;
J
Jason Park 已提交
212
    visibility: hidden;
213
    overflow: scroll;
J
Jason Park 已提交
214 215 216 217 218 219 220 221
}

.tab > .wrapper {
    padding: 16px;
    box-sizing: border-box;
}

.tab.active {
J
Jason Park 已提交
222 223 224
    visibility: visible;
}

225 226
.module_wrapper {
    overflow: scroll;
N
nem035 已提交
227 228 229
    font-family: monospace;
    border: none;
    border-bottom: 1px solid #505050;
230 231
}

J
Jason Park 已提交
232
.module_wrapper .name {
233 234
    position: fixed;
    z-index: 5;
J
Jason Park 已提交
235 236
    padding: 4px;
    font-size: 14px;
J
Jason Park 已提交
237
    background: rgba(0, 0, 0, .4);
J
Jason Park 已提交
238 239
}

J
Jason Park 已提交
240
.module_wrapper > .wrapper {
241
    padding: 24px 16px;
J
Jason Park 已提交
242
    box-sizing: border-box;
J
Jason Park 已提交
243 244
}

245
#tab_desc h3 {
N
nem035 已提交
246
    border-bottom: 1px solid rgb(81, 81, 81);
247 248 249 250
    padding: 5px;
    margin: 2px;
}

J
Jason Park 已提交
251 252
#tab_desc > .wrapper a,
#tab_doc > .wrapper a {
J
Jason Park 已提交
253 254 255
    text-decoration: underline;
}

J
Jason Park 已提交
256 257
.tab_bar {
    height: 30px;
N
nem035 已提交
258 259 260 261
    border-left: none;
    border-bottom: 1px solid #505050;
}

N
cleanup  
nem035 已提交
262 263
.tab_bar button,
.files_bar button {
J
Jason Park 已提交
264 265 266
    height: 29px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
N
nem035 已提交
267 268
}

N
cleanup  
nem035 已提交
269 270
.tab_bar button.active,
.files_bar button.active {
J
Jason Park 已提交
271 272
    border: 1px solid #505050;
    border-bottom: none;
J
Jason Park 已提交
273 274
}

275
.files_bar {
D
duaraghav8@gmail 已提交
276
    height: 30px;
277
    border-bottom: 1px solid #505050;
D
duaraghav8@gmail 已提交
278 279
}

J
Jason Park 已提交
280 281 282 283
.files_bar > * {
    position: absolute;
}

J
Jason Park 已提交
284 285 286 287 288 289 290 291
.files_bar > button {
    width: 30px;
}

.files_bar > button:disabled {
    background: rgba(0, 0, 0, .15);
}

J
Jason Park 已提交
292 293
.files_bar .btn-left {
    left: 0;
294 295
}

J
Jason Park 已提交
296 297
.files_bar .btn-right {
    right: 0;
298 299 300 301 302 303 304 305 306 307 308
}

.files_bar > .wrapper {
    left: 30px;
    right: 30px;
    overflow: scroll;
    white-space: nowrap;
}

.files_bar > .wrapper > button {
    max-width: 80%;
J
Jason Park 已提交
309 310
}

J
Jason Park 已提交
311 312 313 314 315 316 317 318 319
.files_bar > .wrapper.shadow-left {
    box-shadow: inset 16px 0 16px -16px rgba(0, 0, 0, .6);
}

.files_bar > .wrapper.shadow-right {
    box-shadow: inset -16px 0 16px -16px rgba(0, 0, 0, .6);
}

.files_bar > .wrapper.shadow-left.shadow-right {
N
nem035 已提交
320
    box-shadow: inset 16px 0 16px -16px rgba(0, 0, 0, .6), inset -16px 0 16px -16px rgba(0, 0, 0, .6);
J
Jason Park 已提交
321 322
}

J
Jason Park 已提交
323
.explanation_container {
J
Jason Park 已提交
324
    border: none;
J
Jason Park 已提交
325 326
    top: 30px;
    height: 30px;
J
Jason Park 已提交
327 328
    background: rgb(38, 38, 38);
    padding: 8px;
J
Jason Park 已提交
329
    font-size: 12px;
J
Jason Park 已提交
330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352
}

#explanation:before {
    font-family: FontAwesome;
    content: '\f05a\00a0\00a0';
}

#explanation {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.explanation_container:hover {
    z-index: 5;
    height: auto;
    bottom: auto;
    box-shadow: 0 8px 8px -8px rgba(0, 0, 0, .8);
}

.explanation_container:hover #explanation {
    white-space: normal;
J
Jason Park 已提交
353 354 355 356
}

.data_container {
    top: 60px;
J
tree  
Jason Park 已提交
357
    bottom: 60%;
J
Jason Park 已提交
358 359 360
}

.code_container {
J
tree  
Jason Park 已提交
361
    top: 40%;
J
Jason Park 已提交
362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380
}

pre {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid rgb(81, 81, 81);
    background: rgb(43, 43, 43);
    outline: none;
    resize: none;
}

.toast_container {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 12px;
J
Jason Park 已提交
381
    z-index: 4;
J
Jason Park 已提交
382 383 384 385 386 387 388 389 390 391 392 393 394
}

.toast {
    width: 280px;
    border: 1px solid;
    border-radius: 4px;
    padding: 16px;
    margin: 16px;
}

.toast.error {
    border-color: rgb(150, 0, 0);
    background: rgba(120, 0, 0, .8);
J
Jason Park 已提交
395 396
}

397 398 399 400 401
.toast.info {
    border-color: rgb(0, 150, 0);
    background: rgba(0, 120, 0, .8);
}

J
Jason Park 已提交
402 403 404 405
.github-fork-ribbon {
    position: fixed;
}

J
Jason Park 已提交
406 407 408 409
.github-fork-ribbon.left-bottom:before {
    background-color: #333;
}

J
Jason Park 已提交
410 411 412 413
.fa-spin-faster {
    animation: fa-spin 1s infinite ease-in-out;
}

J
Jason Park 已提交
414 415 416 417 418
.mtbl-wrapper {
    width: 100%;
    height: 100%;
}

J
Jason Park 已提交
419 420 421 422
.mtbl-table {
    display: inline-table;
    color: white;
    table-layout: fixed;
N
nem035 已提交
423
    border: 1px solid #505050;
J
Jason Park 已提交
424 425 426 427 428 429
}

.mtbl-row {
    display: table-row;
}

430
.mtbl-col {
J
Jason Park 已提交
431 432 433 434
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    background: #888;
435 436
}

437 438 439 440 441 442 443 444 445 446 447 448 449
.mtbl-empty-row {
    display: table-row;
    background: rgb(63, 63, 63);
    height: 2px;
}

.mtbl-empty-col {
    display: table-cell;
    background: rgb(63, 63, 63);
    width: 2px;
}

.mtbl-col.selected {
N
nem035 已提交
450
    background: #2962ff;
451 452
}

453
.mtbl-col.notified {
N
updated  
Nemanja Stojanovic 已提交
454
    background: #c51162;
N
nem035 已提交
455 456
}

J
Jason Park 已提交
457 458 459 460 461
.mchrt-chart {
    width: 100%;
    height: 100%;
}

N
nem035 已提交
462
#loading-slider {
J
Jason Park 已提交
463
    z-index: 6;
N
nem035 已提交
464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514
    position: absolute;
    width: 100%;
    height: 2px;
}

#loading-slider.loaded {
    visibility: hidden;
}

.line {
    position: absolute;
    background: #4a8df8;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
}

.break {
    position: absolute;
    background: #222;
    width: 6px;
    height: 2px;
}

.dot1 {
    animation: loading 2s infinite;
}

.dot2 {
    animation: loading 2s 0.5s infinite;
}

.dot3 {
    animation: loading 2s 1s infinite;
}

@keyframes loading {
    from {
        left: 0;
    }
    to {
        left: 100%;
    }
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
515 516
}

517
.applications li,
518
.complexity {
J
Jason Park 已提交
519
    margin: 10px 0px;
520
}
J
Jason Park 已提交
521

522
.complexity-type {
J
Jason Park 已提交
523
    font-weight: bold;
524 525
}

526
.top-menu-buttons button.active {
J
Jason Park 已提交
527
    font-weight: bold;
528 529
}

530
.top-menu-buttons button.active .fa {
J
Jason Park 已提交
531 532 533 534 535
    color: #00e676;
}

#btn_pause > .btn-text:before {
    content: 'Pause'
536
}
J
Jason Park 已提交
537 538 539

#btn_pause.active > .btn-text:before {
    content: 'Resume'
540
}
541 542

button[disabled] {
J
Jason Park 已提交
543 544
    cursor: not-allowed;
    opacity: 0.6;
545
}
546 547

#btn_pause {
J
Jason Park 已提交
548
    width: 86px;
549 550 551
}

.top-menu-buttons button.active {
J
Jason Park 已提交
552 553
    background: rgba(0, 0, 0, .15);
    box-shadow: 0px 0px 10px 3px #1a1a1a inset;
554 555 556
}

.top-menu-buttons button:active {
J
Jason Park 已提交
557 558
    background: rgba(0, 0, 0, .15);
    box-shadow: 0px 0px 10px 3px #1a1a1a inset;
559
}
J
Jason Park 已提交
560 561

.executing {
J
Jason Park 已提交
562
    background: rgba(0, 174, 255, 0.4);
563
    border: 1px solid #0091ea;
J
Jason Park 已提交
564 565 566 567 568 569 570 571
    position: absolute;
    width: 100% !important;
    left: 0 !important;

    animation: line_highlight .1s;
}

@keyframes line_highlight {
J
Jason Park 已提交
572 573 574 575 576 577
    from {
        background: rgba(0, 174, 255, 0.1);
    }
    to {
        background: rgba(0, 174, 255, 0.4);
    }
J
Jason Park 已提交
578
}
579 580

.ace_editor {
J
Jason Park 已提交
581 582
    border-left: none;
    border-bottom: none;
583
}