| 1 | :root { |
| 2 | --ink: #142033; |
| 3 | --blue: #1f6feb; |
| 4 | --blue-deep: #0c3f86; |
| 5 | --paper: #f3f6fb; |
| 6 | --card: #ffffff; |
| 7 | --line: #d5e0ee; |
| 8 | --muted: #5c6b80; |
| 9 | --bad: #9f2d2d; |
| 10 | --ok: #146c43; |
| 11 | --shadow: 0 10px 30px rgba(20, 32, 51, 0.06); |
| 12 | font-family: "Segoe UI", "Avenir Next", "Trebuchet MS", sans-serif; |
| 13 | } |
| 14 | * { box-sizing: border-box; } |
| 15 | body { margin: 0; background: var(--paper); color: var(--ink); } |
| 16 | a { color: var(--blue-deep); } |
| 17 | .top { |
| 18 | display: flex; justify-content: space-between; align-items: center; |
| 19 | padding: 0.8rem 1.4rem; background: var(--ink); color: white; |
| 20 | } |
| 21 | .top a { color: white; text-decoration: none; } |
| 22 | .brand { display: flex; gap: 0.6rem; align-items: center; font-weight: 700; letter-spacing: 0.02em; } |
| 23 | .brand img { width: 32px; height: 32px; } |
| 24 | .top nav { display: flex; gap: 1rem; align-items: center; } |
| 25 | .top button, .btn, button { |
| 26 | background: var(--blue); color: white; border: 0; border-radius: 999px; |
| 27 | padding: 0.45rem 0.9rem; cursor: pointer; font: inherit; |
| 28 | } |
| 29 | .btn.ghost, button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); } |
| 30 | .top button { background: transparent; border: 1px solid rgba(255,255,255,.35); } |
| 31 | main { max-width: 980px; margin: 0 auto; padding: 1.4rem; } |
| 32 | .hero { display: grid; grid-template-columns: 120px 1fr; gap: 1.2rem; align-items: center; } |
| 33 | .hero img { width: 120px; } |
| 34 | .card, .panel { |
| 35 | background: var(--card); border: 1px solid var(--line); border-radius: 16px; |
| 36 | padding: 1rem 1.1rem; box-shadow: var(--shadow); margin: 0.8rem 0; |
| 37 | } |
| 38 | .flash { padding: 0.7rem 0.9rem; border-radius: 12px; background: #e5f6ec; color: var(--ok); } |
| 39 | .flash.bad { background: #fde8e8; color: var(--bad); } |
| 40 | .tabs, .sub { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 0.4rem 0 1rem; } |
| 41 | .sub a { text-decoration: none; padding-bottom: 0.2rem; } |
| 42 | .muted { color: var(--muted); } |
| 43 | .preview { margin: 0.15rem 0 0.7rem; color: var(--muted); word-break: break-all; } |
| 44 | .preview:empty { display: none; } |
| 45 | label { display: block; margin: 0.55rem 0; } |
| 46 | input[type="checkbox"] { width: auto; } |
| 47 | input, textarea, select { |
| 48 | width: 100%; padding: 0.5rem 0.6rem; border: 1px solid var(--line); border-radius: 10px; |
| 49 | font: inherit; background: white; |
| 50 | } |
| 51 | textarea { min-height: 7rem; } |
| 52 | .row { display: flex; gap: 0.6rem; align-items: center; } |
| 53 | .row input, .row select { width: auto; flex: 1; } |
| 54 | code, pre { font-family: "IBM Plex Mono", "ui-monospace", monospace; } |
| 55 | pre, .code { |
| 56 | background: #0f1b2d; color: #e7eef8; padding: 0.8rem 1rem; border-radius: 12px; overflow: auto; |
| 57 | } |
| 58 | form.wh .wh-field { display: none; } |
| 59 | form.wh[data-preset="custom"] .for-custom, |
| 60 | form.wh[data-preset="generic"] .for-generic, |
| 61 | form.wh[data-preset="discord"] .for-discord, |
| 62 | form.wh[data-preset="slack"] .for-slack, |
| 63 | form.wh[data-preset="teams"] .for-teams, |
| 64 | form.wh[data-preset="mattermost"] .for-mattermost, |
| 65 | form.wh[data-preset="rocketchat"] .for-rocketchat, |
| 66 | form.wh[data-preset="telegram"] .for-telegram, |
| 67 | form.wh[data-preset="matrix"] .for-matrix, |
| 68 | form.wh[data-preset="googlechat"] .for-googlechat, |
| 69 | form.wh[data-preset="ntfy"] .for-ntfy, |
| 70 | form.wh[data-preset="gotify"] .for-gotify, |
| 71 | form.wh[data-preset="grok"] .for-grok { display: block; } |
| 72 | form.wh .wh-field .muted { display: block; margin-top: 0.25rem; } |
| 73 | ul.clean { list-style: none; padding: 0; } |
| 74 | ul.clean li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); } |
| 75 | .pill { font-size: 0.78rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.1rem 0.45rem; } |
| 76 | table { width: 100%; border-collapse: collapse; } |
| 77 | td, th { text-align: left; padding: 0.4rem 0.3rem; border-bottom: 1px solid var(--line); vertical-align: top; } |
| 78 | .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } |
| 79 | @media (max-width: 720px) { |
| 80 | .hero, .grid-2 { grid-template-columns: 1fr; } |
| 81 | main { padding: 0.8rem; } |
| 82 | } |
| 83 | main.wide { max-width: 1180px; } |
| 84 | .sub a.on { border-bottom: 2px solid var(--blue); color: var(--ink); } |
| 85 | .crumbs { color: var(--muted); margin: 0 0 0.4rem; } |
| 86 | .crumbs a { color: var(--muted); text-decoration: none; } |
| 87 | .projhead { display: flex; align-items: center; gap: 0.7rem; } |
| 88 | .projhead h1 { margin: 0; font-size: 1.6rem; } |
| 89 | .tile { |
| 90 | width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; |
| 91 | background: #e56a93; color: white; font-weight: 700; font-size: 1.2rem; |
| 92 | } |
| 93 | .vis { width: 18px; height: 18px; color: var(--muted); } |
| 94 | .ficon { width: 16px; height: 16px; vertical-align: -2px; margin-right: 0.25rem; } |
| 95 | .proj { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1.2rem; align-items: start; } |
| 96 | .toolbar { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; margin: 0.9rem 0; flex-wrap: wrap; } |
| 97 | .toolbar .left, .toolbar .right { display: flex; gap: 0.45rem; align-items: center; flex-wrap: wrap; } |
| 98 | .branch select { width: auto; border-radius: 8px; padding: 0.35rem 0.5rem; background: #f6f8fa; } |
| 99 | .pathnow { color: var(--ink); } |
| 100 | .pathnow a { color: inherit; text-decoration: none; } |
| 101 | .menu { position: relative; } |
| 102 | .menu summary { list-style: none; cursor: pointer; } |
| 103 | .menu summary::-webkit-details-marker { display: none; } |
| 104 | .menu-panel { |
| 105 | position: absolute; right: 0; top: 2.3rem; z-index: 4; width: min(420px, 80vw); |
| 106 | background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem; |
| 107 | box-shadow: var(--shadow); |
| 108 | } |
| 109 | .copyline { display: flex; gap: 0.4rem; } |
| 110 | .copyline input { font-family: ui-monospace, monospace; font-size: 0.85rem; } |
| 111 | .commitbar { |
| 112 | display: flex; gap: 0.7rem; align-items: center; background: #f6f8fa; |
| 113 | border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.75rem; margin: 0.4rem 0 0.8rem; |
| 114 | } |
| 115 | .commitbar .grow { flex: 1; min-width: 0; } |
| 116 | .commitbar .subject { display: block; font-weight: 650; color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } |
| 117 | .avatar { |
| 118 | width: 32px; height: 32px; border-radius: 50%; background: #d5e0ee; color: var(--ink); |
| 119 | display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; flex: none; |
| 120 | } |
| 121 | img.avatar { object-fit: cover; display: block; } |
| 122 | .avatar.lg { width: 64px; height: 64px; font-size: 1.35rem; } |
| 123 | .commitwho a { color: var(--ink); font-weight: 650; text-decoration: none; } |
| 124 | .commitwho a:hover { text-decoration: underline; } |
| 125 | ul.clean li.commitline { display: flex; gap: 0.65rem; align-items: center; } |
| 126 | .sha { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 0.15rem 0.4rem; } |
| 127 | .iconbtn, .copyline button { |
| 128 | background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; |
| 129 | padding: 0.3rem 0.55rem; cursor: pointer; font: inherit; |
| 130 | } |
| 131 | table.files { background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; } |
| 132 | table.files th { color: var(--muted); font-weight: 600; font-size: 0.92rem; } |
| 133 | table.files td.msg { max-width: 280px; } |
| 134 | table.files td.msg a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; } |
| 135 | table.tags { width: 100%; background: white; border: 1px solid var(--line); border-radius: 10px; border-collapse: collapse; } |
| 136 | table.tags th, table.tags td { text-align: left; padding: 0.65rem 0.55rem; border-bottom: 1px solid var(--line); vertical-align: top; } |
| 137 | table.tags th { color: var(--muted); font-weight: 600; font-size: 0.92rem; } |
| 138 | table.tags td.acts { white-space: nowrap; } |
| 139 | table.tags td.acts a { margin-right: 0.55rem; } |
| 140 | .tagmsg { white-space: pre-wrap; } |
| 141 | .readme, .codebox, .side { |
| 142 | background: white; border: 1px solid var(--line); border-radius: 12px; margin-top: 1rem; |
| 143 | } |
| 144 | .readme header, .codebox header { padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); font-weight: 600; } |
| 145 | .mdbody { padding: 0.2rem 1.1rem 1rem; } |
| 146 | .mdbody h1, .mdbody h2, .mdbody h3 { margin: 1rem 0 0.4rem; } |
| 147 | table.md { margin: 0.6rem 0 1rem; } |
| 148 | table.md th, table.md td { border: 1px solid var(--line); padding: 0.4rem 0.6rem; } |
| 149 | .side { margin-top: 0.2rem; padding: 0.9rem 1rem; } |
| 150 | .side h2 { margin: 0 0 0.5rem; font-size: 1rem; } |
| 151 | .counts { list-style: none; padding: 0; margin: 0.6rem 0; } |
| 152 | .counts li { padding: 0.28rem 0; } |
| 153 | .counts a { text-decoration: none; } |
| 154 | .fileview { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1rem; align-items: start; } |
| 155 | .treebox h2 { margin: 0 0 0.5rem; font-size: 1.15rem; } |
| 156 | .treelist { list-style: none; padding: 0; margin: 0.5rem 0 0; } |
| 157 | .treelist li { padding: 0.18rem 0.3rem; border-radius: 6px; white-space: nowrap; } |
| 158 | .treelist li a { color: inherit; text-decoration: none; } |
| 159 | .treelist li.active { background: #ddf4ff; } |
| 160 | .treelist li.depth-1 { padding-left: 0.9rem; } |
| 161 | .treelist li.depth-2 { padding-left: 1.6rem; } |
| 162 | .treelist li.depth-3 { padding-left: 2.3rem; } |
| 163 | .treelist li.depth-4 { padding-left: 3rem; } |
| 164 | .treelist li.depth-5 { padding-left: 3.7rem; } |
| 165 | .treelist li.depth-6, .treelist li.depth-7, .treelist li.depth-8 { padding-left: 4.4rem; } |
| 166 | .filename { display: flex; align-items: center; gap: 0.35rem; margin: 0.2rem 0 0.6rem; } |
| 167 | .codebox { margin-top: 0.8rem; overflow: auto; } |
| 168 | table.code { border-collapse: collapse; width: 100%; } |
| 169 | table.code td { border: 0; padding: 0 0.7rem; vertical-align: top; font-family: ui-monospace, monospace; font-size: 0.86rem; line-height: 1.45; } |
| 170 | table.code td.ln { color: #8c959f; text-align: right; width: 1%; user-select: none; background: #f6f8fa; } |
| 171 | table.code td.src { white-space: pre; } |
| 172 | .hl-k { color: #8250df; } |
| 173 | .hl-s { color: #cf222e; } |
| 174 | .hl-c { color: #6e7781; } |
| 175 | .hl-n { color: #0550ae; } |
| 176 | .heat { |
| 177 | background: white; border: 1px solid var(--line); border-radius: 16px; |
| 178 | padding: 1rem 1.1rem 0.8rem; box-shadow: var(--shadow); margin: 0.4rem 0 1.1rem; |
| 179 | } |
| 180 | .heat h2 { margin: 0 0 0.55rem; font-size: 1.05rem; } |
| 181 | .heat-scroll { overflow-x: auto; padding: 1.7rem 0.2rem 0.15rem; } |
| 182 | .heat-months, .heat-cols { |
| 183 | display: grid; grid-auto-flow: column; grid-auto-columns: 11px; column-gap: 3px; |
| 184 | } |
| 185 | .heat-months { margin: 0 0 0.25rem 20px; height: 1rem; font-size: 0.68rem; color: var(--muted); } |
| 186 | .heat-months span { white-space: nowrap; line-height: 1rem; } |
| 187 | .heat-body { display: flex; gap: 4px; } |
| 188 | .heat-dow { |
| 189 | display: grid; grid-template-rows: repeat(7, 11px); row-gap: 3px; |
| 190 | width: 16px; font-size: 0.65rem; color: var(--muted); line-height: 11px; |
| 191 | } |
| 192 | .heat-col { display: grid; grid-auto-rows: 11px; row-gap: 3px; } |
| 193 | .sq { width: 11px; height: 11px; border-radius: 2px; display: block; position: relative; } |
| 194 | .sq[title]:hover::after, .sq[title]:focus::after { |
| 195 | content: attr(title); |
| 196 | position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); |
| 197 | background: #142033; color: white; padding: 0.28rem 0.5rem; border-radius: 6px; |
| 198 | font-size: 0.78rem; line-height: 1.2; white-space: nowrap; z-index: 5; pointer-events: none; |
| 199 | } |
| 200 | .sq.off { background: transparent; } |
| 201 | .sq.lv0 { background: #e6edf5; } |
| 202 | .sq.lv1 { background: #b9d4f6; } |
| 203 | .sq.lv2 { background: #6eacf0; } |
| 204 | .sq.lv3 { background: #1f6feb; } |
| 205 | .sq.lv4 { background: #0c3f86; } |
| 206 | .heat-foot { |
| 207 | display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; |
| 208 | margin-top: 0.7rem; color: var(--muted); font-size: 0.85rem; |
| 209 | } |
| 210 | .heat-total, .heat-legend, .heat-foot .muted { margin: 0; } |
| 211 | .heat-legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; } |
| 212 | .heat-foot .muted { text-align: right; margin-top: 0.2rem; } |
| 213 | .chooser { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.2rem 0 0.4rem; transition: opacity .28s ease, transform .28s ease; } |
| 214 | .chooser.away { opacity: 0; transform: translateY(-10px) scale(.97); pointer-events: none; } |
| 215 | .pick { min-width: 11rem; padding: 1rem 1.3rem; font-size: 1.05rem; } |
| 216 | .sheet { transform-origin: top center; } |
| 217 | .sheet.open { animation: unfold .32s ease; } |
| 218 | .sheet.closing { animation: fold .28s ease forwards; } |
| 219 | @keyframes unfold { |
| 220 | from { opacity: 0; transform: scaleY(.55); } |
| 221 | to { opacity: 1; transform: scaleY(1); } |
| 222 | } |
| 223 | @keyframes fold { |
| 224 | from { opacity: 1; transform: scaleY(1); } |
| 225 | to { opacity: 0; transform: scaleY(.45); } |
| 226 | } |
| 227 | .preview { min-height: 1.2rem; display: flex; gap: .7rem; align-items: baseline; flex-wrap: wrap; } |
| 228 | .flag.ok { color: var(--ok); font-weight: 600; } |
| 229 | .flag.bad { color: var(--bad); font-weight: 600; } |
| 230 | .form-err:empty { display: none; } |
| 231 | .form-err { color: var(--bad); margin: 0.2rem 0; } |
| 232 | .bar { display: flex; gap: .6rem; align-items: center; margin: .4rem 0 .2rem; } |
| 233 | .bar input[type="search"] { flex: 1; } |
| 234 | .sortlabel { color: var(--muted); } |
| 235 | .iconbtn { text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: .35rem .55rem; background: white; color: var(--ink); } |
| 236 | .repolist { list-style: none; padding: 0; margin: .4rem 0 1rem; } |
| 237 | .repolist > li { display: flex; align-items: center; gap: .7rem; padding: .75rem .2rem; border-bottom: 1px solid var(--line); } |
| 238 | .reponame { font-weight: 600; text-decoration: none; } |
| 239 | .stars { color: #9a6700; white-space: nowrap; } |
| 240 | .grown { flex: 1; } |
| 241 | .rowmenu { position: relative; } |
| 242 | .rowmenu > summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; padding: .15rem .55rem; background: white; } |
| 243 | .rowmenu > summary::-webkit-details-marker { display: none; } |
| 244 | .rowmenu .menu-panel { position: absolute; right: 0; z-index: 3; min-width: 9rem; } |
| 245 | .rowmenu .menu-panel button, .rowmenu .menu-panel form { width: 100%; } |
| 246 | .rowmenu .menu-panel button { text-align: left; border-radius: 8px; } |
| 247 | img.tile { object-fit: cover; background: #fff; } |
| 248 | @font-face { |
| 249 | font-family: "Noto Sans Cuneiform"; |
| 250 | src: url("/assets/NotoSansCuneiform-Regular.ttf") format("truetype"); |
| 251 | font-display: swap; |
| 252 | } |
| 253 | html.cunei, html.cunei body, html.cunei button, html.cunei input, html.cunei select, html.cunei textarea { |
| 254 | font-family: "Noto Sans Cuneiform", "Segoe UI", sans-serif; |
| 255 | } |
| 256 | .applybar { |
| 257 | position: sticky; top: 0; z-index: 6; display: flex; justify-content: flex-end; |
| 258 | padding: 0.45rem 0; background: rgba(243, 246, 251, 0.94); |
| 259 | } |
| 260 | .applybar[hidden] { display: none; } |
| 261 | .sugmodal { |
| 262 | border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; |
| 263 | width: min(32rem, 92vw); box-shadow: var(--shadow); |
| 264 | } |
| 265 | .sugmodal::backdrop { background: rgba(20, 32, 51, 0.45); } |
| 266 | .sugmodal h2 { margin: 0 0 0.4rem; } |
| 267 | .diff { |
| 268 | background: white; border: 1px solid var(--line); border-radius: 12px; |
| 269 | overflow: auto; user-select: none; margin: 0.4rem 0 1rem; |
| 270 | } |
| 271 | .difffile + .difffile { border-top: 1px solid var(--line); } |
| 272 | .difffile header { |
| 273 | padding: 0.5rem 0.75rem; background: #f6f8fa; border-bottom: 1px solid var(--line); font-weight: 650; |
| 274 | } |
| 275 | .diffline { |
| 276 | position: relative; display: grid; grid-template-columns: 16px 3.2rem minmax(0, 1fr); |
| 277 | font-family: ui-monospace, monospace; font-size: 0.84rem; line-height: 1.5; |
| 278 | } |
| 279 | .diffline code { white-space: pre; padding: 0 0.7rem 0 0.35rem; } |
| 280 | .diffline .ln { color: #8c959f; text-align: right; padding-right: 0.45rem; } |
| 281 | .gutter { background: #eef2f7; cursor: ns-resize; } |
| 282 | .gutter.off { background: transparent; cursor: default; } |
| 283 | .kind-add { background: #e6ffec; } |
| 284 | .kind-del { background: #ffebe9; } |
| 285 | .kind-hunk { color: #8c959f; background: #f6f8fa; } |
| 286 | .diffline.picked { box-shadow: inset 3px 0 0 var(--blue); } |
| 287 | .diffline.picked .gutter { background: #bfdbfe; } |
| 288 | .linenote, .lineform { |
| 289 | margin: 0.35rem 0.6rem 0.55rem 2.6rem; background: #f6f8fa; |
| 290 | border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.7rem; |
| 291 | } |
| 292 | .linenote pre.note, ul.clean pre.note { |
| 293 | background: white; color: var(--ink); border: 1px solid var(--line); margin: 0.35rem 0; |
| 294 | } |
| 295 | label.sugcheck { display: flex; align-items: center; gap: 0.45rem; } |
| 296 | label.sugcheck input { width: auto; } |
| 297 | .bubble { |
| 298 | position: absolute; left: 18px; top: 0.15rem; z-index: 3; |
| 299 | width: 28px; height: 28px; padding: 0; border-radius: 8px; |
| 300 | background: white; border: 1px solid var(--line); box-shadow: var(--shadow); |
| 301 | } |
| 302 | .bubble-icon { |
| 303 | width: 14px; height: 10px; border: 2px solid var(--blue); border-radius: 7px; |
| 304 | display: inline-block; position: relative; background: white; |
| 305 | } |
| 306 | .bubble-icon::after { |
| 307 | content: ""; position: absolute; left: 2px; bottom: -6px; |
| 308 | border-width: 6px 5px 0 0; border-style: solid; |
| 309 | border-color: var(--blue) transparent transparent transparent; |
| 310 | } |
| 311 | .pipebar { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; margin: 0.4rem 0 1rem; } |
| 312 | .pipe-filter { |
| 313 | display: flex; align-items: stretch; flex: 1; max-width: 42rem; |
| 314 | border: 1px solid var(--line); border-radius: 8px; background: white; overflow: hidden; |
| 315 | } |
| 316 | .pipe-filter input { border: 0; border-radius: 0; width: 100%; } |
| 317 | .pipe-filter button.iconbtn { |
| 318 | width: 2.6rem; border: 0; border-left: 1px solid var(--line); border-radius: 0; |
| 319 | background: white; color: var(--ink); padding: 0; |
| 320 | } |
| 321 | .showid { position: relative; } |
| 322 | .showid summary { |
| 323 | list-style: none; cursor: pointer; background: white; color: var(--ink); |
| 324 | border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.75rem; |
| 325 | } |
| 326 | .showid summary::-webkit-details-marker { display: none; } |
| 327 | .showid summary::after { content: "▾"; margin-left: 0.45rem; color: var(--muted); } |
| 328 | .showid form { |
| 329 | position: absolute; right: 0; top: calc(100% + 6px); z-index: 6; |
| 330 | display: flex; gap: 0.4rem; width: 18rem; padding: 0.6rem; |
| 331 | background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); |
| 332 | } |
| 333 | .showid form input { width: auto; flex: 1; } |
| 334 | table.pipes td { padding: 0.85rem 0.5rem; } |
| 335 | table.pipes .pipeid { font-weight: 700; } |
| 336 | .ellip { display: block; max-width: 28rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } |
| 337 | .chips { display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; margin-top: 0.28rem; } |
| 338 | .chip { |
| 339 | display: inline-flex; align-items: center; gap: 0.15rem; |
| 340 | background: #eef2f7; color: var(--ink); text-decoration: none; |
| 341 | border-radius: 999px; padding: 0.05rem 0.5rem; font-size: 0.78rem; |
| 342 | } |
| 343 | .when { display: flex; align-items: center; gap: 0.3rem; color: var(--muted); font-size: 0.82rem; margin-top: 0.18rem; } |
| 344 | svg.ico { width: 14px; height: 14px; flex: none; } |
| 345 | .avatar.sm { width: 20px; height: 20px; font-size: 0.68rem; } |
| 346 | .status { |
| 347 | display: inline-flex; align-items: center; gap: 0.32rem; |
| 348 | border-radius: 999px; padding: 0.12rem 0.55rem 0.12rem 0.28rem; |
| 349 | font-weight: 650; font-size: 0.84rem; background: #eef2f7; color: var(--ink); |
| 350 | } |
| 351 | .status.passed { background: #e5f6ec; color: #146c43; } |
| 352 | .status.failed { background: #fde8e8; color: #9f2d2d; } |
| 353 | .status.warning { background: #fff4e0; color: #8a5a00; } |
| 354 | .status.running { background: #e7f0ff; color: #1f6feb; } |
| 355 | .status.canceled { background: #f3f0f0; color: #57606a; } |
| 356 | .mark { position: relative; width: 16px; height: 16px; border-radius: 50%; display: inline-block; flex: none; background: #8c959f; } |
| 357 | .status.passed .mark, .stage-dot.passed .mark { background: #1aaa55; } |
| 358 | .status.failed .mark, .stage-dot.failed .mark { background: #dd2b0e; } |
| 359 | .status.warning .mark, .stage-dot.warning .mark { background: #c17d10; } |
| 360 | .status.running .mark, .stage-dot.running .mark { background: #1f75cb; } |
| 361 | .status.canceled .mark, .stage-dot.canceled .mark { background: #8c959f; } |
| 362 | .passed .mark::after { |
| 363 | content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; |
| 364 | border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); |
| 365 | } |
| 366 | .failed .mark::before, .failed .mark::after { |
| 367 | content: ""; position: absolute; left: 3px; top: 7px; width: 10px; height: 2px; background: #fff; |
| 368 | } |
| 369 | .failed .mark::before { transform: rotate(45deg); } |
| 370 | .failed .mark::after { transform: rotate(-45deg); } |
| 371 | .warning .mark::before { |
| 372 | content: ""; position: absolute; left: 7px; top: 3px; width: 2px; height: 6px; background: #fff; |
| 373 | } |
| 374 | .warning .mark::after { |
| 375 | content: ""; position: absolute; left: 7px; top: 11px; width: 2px; height: 2px; background: #fff; |
| 376 | } |
| 377 | .skipped .mark::after, .canceled .mark::after { |
| 378 | content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 2px; background: #fff; |
| 379 | } |
| 380 | .running .mark::after { |
| 381 | content: ""; position: absolute; left: 4px; top: 4px; width: 8px; height: 8px; |
| 382 | border: 2px solid #fff; border-radius: 50%; border-right-color: transparent; box-sizing: border-box; |
| 383 | } |
| 384 | .stages { display: flex; align-items: center; } |
| 385 | .mrpipe { display: flex; align-items: center; gap: 0.8rem; margin: 0.2rem 0 1rem; } |
| 386 | .danger-modal { |
| 387 | border: 6px solid #a31212; |
| 388 | background: #fde8e8; |
| 389 | color: #6d1212; |
| 390 | width: min(92vw, 52rem); |
| 391 | padding: 2.2rem 2rem; |
| 392 | border-radius: 16px; |
| 393 | } |
| 394 | .danger-modal::backdrop { background: rgba(80, 8, 8, 0.55); } |
| 395 | .danger-modal p { font-size: 1.7rem; line-height: 1.45; margin: 0 0 1.2rem; } |
| 396 | .danger-modal [data-transfer-submit], .danger-modal [data-tag-submit] { background: #a31212; color: #fff; } |
| 397 | .danger-modal [data-transfer-submit]:disabled { opacity: 0.45; } |
| 398 | .stage { position: relative; display: flex; align-items: center; } |
| 399 | .stage + .stage::before { content: ""; width: 14px; height: 2px; background: #c5d0dc; margin: 0 2px; } |
| 400 | button.stage-dot { |
| 401 | width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; |
| 402 | background: transparent; display: grid; place-items: center; position: relative; |
| 403 | } |
| 404 | button.stage-dot:hover::after, button.stage-dot:focus-visible::after { |
| 405 | content: attr(data-tip); |
| 406 | position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); |
| 407 | background: #24292f; color: white; font-size: 0.75rem; font-weight: 600; |
| 408 | padding: 0.28rem 0.5rem; border-radius: 6px; white-space: nowrap; z-index: 7; |
| 409 | } |
| 410 | .stage.open button.stage-dot { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1f75cb; } |
| 411 | .stage-pop { |
| 412 | position: absolute; top: calc(100% + 10px); left: 0; z-index: 8; min-width: 220px; |
| 413 | background: white; border: 1px solid var(--line); border-radius: 8px; |
| 414 | box-shadow: var(--shadow); padding: 0.7rem 0.85rem; |
| 415 | } |
| 416 | .stage-pop[hidden] { display: none; } |
| 417 | .stage-pop ul { list-style: none; margin: 0.35rem 0 0; padding: 0; } |
| 418 | .stage-pop a, .related a { display: flex; align-items: center; gap: 0.4rem; text-decoration: none; padding: 0.22rem 0; color: var(--ink); } |
| 419 | .stage-dot.sm { width: 16px; height: 16px; display: inline-grid; place-items: center; } |
| 420 | .stage-dot.sm .mark { width: 14px; height: 14px; } |
| 421 | .stage-dot.sm.passed .mark::after { left: 4px; top: 2px; width: 3px; height: 6px; } |
| 422 | .jobhead { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; } |
| 423 | .joblayout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1rem; align-items: start; } |
| 424 | .console-wrap { border: 1px solid #2a2a2a; border-radius: 8px; overflow: hidden; background: #1e1e1e; } |
| 425 | .conbar { |
| 426 | display: flex; justify-content: space-between; gap: 0.6rem; align-items: center; flex-wrap: wrap; |
| 427 | background: #f6f8fa; padding: 0.45rem 0.55rem; border-bottom: 1px solid var(--line); |
| 428 | } |
| 429 | .conbar .pipe-filter { max-width: none; flex: 1; min-width: 12rem; } |
| 430 | .contools { display: flex; gap: 0.3rem; align-items: center; flex-wrap: wrap; } |
| 431 | .contools .ghost, .contools a.ghost { padding: 0.3rem 0.55rem; background: white; } |
| 432 | .console { |
| 433 | color: #e6edf3; font-family: ui-monospace, monospace; font-size: 0.82rem; |
| 434 | max-height: 68vh; overflow: auto; padding: 0.35rem 0 0.8rem; |
| 435 | } |
| 436 | .console.wrap code { white-space: pre-wrap; word-break: break-word; } |
| 437 | .console code { white-space: pre; } |
| 438 | .ansi-bold { font-weight: 700; } |
| 439 | .ansi-dim { opacity: 0.65; } |
| 440 | .ansi-italic { font-style: italic; } |
| 441 | .ansi-underline { text-decoration: underline; } |
| 442 | .ansi-fg-black { color: #6e7681; } |
| 443 | .ansi-fg-red { color: #ff7b72; } |
| 444 | .ansi-fg-green { color: #3fb950; } |
| 445 | .ansi-fg-yellow { color: #d29922; } |
| 446 | .ansi-fg-blue { color: #79c0ff; } |
| 447 | .ansi-fg-magenta { color: #d2a8ff; } |
| 448 | .ansi-fg-cyan { color: #56d4dd; } |
| 449 | .ansi-fg-white { color: #f0f6fc; } |
| 450 | .ansi-fg-bright-black { color: #8b949e; } |
| 451 | .ansi-fg-bright-red { color: #ffa198; } |
| 452 | .ansi-fg-bright-green { color: #56d364; } |
| 453 | .ansi-fg-bright-yellow { color: #e3b341; } |
| 454 | .ansi-fg-bright-blue { color: #a5d6ff; } |
| 455 | .ansi-fg-bright-magenta { color: #e2c5ff; } |
| 456 | .ansi-fg-bright-cyan { color: #7ee7ef; } |
| 457 | .ansi-fg-bright-white { color: #ffffff; } |
| 458 | .ansi-bg-black { background: #1c2128; } |
| 459 | .ansi-bg-red { background: #6e2b29; } |
| 460 | .ansi-bg-green { background: #1f4d32; } |
| 461 | .ansi-bg-yellow { background: #5c4a1f; } |
| 462 | .ansi-bg-blue { background: #1f3b5c; } |
| 463 | .ansi-bg-magenta { background: #4a2d5c; } |
| 464 | .ansi-bg-cyan { background: #1c4a4e; } |
| 465 | .ansi-bg-white { background: #d0d7de; color: #1c2128; } |
| 466 | .ansi-bg-bright-black { background: #2d333b; } |
| 467 | .ansi-bg-bright-red { background: #8a3834; } |
| 468 | .ansi-bg-bright-green { background: #2a6b3c; } |
| 469 | .ansi-bg-bright-yellow { background: #7a641f; } |
| 470 | .ansi-bg-bright-blue { background: #2a5580; } |
| 471 | .ansi-bg-bright-magenta { background: #684080; } |
| 472 | .ansi-bg-bright-cyan { background: #2a666c; } |
| 473 | .ansi-bg-bright-white { background: #f0f6fc; color: #1c2128; } |
| 474 | .lognote { margin: 0.2rem 0.8rem 0.45rem; color: #8b949e; font-family: inherit; } |
| 475 | .logline, .logsec ol li { |
| 476 | display: grid; grid-template-columns: 3rem 5.4rem minmax(0, 1fr); |
| 477 | gap: 0.45rem; padding: 0 0.7rem; line-height: 1.45; |
| 478 | } |
| 479 | .logsec ol { list-style: none; margin: 0; padding: 0; display: none; } |
| 480 | .logsec.open ol { display: block; } |
| 481 | .ln, .ts { color: #8b949e; } |
| 482 | .ln { text-align: right; } |
| 483 | .logline.hit, .logsec li.hit { background: #3d3416; } |
| 484 | .logline.hit.on, .logsec li.hit.on { background: #6b5710; } |
| 485 | button.section-toggle { |
| 486 | width: 100%; background: transparent; color: #9ecbff; border: 0; border-radius: 0; |
| 487 | display: flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.7rem; text-align: left; font-weight: 650; |
| 488 | } |
| 489 | .section-toggle .pill { margin-left: auto; background: #2d333b; color: #d0d7de; border-color: #444c56; } |
| 490 | .chev { |
| 491 | width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; |
| 492 | border-left: 6px solid currentColor; display: inline-block; |
| 493 | } |
| 494 | .logsec.open .chev { transform: rotate(90deg); } |
| 495 | .console-wrap:fullscreen { display: flex; flex-direction: column; background: #111; border-radius: 0; } |
| 496 | .console-wrap:fullscreen .console { max-height: none; flex: 1; } |
| 497 | .console-wrap.full { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; border-radius: 0; } |
| 498 | .console-wrap.full .console { max-height: none; flex: 1; } |
| 499 | .jobside { |
| 500 | background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem; |
| 501 | } |
| 502 | .jobside dt { color: var(--muted); font-size: 0.78rem; margin-top: 0.7rem; } |
| 503 | .jobside dd { margin: 0.12rem 0 0; } |
| 504 | .jobside h2 { font-size: 0.95rem; margin: 0.9rem 0 0.3rem; } |
| 505 | .related { list-style: none; margin: 0; padding: 0; } |
| 506 | .related li { display: flex; align-items: center; gap: 0.3rem; } |
| 507 | .related .arrow { width: 1rem; color: var(--muted); } |
| 508 | .editorhead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.7rem; } |
| 509 | .editorhead h2 { margin: 0; font-size: 1.15rem; } |
| 510 | .editorhead .status { margin: 0; } |
| 511 | .ciedit { |
| 512 | display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); |
| 513 | border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white; |
| 514 | } |
| 515 | .ci-gutter { |
| 516 | overflow: hidden; background: #f6f8fa; color: #8c959f; text-align: right; |
| 517 | font-family: ui-monospace, monospace; font-size: 0.86rem; line-height: 1.45; |
| 518 | padding: 0.55rem 0.45rem; user-select: none; |
| 519 | } |
| 520 | .ci-gutter span { display: block; } |
| 521 | .ci-gutter span.bad { background: #fde8e8; color: var(--bad); font-weight: 700; } |
| 522 | .ci-stage { position: relative; height: 24rem; } |
| 523 | .ci-back, .ciedit textarea { |
| 524 | font-family: ui-monospace, monospace; font-size: 0.86rem; line-height: 1.45; |
| 525 | padding: 0.55rem 0.7rem; margin: 0; white-space: pre; tab-size: 2; |
| 526 | } |
| 527 | .ci-back { position: absolute; inset: 0; overflow: hidden; color: var(--ink); pointer-events: none; } |
| 528 | .codeline { min-height: 1.45em; } |
| 529 | .codeline.bad { background: #fff5f5; } |
| 530 | .ciedit textarea { |
| 531 | position: relative; width: 100%; height: 100%; border: 0; border-radius: 0; |
| 532 | background: transparent; color: transparent; caret-color: var(--ink); resize: none; overflow: auto; |
| 533 | } |
| 534 | .ciedit textarea::selection { background: rgba(31, 111, 235, 0.25); } |
| 535 | .ci-issues { list-style: none; padding: 0; margin: 0.7rem 0 0; } |
| 536 | .ci-issues li.bad { color: var(--bad); } |
| 537 | .ci-issues li.warn { color: #8a5a00; } |
| 538 | @media (max-width: 800px) { |
| 539 | .proj, .fileview, .joblayout { grid-template-columns: 1fr; } |
| 540 | .heat-foot { flex-direction: column; align-items: flex-start; } |
| 541 | .heat-legend, .heat-foot .muted { justify-content: flex-start; text-align: left; } |
| 542 | .repolist > li { flex-wrap: wrap; } |
| 543 | } |