Personal Telegram developer console for GitHub
feat/studio-g0-foundation
audit/commit-drilldown
audit/finalize-workspace-menu-security
audit/ops-actionability
audit/pr-menu-consolidation
audit/status-menu-consolidation
audit/telegram-menu-e2e
audit/telegram-menu-e2e-wave2
chore/actions-node24-runtime
cleanup/remove-diag
design/cloudflare-ops-read
docs/control-plane-2-7-design
docs/guide-v2-1-sync
docs/menu-audit-final-sync
docs/phase2-acceptance-closeout
docs/phase2-multifile-design
feat/bootstrap-worker
feat/cloudflare-ops-read
feat/cp2-multifile-final
feat/cp2-multifile-workspace
feat/cp3-github-write-final
feat/cp4-cloudflare-ops-final
feat/cp5-cicd-control-plane
feat/cp6-incident-manager
feat/cp7-automation-engine
feat/deep-file-browser
feat/final-delivery-16-20
feat/github-advanced-read
feat/in-app-guide-v2
feat/navigation-recovery-ux-v2
feat/ops-console-v2-1
feat/persistent-menu-code-input
feat/phase2-multifile-workspace
feat/phase2-multifile-workspace-v2
feat/plugin-foundation-v1
feat/safe-github-ops
feat/self-register-webhook
feat/studio-g0-foundation
feat/telegram-main-inline-menu
feat/telegram-pr-merge
feat/ux-platform-8-12
feat/v3a-readonly-copilot
feat/workspace-file-upload
feature/mobile-repo-browser
feature/multi-file-change-set
fix/approval-expiry-feedback
fix/callback-resilience-and-docs
fix/ci-actions-pagination
fix/cloudflare-fetch-binding
fix/editor-request-body-cap
fix/editor-safe-file-options
fix/issues-permission-release-empty-ux
fix/main-menu-callback-fallback
fix/phase2-file-editor-selection
fix/phase2-final-ux
fix/phase2-workspace-ref-persistence
fix/production-auto-deploy
fix/provider-write-error-feedback
fix/repository-id-navigation-fallback
fix/repository-pr-navigation
fix/telegram-callback-updates
fix/telegram-runtime-diagnostics
fix/workspace-editor-flow-v2
fix/workspace-recovery-validation
hardening/ci-zero-test-telegram-token
hardening/pr1-destructive-totp
hardening/pr2-kill-switch
main
multifile-workspace
nexa/edit-BwJEIIY3PW
nexa/edit-IPHT8irO7b
nexa/edit-b4Od3BIMYd
p2-multifile
phase2-20261005
phase2-20261005-a
phase2-20261005-b
phase2-20261005-c
phase2-20261005-d
phase2-20261005-e
phase2-20261005-f
phase2-20261005-g
phase2-20261005-h
phase2-20261005-i
phase2-20261005-j
phase2-20261005-k
phase2-20261005-l
phase2-20261005-m
phase2-20261005-n
phase2-20261005-o
phase2-20261005-p
phase2-20261005-q
phase2-20261005-r
phase2-20261005-s
phase2-20261005-t
phase2-20261005-u
phase2-20261005-v
phase2-20261005-w
phase2-20261005-x
phase2-20261005-y
phase2-20261005-z
phase2-acceptance-closeout
phase2-add-file-hotfix
phase2-change-set
phase2-design-20261005
phase2-design-final
phase2-implementation
phase2-multifile-implementation
phase2-multifile-spec
phase2-spec-final
phase2-workspace
phase2/multifile-workspace
plan/nexa-studio-v2-reviewed
security/remove-telegram-setup
spec/repository-workspace-editor
v3a/multifile
work/multifile
| 1 | @charset "UTF-8"; |
| 2 | |
| 3 | :root { |
| 4 | font-family: Vazirmatn, Tahoma, Arial, sans-serif; |
| 5 | color: var(--tg-theme-text-color, #edf3f9); |
| 6 | background: var(--tg-theme-bg-color, #10161e); |
| 7 | font-synthesis: none; |
| 8 | text-rendering: optimizeLegibility; |
| 9 | -webkit-font-smoothing: antialiased; |
| 10 | -moz-osx-font-smoothing: grayscale; |
| 11 | --page: var(--tg-theme-bg-color, #10161e); |
| 12 | --surface: var(--tg-theme-secondary-bg-color, #18212b); |
| 13 | --text: var(--tg-theme-text-color, #edf3f9); |
| 14 | --muted: var(--tg-theme-hint-color, #aab9c8); |
| 15 | --accent: var(--tg-theme-button-color, #6ce2bc); |
| 16 | --accent-text: var(--tg-theme-button-text-color, #09251d); |
| 17 | --line: color-mix(in srgb, var(--text) 12%, transparent); |
| 18 | --soft: color-mix(in srgb, var(--text) 5%, var(--surface)); |
| 19 | --success: #7bdbad; |
| 20 | --warning: #f4cf83; |
| 21 | --error: #ffaca9; |
| 22 | --radius: 16px; |
| 23 | } |
| 24 | |
| 25 | * { |
| 26 | box-sizing: border-box; |
| 27 | } |
| 28 | body { |
| 29 | margin: 0; |
| 30 | min-width: 280px; |
| 31 | } |
| 32 | button, |
| 33 | input, |
| 34 | textarea, |
| 35 | select { |
| 36 | font: inherit; |
| 37 | } |
| 38 | button, |
| 39 | a, |
| 40 | input, |
| 41 | textarea, |
| 42 | select { |
| 43 | -webkit-tap-highlight-color: transparent; |
| 44 | } |
| 45 | button, |
| 46 | a { |
| 47 | touch-action: manipulation; |
| 48 | } |
| 49 | button { |
| 50 | cursor: pointer; |
| 51 | } |
| 52 | button:disabled { |
| 53 | cursor: not-allowed; |
| 54 | opacity: 0.45; |
| 55 | } |
| 56 | button, |
| 57 | input, |
| 58 | textarea, |
| 59 | select { |
| 60 | border-radius: 10px; |
| 61 | } |
| 62 | button:focus-visible, |
| 63 | a:focus-visible, |
| 64 | input:focus-visible, |
| 65 | textarea:focus-visible, |
| 66 | select:focus-visible { |
| 67 | outline: 3px solid var(--accent); |
| 68 | outline-offset: 3px; |
| 69 | } |
| 70 | a { |
| 71 | color: var(--accent); |
| 72 | text-underline-offset: 4px; |
| 73 | } |
| 74 | svg { |
| 75 | width: 20px; |
| 76 | height: 20px; |
| 77 | flex-shrink: 0; |
| 78 | vertical-align: middle; |
| 79 | } |
| 80 | h1, |
| 81 | h2, |
| 82 | h3, |
| 83 | p { |
| 84 | margin: 0; |
| 85 | } |
| 86 | pre, |
| 87 | code { |
| 88 | font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; |
| 89 | } |
| 90 | pre, |
| 91 | .cm-editor, |
| 92 | .inline-code, |
| 93 | .approval-target { |
| 94 | direction: ltr; |
| 95 | unicode-bidi: isolate; |
| 96 | } |
| 97 | .app-shell { |
| 98 | min-height: 100dvh; |
| 99 | padding-bottom: env(safe-area-inset-bottom, 0px); |
| 100 | } |
| 101 | .topbar { |
| 102 | min-height: 82px; |
| 103 | padding: 18px max(20px, calc((100vw - 1100px) / 2)); |
| 104 | display: flex; |
| 105 | align-items: center; |
| 106 | justify-content: space-between; |
| 107 | gap: 16px; |
| 108 | border-bottom: 1px solid var(--line); |
| 109 | background: var(--page); |
| 110 | } |
| 111 | .brand { |
| 112 | display: flex; |
| 113 | align-items: center; |
| 114 | gap: 11px; |
| 115 | min-width: 0; |
| 116 | } |
| 117 | .brand-mark { |
| 118 | width: 39px; |
| 119 | height: 39px; |
| 120 | display: grid; |
| 121 | place-items: center; |
| 122 | color: var(--accent); |
| 123 | background: color-mix(in srgb, var(--accent) 11%, transparent); |
| 124 | border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); |
| 125 | border-radius: 13px; |
| 126 | font: |
| 127 | 700 22px/1 Arial, |
| 128 | sans-serif; |
| 129 | } |
| 130 | .brand-mark svg { |
| 131 | width: 23px; |
| 132 | height: 23px; |
| 133 | } |
| 134 | .brand-name { |
| 135 | display: block; |
| 136 | font-size: 16px; |
| 137 | font-weight: 700; |
| 138 | letter-spacing: -0.3px; |
| 139 | } |
| 140 | .brand-subtitle { |
| 141 | display: block; |
| 142 | margin-top: 3px; |
| 143 | color: var(--muted); |
| 144 | font-size: 11px; |
| 145 | } |
| 146 | .user-pill { |
| 147 | padding: 8px 11px; |
| 148 | background: var(--soft); |
| 149 | border: 1px solid var(--line); |
| 150 | border-radius: 999px; |
| 151 | font-size: 12px; |
| 152 | max-width: 38%; |
| 153 | overflow: hidden; |
| 154 | text-overflow: ellipsis; |
| 155 | white-space: nowrap; |
| 156 | } |
| 157 | .app-main { |
| 158 | width: min(100% - 40px, 1100px); |
| 159 | margin: 0 auto; |
| 160 | padding: 32px 0 20px; |
| 161 | } |
| 162 | .screen-heading { |
| 163 | margin-bottom: 24px; |
| 164 | } |
| 165 | .eyebrow { |
| 166 | display: flex; |
| 167 | align-items: center; |
| 168 | gap: 7px; |
| 169 | color: var(--accent); |
| 170 | font-size: 11px; |
| 171 | font-weight: 700; |
| 172 | margin-bottom: 10px; |
| 173 | } |
| 174 | .screen-title { |
| 175 | font-size: clamp(23px, 5vw, 32px); |
| 176 | line-height: 1.65; |
| 177 | font-weight: 700; |
| 178 | letter-spacing: -0.8px; |
| 179 | } |
| 180 | .screen-description { |
| 181 | color: var(--muted); |
| 182 | font-size: 13px; |
| 183 | line-height: 2; |
| 184 | margin-top: 8px; |
| 185 | max-width: 650px; |
| 186 | } |
| 187 | .button, |
| 188 | .icon-button, |
| 189 | .back-button { |
| 190 | min-height: 44px; |
| 191 | border: 1px solid transparent; |
| 192 | display: inline-flex; |
| 193 | align-items: center; |
| 194 | justify-content: center; |
| 195 | gap: 8px; |
| 196 | padding: 10px 16px; |
| 197 | font-size: 13px; |
| 198 | font-weight: 700; |
| 199 | line-height: 1.6; |
| 200 | text-decoration: none; |
| 201 | transition: |
| 202 | background-color 0.15s, |
| 203 | border-color 0.15s, |
| 204 | opacity 0.15s; |
| 205 | } |
| 206 | .button.primary { |
| 207 | background: var(--accent); |
| 208 | color: var(--accent-text); |
| 209 | } |
| 210 | .button.primary:hover:not(:disabled) { |
| 211 | filter: brightness(1.07); |
| 212 | } |
| 213 | .button.secondary { |
| 214 | color: var(--text); |
| 215 | background: var(--soft); |
| 216 | border-color: var(--line); |
| 217 | } |
| 218 | .button.secondary:hover:not(:disabled) { |
| 219 | border-color: color-mix(in srgb, var(--text) 30%, transparent); |
| 220 | } |
| 221 | .button.quiet, |
| 222 | .back-button { |
| 223 | color: var(--muted); |
| 224 | background: transparent; |
| 225 | } |
| 226 | .button.quiet:hover:not(:disabled), |
| 227 | .back-button:hover:not(:disabled) { |
| 228 | color: var(--text); |
| 229 | background: var(--soft); |
| 230 | } |
| 231 | .button.danger { |
| 232 | color: var(--error); |
| 233 | background: color-mix(in srgb, var(--error) 8%, transparent); |
| 234 | border-color: color-mix(in srgb, var(--error) 23%, transparent); |
| 235 | } |
| 236 | .button.small { |
| 237 | padding-inline: 12px; |
| 238 | font-size: 12px; |
| 239 | } |
| 240 | .icon-button { |
| 241 | width: 44px; |
| 242 | min-width: 44px; |
| 243 | padding: 10px; |
| 244 | background: var(--soft); |
| 245 | border-color: var(--line); |
| 246 | color: var(--text); |
| 247 | } |
| 248 | .action-row { |
| 249 | display: flex; |
| 250 | gap: 10px; |
| 251 | align-items: center; |
| 252 | flex-wrap: wrap; |
| 253 | } |
| 254 | .back-button { |
| 255 | padding-inline: 0 8px; |
| 256 | margin-bottom: 12px; |
| 257 | font-weight: 400; |
| 258 | } |
| 259 | .loading-state, |
| 260 | .empty-state { |
| 261 | padding: 42px 20px; |
| 262 | display: flex; |
| 263 | flex-direction: column; |
| 264 | align-items: center; |
| 265 | text-align: center; |
| 266 | gap: 14px; |
| 267 | color: var(--muted); |
| 268 | line-height: 1.9; |
| 269 | font-size: 13px; |
| 270 | } |
| 271 | .empty-state { |
| 272 | background: var(--surface); |
| 273 | border: 1px solid var(--line); |
| 274 | border-radius: var(--radius); |
| 275 | } |
| 276 | .empty-state svg { |
| 277 | width: 32px; |
| 278 | height: 32px; |
| 279 | color: var(--accent); |
| 280 | } |
| 281 | .empty-state h2, |
| 282 | .empty-state h3 { |
| 283 | color: var(--text); |
| 284 | font-size: 16px; |
| 285 | } |
| 286 | .spinner { |
| 287 | display: inline-block; |
| 288 | width: 22px; |
| 289 | height: 22px; |
| 290 | border: 2px solid var(--line); |
| 291 | border-top-color: var(--accent); |
| 292 | border-radius: 50%; |
| 293 | animation: spin 0.8s linear infinite; |
| 294 | } |
| 295 | @keyframes spin { |
| 296 | to { |
| 297 | transform: rotate(360deg); |
| 298 | } |
| 299 | } |
| 300 | .notice { |
| 301 | margin: 16px 0; |
| 302 | padding: 15px 17px; |
| 303 | border: 1px solid var(--line); |
| 304 | border-radius: 12px; |
| 305 | font-size: 12px; |
| 306 | line-height: 2; |
| 307 | color: var(--muted); |
| 308 | background: var(--surface); |
| 309 | overflow-wrap: anywhere; |
| 310 | } |
| 311 | .notice-title { |
| 312 | color: var(--text); |
| 313 | font-weight: 700; |
| 314 | margin-bottom: 5px; |
| 315 | } |
| 316 | .notice.error { |
| 317 | color: var(--error); |
| 318 | border-color: color-mix(in srgb, var(--error) 26%, transparent); |
| 319 | background: color-mix(in srgb, var(--error) 5%, var(--page)); |
| 320 | } |
| 321 | .notice.success { |
| 322 | color: var(--success); |
| 323 | border-color: color-mix(in srgb, var(--success) 25%, transparent); |
| 324 | background: color-mix(in srgb, var(--success) 5%, var(--page)); |
| 325 | } |
| 326 | .notice.warning { |
| 327 | color: var(--warning); |
| 328 | border-color: color-mix(in srgb, var(--warning) 26%, transparent); |
| 329 | background: color-mix(in srgb, var(--warning) 5%, var(--page)); |
| 330 | } |
| 331 | .notice.info { |
| 332 | border-color: color-mix(in srgb, var(--accent) 22%, transparent); |
| 333 | } |
| 334 | .notice .action-row { |
| 335 | margin-top: 10px; |
| 336 | } |
| 337 | .repo-list { |
| 338 | display: grid; |
| 339 | gap: 12px; |
| 340 | } |
| 341 | .repo-card { |
| 342 | display: flex; |
| 343 | align-items: flex-start; |
| 344 | gap: 14px; |
| 345 | width: 100%; |
| 346 | min-height: 114px; |
| 347 | padding: 20px; |
| 348 | text-align: start; |
| 349 | color: var(--text); |
| 350 | background: var(--surface); |
| 351 | border: 1px solid var(--line); |
| 352 | border-radius: var(--radius); |
| 353 | transition: |
| 354 | border-color 0.15s, |
| 355 | background-color 0.15s; |
| 356 | } |
| 357 | .repo-card:hover { |
| 358 | border-color: color-mix(in srgb, var(--accent) 45%, transparent); |
| 359 | background: color-mix(in srgb, var(--accent) 3%, var(--surface)); |
| 360 | } |
| 361 | .repo-icon { |
| 362 | display: grid; |
| 363 | place-items: center; |
| 364 | color: var(--accent); |
| 365 | background: var(--soft); |
| 366 | width: 42px; |
| 367 | height: 42px; |
| 368 | border: 1px solid var(--line); |
| 369 | border-radius: 12px; |
| 370 | flex-shrink: 0; |
| 371 | } |
| 372 | .repo-copy { |
| 373 | flex: 1; |
| 374 | min-width: 0; |
| 375 | } |
| 376 | .repo-name { |
| 377 | display: block; |
| 378 | direction: ltr; |
| 379 | unicode-bidi: isolate; |
| 380 | text-align: end; |
| 381 | font: |
| 382 | 600 14px/1.6 'SFMono-Regular', |
| 383 | Consolas, |
| 384 | monospace; |
| 385 | overflow-wrap: anywhere; |
| 386 | } |
| 387 | .repo-description { |
| 388 | display: block; |
| 389 | color: var(--muted); |
| 390 | font-size: 12px; |
| 391 | line-height: 1.9; |
| 392 | margin-top: 7px; |
| 393 | overflow-wrap: anywhere; |
| 394 | } |
| 395 | .repo-meta { |
| 396 | display: flex; |
| 397 | gap: 8px; |
| 398 | flex-wrap: wrap; |
| 399 | align-items: center; |
| 400 | color: var(--muted); |
| 401 | font-size: 10px; |
| 402 | margin-top: 12px; |
| 403 | } |
| 404 | .badge { |
| 405 | display: inline-flex; |
| 406 | align-items: center; |
| 407 | gap: 5px; |
| 408 | padding: 3px 8px; |
| 409 | border: 1px solid var(--line); |
| 410 | border-radius: 6px; |
| 411 | font-size: 10px; |
| 412 | line-height: 1.7; |
| 413 | color: var(--muted); |
| 414 | } |
| 415 | .breadcrumb { |
| 416 | display: flex; |
| 417 | flex-wrap: wrap; |
| 418 | align-items: center; |
| 419 | gap: 4px; |
| 420 | font-size: 12px; |
| 421 | margin-bottom: 14px; |
| 422 | overflow-wrap: anywhere; |
| 423 | } |
| 424 | .breadcrumb button { |
| 425 | min-height: 44px; |
| 426 | padding: 7px 9px; |
| 427 | background: transparent; |
| 428 | border: 0; |
| 429 | color: var(--muted); |
| 430 | } |
| 431 | .breadcrumb button:hover { |
| 432 | color: var(--accent); |
| 433 | background: var(--soft); |
| 434 | } |
| 435 | .browser-panel, |
| 436 | .editor-panel, |
| 437 | .review-panel { |
| 438 | border: 1px solid var(--line); |
| 439 | border-radius: var(--radius); |
| 440 | background: var(--surface); |
| 441 | overflow: hidden; |
| 442 | } |
| 443 | .panel-heading { |
| 444 | min-height: 58px; |
| 445 | display: flex; |
| 446 | align-items: center; |
| 447 | justify-content: space-between; |
| 448 | gap: 12px; |
| 449 | padding: 14px 18px; |
| 450 | border-bottom: 1px solid var(--line); |
| 451 | font-size: 12px; |
| 452 | font-weight: 700; |
| 453 | } |
| 454 | .panel-heading p { |
| 455 | font-weight: 400; |
| 456 | color: var(--muted); |
| 457 | font-size: 11px; |
| 458 | } |
| 459 | .tree-list { |
| 460 | display: flex; |
| 461 | flex-direction: column; |
| 462 | padding: 6px; |
| 463 | } |
| 464 | .tree-row { |
| 465 | display: flex; |
| 466 | align-items: center; |
| 467 | gap: 11px; |
| 468 | width: 100%; |
| 469 | min-height: 58px; |
| 470 | padding: 10px 12px; |
| 471 | text-align: start; |
| 472 | border: 1px solid transparent; |
| 473 | border-radius: 9px; |
| 474 | color: var(--text); |
| 475 | background: transparent; |
| 476 | } |
| 477 | .tree-row:hover { |
| 478 | background: var(--soft); |
| 479 | border-color: var(--line); |
| 480 | } |
| 481 | .tree-row:disabled { |
| 482 | opacity: 0.6; |
| 483 | } |
| 484 | .tree-icon { |
| 485 | color: var(--muted); |
| 486 | flex-shrink: 0; |
| 487 | } |
| 488 | .tree-row:has(.tree-icon[data-type='dir']) .tree-icon { |
| 489 | color: var(--accent); |
| 490 | } |
| 491 | .tree-name { |
| 492 | flex: 1; |
| 493 | min-width: 0; |
| 494 | overflow-wrap: anywhere; |
| 495 | direction: ltr; |
| 496 | unicode-bidi: isolate; |
| 497 | text-align: end; |
| 498 | font: |
| 499 | 12px/1.8 'SFMono-Regular', |
| 500 | Consolas, |
| 501 | monospace; |
| 502 | } |
| 503 | .tree-detail { |
| 504 | color: var(--muted); |
| 505 | font-size: 10px; |
| 506 | white-space: nowrap; |
| 507 | } |
| 508 | .workspace-header { |
| 509 | margin-bottom: 19px; |
| 510 | display: flex; |
| 511 | justify-content: space-between; |
| 512 | gap: 14px; |
| 513 | align-items: flex-start; |
| 514 | flex-wrap: wrap; |
| 515 | } |
| 516 | .workspace-title { |
| 517 | font-size: 22px; |
| 518 | font-weight: 700; |
| 519 | line-height: 1.7; |
| 520 | } |
| 521 | .workspace-meta { |
| 522 | margin-top: 7px; |
| 523 | font-size: 11px; |
| 524 | line-height: 1.9; |
| 525 | color: var(--muted); |
| 526 | display: flex; |
| 527 | flex-wrap: wrap; |
| 528 | align-items: center; |
| 529 | gap: 6px 12px; |
| 530 | overflow-wrap: anywhere; |
| 531 | } |
| 532 | .workspace-layout { |
| 533 | display: grid; |
| 534 | grid-template-columns: minmax(0, 1fr); |
| 535 | gap: 16px; |
| 536 | align-items: start; |
| 537 | } |
| 538 | .editor-toolbar { |
| 539 | display: flex; |
| 540 | align-items: center; |
| 541 | justify-content: space-between; |
| 542 | flex-wrap: wrap; |
| 543 | gap: 9px; |
| 544 | padding: 11px 14px; |
| 545 | border-bottom: 1px solid var(--line); |
| 546 | } |
| 547 | .editor-settings { |
| 548 | display: flex; |
| 549 | align-items: center; |
| 550 | flex-wrap: wrap; |
| 551 | gap: 8px; |
| 552 | } |
| 553 | .select-control, |
| 554 | .font-control { |
| 555 | min-height: 44px; |
| 556 | color: var(--muted); |
| 557 | background: var(--page); |
| 558 | border: 1px solid var(--line); |
| 559 | padding: 7px 10px; |
| 560 | font-size: 11px; |
| 561 | } |
| 562 | .font-control { |
| 563 | max-width: 90px; |
| 564 | } |
| 565 | .file-tabs { |
| 566 | display: flex; |
| 567 | gap: 4px; |
| 568 | overflow-x: auto; |
| 569 | overscroll-behavior-x: contain; |
| 570 | padding: 7px 8px 0; |
| 571 | border-bottom: 1px solid var(--line); |
| 572 | scrollbar-width: thin; |
| 573 | } |
| 574 | .file-tab { |
| 575 | min-height: 46px; |
| 576 | border: 0; |
| 577 | border-bottom: 2px solid transparent; |
| 578 | border-radius: 7px 7px 0 0; |
| 579 | color: var(--muted); |
| 580 | background: transparent; |
| 581 | padding: 10px 12px; |
| 582 | font: |
| 583 | 12px/1.8 'SFMono-Regular', |
| 584 | Consolas, |
| 585 | monospace; |
| 586 | direction: ltr; |
| 587 | unicode-bidi: isolate; |
| 588 | white-space: nowrap; |
| 589 | } |
| 590 | .file-tab.active { |
| 591 | color: var(--text); |
| 592 | background: var(--page); |
| 593 | border-bottom-color: var(--accent); |
| 594 | } |
| 595 | .file-tab.dirty::after { |
| 596 | content: ''; |
| 597 | display: inline-block; |
| 598 | width: 6px; |
| 599 | height: 6px; |
| 600 | margin-left: 7px; |
| 601 | background: var(--warning); |
| 602 | border-radius: 50%; |
| 603 | vertical-align: middle; |
| 604 | } |
| 605 | .editor-host { |
| 606 | overflow: hidden; |
| 607 | background: var(--page); |
| 608 | } |
| 609 | .cm-editor { |
| 610 | min-height: 320px; |
| 611 | text-align: left; |
| 612 | background: var(--page); |
| 613 | } |
| 614 | .cm-editor .cm-scroller { |
| 615 | overflow: auto; |
| 616 | min-height: 320px; |
| 617 | max-height: min(65dvh, 720px); |
| 618 | font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; |
| 619 | line-height: 1.75; |
| 620 | } |
| 621 | .cm-editor.cm-focused { |
| 622 | outline: none; |
| 623 | } |
| 624 | .cm-editor .cm-content { |
| 625 | padding: 18px 0; |
| 626 | caret-color: var(--accent); |
| 627 | } |
| 628 | .cm-editor .cm-gutters { |
| 629 | background: var(--surface); |
| 630 | color: var(--muted); |
| 631 | border-inline-end: 1px solid var(--line); |
| 632 | } |
| 633 | .cm-editor .cm-activeLineGutter { |
| 634 | background: var(--soft); |
| 635 | color: var(--text); |
| 636 | } |
| 637 | .cm-editor .cm-activeLine { |
| 638 | background: color-mix(in srgb, var(--text) 3%, transparent); |
| 639 | } |
| 640 | .cm-editor .cm-cursor { |
| 641 | border-left-color: var(--accent); |
| 642 | } |
| 643 | .cm-editor .cm-selectionBackground, |
| 644 | .cm-editor.cm-focused .cm-selectionBackground { |
| 645 | background: color-mix(in srgb, var(--accent) 24%, transparent); |
| 646 | } |
| 647 | .cm-editor .cm-panels { |
| 648 | background: var(--surface); |
| 649 | color: var(--text); |
| 650 | border-color: var(--line); |
| 651 | } |
| 652 | .cm-editor .cm-search { |
| 653 | direction: ltr; |
| 654 | display: flex; |
| 655 | flex-wrap: wrap; |
| 656 | align-items: center; |
| 657 | gap: 5px; |
| 658 | padding: 10px; |
| 659 | } |
| 660 | .cm-editor .cm-textfield { |
| 661 | min-height: 44px; |
| 662 | max-width: 100%; |
| 663 | background: var(--page); |
| 664 | color: var(--text); |
| 665 | border: 1px solid var(--line); |
| 666 | padding: 6px 9px; |
| 667 | } |
| 668 | .cm-editor .cm-button { |
| 669 | min-height: 44px; |
| 670 | color: var(--text); |
| 671 | background: var(--soft); |
| 672 | border: 1px solid var(--line); |
| 673 | font-size: 12px; |
| 674 | padding: 7px 10px; |
| 675 | } |
| 676 | .cm-editor .cm-search label { |
| 677 | display: inline-flex; |
| 678 | align-items: center; |
| 679 | gap: 5px; |
| 680 | min-height: 44px; |
| 681 | } |
| 682 | .cm-editor .cm-search button[name='close'] { |
| 683 | min-width: 44px; |
| 684 | min-height: 44px; |
| 685 | color: var(--text); |
| 686 | } |
| 687 | .editor-status { |
| 688 | min-height: 45px; |
| 689 | display: flex; |
| 690 | align-items: center; |
| 691 | justify-content: space-between; |
| 692 | flex-wrap: wrap; |
| 693 | gap: 8px 12px; |
| 694 | padding: 11px 14px; |
| 695 | border-top: 1px solid var(--line); |
| 696 | font-size: 10px; |
| 697 | color: var(--muted); |
| 698 | } |
| 699 | .editor-status > span { |
| 700 | display: inline-flex; |
| 701 | align-items: center; |
| 702 | gap: 6px; |
| 703 | } |
| 704 | .status-dot { |
| 705 | display: inline-block; |
| 706 | width: 6px; |
| 707 | height: 6px; |
| 708 | border-radius: 50%; |
| 709 | background: var(--muted); |
| 710 | } |
| 711 | .status-dot.dirty { |
| 712 | background: var(--warning); |
| 713 | } |
| 714 | .status-dot.saved { |
| 715 | background: var(--success); |
| 716 | } |
| 717 | .count-limit { |
| 718 | font-variant-numeric: tabular-nums; |
| 719 | line-height: 1.8; |
| 720 | } |
| 721 | .over-limit { |
| 722 | color: var(--error); |
| 723 | } |
| 724 | .editor-actions { |
| 725 | display: flex; |
| 726 | align-items: center; |
| 727 | justify-content: space-between; |
| 728 | gap: 10px; |
| 729 | flex-wrap: wrap; |
| 730 | padding: 14px; |
| 731 | border-top: 1px solid var(--line); |
| 732 | } |
| 733 | .conflict-panel { |
| 734 | padding: 18px; |
| 735 | border: 1px solid color-mix(in srgb, var(--warning) 38%, transparent); |
| 736 | border-radius: 12px; |
| 737 | background: color-mix(in srgb, var(--warning) 6%, var(--page)); |
| 738 | margin-block: 16px; |
| 739 | } |
| 740 | .conflict-panel h2, |
| 741 | .conflict-panel h3 { |
| 742 | color: var(--warning); |
| 743 | font-size: 14px; |
| 744 | margin-bottom: 8px; |
| 745 | } |
| 746 | .conflict-panel p { |
| 747 | color: var(--muted); |
| 748 | font-size: 12px; |
| 749 | line-height: 2; |
| 750 | margin-bottom: 14px; |
| 751 | } |
| 752 | .review-panel { |
| 753 | margin-top: 18px; |
| 754 | } |
| 755 | .review-summary { |
| 756 | padding: 20px; |
| 757 | } |
| 758 | .review-summary h2, |
| 759 | .review-summary h3 { |
| 760 | font-size: 16px; |
| 761 | margin-bottom: 17px; |
| 762 | } |
| 763 | .review-facts { |
| 764 | display: grid; |
| 765 | grid-template-columns: 1fr; |
| 766 | gap: 15px; |
| 767 | } |
| 768 | .review-fact { |
| 769 | min-width: 0; |
| 770 | line-height: 1.8; |
| 771 | } |
| 772 | .review-fact dt, |
| 773 | .review-fact label { |
| 774 | color: var(--muted); |
| 775 | font-size: 10px; |
| 776 | margin-bottom: 5px; |
| 777 | display: block; |
| 778 | } |
| 779 | .review-fact dd { |
| 780 | margin: 0; |
| 781 | font-size: 12px; |
| 782 | overflow-wrap: anywhere; |
| 783 | } |
| 784 | .review-files { |
| 785 | padding: 0; |
| 786 | margin: 18px 0 0; |
| 787 | list-style: none; |
| 788 | display: flex; |
| 789 | flex-wrap: wrap; |
| 790 | gap: 7px; |
| 791 | } |
| 792 | .review-files li { |
| 793 | border: 1px solid var(--line); |
| 794 | border-radius: 6px; |
| 795 | background: var(--page); |
| 796 | padding: 6px 8px; |
| 797 | font-size: 11px; |
| 798 | overflow-wrap: anywhere; |
| 799 | } |
| 800 | .diff-toolbar { |
| 801 | min-height: 54px; |
| 802 | padding: 12px 18px; |
| 803 | display: flex; |
| 804 | justify-content: space-between; |
| 805 | align-items: center; |
| 806 | gap: 10px; |
| 807 | flex-wrap: wrap; |
| 808 | border-top: 1px solid var(--line); |
| 809 | border-bottom: 1px solid var(--line); |
| 810 | font-size: 11px; |
| 811 | } |
| 812 | .diff-toolbar .addition, |
| 813 | .diff-toolbar .deletion { |
| 814 | padding: 3px 7px; |
| 815 | border-radius: 5px; |
| 816 | font-variant-numeric: tabular-nums; |
| 817 | } |
| 818 | .diff-toolbar .addition { |
| 819 | color: var(--success); |
| 820 | background: color-mix(in srgb, var(--success) 8%, transparent); |
| 821 | } |
| 822 | .diff-toolbar .deletion { |
| 823 | color: var(--error); |
| 824 | background: color-mix(in srgb, var(--error) 8%, transparent); |
| 825 | } |
| 826 | .diff-view { |
| 827 | margin: 0; |
| 828 | padding: 12px 0; |
| 829 | overflow: auto; |
| 830 | max-height: 55dvh; |
| 831 | background: var(--page); |
| 832 | color: var(--muted); |
| 833 | text-align: left; |
| 834 | font-size: 11px; |
| 835 | line-height: 1.9; |
| 836 | tab-size: 2; |
| 837 | } |
| 838 | .diff-line { |
| 839 | display: block; |
| 840 | padding: 1px 16px; |
| 841 | min-height: 22px; |
| 842 | white-space: pre; |
| 843 | } |
| 844 | .diff-line.addition { |
| 845 | color: var(--success); |
| 846 | background: color-mix(in srgb, var(--success) 7%, transparent); |
| 847 | } |
| 848 | .diff-line.deletion { |
| 849 | color: var(--error); |
| 850 | background: color-mix(in srgb, var(--error) 7%, transparent); |
| 851 | } |
| 852 | .diff-line.hunk { |
| 853 | color: var(--accent); |
| 854 | background: color-mix(in srgb, var(--accent) 6%, transparent); |
| 855 | padding-block: 6px; |
| 856 | margin-block: 6px; |
| 857 | } |
| 858 | .field { |
| 859 | display: flex; |
| 860 | flex-direction: column; |
| 861 | gap: 8px; |
| 862 | padding: 20px; |
| 863 | } |
| 864 | .field > label { |
| 865 | font-size: 12px; |
| 866 | font-weight: 700; |
| 867 | } |
| 868 | .text-input { |
| 869 | width: 100%; |
| 870 | min-height: 48px; |
| 871 | padding: 12px 13px; |
| 872 | color: var(--text); |
| 873 | background: var(--page); |
| 874 | border: 1px solid var(--line); |
| 875 | font-size: 13px; |
| 876 | resize: vertical; |
| 877 | } |
| 878 | .text-input::placeholder { |
| 879 | color: var(--muted); |
| 880 | opacity: 0.75; |
| 881 | } |
| 882 | .field-help { |
| 883 | color: var(--muted); |
| 884 | font-size: 11px; |
| 885 | line-height: 1.9; |
| 886 | } |
| 887 | .approval-panel { |
| 888 | margin-top: 24px; |
| 889 | border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent); |
| 890 | border-radius: var(--radius); |
| 891 | padding: 24px; |
| 892 | background: color-mix(in srgb, var(--accent) 4%, var(--surface)); |
| 893 | } |
| 894 | .approval-panel h2 { |
| 895 | font-size: 20px; |
| 896 | line-height: 1.8; |
| 897 | margin-bottom: 12px; |
| 898 | } |
| 899 | .approval-panel p { |
| 900 | color: var(--muted); |
| 901 | line-height: 2; |
| 902 | font-size: 13px; |
| 903 | } |
| 904 | .approval-panel .action-row { |
| 905 | margin-top: 22px; |
| 906 | } |
| 907 | .approval-target { |
| 908 | display: flex; |
| 909 | flex-direction: column; |
| 910 | gap: 8px; |
| 911 | margin: 14px 0; |
| 912 | color: var(--accent); |
| 913 | overflow-wrap: anywhere; |
| 914 | font-size: 12px; |
| 915 | text-align: start; |
| 916 | } |
| 917 | .sticky-actions { |
| 918 | margin-top: 18px; |
| 919 | padding: 14px 0 max(14px, env(safe-area-inset-bottom, 0px)); |
| 920 | display: flex; |
| 921 | align-items: center; |
| 922 | justify-content: space-between; |
| 923 | gap: 12px; |
| 924 | flex-wrap: wrap; |
| 925 | } |
| 926 | .modal-backdrop { |
| 927 | position: fixed; |
| 928 | inset: 0; |
| 929 | z-index: 100; |
| 930 | background: rgb(0 0 0 / 65%); |
| 931 | display: flex; |
| 932 | align-items: center; |
| 933 | justify-content: center; |
| 934 | padding: 20px; |
| 935 | backdrop-filter: blur(3px); |
| 936 | } |
| 937 | .dialog { |
| 938 | width: min(100%, 420px); |
| 939 | padding: 25px; |
| 940 | color: var(--text); |
| 941 | background: var(--surface); |
| 942 | border: 1px solid var(--line); |
| 943 | border-radius: 20px; |
| 944 | box-shadow: 0 20px 80px rgb(0 0 0 / 35%); |
| 945 | } |
| 946 | .dialog h2 { |
| 947 | font-size: 18px; |
| 948 | line-height: 1.8; |
| 949 | margin-bottom: 10px; |
| 950 | } |
| 951 | .dialog p { |
| 952 | font-size: 13px; |
| 953 | color: var(--muted); |
| 954 | line-height: 2; |
| 955 | } |
| 956 | .dialog-actions { |
| 957 | display: flex; |
| 958 | flex-direction: column; |
| 959 | gap: 9px; |
| 960 | margin-top: 22px; |
| 961 | } |
| 962 | .dialog-actions .button { |
| 963 | width: 100%; |
| 964 | } |
| 965 | .close-action { |
| 966 | margin-top: 16px; |
| 967 | } |
| 968 | .result-link { |
| 969 | display: inline-flex; |
| 970 | align-items: center; |
| 971 | gap: 8px; |
| 972 | min-height: 44px; |
| 973 | font-size: 12px; |
| 974 | } |
| 975 | .inline-code { |
| 976 | display: inline-block; |
| 977 | max-width: 100%; |
| 978 | overflow-wrap: anywhere; |
| 979 | font-size: 0.92em; |
| 980 | } |
| 981 | .screen-footer { |
| 982 | margin-top: 18px; |
| 983 | display: flex; |
| 984 | align-items: center; |
| 985 | justify-content: flex-start; |
| 986 | gap: 12px; |
| 987 | flex-wrap: nowrap; |
| 988 | font-size: 12px; |
| 989 | line-height: 1.9; |
| 990 | } |
| 991 | .app-footer { |
| 992 | width: min(100% - 40px, 1100px); |
| 993 | margin-inline: auto; |
| 994 | padding-bottom: 24px; |
| 995 | padding-top: 24px; |
| 996 | margin-top: 24px; |
| 997 | border-top: 1px solid var(--line); |
| 998 | color: var(--muted); |
| 999 | font-size: 10px; |
| 1000 | line-height: 1.9; |
| 1001 | display: flex; |
| 1002 | align-items: center; |
| 1003 | justify-content: space-between; |
| 1004 | gap: 10px; |
| 1005 | } |
| 1006 | |
| 1007 | @media (min-width: 720px) { |
| 1008 | .app-main { |
| 1009 | padding-top: 42px; |
| 1010 | } |
| 1011 | .repo-list { |
| 1012 | grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 1013 | } |
| 1014 | .repo-card { |
| 1015 | min-height: 146px; |
| 1016 | } |
| 1017 | .review-facts { |
| 1018 | grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 1019 | } |
| 1020 | .workspace-layout:has(> .browser-panel) { |
| 1021 | grid-template-columns: minmax(0, 1fr) 285px; |
| 1022 | } |
| 1023 | .workspace-layout > .browser-panel { |
| 1024 | position: sticky; |
| 1025 | top: 16px; |
| 1026 | } |
| 1027 | .dialog-actions { |
| 1028 | flex-direction: row; |
| 1029 | flex-wrap: wrap; |
| 1030 | } |
| 1031 | .dialog-actions .button { |
| 1032 | flex: 1; |
| 1033 | } |
| 1034 | } |
| 1035 | |
| 1036 | @media (max-width: 420px) { |
| 1037 | .topbar { |
| 1038 | padding-inline: 15px; |
| 1039 | min-height: 74px; |
| 1040 | } |
| 1041 | .app-main { |
| 1042 | width: calc(100% - 28px); |
| 1043 | padding-top: 25px; |
| 1044 | } |
| 1045 | .repo-card { |
| 1046 | padding: 15px; |
| 1047 | gap: 11px; |
| 1048 | } |
| 1049 | .repo-icon { |
| 1050 | width: 36px; |
| 1051 | height: 36px; |
| 1052 | border-radius: 10px; |
| 1053 | } |
| 1054 | .repo-name { |
| 1055 | font-size: 12px; |
| 1056 | } |
| 1057 | .editor-actions > .button.primary, |
| 1058 | .sticky-actions > .button.primary { |
| 1059 | flex: 1; |
| 1060 | } |
| 1061 | .editor-toolbar { |
| 1062 | padding-inline: 10px; |
| 1063 | } |
| 1064 | .editor-status { |
| 1065 | align-items: flex-start; |
| 1066 | flex-direction: column; |
| 1067 | } |
| 1068 | .approval-panel { |
| 1069 | padding: 20px; |
| 1070 | } |
| 1071 | .app-footer { |
| 1072 | align-items: flex-start; |
| 1073 | flex-direction: column; |
| 1074 | } |
| 1075 | } |
| 1076 | |
| 1077 | @media (prefers-reduced-motion: reduce) { |
| 1078 | *, |
| 1079 | *::before, |
| 1080 | *::after { |
| 1081 | animation-duration: 0.01ms !important; |
| 1082 | transition-duration: 0.01ms !important; |
| 1083 | } |
| 1084 | } |