/* Git Board — Surface Styles */ .gb-shell { display: flex; flex-direction: column; height: 100%; overflow: hidden; } /* ── Header ──────────────────────────────── */ .gb-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; } .gb-header__left, .gb-header__right { display: flex; align-items: center; gap: 10px; } .gb-title { font-size: 18px; font-weight: 600; color: var(--text); margin: 0; } .gb-repo-picker { background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: var(--mono); font-size: 13px; padding: 5px 8px; max-width: 260px; } /* ── Connection Setup ─────────────────────── */ .gb-setup { max-width: 480px; margin: 60px auto; text-align: center; padding: 0 16px; } .gb-setup h2 { color: var(--text); font-size: 20px; margin: 0 0 8px; } .gb-setup p { color: var(--text-2); font-size: 14px; line-height: 1.5; margin: 0 0 20px; } .gb-setup__hint { font-size: 12px; color: var(--text-3); } /* ── Kanban Board ────────────────────────── */ .gb-board { display: flex; gap: 12px; padding: 12px 16px; flex: 1; overflow-x: auto; overflow-y: hidden; } .gb-column { min-width: 260px; max-width: 320px; flex: 1; display: flex; flex-direction: column; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; } .gb-column__header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--border); } .gb-column__title { font-size: 13px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: 0.03em; } .gb-column__count { background: var(--bg-raised); color: var(--text-2); font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 10px; } .gb-column__cards { flex: 1; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 6px; } /* ── Cards ───────────────────────────────── */ .gb-card { display: block; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; text-decoration: none; color: var(--text); transition: border-color var(--transition), background var(--transition); cursor: pointer; } .gb-card:hover { border-color: var(--accent); background: var(--bg-hover); } .gb-card--pr { border-left: 3px solid var(--accent); } .gb-card__header { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; } .gb-card__number { font-family: var(--mono); font-size: 12px; color: var(--text-3); } .gb-card__assignee { font-size: 11px; color: var(--accent); margin-left: auto; } .gb-card__branch { font-family: var(--mono); font-size: 11px; color: var(--text-3); margin-left: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; } .gb-card__title { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--text); } .gb-card__labels { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; } .gb-card__labels .badge { font-size: 10px; padding: 1px 6px; } .gb-card__meta { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--text-3); } /* ── DnD States ─────────────────────────── */ .gb-card[draggable="true"] { cursor: grab; user-select: none; } .gb-card[draggable="true"]:active { cursor: grabbing; opacity: 0.6; } .gb-column--dragover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--bg-surface)); } .gb-column--dragover .gb-column__header { border-bottom-color: var(--accent); } /* ── Empty state ─────────────────────────── */ .gb-empty { display: flex; align-items: center; justify-content: center; flex: 1; color: var(--text-3); font-size: 14px; } /* ── Issue Detail Modal ─────────────────── */ .gb-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; } .gb-modal { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 680px; max-height: calc(100vh - 80px); display: flex; flex-direction: column; box-shadow: 0 8px 32px rgba(0,0,0,0.3); } .gb-modal__header { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0; } .gb-modal__title-row { display: flex; align-items: baseline; gap: 8px; flex: 1; min-width: 0; } .gb-modal__title { font-size: 18px; font-weight: 600; color: var(--text); margin: 0; word-break: break-word; } .gb-modal__close { background: none; border: none; color: var(--text-3); font-size: 18px; cursor: pointer; padding: 2px 6px; border-radius: var(--radius); flex-shrink: 0; } .gb-modal__close:hover { color: var(--text); background: var(--bg-hover); } .gb-modal__body { overflow-y: auto; padding: 16px 20px; flex: 1; min-height: 0; } .gb-modal__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; font-size: 12px; color: var(--text-2); } .gb-modal__date { color: var(--text-3); } .gb-modal__extlink { margin-left: auto; color: var(--accent); text-decoration: none; font-size: 12px; } .gb-modal__extlink:hover { text-decoration: underline; } .gb-modal__description { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); } .gb-modal__body-text { font-family: var(--font); font-size: 13px; line-height: 1.6; color: var(--text); white-space: pre-wrap; word-break: break-word; margin: 0; background: none; border: none; padding: 0; } .gb-modal__empty { color: var(--text-3); font-size: 13px; font-style: italic; margin: 0; } .gb-modal__section-title { font-size: 13px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.03em; margin: 0 0 12px; } /* ── Comments ────────────────────────────── */ .gb-comment { padding: 10px 0; border-bottom: 1px solid var(--border); } .gb-comment:last-child { border-bottom: none; } .gb-comment__header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; font-size: 12px; } .gb-comment__header strong { color: var(--accent); } .gb-comment__date { color: var(--text-3); font-size: 11px; } .gb-comment__body { font-size: 13px; line-height: 1.5; color: var(--text); white-space: pre-wrap; word-break: break-word; } /* ── Add Comment ─────────────────────────── */ .gb-modal__add-comment { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); } .gb-modal__textarea { width: 100%; background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: var(--font); font-size: 13px; padding: 8px 10px; resize: vertical; outline: none; box-sizing: border-box; } .gb-modal__textarea:focus { border-color: var(--accent); } .gb-modal__actions { display: flex; gap: 8px; margin-top: 8px; justify-content: flex-end; } /* ── Badge variants ──────────────────────── */ .badge--green { background: var(--green); color: #fff; } .badge--muted { background: var(--bg-raised); color: var(--text-3); } .btn-danger { background: var(--danger, #e53e3e); color: #fff; border: none; } .btn-danger:hover { opacity: 0.9; }