|
| 1 | +.expand-recipe-modal .expand-editor .editor-pane { |
| 2 | + height: 500px; |
| 3 | +} |
| 4 | +.expand-recipe-modal .expand-editor .editor-pane .ace_editor { |
| 5 | + height: 500px; |
| 6 | +} |
| 7 | +.expand-recipe-modal .expand-editor .preview-pane { |
| 8 | + height: 500px; |
| 9 | + overflow-y: auto; |
| 10 | +} |
1 | 11 | .new-snippet-modal .ace_editor { |
2 | 12 | height: 200px; |
3 | 13 | } |
| 14 | +.select-snippet-modal .snippet-list { |
| 15 | + list-style: none; |
| 16 | + padding: 0; |
| 17 | +} |
| 18 | +.select-snippet-modal .snippet-list li { |
| 19 | + padding: 10px; |
| 20 | + border: solid 1px #001a20; |
| 21 | + background-color: #003b4a; |
| 22 | + border-radius: 5px; |
| 23 | + margin-bottom: 5px; |
| 24 | + cursor: pointer; |
| 25 | +} |
| 26 | +.select-snippet-modal .snippet-list li:hover { |
| 27 | + background-color: #004b5f; |
| 28 | +} |
4 | 29 | #side-view .nav-control-group { |
5 | 30 | margin: auto 10px; |
6 | 31 | } |
@@ -402,3 +427,102 @@ body > .ui-select-bootstrap.open { |
402 | 427 | overflow-y: auto; |
403 | 428 | background-color: $bgDarker; |
404 | 429 | } |
| 430 | +.marked h1, |
| 431 | +.marked h2, |
| 432 | +.marked h3, |
| 433 | +.marked h4, |
| 434 | +.marked h5 { |
| 435 | + margin: 0.75em 0; |
| 436 | +} |
| 437 | +.marked h1:nth-child(1), |
| 438 | +.marked h2:nth-child(1), |
| 439 | +.marked h3:nth-child(1), |
| 440 | +.marked h4:nth-child(1), |
| 441 | +.marked h5:nth-child(1) { |
| 442 | + margin-top: 0; |
| 443 | +} |
| 444 | +.marked code { |
| 445 | + background-color: #003644; |
| 446 | + color: #fff; |
| 447 | + border: 1px solid #001a20; |
| 448 | + border-radius: 5px; |
| 449 | + box-shadow: 0 1px 1px rgba(0,0,0,0.05); |
| 450 | + padding: 5px; |
| 451 | + line-height: 200%; |
| 452 | +} |
| 453 | +.marked pre { |
| 454 | + margin-bottom: 10px; |
| 455 | + background-color: #003644; |
| 456 | + color: #fff; |
| 457 | + border: 1px solid #001a20; |
| 458 | + border-radius: 5px; |
| 459 | + box-shadow: 0 1px 1px rgba(0,0,0,0.05); |
| 460 | + padding: 5px; |
| 461 | +} |
| 462 | +.marked pre >code { |
| 463 | + background-color: transparent; |
| 464 | + color: inherit; |
| 465 | + border: none; |
| 466 | + border-radius: 0; |
| 467 | + box-shadow: none; |
| 468 | + padding: 0; |
| 469 | + line-height: inherit; |
| 470 | +} |
| 471 | +.marked blockquote { |
| 472 | + font-size: 1em; |
| 473 | + border-left: 5px solid #6494ed; |
| 474 | +} |
| 475 | +.marked a { |
| 476 | + text-decoration: underline; |
| 477 | + color: #6494ed; |
| 478 | +} |
| 479 | +.marked table { |
| 480 | + width: 100%; |
| 481 | + max-width: 100%; |
| 482 | + margin-bottom: $line-height-computed; |
| 483 | + border: 1px solid #001a20; |
| 484 | + margin-bottom: 10px; |
| 485 | +} |
| 486 | +.marked table > thead > tr > th, |
| 487 | +.marked table > tbody > tr > th, |
| 488 | +.marked table > tfoot > tr > th, |
| 489 | +.marked table > thead > tr > td, |
| 490 | +.marked table > tbody > tr > td, |
| 491 | +.marked table > tfoot > tr > td { |
| 492 | + padding: 10px; |
| 493 | + line-height: $line-height-base; |
| 494 | + vertical-align: top; |
| 495 | + border-top: 1px solid #001a20; |
| 496 | + border-right: 1px solid #001a20; |
| 497 | +} |
| 498 | +.marked table > thead > tr > th:nth-last-child(1), |
| 499 | +.marked table > tbody > tr > th:nth-last-child(1), |
| 500 | +.marked table > tfoot > tr > th:nth-last-child(1), |
| 501 | +.marked table > thead > tr > td:nth-last-child(1), |
| 502 | +.marked table > tbody > tr > td:nth-last-child(1), |
| 503 | +.marked table > tfoot > tr > td:nth-last-child(1) { |
| 504 | + border-right: none; |
| 505 | +} |
| 506 | +.marked table > thead > tr > th { |
| 507 | + vertical-align: bottom; |
| 508 | + border-bottom: 2px solid #001a20; |
| 509 | +} |
| 510 | +.marked table > caption + thead, |
| 511 | +.marked table > colgroup + thead, |
| 512 | +.marked table > thead:first-child { |
| 513 | + background-color: #004b5f; |
| 514 | +} |
| 515 | +.marked table > caption + thead > tr:first-child > th, |
| 516 | +.marked table > colgroup + thead > tr:first-child > th, |
| 517 | +.marked table > thead:first-child > tr:first-child > th, |
| 518 | +.marked table > caption + thead > tr:first-child > td, |
| 519 | +.marked table > colgroup + thead > tr:first-child > td, |
| 520 | +.marked table > thead:first-child > tr:first-child > td { |
| 521 | + border-top: 0; |
| 522 | +} |
| 523 | +.marked table > tbody >tr:nth-child(odd) { |
| 524 | + background-color: #002b36; |
| 525 | +} |
| 526 | +.marked table > tbody >tr:nth-child(even) { |
| 527 | + background-color: #003644; |
| 528 | +} |
0 commit comments