|
473 | 473 | box-shadow: 0 0 0 3px var(--pxt-neutral-alpha20); |
474 | 474 | } |
475 | 475 | } |
| 476 | +} |
476 | 477 |
|
| 478 | +.projectsdialog, .project-row-name { |
477 | 479 | .tutorial-progress.not-finished { |
478 | 480 | background-color: var(--pxt-primary-background) !important; |
479 | 481 | color: var(--pxt-primary-foreground) !important; |
480 | 482 | } |
| 483 | + |
| 484 | + .tutorial-progress i { |
| 485 | + margin-right: 0 !important; |
| 486 | + background-color: unset !important; |
| 487 | + color: var(--pxt-primary-foreground) !important; |
| 488 | + } |
| 489 | +} |
| 490 | + |
| 491 | +.project-row-name .meta { |
| 492 | + margin-left: 1rem; |
| 493 | +} |
| 494 | + |
| 495 | +.project-row-time .meta > :not(:first-child) { |
| 496 | + margin-left: 1rem; |
| 497 | +} |
| 498 | + |
| 499 | +/* File card for the Home screen */ |
| 500 | + |
| 501 | +.ui.card.file { |
| 502 | + .fileimage { |
| 503 | + position: absolute; |
| 504 | + top: 0.7rem; |
| 505 | + left: 0.7rem; |
| 506 | + width: 4rem; |
| 507 | + height: 3rem; |
| 508 | + background-repeat: no-repeat; |
| 509 | + background-size: contain; |
| 510 | + background-image: @blocksIcon; |
| 511 | + filter: @logoFilter; |
| 512 | + } |
| 513 | + |
| 514 | + .content { |
| 515 | + margin-left: 4rem; |
| 516 | + min-width: 5rem; |
| 517 | + height: 8rem; |
| 518 | + |
| 519 | + .header { |
| 520 | + word-break: break-all; |
| 521 | + overflow: hidden; |
| 522 | + height: 6.5rem; |
| 523 | + text-overflow: ellipsis; |
| 524 | + } |
| 525 | + } |
| 526 | + |
| 527 | + .meta { |
| 528 | + height: 4rem; |
| 529 | + padding: 1rem; |
| 530 | + text-align: right; |
| 531 | + } |
| 532 | + |
| 533 | + &.blocksprj .fileimage { |
| 534 | + background-size: 85%; |
| 535 | + } |
| 536 | + |
| 537 | + &.tsprj .fileimage { |
| 538 | + background-size: 65%; |
| 539 | + } |
| 540 | +} |
| 541 | + |
| 542 | +.ui.table .project-row { |
| 543 | + .fileimage { |
| 544 | + filter: @logoFilter; |
| 545 | + background-size: contain; |
| 546 | + background-repeat: no-repeat; |
| 547 | + |
| 548 | + display: inline-block; |
| 549 | + margin-left: 0.7rem; |
| 550 | + margin-right: 1rem; |
| 551 | + |
| 552 | + height: 1.5rem; |
| 553 | + width: 1.5rem; |
| 554 | + } |
| 555 | + |
| 556 | + td.project-row-name { |
| 557 | + padding: 0; |
| 558 | + display: flex; |
| 559 | + flex-direction: row; |
| 560 | + height: 3rem; |
| 561 | + align-items: center; |
| 562 | + } |
| 563 | +} |
| 564 | + |
| 565 | +.ui.card.file.github, |
| 566 | +.project-row.github { |
| 567 | + .fileimage { |
| 568 | + background-image: @githubFileLogo; |
| 569 | + } |
| 570 | +} |
| 571 | + |
| 572 | +.ui.card.file.test, |
| 573 | +.project-row.test { |
| 574 | + .fileimage { |
| 575 | + background-image: @testFileLogo; |
| 576 | + } |
| 577 | +} |
| 578 | + |
| 579 | +.ui.card.file.board, |
| 580 | +.project-row.board { |
| 581 | + .fileimage { |
| 582 | + background-image: unset; |
| 583 | + } |
| 584 | +} |
| 585 | + |
| 586 | +.ui.card.file.blocksprj, |
| 587 | +.project-row.blocksprj { |
| 588 | + .fileimage { |
| 589 | + background-image: @blocksIcon; |
| 590 | + background-position-y: 50%; |
| 591 | + } |
| 592 | +} |
| 593 | + |
| 594 | +.ui.card.file.pyprj, |
| 595 | +.project-row.pyprj { |
| 596 | + .fileimage { |
| 597 | + background-image: @pyIcon; |
| 598 | + } |
| 599 | +} |
| 600 | + |
| 601 | +.ui.card.file.tsprj, |
| 602 | +.project-row.tsprj { |
| 603 | + .fileimage { |
| 604 | + background-image: @jsIcon; |
| 605 | + background-position-y: 50%; |
| 606 | + } |
| 607 | +} |
| 608 | + |
| 609 | +.ui.card.file.positive, |
| 610 | +.ui.card.file.positive:focus { |
| 611 | + border-color: var(--pxt-colors-green-background); |
| 612 | +} |
| 613 | + |
| 614 | +.ui.card.file.warning { |
| 615 | + border-color: @warningBackgroundColor; |
| 616 | +} |
| 617 | + |
| 618 | +.ui.card.file .selected-label { |
| 619 | + border-color: transparent !important; |
| 620 | + cursor: pointer; |
| 621 | + |
| 622 | + i.icon { |
| 623 | + cursor: pointer; |
| 624 | + font-size: 2rem; |
| 625 | + left: 0; |
| 626 | + top: 1rem; |
| 627 | + } |
481 | 628 | } |
482 | 629 |
|
483 | 630 | .scriptmanager .ui.cards, .projectsdialog { |
|
0 commit comments