|
| 1 | +.dialog-changelog { |
| 2 | + min-height: 500px; |
| 3 | + display: flex; |
| 4 | + flex-direction: column; |
| 5 | +} |
| 6 | + |
| 7 | +.dialog-changelog [data-slot="dialog-body"] { |
| 8 | + flex: 1; |
| 9 | + overflow: hidden; |
| 10 | + display: flex; |
| 11 | + flex-direction: column; |
| 12 | + min-height: 0; |
| 13 | +} |
| 14 | + |
| 15 | +.dialog-changelog-list { |
| 16 | + flex: 1; |
| 17 | + overflow: hidden; |
| 18 | + display: flex; |
| 19 | + flex-direction: column; |
| 20 | + min-height: 0; |
| 21 | +} |
| 22 | + |
| 23 | +.dialog-changelog-list [data-slot="list-scroll"] { |
| 24 | + flex: 1; |
| 25 | + overflow-y: auto; |
| 26 | + scrollbar-width: thin; |
| 27 | + scrollbar-color: var(--border-weak-base) transparent; |
| 28 | +} |
| 29 | + |
| 30 | +.dialog-changelog-list [data-slot="list-scroll"]::-webkit-scrollbar { |
| 31 | + width: 10px; |
| 32 | + height: 10px; |
| 33 | +} |
| 34 | + |
| 35 | +.dialog-changelog-list [data-slot="list-scroll"]::-webkit-scrollbar-track { |
| 36 | + background: transparent; |
| 37 | + border-radius: 5px; |
| 38 | +} |
| 39 | + |
| 40 | +.dialog-changelog-list [data-slot="list-scroll"]::-webkit-scrollbar-thumb { |
| 41 | + background: var(--border-weak-base); |
| 42 | + border-radius: 5px; |
| 43 | + border: 3px solid transparent; |
| 44 | + background-clip: padding-box; |
| 45 | +} |
| 46 | + |
| 47 | +.dialog-changelog-list [data-slot="list-scroll"]::-webkit-scrollbar-thumb:hover { |
| 48 | + background: var(--border-weak-base); |
| 49 | +} |
| 50 | + |
| 51 | +.dialog-changelog-header { |
| 52 | + padding: 8px 12px 8px 8px; |
| 53 | + display: flex; |
| 54 | + align-items: baseline; |
| 55 | + gap: 8px; |
| 56 | + position: sticky; |
| 57 | + top: 0; |
| 58 | + z-index: 10; |
| 59 | + background: var(--surface-raised-stronger-non-alpha); |
| 60 | +} |
| 61 | + |
| 62 | +.dialog-changelog-header::after { |
| 63 | + content: ""; |
| 64 | + position: absolute; |
| 65 | + top: 100%; |
| 66 | + left: 0; |
| 67 | + right: 0; |
| 68 | + height: 16px; |
| 69 | + background: linear-gradient(to bottom, var(--surface-raised-stronger-non-alpha), transparent); |
| 70 | + pointer-events: none; |
| 71 | + opacity: 0; |
| 72 | + transition: opacity 0.15s ease; |
| 73 | +} |
| 74 | + |
| 75 | +.dialog-changelog-header[data-stuck="true"]::after { |
| 76 | + opacity: 1; |
| 77 | +} |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | +.dialog-changelog-version { |
| 82 | + font-size: 20px; |
| 83 | + font-weight: 600; |
| 84 | +} |
| 85 | + |
| 86 | +.dialog-changelog-date { |
| 87 | + font-size: 12px; |
| 88 | + font-weight: 400; |
| 89 | + color: var(--text-weak); |
| 90 | +} |
| 91 | + |
| 92 | +.dialog-changelog-list [data-slot="list-item"] { |
| 93 | + margin-bottom: 32px; |
| 94 | + padding: 0; |
| 95 | + border: none; |
| 96 | + background: transparent; |
| 97 | + cursor: default; |
| 98 | + display: block; |
| 99 | + text-align: left; |
| 100 | +} |
| 101 | + |
| 102 | +.dialog-changelog-list [data-slot="list-item"]:hover { |
| 103 | + background: transparent; |
| 104 | +} |
| 105 | + |
| 106 | +.dialog-changelog-list [data-slot="list-item"]:focus { |
| 107 | + outline: none; |
| 108 | +} |
| 109 | + |
| 110 | +.dialog-changelog-list [data-slot="list-item"]:focus-visible { |
| 111 | + outline: 2px solid var(--focus-base); |
| 112 | + outline-offset: 2px; |
| 113 | +} |
| 114 | + |
| 115 | +.dialog-changelog-content { |
| 116 | + padding: 0 8px 24px; |
| 117 | +} |
| 118 | + |
| 119 | +.dialog-changelog-markdown h2 { |
| 120 | + border-bottom: 1px solid var(--border-weak-base); |
| 121 | + padding-bottom: 4px; |
| 122 | + margin: 32px 0 12px 0; |
| 123 | + font-size: 14px; |
| 124 | + font-weight: 500; |
| 125 | + text-transform: capitalize; |
| 126 | +} |
| 127 | + |
| 128 | +.dialog-changelog-markdown h2:first-child { |
| 129 | + margin-top: 16px; |
| 130 | +} |
| 131 | + |
| 132 | +.dialog-changelog-markdown a.external-link { |
| 133 | + color: var(--text-interactive-base); |
| 134 | + font-weight: 500; |
| 135 | +} |
| 136 | + |
| 137 | +.dialog-changelog-markdown a.external-link[href^="https://github.com/anomalyco/opencode/pull/"], |
| 138 | +.dialog-changelog-markdown a.external-link[href^="https://github.com/anomalyco/opencode/issues/"], |
| 139 | +.dialog-changelog-markdown a.external-link[href^="https://github.com/"] |
| 140 | +{ |
| 141 | + border-radius: 3px; |
| 142 | + padding: 0 2px; |
| 143 | +} |
| 144 | + |
| 145 | +.dialog-changelog-markdown a.external-link[href^="https://github.com/anomalyco/opencode/pull/"]:hover, |
| 146 | +.dialog-changelog-markdown a.external-link[href^="https://github.com/anomalyco/opencode/issues/"]:hover, |
| 147 | +.dialog-changelog-markdown a.external-link[href^="https://github.com/"]:hover |
| 148 | +{ |
| 149 | + background: var(--surface-weak-base); |
| 150 | +} |
0 commit comments