@@ -8573,6 +8573,10 @@ button.shithub-repo-action { |
| 8573 | 8573 | max-width: 1100px; |
| 8574 | 8574 | margin: 0 auto; |
| 8575 | 8575 | } |
| 8576 | +.shithub-explore-shell.has-dashboard-left { |
| 8577 | + grid-template-columns: minmax(220px, 296px) minmax(0, 1fr) minmax(220px, 296px); |
| 8578 | + max-width: 1280px; |
| 8579 | +} |
| 8576 | 8580 | .shithub-dashboard-left, |
| 8577 | 8581 | .shithub-dashboard-right, |
| 8578 | 8582 | .shithub-explore-right { |
@@ -8583,6 +8587,116 @@ button.shithub-repo-action { |
| 8583 | 8587 | top: 1rem; |
| 8584 | 8588 | align-self: start; |
| 8585 | 8589 | } |
| 8590 | +.shithub-dashboard-identity { |
| 8591 | + position: relative; |
| 8592 | + margin-bottom: 2rem; |
| 8593 | +} |
| 8594 | +.shithub-dashboard-identity summary { |
| 8595 | + display: inline-flex; |
| 8596 | + align-items: center; |
| 8597 | + gap: 0.55rem; |
| 8598 | + max-width: 100%; |
| 8599 | + color: var(--fg-default); |
| 8600 | + font-weight: 600; |
| 8601 | + cursor: pointer; |
| 8602 | + list-style: none; |
| 8603 | +} |
| 8604 | +.shithub-dashboard-identity summary::-webkit-details-marker { |
| 8605 | + display: none; |
| 8606 | +} |
| 8607 | +.shithub-dashboard-identity summary img, |
| 8608 | +.shithub-dashboard-org-list img { |
| 8609 | + border-radius: 50%; |
| 8610 | +} |
| 8611 | +.shithub-dashboard-identity summary span { |
| 8612 | + min-width: 0; |
| 8613 | + overflow: hidden; |
| 8614 | + text-overflow: ellipsis; |
| 8615 | +} |
| 8616 | +.shithub-dashboard-identity-menu { |
| 8617 | + position: absolute; |
| 8618 | + top: calc(100% + 0.65rem); |
| 8619 | + left: 0; |
| 8620 | + z-index: 20; |
| 8621 | + width: min(320px, calc(100vw - 2rem)); |
| 8622 | + padding: 0.75rem; |
| 8623 | + border: 1px solid var(--border-default); |
| 8624 | + border-radius: 8px; |
| 8625 | + background: var(--canvas-default); |
| 8626 | + box-shadow: 0 16px 32px rgba(1, 4, 9, 0.35); |
| 8627 | +} |
| 8628 | +.shithub-dashboard-identity-title { |
| 8629 | + padding: 0.25rem 0.35rem 0.65rem; |
| 8630 | + color: var(--fg-default); |
| 8631 | + font-weight: 600; |
| 8632 | +} |
| 8633 | +.shithub-dashboard-org-search { |
| 8634 | + display: flex; |
| 8635 | + align-items: center; |
| 8636 | + gap: 0.5rem; |
| 8637 | + margin: 0 0 0.65rem; |
| 8638 | + padding: 0 0.65rem; |
| 8639 | + border: 1px solid var(--border-default); |
| 8640 | + border-radius: 6px; |
| 8641 | + background: var(--canvas-subtle); |
| 8642 | + color: var(--fg-muted); |
| 8643 | +} |
| 8644 | +.shithub-dashboard-org-search input { |
| 8645 | + width: 100%; |
| 8646 | + min-width: 0; |
| 8647 | + padding: 0.45rem 0; |
| 8648 | + border: 0; |
| 8649 | + box-shadow: none; |
| 8650 | + background: transparent; |
| 8651 | +} |
| 8652 | +.shithub-dashboard-org-search input:focus { |
| 8653 | + box-shadow: none; |
| 8654 | +} |
| 8655 | +.shithub-dashboard-org-list { |
| 8656 | + display: grid; |
| 8657 | + gap: 0.15rem; |
| 8658 | + max-height: 18rem; |
| 8659 | + padding: 0; |
| 8660 | + margin: 0 0 0.65rem; |
| 8661 | + overflow: auto; |
| 8662 | + list-style: none; |
| 8663 | +} |
| 8664 | +.shithub-dashboard-org-list a { |
| 8665 | + display: grid; |
| 8666 | + grid-template-columns: 16px 20px minmax(0, 1fr); |
| 8667 | + align-items: center; |
| 8668 | + gap: 0.55rem; |
| 8669 | + padding: 0.35rem; |
| 8670 | + border-radius: 6px; |
| 8671 | + color: var(--fg-default); |
| 8672 | + text-decoration: none; |
| 8673 | +} |
| 8674 | +.shithub-dashboard-org-list a:hover, |
| 8675 | +.shithub-dashboard-identity-actions a:hover { |
| 8676 | + background: var(--canvas-subtle); |
| 8677 | + text-decoration: none; |
| 8678 | +} |
| 8679 | +.shithub-dashboard-org-list span:last-child { |
| 8680 | + min-width: 0; |
| 8681 | + overflow: hidden; |
| 8682 | + text-overflow: ellipsis; |
| 8683 | + white-space: nowrap; |
| 8684 | +} |
| 8685 | +.shithub-dashboard-identity-actions { |
| 8686 | + display: grid; |
| 8687 | + gap: 0.5rem; |
| 8688 | +} |
| 8689 | +.shithub-dashboard-identity-actions a { |
| 8690 | + display: inline-flex; |
| 8691 | + align-items: center; |
| 8692 | + justify-content: center; |
| 8693 | + gap: 0.45rem; |
| 8694 | + min-height: 2.25rem; |
| 8695 | + border: 1px solid var(--border-default); |
| 8696 | + border-radius: 6px; |
| 8697 | + color: var(--fg-default); |
| 8698 | + font-weight: 600; |
| 8699 | +} |
| 8586 | 8700 | .shithub-dashboard-sidehead, |
| 8587 | 8701 | .shithub-feed-toolbar, |
| 8588 | 8702 | .shithub-explore-head { |
@@ -8626,6 +8740,9 @@ button.shithub-repo-action { |
| 8626 | 8740 | display: grid; |
| 8627 | 8741 | gap: 0.45rem; |
| 8628 | 8742 | } |
| 8743 | +.shithub-dashboard-repo-list li[hidden] { |
| 8744 | + display: none; |
| 8745 | +} |
| 8629 | 8746 | .shithub-dashboard-repo-list a, |
| 8630 | 8747 | .shithub-trending-user-list a { |
| 8631 | 8748 | display: inline-flex; |
@@ -8635,6 +8752,12 @@ button.shithub-repo-action { |
| 8635 | 8752 | color: var(--fg-default); |
| 8636 | 8753 | font-weight: 600; |
| 8637 | 8754 | } |
| 8755 | +.shithub-dashboard-repo-list a { |
| 8756 | + max-width: 100%; |
| 8757 | + overflow: hidden; |
| 8758 | + text-overflow: ellipsis; |
| 8759 | + white-space: nowrap; |
| 8760 | +} |
| 8638 | 8761 | .shithub-dashboard-repo-list img, |
| 8639 | 8762 | .shithub-trending-user-list img, |
| 8640 | 8763 | .shithub-feed-avatar img { |
@@ -8703,6 +8826,36 @@ button.shithub-repo-action { |
| 8703 | 8826 | color: var(--fg-muted); |
| 8704 | 8827 | font-size: 0.875rem; |
| 8705 | 8828 | } |
| 8829 | +.shithub-feed-profile { |
| 8830 | + display: grid; |
| 8831 | + grid-template-columns: 44px minmax(0, 1fr) auto; |
| 8832 | + align-items: center; |
| 8833 | + gap: 0.85rem; |
| 8834 | + margin-top: 0.8rem; |
| 8835 | + padding: 0.85rem; |
| 8836 | + border-radius: 6px; |
| 8837 | + background: var(--canvas-subtle); |
| 8838 | +} |
| 8839 | +.shithub-feed-profile-avatar, |
| 8840 | +.shithub-feed-profile-avatar img { |
| 8841 | + width: 44px; |
| 8842 | + height: 44px; |
| 8843 | + border-radius: 50%; |
| 8844 | +} |
| 8845 | +.shithub-feed-profile-copy { |
| 8846 | + min-width: 0; |
| 8847 | +} |
| 8848 | +.shithub-feed-profile-name { |
| 8849 | + display: block; |
| 8850 | + color: var(--fg-default); |
| 8851 | + font-weight: 600; |
| 8852 | +} |
| 8853 | +.shithub-feed-profile-copy span { |
| 8854 | + display: block; |
| 8855 | + margin-top: 0.15rem; |
| 8856 | + color: var(--fg-muted); |
| 8857 | + font-size: 0.875rem; |
| 8858 | +} |
| 8706 | 8859 | .shithub-feed-meta { |
| 8707 | 8860 | display: flex; |
| 8708 | 8861 | flex-wrap: wrap; |
@@ -8852,6 +9005,9 @@ button.shithub-repo-action { |
| 8852 | 9005 | .shithub-explore-shell { |
| 8853 | 9006 | grid-template-columns: 1fr; |
| 8854 | 9007 | } |
| 9008 | + .shithub-explore-shell.has-dashboard-left { |
| 9009 | + grid-template-columns: 1fr; |
| 9010 | + } |
| 8855 | 9011 | .shithub-dashboard-left { |
| 8856 | 9012 | position: static; |
| 8857 | 9013 | } |
@@ -8871,6 +9027,18 @@ button.shithub-repo-action { |
| 8871 | 9027 | width: 32px; |
| 8872 | 9028 | height: 32px; |
| 8873 | 9029 | } |
| 9030 | + .shithub-feed-profile { |
| 9031 | + grid-template-columns: 36px minmax(0, 1fr); |
| 9032 | + } |
| 9033 | + .shithub-feed-profile .shithub-button { |
| 9034 | + grid-column: 2; |
| 9035 | + justify-self: start; |
| 9036 | + } |
| 9037 | + .shithub-feed-profile-avatar, |
| 9038 | + .shithub-feed-profile-avatar img { |
| 9039 | + width: 36px; |
| 9040 | + height: 36px; |
| 9041 | + } |
| 8874 | 9042 | .shithub-explore-head, |
| 8875 | 9043 | .shithub-dashboard-sidehead, |
| 8876 | 9044 | .shithub-feed-toolbar { |