| 1 | $mob-max: 1000px; |
| 2 | $link-color: #4078c0; |
| 3 | $gray: #dfdfdf; |
| 4 | $gray-light: #f3f3f3; |
| 5 | $gray-dark: #777; // 888 |
| 6 | $font-size: 14px; |
| 7 | $black: #24292e; |
| 8 | $white: #ffffff; |
| 9 | $header-height: 50px; |
| 10 | $medium-radius: 5px; |
| 11 | $small-radius: 3px; |
| 12 | |
| 13 | @mixin mobile { |
| 14 | @media (max-width: $mob-max) { |
| 15 | @content; |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | @mixin desktop { |
| 20 | @media (min-width: $mob-max) { |
| 21 | @content; |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | .hl_table * { |
| 26 | font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", |
| 27 | "Courier New", monospace; |
| 28 | font-size: 12px; |
| 29 | } |
| 30 | |
| 31 | body, |
| 32 | html, |
| 33 | * { |
| 34 | font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, |
| 35 | Noto Sans, sans-serif, BlinkMacSystemFont, Oxygen, Fira Sans, Droid Sans, |
| 36 | Helvetica Neue; |
| 37 | line-height: 1.5em; |
| 38 | padding: 0; |
| 39 | margin: 0; |
| 40 | } |
| 41 | |
| 42 | body { |
| 43 | font-size: 14px; |
| 44 | min-width: 300px; |
| 45 | } |
| 46 | |
| 47 | a { |
| 48 | color: $link-color; |
| 49 | font-size: 14px; |
| 50 | text-decoration: none; |
| 51 | } |
| 52 | h2 { |
| 53 | padding:10px; |
| 54 | } |
| 55 | |
| 56 | code { |
| 57 | background-color: #f7f7f7; |
| 58 | } |
| 59 | |
| 60 | .form-error { |
| 61 | color: red; |
| 62 | } |
| 63 | |
| 64 | pre > code { |
| 65 | background-color: #eff0f1; |
| 66 | display: block; |
| 67 | } |
| 68 | .no_select { |
| 69 | -webkit-touch-callout: none; |
| 70 | -webkit-user-select: none; |
| 71 | -khtml-user-select: none; |
| 72 | -moz-user-select: none; |
| 73 | -ms-user-select: none; |
| 74 | user-select: none; |
| 75 | } |
| 76 | .content { |
| 77 | max-width: $mob-max; |
| 78 | margin: 0 auto; |
| 79 | margin-bottom: 200px; |
| 80 | min-height: calc(100vh - 300px); |
| 81 | } |
| 82 | |
| 83 | .clone-status { |
| 84 | margin-top: 25%; |
| 85 | text-align: center; |
| 86 | |
| 87 | img { |
| 88 | margin-top: 10px; |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | .clone-status-url { |
| 93 | color: $gray-dark; |
| 94 | margin: 10px auto 0; |
| 95 | overflow-wrap: anywhere; |
| 96 | padding: 0 10px; |
| 97 | |
| 98 | code { |
| 99 | border-radius: $small-radius; |
| 100 | padding: 2px 5px; |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | .clone-status-log { |
| 105 | margin: 20px auto 0; |
| 106 | max-width: 720px; |
| 107 | padding: 12px 16px; |
| 108 | background: #f6f8fa; |
| 109 | border: 1px solid #e1e4e8; |
| 110 | border-radius: $small-radius; |
| 111 | color: $gray-dark; |
| 112 | font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; |
| 113 | font-size: 12px; |
| 114 | line-height: 1.5; |
| 115 | text-align: left; |
| 116 | white-space: pre-wrap; |
| 117 | word-break: break-word; |
| 118 | } |
| 119 | |
| 120 | #top_right_div { |
| 121 | float:right; |
| 122 | display: flex; |
| 123 | align-items: center; |
| 124 | height: 50px; |
| 125 | } |
| 126 | .search-input { |
| 127 | //position: absolute; |
| 128 | //top: 10px; |
| 129 | //right: 200px; |
| 130 | display: inline-block; |
| 131 | |
| 132 | background-color: #000; |
| 133 | color: #fff; |
| 134 | margin-right:30px; |
| 135 | } |
| 136 | |
| 137 | .search-input::placeholder { |
| 138 | color: rgba(255, 255, 255, 0.6); |
| 139 | } |
| 140 | |
| 141 | .user { |
| 142 | //display: flex; |
| 143 | //position: absolute; |
| 144 | //top: 0; |
| 145 | //right: 0; |
| 146 | display: inline-block; |
| 147 | position: relative; |
| 148 | padding-right: 10px; |
| 149 | } |
| 150 | |
| 151 | .user:focus { |
| 152 | outline: none; |
| 153 | } |
| 154 | |
| 155 | .user:hover .header-dropdown, |
| 156 | .header-dropdown:hover, |
| 157 | .user:focus .header-dropdown { |
| 158 | transform: scale(1) translateY(0px); |
| 159 | opacity: 1; |
| 160 | pointer-events: all; |
| 161 | } |
| 162 | |
| 163 | .user .header-dropdown * { |
| 164 | z-index: 10; |
| 165 | position: relative; |
| 166 | } |
| 167 | |
| 168 | .user .header-dropdown .dropdown-hoverzone { |
| 169 | z-index: 5; |
| 170 | position: absolute; |
| 171 | top: -54px; |
| 172 | height: calc(100% + 54px + 4px); |
| 173 | width: calc(100% + 8px); |
| 174 | right: -4px; |
| 175 | } |
| 176 | |
| 177 | .user .header-dropdown { |
| 178 | position: absolute; |
| 179 | color: $black; |
| 180 | border: 1px solid $gray; |
| 181 | border-radius: $medium-radius; |
| 182 | background: $white; |
| 183 | right: 4px; |
| 184 | top: 54px; |
| 185 | min-width: 145px; |
| 186 | transform: scale(0.95) translateY(-3px); |
| 187 | opacity: 0; |
| 188 | transform-origin: top; |
| 189 | pointer-events: none; |
| 190 | transition: transform 0.1s, opacity 0.1s; |
| 191 | } |
| 192 | |
| 193 | .user .header-dropdown .username { |
| 194 | padding: 6px 12px; |
| 195 | |
| 196 | span { |
| 197 | opacity: 0.9; |
| 198 | font-size: 13px; |
| 199 | } |
| 200 | |
| 201 | a { |
| 202 | display: block; |
| 203 | padding: 0px; |
| 204 | font-size: 17px; |
| 205 | line-height: 1; |
| 206 | color: $black; |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | .user .header-dropdown .links { |
| 211 | border-top: 1px solid $gray; |
| 212 | padding: 4px 0px; |
| 213 | } |
| 214 | |
| 215 | .user .header-dropdown .links a { |
| 216 | padding: 3px 12px; |
| 217 | display: block; |
| 218 | background-color: $white; |
| 219 | color: $black; |
| 220 | transition: background-color 0.07s, color 0.07s; |
| 221 | } |
| 222 | |
| 223 | .user .header-dropdown .link:hover { |
| 224 | color: $white; |
| 225 | background-color: #1a7be9; |
| 226 | } |
| 227 | |
| 228 | .avatar { |
| 229 | height: 40px; |
| 230 | width: 40px; |
| 231 | text-align: center; |
| 232 | border-radius: 100%; |
| 233 | border: 1px solid #24292e; |
| 234 | background-color: #fff; |
| 235 | margin-top: 5px; |
| 236 | overflow: hidden; |
| 237 | z-index: 15; |
| 238 | cursor: pointer; |
| 239 | |
| 240 | span { |
| 241 | line-height: 40px; |
| 242 | font-size: 25px; |
| 243 | margin: 0; |
| 244 | } |
| 245 | |
| 246 | img { |
| 247 | height: 40px; |
| 248 | width: 40px; |
| 249 | margin: 0; |
| 250 | object-fit: cover; |
| 251 | } |
| 252 | } |
| 253 | |
| 254 | .new { |
| 255 | margin-right: 20px; |
| 256 | } |
| 257 | |
| 258 | .new a { |
| 259 | line-height: 50px; |
| 260 | font-size: 16px !important; |
| 261 | color: $white; |
| 262 | } |
| 263 | |
| 264 | header { |
| 265 | .login-button { |
| 266 | color: $white; |
| 267 | line-height: 50px; |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | a.repo-author, a.repo-name { |
| 272 | line-height: 50px; |
| 273 | font-size: 20px !important; |
| 274 | font-weight: 600; |
| 275 | } |
| 276 | |
| 277 | .repo-visibility { |
| 278 | font-size: 12px; |
| 279 | font-weight: 500; |
| 280 | padding: 2px 10px; |
| 281 | border: 1px solid $gray; |
| 282 | border-radius: 2em; |
| 283 | color: $gray-dark; |
| 284 | background-color: $white; |
| 285 | line-height: 1.6; |
| 286 | margin-left: 8px; |
| 287 | vertical-align: middle; |
| 288 | } |
| 289 | |
| 290 | .repo-visibility--private { |
| 291 | color: #9a6700; |
| 292 | border-color: #d4a72c; |
| 293 | background-color: #fff8c5; |
| 294 | } |
| 295 | |
| 296 | .slash { |
| 297 | display: inline; |
| 298 | line-height: 50px; |
| 299 | font-size: 16px !important; |
| 300 | color: $black; |
| 301 | } |
| 302 | |
| 303 | header { |
| 304 | background-color: $black; |
| 305 | height: $header-height; |
| 306 | color: white; |
| 307 | } |
| 308 | |
| 309 | footer { |
| 310 | max-width: $mob-max; |
| 311 | margin: 0 auto; |
| 312 | color: #777; |
| 313 | margin-bottom:30px; |
| 314 | } |
| 315 | |
| 316 | footer a { |
| 317 | color: #777; |
| 318 | text-decoration: underline; |
| 319 | } |
| 320 | |
| 321 | #mainlogo { |
| 322 | line-height: 50px; |
| 323 | font-size: 20px !important; |
| 324 | margin-left: 10px; |
| 325 | float: left; |
| 326 | color: white; |
| 327 | } |
| 328 | |
| 329 | textarea, |
| 330 | input { |
| 331 | background: none; |
| 332 | color: $black; |
| 333 | border: 1px solid $gray; |
| 334 | padding: 5px 8px; |
| 335 | border-radius: $small-radius; |
| 336 | transition: border-color 0.07s; |
| 337 | } |
| 338 | |
| 339 | textarea:focus, |
| 340 | input:focus { |
| 341 | outline: none; |
| 342 | border: 1px solid #4392eb; |
| 343 | } |
| 344 | |
| 345 | .button, |
| 346 | button, |
| 347 | input[type="submit"] { |
| 348 | cursor: pointer; |
| 349 | background: none; |
| 350 | color: $black; |
| 351 | border: 1px solid $gray; |
| 352 | padding: 5px 8px; |
| 353 | border-radius: $small-radius; |
| 354 | transition: background-color 0.07s, border-color 0.07s, color 0.07s; |
| 355 | width: 50% !important; |
| 356 | } |
| 357 | |
| 358 | .button:hover, |
| 359 | button:hover, |
| 360 | input[type="submit"]:hover { |
| 361 | border: 1px solid #0366d6; |
| 362 | background-color: #1a7be9; |
| 363 | color: $white; |
| 364 | } |
| 365 | |
| 366 | .button.disabled, |
| 367 | button.disabled, |
| 368 | input[type="submit"].disabled, |
| 369 | button:disabled, |
| 370 | input[type="submit"]:disabled { |
| 371 | color: rgba(0, 0, 0, 0.6); |
| 372 | border: 1px solid $gray-light; |
| 373 | pointer-events: none; |
| 374 | } |
| 375 | |
| 376 | form.vertical-form * { |
| 377 | display: block; |
| 378 | margin-bottom: 5px; |
| 379 | } |
| 380 | |
| 381 | form.vertical-form *:last-child { |
| 382 | margin-bottom: 0px; |
| 383 | } |
| 384 | |
| 385 | form { |
| 386 | .field { |
| 387 | margin-top: 10px; |
| 388 | } |
| 389 | |
| 390 | input[type="submit"] { |
| 391 | margin-top: 10px; |
| 392 | } |
| 393 | } |
| 394 | |
| 395 | .form { |
| 396 | max-width: 400px; |
| 397 | //margin: 0 auto; |
| 398 | |
| 399 | input:not([type="checkbox"]):not([type="radio"]) { |
| 400 | box-sizing: border-box; |
| 401 | width: 100%; |
| 402 | } |
| 403 | |
| 404 | textarea { |
| 405 | box-sizing: border-box; |
| 406 | width: 100%; |
| 407 | } |
| 408 | } |
| 409 | |
| 410 | .github-auth { |
| 411 | display: inline-block; |
| 412 | margin-top: 15px; |
| 413 | padding: 8px 14px; |
| 414 | background-color: #24292f; |
| 415 | color: $white !important; |
| 416 | border-radius: $small-radius; |
| 417 | text-decoration: none; |
| 418 | font-weight: 500; |
| 419 | transition: background-color 0.07s; |
| 420 | } |
| 421 | |
| 422 | .github-auth:hover { |
| 423 | background-color: #1a7be9; |
| 424 | } |
| 425 | |
| 426 | .block { |
| 427 | margin: auto; |
| 428 | max-width: 700px; |
| 429 | padding: 20px 10px 0 10px; |
| 430 | } |
| 431 | |
| 432 | .list { |
| 433 | margin-left: 20px; |
| 434 | } |
| 435 | |
| 436 | .gitly-screenshot { |
| 437 | width: 100%; |
| 438 | } |
| 439 | |
| 440 | .table-features { |
| 441 | border-collapse: collapse; |
| 442 | border: 1px solid #dfdfdf; |
| 443 | width: 100%; |
| 444 | |
| 445 | td { |
| 446 | border-collapse: collapse; |
| 447 | border: 1px solid #dfdfdf; |
| 448 | padding: 5px; |
| 449 | } |
| 450 | } |
| 451 | |
| 452 | @keyframes alert-show { |
| 453 | 0% { right: -100px; } |
| 454 | 100% { right: 20px; } |
| 455 | } |
| 456 | |
| 457 | .alert { |
| 458 | position: absolute; |
| 459 | top: 60px; |
| 460 | right: 20px; |
| 461 | padding: 20px; |
| 462 | background-color: #d94338; |
| 463 | color: #fff; |
| 464 | cursor: pointer; |
| 465 | border-radius: $small-radius; |
| 466 | animation-name: alert-show; |
| 467 | animation-duration: 1s; |
| 468 | } |
| 469 | |
| 470 | .list-item { |
| 471 | border: 1px solid #dfdfdf; |
| 472 | border-radius: 3px; |
| 473 | padding: 5px 0 5px 10px; |
| 474 | margin-top: 10px; |
| 475 | width: 100%; |
| 476 | } |
| 477 | |
| 478 | .repos-header { |
| 479 | display: flex; |
| 480 | align-items: center; |
| 481 | gap: 14px; |
| 482 | margin: 24px 0 20px; |
| 483 | |
| 484 | .avatar { |
| 485 | margin-top: 0; |
| 486 | flex-shrink: 0; |
| 487 | } |
| 488 | |
| 489 | h1 { |
| 490 | margin: 0; |
| 491 | font-size: 22px; |
| 492 | line-height: 1.2; |
| 493 | } |
| 494 | } |
| 495 | |
| 496 | .repo-list { |
| 497 | display: flex; |
| 498 | flex-direction: column; |
| 499 | gap: 10px; |
| 500 | } |
| 501 | |
| 502 | .repo-card { |
| 503 | border: 1px solid $gray; |
| 504 | border-radius: $medium-radius; |
| 505 | padding: 14px 18px; |
| 506 | background-color: $white; |
| 507 | color: $black; |
| 508 | transition: border-color 0.1s, box-shadow 0.1s; |
| 509 | |
| 510 | &:hover { |
| 511 | border-color: #b8c7d8; |
| 512 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); |
| 513 | } |
| 514 | } |
| 515 | |
| 516 | .repo-card__header { |
| 517 | display: flex; |
| 518 | align-items: center; |
| 519 | gap: 10px; |
| 520 | margin-bottom: 4px; |
| 521 | } |
| 522 | |
| 523 | .repo-card__title { |
| 524 | font-size: 17px; |
| 525 | font-weight: 600; |
| 526 | color: $link-color; |
| 527 | |
| 528 | &:hover { |
| 529 | text-decoration: underline; |
| 530 | } |
| 531 | } |
| 532 | |
| 533 | .repo-card__footer { |
| 534 | display: flex; |
| 535 | align-items: center; |
| 536 | gap: 12px; |
| 537 | margin-top: 8px; |
| 538 | } |
| 539 | |
| 540 | .repo-card__footer-left { |
| 541 | display: flex; |
| 542 | align-items: center; |
| 543 | gap: 14px; |
| 544 | flex-wrap: wrap; |
| 545 | font-size: 12px; |
| 546 | color: $gray-dark; |
| 547 | flex: 1; |
| 548 | min-width: 0; |
| 549 | } |
| 550 | |
| 551 | .repo-card__lang { |
| 552 | display: inline-flex; |
| 553 | align-items: center; |
| 554 | gap: 5px; |
| 555 | } |
| 556 | |
| 557 | .repo-card__lang-dot { |
| 558 | display: inline-block; |
| 559 | width: 10px; |
| 560 | height: 10px; |
| 561 | border-radius: 50%; |
| 562 | border: 1px solid rgba(0, 0, 0, 0.08); |
| 563 | } |
| 564 | |
| 565 | .repo-card__updated { |
| 566 | color: $gray-dark; |
| 567 | } |
| 568 | |
| 569 | .repo-card__activity { |
| 570 | flex-shrink: 0; |
| 571 | width: 120px; |
| 572 | height: 28px; |
| 573 | overflow: visible; |
| 574 | } |
| 575 | |
| 576 | .repo-card__badge { |
| 577 | font-size: 11px; |
| 578 | font-weight: 500; |
| 579 | padding: 1px 8px; |
| 580 | border: 1px solid $gray; |
| 581 | border-radius: 2em; |
| 582 | color: $gray-dark; |
| 583 | background-color: $white; |
| 584 | line-height: 1.6; |
| 585 | } |
| 586 | |
| 587 | .repo-card__badge--private { |
| 588 | color: #9a6700; |
| 589 | border-color: #d4a72c; |
| 590 | background-color: #fff8c5; |
| 591 | } |
| 592 | |
| 593 | .repo-card__desc { |
| 594 | margin: 4px 0 10px; |
| 595 | color: $gray-dark; |
| 596 | font-size: 14px; |
| 597 | line-height: 1.4; |
| 598 | } |
| 599 | |
| 600 | .repo-card__meta { |
| 601 | display: flex; |
| 602 | gap: 18px; |
| 603 | flex-wrap: wrap; |
| 604 | font-size: 12px; |
| 605 | color: $gray-dark; |
| 606 | } |
| 607 | |
| 608 | .repos-empty { |
| 609 | color: $gray-dark; |
| 610 | margin: 30px 0; |
| 611 | font-size: 15px; |
| 612 | } |
| 613 | |
| 614 | .settings-title { |
| 615 | font-size: 24px; |
| 616 | margin: 24px 0 18px; |
| 617 | padding: 0; |
| 618 | } |
| 619 | |
| 620 | .settings-section { |
| 621 | border: 1px solid $gray; |
| 622 | border-radius: $medium-radius; |
| 623 | padding: 18px 20px; |
| 624 | margin-bottom: 18px; |
| 625 | background-color: $white; |
| 626 | } |
| 627 | |
| 628 | .settings-section__title { |
| 629 | font-size: 17px; |
| 630 | font-weight: 600; |
| 631 | margin: 0 0 4px; |
| 632 | padding: 0; |
| 633 | } |
| 634 | |
| 635 | .settings-section__desc { |
| 636 | margin: 0 0 14px; |
| 637 | color: $gray-dark; |
| 638 | font-size: 13px; |
| 639 | } |
| 640 | |
| 641 | .settings-form { |
| 642 | display: flex; |
| 643 | gap: 8px; |
| 644 | flex-wrap: wrap; |
| 645 | align-items: center; |
| 646 | |
| 647 | input[type="text"], |
| 648 | input[type="password"] { |
| 649 | flex: 1; |
| 650 | min-width: 200px; |
| 651 | box-sizing: border-box; |
| 652 | |
| 653 | &::placeholder { |
| 654 | color: $gray-dark; |
| 655 | } |
| 656 | } |
| 657 | |
| 658 | .settings-form__submit { |
| 659 | width: auto !important; |
| 660 | flex-shrink: 0; |
| 661 | padding: 6px 14px; |
| 662 | } |
| 663 | } |
| 664 | |
| 665 | .features-form { |
| 666 | flex-direction: column; |
| 667 | align-items: flex-start; |
| 668 | gap: 10px; |
| 669 | } |
| 670 | |
| 671 | .features-form__option { |
| 672 | display: flex; |
| 673 | align-items: center; |
| 674 | gap: 8px; |
| 675 | font-size: 14px; |
| 676 | cursor: pointer; |
| 677 | |
| 678 | input[type="checkbox"] { |
| 679 | margin: 0; |
| 680 | cursor: pointer; |
| 681 | } |
| 682 | } |
| 683 | |
| 684 | .settings-form__submit--danger { |
| 685 | color: #cf222e !important; |
| 686 | border-color: rgba(207, 34, 46, 0.4) !important; |
| 687 | |
| 688 | &:hover:not(:disabled) { |
| 689 | color: $white !important; |
| 690 | background-color: #cf222e !important; |
| 691 | border-color: #cf222e !important; |
| 692 | } |
| 693 | |
| 694 | &:disabled { |
| 695 | color: rgba(207, 34, 46, 0.5) !important; |
| 696 | border-color: rgba(207, 34, 46, 0.2) !important; |
| 697 | background-color: transparent !important; |
| 698 | cursor: not-allowed; |
| 699 | } |
| 700 | } |
| 701 | |
| 702 | .settings-section--danger { |
| 703 | border-color: rgba(207, 34, 46, 0.4); |
| 704 | |
| 705 | .settings-section__title { |
| 706 | color: #cf222e; |
| 707 | } |
| 708 | } |
| 709 | |
| 710 | .danger-action { |
| 711 | display: flex; |
| 712 | gap: 20px; |
| 713 | align-items: center; |
| 714 | flex-wrap: wrap; |
| 715 | padding: 14px 0; |
| 716 | border-top: 1px solid rgba(207, 34, 46, 0.2); |
| 717 | |
| 718 | &:first-of-type { |
| 719 | border-top: none; |
| 720 | padding-top: 4px; |
| 721 | } |
| 722 | |
| 723 | &:last-of-type { |
| 724 | padding-bottom: 0; |
| 725 | } |
| 726 | } |
| 727 | |
| 728 | .danger-action__info { |
| 729 | flex: 1; |
| 730 | min-width: 220px; |
| 731 | } |
| 732 | |
| 733 | .danger-action__title { |
| 734 | font-size: 14px; |
| 735 | font-weight: 600; |
| 736 | margin: 0 0 2px; |
| 737 | padding: 0; |
| 738 | } |
| 739 | |
| 740 | .danger-action__desc { |
| 741 | margin: 0; |
| 742 | color: $gray-dark; |
| 743 | font-size: 13px; |
| 744 | } |
| 745 | |
| 746 | .danger-action__form { |
| 747 | flex: 1; |
| 748 | min-width: 280px; |
| 749 | } |
| 750 | |
| 751 | .confirm-modal { |
| 752 | position: fixed; |
| 753 | inset: 0; |
| 754 | background-color: rgba(15, 17, 21, 0.55); |
| 755 | display: flex; |
| 756 | align-items: center; |
| 757 | justify-content: center; |
| 758 | z-index: 1000; |
| 759 | padding: 20px; |
| 760 | |
| 761 | &[hidden] { |
| 762 | display: none; |
| 763 | } |
| 764 | } |
| 765 | |
| 766 | .confirm-modal__dialog { |
| 767 | background-color: #cf222e; |
| 768 | color: $white; |
| 769 | border-radius: $small-radius; |
| 770 | max-width: 480px; |
| 771 | width: 100%; |
| 772 | padding: 28px; |
| 773 | box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4); |
| 774 | } |
| 775 | |
| 776 | .confirm-modal__alert { |
| 777 | margin: 0 0 16px; |
| 778 | font-size: 16px; |
| 779 | font-weight: 700; |
| 780 | line-height: 1.35; |
| 781 | } |
| 782 | |
| 783 | .confirm-modal__intro, |
| 784 | .confirm-modal__outro, |
| 785 | .confirm-modal__question { |
| 786 | margin: 0 0 10px; |
| 787 | font-size: 14px; |
| 788 | color: $white; |
| 789 | } |
| 790 | |
| 791 | .confirm-modal__question { |
| 792 | margin-top: 16px; |
| 793 | font-weight: 600; |
| 794 | } |
| 795 | |
| 796 | .confirm-modal__stats { |
| 797 | margin: 0 0 10px; |
| 798 | padding-left: 20px; |
| 799 | font-size: 14px; |
| 800 | color: $white; |
| 801 | |
| 802 | li { |
| 803 | margin: 2px 0; |
| 804 | } |
| 805 | } |
| 806 | |
| 807 | .confirm-modal__actions { |
| 808 | display: flex; |
| 809 | gap: 10px; |
| 810 | justify-content: flex-end; |
| 811 | margin-top: 20px; |
| 812 | } |
| 813 | |
| 814 | .confirm-modal__btn { |
| 815 | padding: 7px 16px; |
| 816 | font-size: 14px; |
| 817 | font-weight: 600; |
| 818 | border-radius: $small-radius; |
| 819 | border: 1px solid $white; |
| 820 | background-color: transparent; |
| 821 | color: $white; |
| 822 | cursor: pointer; |
| 823 | transition: background-color 0.12s, color 0.12s; |
| 824 | |
| 825 | &:hover { |
| 826 | background-color: $white; |
| 827 | color: #cf222e; |
| 828 | } |
| 829 | } |
| 830 | |
| 831 | .confirm-modal__btn--danger { |
| 832 | background-color: $white; |
| 833 | color: #cf222e; |
| 834 | border-color: $white; |
| 835 | |
| 836 | &:hover { |
| 837 | background-color: #b51d28; |
| 838 | color: $white; |
| 839 | border-color: $white; |
| 840 | } |
| 841 | } |
| 842 | |
| 843 | .new-repo { |
| 844 | max-width: 640px; |
| 845 | } |
| 846 | |
| 847 | .new-repo__header { |
| 848 | margin: 24px 0 24px; |
| 849 | |
| 850 | h1 { |
| 851 | font-size: 24px; |
| 852 | margin: 0 0 4px; |
| 853 | padding: 0; |
| 854 | } |
| 855 | } |
| 856 | |
| 857 | .new-repo__subtitle { |
| 858 | margin: 0; |
| 859 | color: $gray-dark; |
| 860 | font-size: 13px; |
| 861 | } |
| 862 | |
| 863 | .new-repo__form { |
| 864 | display: flex; |
| 865 | flex-direction: column; |
| 866 | gap: 18px; |
| 867 | } |
| 868 | |
| 869 | .new-repo__field { |
| 870 | display: flex; |
| 871 | flex-direction: column; |
| 872 | gap: 6px; |
| 873 | |
| 874 | input[type="text"] { |
| 875 | box-sizing: border-box; |
| 876 | width: 100%; |
| 877 | padding: 7px 10px; |
| 878 | font-size: 14px; |
| 879 | } |
| 880 | } |
| 881 | |
| 882 | .new-repo__field--inline { |
| 883 | gap: 0; |
| 884 | } |
| 885 | |
| 886 | .new-repo__label { |
| 887 | font-weight: 600; |
| 888 | font-size: 13px; |
| 889 | margin: 0; |
| 890 | padding: 0; |
| 891 | color: $black; |
| 892 | } |
| 893 | |
| 894 | .new-repo__req { |
| 895 | color: #cf222e; |
| 896 | margin-left: 2px; |
| 897 | } |
| 898 | |
| 899 | .new-repo__optional { |
| 900 | color: $gray-dark; |
| 901 | font-weight: normal; |
| 902 | font-style: italic; |
| 903 | margin-left: 4px; |
| 904 | } |
| 905 | |
| 906 | .new-repo__name-row { |
| 907 | display: flex; |
| 908 | align-items: stretch; |
| 909 | border: 1px solid $gray; |
| 910 | border-radius: $small-radius; |
| 911 | overflow: hidden; |
| 912 | transition: border-color 0.07s; |
| 913 | |
| 914 | &:focus-within { |
| 915 | border-color: #4392eb; |
| 916 | } |
| 917 | } |
| 918 | |
| 919 | .new-repo__owner-row { |
| 920 | display: flex; |
| 921 | align-items: flex-end; |
| 922 | gap: 8px; |
| 923 | } |
| 924 | |
| 925 | .new-repo__field--owner { |
| 926 | flex: 0 0 auto; |
| 927 | min-width: 180px; |
| 928 | } |
| 929 | |
| 930 | .new-repo__field--name { |
| 931 | flex: 1 1 auto; |
| 932 | } |
| 933 | |
| 934 | .new-repo__owner-select { |
| 935 | box-sizing: border-box; |
| 936 | width: 100%; |
| 937 | padding: 7px 10px; |
| 938 | font-size: 14px; |
| 939 | border: 1px solid $gray; |
| 940 | border-radius: $small-radius; |
| 941 | background-color: $white; |
| 942 | |
| 943 | &:focus { |
| 944 | border-color: #4392eb; |
| 945 | outline: none; |
| 946 | } |
| 947 | } |
| 948 | |
| 949 | .new-repo__owner-slash { |
| 950 | font-size: 20px; |
| 951 | color: $gray-dark; |
| 952 | padding-bottom: 4px; |
| 953 | } |
| 954 | |
| 955 | .new-repo__name-input--standalone { |
| 956 | border: 1px solid $gray; |
| 957 | border-radius: $small-radius; |
| 958 | } |
| 959 | |
| 960 | .new-repo__owner { |
| 961 | background-color: $gray-light; |
| 962 | color: $gray-dark; |
| 963 | padding: 7px 10px; |
| 964 | border-right: 1px solid $gray; |
| 965 | font-size: 14px; |
| 966 | white-space: nowrap; |
| 967 | display: flex; |
| 968 | align-items: center; |
| 969 | } |
| 970 | |
| 971 | .new-repo__name-input { |
| 972 | flex: 1; |
| 973 | border: none !important; |
| 974 | border-radius: 0 !important; |
| 975 | padding: 7px 10px !important; |
| 976 | |
| 977 | &:focus { |
| 978 | border: none !important; |
| 979 | outline: none; |
| 980 | } |
| 981 | } |
| 982 | |
| 983 | .new-repo__hint { |
| 984 | margin: 0; |
| 985 | color: $gray-dark; |
| 986 | font-size: 12px; |
| 987 | } |
| 988 | |
| 989 | .new-repo__checkbox { |
| 990 | display: inline-flex; |
| 991 | align-items: center; |
| 992 | gap: 8px; |
| 993 | cursor: pointer; |
| 994 | font-size: 13px; |
| 995 | |
| 996 | input[type="checkbox"] { |
| 997 | margin: 0; |
| 998 | } |
| 999 | } |
| 1000 | |
| 1001 | .new-repo__option { |
| 1002 | display: flex; |
| 1003 | gap: 10px; |
| 1004 | padding: 10px 12px; |
| 1005 | border: 1px solid $gray; |
| 1006 | border-radius: $small-radius; |
| 1007 | cursor: pointer; |
| 1008 | transition: border-color 0.07s, background-color 0.07s; |
| 1009 | margin-top: 6px; |
| 1010 | |
| 1011 | &:hover { |
| 1012 | border-color: #b8c7d8; |
| 1013 | background-color: #fafbfc; |
| 1014 | } |
| 1015 | |
| 1016 | input[type="radio"] { |
| 1017 | margin-top: 3px; |
| 1018 | } |
| 1019 | } |
| 1020 | |
| 1021 | .new-repo__option-body { |
| 1022 | display: flex; |
| 1023 | flex-direction: column; |
| 1024 | gap: 2px; |
| 1025 | } |
| 1026 | |
| 1027 | .new-repo__option-title { |
| 1028 | font-weight: 600; |
| 1029 | font-size: 14px; |
| 1030 | color: $black; |
| 1031 | } |
| 1032 | |
| 1033 | .new-repo__option-desc { |
| 1034 | color: $gray-dark; |
| 1035 | font-size: 12px; |
| 1036 | line-height: 1.4; |
| 1037 | } |
| 1038 | |
| 1039 | .new-repo__actions { |
| 1040 | padding-top: 18px; |
| 1041 | display: flex; |
| 1042 | justify-content: flex-start; |
| 1043 | } |
| 1044 | |
| 1045 | .new-repo__submit { |
| 1046 | width: auto !important; |
| 1047 | padding: 7px 18px; |
| 1048 | background-color: #1f883d; |
| 1049 | color: $white; |
| 1050 | border: 1px solid rgba(31, 136, 61, 0.6); |
| 1051 | font-weight: 500; |
| 1052 | |
| 1053 | &:hover { |
| 1054 | background-color: #1a7f37; |
| 1055 | border-color: rgba(27, 31, 36, 0.15); |
| 1056 | color: $white; |
| 1057 | } |
| 1058 | } |
| 1059 | |
| 1060 | .new-org { |
| 1061 | max-width: 640px; |
| 1062 | } |
| 1063 | |
| 1064 | .new-org__header { |
| 1065 | margin: 24px 0 24px; |
| 1066 | text-align: center; |
| 1067 | |
| 1068 | h1 { |
| 1069 | font-size: 28px; |
| 1070 | margin: 0; |
| 1071 | padding: 0; |
| 1072 | } |
| 1073 | } |
| 1074 | |
| 1075 | .new-org__subtitle { |
| 1076 | margin: 0 0 4px; |
| 1077 | color: $gray-dark; |
| 1078 | font-size: 13px; |
| 1079 | font-family: monospace; |
| 1080 | } |
| 1081 | |
| 1082 | .new-org__form { |
| 1083 | display: flex; |
| 1084 | flex-direction: column; |
| 1085 | gap: 22px; |
| 1086 | } |
| 1087 | |
| 1088 | .new-org__field { |
| 1089 | display: flex; |
| 1090 | flex-direction: column; |
| 1091 | gap: 6px; |
| 1092 | } |
| 1093 | |
| 1094 | .new-org__field--inline { |
| 1095 | gap: 0; |
| 1096 | } |
| 1097 | |
| 1098 | .new-org__label { |
| 1099 | font-weight: 600; |
| 1100 | font-size: 14px; |
| 1101 | margin: 0; |
| 1102 | padding: 0; |
| 1103 | color: $black; |
| 1104 | } |
| 1105 | |
| 1106 | .new-org__req { |
| 1107 | color: #cf222e; |
| 1108 | margin-left: 2px; |
| 1109 | } |
| 1110 | |
| 1111 | .new-org__input { |
| 1112 | box-sizing: border-box; |
| 1113 | width: 100%; |
| 1114 | padding: 8px 10px; |
| 1115 | font-size: 14px; |
| 1116 | border: 1px solid $gray; |
| 1117 | border-radius: $small-radius; |
| 1118 | background-color: #f6f8fa; |
| 1119 | |
| 1120 | &:focus { |
| 1121 | border-color: #4392eb; |
| 1122 | background-color: $white; |
| 1123 | outline: none; |
| 1124 | } |
| 1125 | } |
| 1126 | |
| 1127 | .new-org__hint { |
| 1128 | margin: 0; |
| 1129 | color: $gray-dark; |
| 1130 | font-size: 12px; |
| 1131 | } |
| 1132 | |
| 1133 | .new-org__url-slot { |
| 1134 | font-weight: 600; |
| 1135 | color: $black; |
| 1136 | } |
| 1137 | |
| 1138 | .new-org__option { |
| 1139 | display: flex; |
| 1140 | gap: 10px; |
| 1141 | padding: 4px 0; |
| 1142 | cursor: pointer; |
| 1143 | align-items: flex-start; |
| 1144 | |
| 1145 | input[type="radio"] { |
| 1146 | margin-top: 4px; |
| 1147 | } |
| 1148 | } |
| 1149 | |
| 1150 | .new-org__option-body { |
| 1151 | display: flex; |
| 1152 | flex-direction: column; |
| 1153 | gap: 2px; |
| 1154 | } |
| 1155 | |
| 1156 | .new-org__option-title { |
| 1157 | font-weight: 600; |
| 1158 | font-size: 14px; |
| 1159 | color: $black; |
| 1160 | } |
| 1161 | |
| 1162 | .new-org__option-desc { |
| 1163 | color: $gray-dark; |
| 1164 | font-size: 13px; |
| 1165 | line-height: 1.4; |
| 1166 | } |
| 1167 | |
| 1168 | .new-org__checkbox { |
| 1169 | display: inline-flex; |
| 1170 | align-items: flex-start; |
| 1171 | gap: 8px; |
| 1172 | cursor: pointer; |
| 1173 | font-size: 14px; |
| 1174 | line-height: 1.5; |
| 1175 | |
| 1176 | input[type="checkbox"] { |
| 1177 | margin: 4px 0 0; |
| 1178 | } |
| 1179 | } |
| 1180 | |
| 1181 | .new-org__actions { |
| 1182 | padding-top: 6px; |
| 1183 | display: flex; |
| 1184 | justify-content: stretch; |
| 1185 | } |
| 1186 | |
| 1187 | .new-org__submit { |
| 1188 | width: 100% !important; |
| 1189 | padding: 10px 18px; |
| 1190 | background-color: #aed8b8; |
| 1191 | color: $white; |
| 1192 | border: 1px solid rgba(31, 136, 61, 0.4); |
| 1193 | font-weight: 500; |
| 1194 | cursor: not-allowed; |
| 1195 | |
| 1196 | &:not(:disabled) { |
| 1197 | background-color: #1f883d; |
| 1198 | border-color: rgba(31, 136, 61, 0.6); |
| 1199 | cursor: pointer; |
| 1200 | } |
| 1201 | |
| 1202 | &:not(:disabled):hover { |
| 1203 | background-color: #1a7f37; |
| 1204 | border-color: rgba(27, 31, 36, 0.15); |
| 1205 | color: $white; |
| 1206 | } |
| 1207 | } |
| 1208 | |
| 1209 | .new-discussion { |
| 1210 | max-width: 720px; |
| 1211 | } |
| 1212 | |
| 1213 | .new-discussion__header { |
| 1214 | margin: 24px 0 20px; |
| 1215 | |
| 1216 | h1 { |
| 1217 | font-size: 24px; |
| 1218 | margin: 0; |
| 1219 | padding: 0; |
| 1220 | } |
| 1221 | } |
| 1222 | |
| 1223 | .new-discussion__form { |
| 1224 | display: flex; |
| 1225 | flex-direction: column; |
| 1226 | gap: 18px; |
| 1227 | } |
| 1228 | |
| 1229 | .new-discussion__field { |
| 1230 | display: flex; |
| 1231 | flex-direction: column; |
| 1232 | gap: 6px; |
| 1233 | } |
| 1234 | |
| 1235 | .new-discussion__label { |
| 1236 | font-weight: 600; |
| 1237 | font-size: 13px; |
| 1238 | margin: 0; |
| 1239 | padding: 0; |
| 1240 | color: $black; |
| 1241 | } |
| 1242 | |
| 1243 | .new-discussion__req { |
| 1244 | color: #cf222e; |
| 1245 | margin-left: 2px; |
| 1246 | } |
| 1247 | |
| 1248 | .new-discussion__title-input { |
| 1249 | box-sizing: border-box; |
| 1250 | width: 100%; |
| 1251 | padding: 8px 12px; |
| 1252 | font-size: 15px; |
| 1253 | } |
| 1254 | |
| 1255 | .new-discussion__textarea { |
| 1256 | box-sizing: border-box; |
| 1257 | width: 100%; |
| 1258 | padding: 10px 12px; |
| 1259 | font-size: 14px; |
| 1260 | font-family: inherit; |
| 1261 | line-height: 1.5; |
| 1262 | min-height: 180px; |
| 1263 | resize: vertical; |
| 1264 | } |
| 1265 | |
| 1266 | .new-discussion__option { |
| 1267 | display: flex; |
| 1268 | align-items: center; |
| 1269 | gap: 10px; |
| 1270 | padding: 8px 12px; |
| 1271 | border: 1px solid $gray; |
| 1272 | border-radius: $small-radius; |
| 1273 | cursor: pointer; |
| 1274 | transition: border-color 0.07s, background-color 0.07s; |
| 1275 | margin-top: 6px; |
| 1276 | |
| 1277 | &:hover { |
| 1278 | border-color: #b8c7d8; |
| 1279 | background-color: #fafbfc; |
| 1280 | } |
| 1281 | |
| 1282 | input[type="radio"] { |
| 1283 | margin: 0; |
| 1284 | } |
| 1285 | } |
| 1286 | |
| 1287 | .new-discussion__option-body { |
| 1288 | display: flex; |
| 1289 | flex-direction: column; |
| 1290 | gap: 2px; |
| 1291 | } |
| 1292 | |
| 1293 | .new-discussion__option-title { |
| 1294 | font-weight: 600; |
| 1295 | font-size: 13px; |
| 1296 | color: $black; |
| 1297 | } |
| 1298 | |
| 1299 | .new-discussion__actions { |
| 1300 | padding-top: 6px; |
| 1301 | display: flex; |
| 1302 | justify-content: flex-start; |
| 1303 | } |
| 1304 | |
| 1305 | .new-discussion__submit { |
| 1306 | width: auto !important; |
| 1307 | padding: 7px 18px; |
| 1308 | background-color: #1f883d; |
| 1309 | color: $white; |
| 1310 | border: 1px solid rgba(31, 136, 61, 0.6); |
| 1311 | font-weight: 500; |
| 1312 | |
| 1313 | &:hover { |
| 1314 | background-color: #1a7f37; |
| 1315 | border-color: rgba(27, 31, 36, 0.15); |
| 1316 | color: $white; |
| 1317 | } |
| 1318 | } |
| 1319 | |
| 1320 | .issues-header { |
| 1321 | display: flex; |
| 1322 | align-items: center; |
| 1323 | justify-content: space-between; |
| 1324 | gap: 12px; |
| 1325 | margin: 24px 0 16px; |
| 1326 | |
| 1327 | .issues-header__title { |
| 1328 | font-size: 22px; |
| 1329 | margin: 0; |
| 1330 | padding: 0; |
| 1331 | } |
| 1332 | } |
| 1333 | |
| 1334 | .issues-header__actions { |
| 1335 | display: flex; |
| 1336 | align-items: center; |
| 1337 | gap: 12px; |
| 1338 | } |
| 1339 | |
| 1340 | .issues-header__milestones { |
| 1341 | color: $gray-dark; |
| 1342 | font-size: 13px; |
| 1343 | font-weight: 500; |
| 1344 | |
| 1345 | &:hover { |
| 1346 | text-decoration: underline; |
| 1347 | } |
| 1348 | } |
| 1349 | |
| 1350 | .issues-header__new { |
| 1351 | background-color: #1f883d; |
| 1352 | color: $white !important; |
| 1353 | padding: 6px 14px; |
| 1354 | border-radius: $small-radius; |
| 1355 | font-size: 13px; |
| 1356 | font-weight: 500; |
| 1357 | transition: background-color 0.07s; |
| 1358 | |
| 1359 | &:hover { |
| 1360 | background-color: #1a7f37; |
| 1361 | text-decoration: none; |
| 1362 | } |
| 1363 | } |
| 1364 | |
| 1365 | .issues-empty { |
| 1366 | color: $gray-dark; |
| 1367 | border: 1px solid $gray; |
| 1368 | border-radius: $medium-radius; |
| 1369 | padding: 30px; |
| 1370 | text-align: center; |
| 1371 | background-color: #fafbfc; |
| 1372 | } |
| 1373 | |
| 1374 | .issue-list { |
| 1375 | list-style: none; |
| 1376 | margin: 0; |
| 1377 | padding: 0; |
| 1378 | border: 1px solid $gray; |
| 1379 | border-radius: $medium-radius; |
| 1380 | overflow: hidden; |
| 1381 | background-color: $white; |
| 1382 | } |
| 1383 | |
| 1384 | .issue-row { |
| 1385 | display: flex; |
| 1386 | align-items: flex-start; |
| 1387 | gap: 12px; |
| 1388 | padding: 10px 14px; |
| 1389 | border-top: 1px solid $gray; |
| 1390 | transition: background-color 0.07s; |
| 1391 | |
| 1392 | &:first-child { |
| 1393 | border-top: none; |
| 1394 | } |
| 1395 | |
| 1396 | &:hover { |
| 1397 | background-color: #fafbfc; |
| 1398 | } |
| 1399 | } |
| 1400 | |
| 1401 | .issue-row__icon { |
| 1402 | width: 16px; |
| 1403 | height: 16px; |
| 1404 | flex-shrink: 0; |
| 1405 | margin-top: 4px; |
| 1406 | } |
| 1407 | |
| 1408 | .issue-row__body { |
| 1409 | flex: 1; |
| 1410 | min-width: 0; |
| 1411 | } |
| 1412 | |
| 1413 | .issue-row__title { |
| 1414 | font-weight: 600; |
| 1415 | font-size: 15px; |
| 1416 | color: $black !important; |
| 1417 | line-height: 1.4; |
| 1418 | display: inline; |
| 1419 | |
| 1420 | &:hover { |
| 1421 | color: $link-color !important; |
| 1422 | text-decoration: none; |
| 1423 | } |
| 1424 | |
| 1425 | code { |
| 1426 | font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; |
| 1427 | font-size: 13px; |
| 1428 | background-color: rgba(175, 184, 193, 0.2); |
| 1429 | padding: 1px 5px; |
| 1430 | border-radius: 4px; |
| 1431 | font-weight: 500; |
| 1432 | } |
| 1433 | } |
| 1434 | |
| 1435 | .issue-row__heading { |
| 1436 | display: flex; |
| 1437 | flex-wrap: wrap; |
| 1438 | align-items: center; |
| 1439 | gap: 8px; |
| 1440 | } |
| 1441 | |
| 1442 | .issue-row__labels { |
| 1443 | display: inline-flex; |
| 1444 | flex-wrap: wrap; |
| 1445 | gap: 4px; |
| 1446 | } |
| 1447 | |
| 1448 | .issue-label { |
| 1449 | display: inline-block; |
| 1450 | padding: 0 8px; |
| 1451 | font-size: 11px; |
| 1452 | font-weight: 600; |
| 1453 | line-height: 18px; |
| 1454 | border-radius: 10px; |
| 1455 | color: #fff; |
| 1456 | text-shadow: 0 0 1px rgba(0, 0, 0, 0.35); |
| 1457 | white-space: nowrap; |
| 1458 | } |
| 1459 | |
| 1460 | .issue-row__meta { |
| 1461 | display: flex; |
| 1462 | flex-wrap: wrap; |
| 1463 | gap: 6px; |
| 1464 | color: $gray-dark; |
| 1465 | font-size: 12px; |
| 1466 | margin-top: 4px; |
| 1467 | line-height: 1.4; |
| 1468 | } |
| 1469 | |
| 1470 | .issue-row__author { |
| 1471 | color: $gray-dark !important; |
| 1472 | font-size: 12px !important; |
| 1473 | |
| 1474 | &:hover { |
| 1475 | color: $link-color !important; |
| 1476 | text-decoration: underline; |
| 1477 | } |
| 1478 | } |
| 1479 | |
| 1480 | .issue-row__comments { |
| 1481 | display: flex; |
| 1482 | align-items: center; |
| 1483 | gap: 4px; |
| 1484 | color: $gray-dark !important; |
| 1485 | font-size: 12px !important; |
| 1486 | flex-shrink: 0; |
| 1487 | margin-top: 4px; |
| 1488 | |
| 1489 | svg { |
| 1490 | width: 14px; |
| 1491 | height: 14px; |
| 1492 | } |
| 1493 | |
| 1494 | &:hover { |
| 1495 | color: $link-color !important; |
| 1496 | text-decoration: none; |
| 1497 | } |
| 1498 | } |
| 1499 | |
| 1500 | .issue-pager { |
| 1501 | display: flex; |
| 1502 | gap: 10px; |
| 1503 | align-items: center; |
| 1504 | margin-top: 18px; |
| 1505 | font-size: 13px; |
| 1506 | color: $gray-dark; |
| 1507 | } |
| 1508 | |
| 1509 | .issue-pager__btn { |
| 1510 | padding: 4px 12px; |
| 1511 | border: 1px solid $gray; |
| 1512 | border-radius: $small-radius; |
| 1513 | color: $link-color; |
| 1514 | background-color: $white; |
| 1515 | |
| 1516 | &:hover { |
| 1517 | text-decoration: none; |
| 1518 | border-color: $link-color; |
| 1519 | } |
| 1520 | } |
| 1521 | |
| 1522 | .issue-pager__btn--disabled { |
| 1523 | color: $gray-dark; |
| 1524 | pointer-events: none; |
| 1525 | background-color: $gray-light; |
| 1526 | } |
| 1527 | |
| 1528 | .issue-pager__info { |
| 1529 | color: $gray-dark; |
| 1530 | } |
| 1531 | |
| 1532 | .issue-row__repo { |
| 1533 | color: $link-color !important; |
| 1534 | font-size: 12px !important; |
| 1535 | |
| 1536 | &:hover { |
| 1537 | text-decoration: underline; |
| 1538 | } |
| 1539 | } |
| 1540 | |
| 1541 | .user-issues-layout { |
| 1542 | display: grid; |
| 1543 | grid-template-columns: 240px 1fr; |
| 1544 | gap: 24px; |
| 1545 | margin-top: 16px; |
| 1546 | |
| 1547 | @include mobile { |
| 1548 | grid-template-columns: 1fr; |
| 1549 | gap: 12px; |
| 1550 | } |
| 1551 | } |
| 1552 | |
| 1553 | .user-issues-sidebar { |
| 1554 | display: flex; |
| 1555 | flex-direction: column; |
| 1556 | gap: 2px; |
| 1557 | } |
| 1558 | |
| 1559 | .user-issues-sidebar__heading { |
| 1560 | display: flex; |
| 1561 | align-items: center; |
| 1562 | gap: 8px; |
| 1563 | padding: 8px 10px 12px; |
| 1564 | font-size: 16px; |
| 1565 | font-weight: 600; |
| 1566 | color: $black; |
| 1567 | border-bottom: 1px solid $gray; |
| 1568 | margin-bottom: 8px; |
| 1569 | } |
| 1570 | |
| 1571 | .user-issues-sidebar__heading-icon { |
| 1572 | width: 20px; |
| 1573 | height: 20px; |
| 1574 | color: $black; |
| 1575 | } |
| 1576 | |
| 1577 | .user-issues-sidebar__item { |
| 1578 | display: flex; |
| 1579 | align-items: center; |
| 1580 | gap: 10px; |
| 1581 | padding: 7px 10px; |
| 1582 | border-radius: $small-radius; |
| 1583 | color: $black !important; |
| 1584 | font-size: 14px; |
| 1585 | transition: background-color 0.07s; |
| 1586 | |
| 1587 | &:hover { |
| 1588 | background-color: $gray-light; |
| 1589 | text-decoration: none; |
| 1590 | } |
| 1591 | } |
| 1592 | |
| 1593 | .user-issues-sidebar__item--active { |
| 1594 | background-color: $gray-light; |
| 1595 | font-weight: 600; |
| 1596 | box-shadow: inset 2px 0 0 $link-color; |
| 1597 | } |
| 1598 | |
| 1599 | .user-issues-sidebar__icon { |
| 1600 | width: 16px; |
| 1601 | height: 16px; |
| 1602 | flex-shrink: 0; |
| 1603 | color: $gray-dark; |
| 1604 | } |
| 1605 | |
| 1606 | .user-issues-main { |
| 1607 | min-width: 0; |
| 1608 | } |
| 1609 | |
| 1610 | .lang_select { |
| 1611 | margin-right: 16px; |
| 1612 | display: inline-flex; |
| 1613 | } |
| 1614 | |
| 1615 | #select_lang { |
| 1616 | appearance: none; |
| 1617 | -webkit-appearance: none; |
| 1618 | -moz-appearance: none; |
| 1619 | background-color: transparent; |
| 1620 | color: $white; |
| 1621 | border: 1px solid rgba(255, 255, 255, 0.18); |
| 1622 | border-radius: $small-radius; |
| 1623 | padding: 5px 26px 5px 10px; |
| 1624 | font-size: 13px; |
| 1625 | line-height: 1.4; |
| 1626 | cursor: pointer; |
| 1627 | background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23ffffff' d='M0 0l5 6 5-6z'/></svg>"); |
| 1628 | background-repeat: no-repeat; |
| 1629 | background-position: right 8px center; |
| 1630 | background-size: 9px 6px; |
| 1631 | transition: border-color 120ms ease, background-color 120ms ease; |
| 1632 | |
| 1633 | &:hover { |
| 1634 | border-color: rgba(255, 255, 255, 0.4); |
| 1635 | background-color: rgba(255, 255, 255, 0.06); |
| 1636 | } |
| 1637 | |
| 1638 | &:focus { |
| 1639 | outline: none; |
| 1640 | border-color: rgba(255, 255, 255, 0.6); |
| 1641 | } |
| 1642 | |
| 1643 | option { |
| 1644 | color: $black; |
| 1645 | background-color: $white; |
| 1646 | } |
| 1647 | } |
| 1648 | |
| 1649 | /* Pull request UI */ |
| 1650 | .pr-tabs { |
| 1651 | display: flex; |
| 1652 | gap: 6px; |
| 1653 | margin-bottom: 16px; |
| 1654 | border-bottom: 1px solid $gray; |
| 1655 | } |
| 1656 | |
| 1657 | .pr-tab { |
| 1658 | padding: 6px 14px; |
| 1659 | color: $gray-dark !important; |
| 1660 | font-size: 13px; |
| 1661 | border-bottom: 2px solid transparent; |
| 1662 | margin-bottom: -1px; |
| 1663 | |
| 1664 | &:hover { |
| 1665 | color: $link-color !important; |
| 1666 | text-decoration: none; |
| 1667 | } |
| 1668 | } |
| 1669 | |
| 1670 | .pr-tab--active { |
| 1671 | color: $black !important; |
| 1672 | border-bottom-color: #fd8c73; |
| 1673 | font-weight: 600; |
| 1674 | } |
| 1675 | |
| 1676 | .pr-status-badge { |
| 1677 | display: inline-block; |
| 1678 | padding: 1px 8px; |
| 1679 | font-size: 11px; |
| 1680 | font-weight: 600; |
| 1681 | border-radius: 2em; |
| 1682 | color: #fff; |
| 1683 | line-height: 1.6; |
| 1684 | text-transform: capitalize; |
| 1685 | } |
| 1686 | |
| 1687 | .pr-status--open { background-color: #1f883d; } |
| 1688 | .pr-status--closed { background-color: #cf222e; } |
| 1689 | .pr-status--merged { background-color: #8250df; } |
| 1690 | |
| 1691 | .pr-header { |
| 1692 | border-bottom: 1px solid $gray; |
| 1693 | padding-bottom: 14px; |
| 1694 | margin: 20px 0 18px; |
| 1695 | |
| 1696 | .pr-header__title { |
| 1697 | font-size: 24px; |
| 1698 | margin: 0; |
| 1699 | padding: 0; |
| 1700 | } |
| 1701 | |
| 1702 | .pr-header__num { |
| 1703 | color: $gray-dark; |
| 1704 | font-weight: 400; |
| 1705 | } |
| 1706 | |
| 1707 | .pr-header__meta { |
| 1708 | margin-top: 6px; |
| 1709 | display: flex; |
| 1710 | gap: 8px; |
| 1711 | align-items: center; |
| 1712 | flex-wrap: wrap; |
| 1713 | color: $gray-dark; |
| 1714 | font-size: 13px; |
| 1715 | |
| 1716 | code { |
| 1717 | background-color: rgba(175, 184, 193, 0.2); |
| 1718 | padding: 1px 6px; |
| 1719 | border-radius: 4px; |
| 1720 | font-size: 12px; |
| 1721 | } |
| 1722 | } |
| 1723 | |
| 1724 | .pr-header__actions { |
| 1725 | margin-top: 12px; |
| 1726 | display: flex; |
| 1727 | gap: 6px; |
| 1728 | } |
| 1729 | } |
| 1730 | |
| 1731 | .pr-tab-link { |
| 1732 | padding: 5px 12px; |
| 1733 | border: 1px solid $gray; |
| 1734 | border-radius: $small-radius; |
| 1735 | color: $link-color !important; |
| 1736 | font-size: 13px; |
| 1737 | background: $white; |
| 1738 | |
| 1739 | &:hover { |
| 1740 | text-decoration: none; |
| 1741 | border-color: $link-color; |
| 1742 | } |
| 1743 | } |
| 1744 | |
| 1745 | .pr-tab-link--active { |
| 1746 | background-color: $gray-light; |
| 1747 | color: $black !important; |
| 1748 | font-weight: 600; |
| 1749 | } |
| 1750 | |
| 1751 | .pr-tab-link--info { |
| 1752 | color: $gray-dark !important; |
| 1753 | cursor: default; |
| 1754 | |
| 1755 | &:hover { |
| 1756 | border-color: $gray; |
| 1757 | } |
| 1758 | } |
| 1759 | |
| 1760 | .pr-body { |
| 1761 | border: 1px solid $gray; |
| 1762 | border-radius: $medium-radius; |
| 1763 | padding: 12px 14px; |
| 1764 | margin-bottom: 14px; |
| 1765 | } |
| 1766 | |
| 1767 | .pr-review-block { |
| 1768 | border: 1px solid $gray; |
| 1769 | border-radius: $medium-radius; |
| 1770 | padding: 12px 14px; |
| 1771 | margin-top: 14px; |
| 1772 | border-left-width: 4px; |
| 1773 | } |
| 1774 | |
| 1775 | .pr-review--approved { border-left-color: #1f883d; } |
| 1776 | .pr-review--changes { border-left-color: #cf222e; } |
| 1777 | .pr-review--comment { border-left-color: $gray; } |
| 1778 | |
| 1779 | .pr-review-header { |
| 1780 | display: flex; |
| 1781 | gap: 8px; |
| 1782 | align-items: center; |
| 1783 | |
| 1784 | img { |
| 1785 | height: 24px; |
| 1786 | width: 24px; |
| 1787 | border-radius: 100%; |
| 1788 | } |
| 1789 | } |
| 1790 | |
| 1791 | .pr-review-body { |
| 1792 | margin: 8px 0 0; |
| 1793 | } |
| 1794 | |
| 1795 | .pr-review-comments { |
| 1796 | list-style: none; |
| 1797 | padding: 0; |
| 1798 | margin: 10px 0 0; |
| 1799 | } |
| 1800 | |
| 1801 | .pr-review-comment { |
| 1802 | background-color: #f6f8fa; |
| 1803 | border-radius: $small-radius; |
| 1804 | padding: 6px 10px; |
| 1805 | margin-bottom: 6px; |
| 1806 | font-size: 13px; |
| 1807 | |
| 1808 | code { |
| 1809 | font-size: 12px; |
| 1810 | } |
| 1811 | |
| 1812 | p { |
| 1813 | margin: 4px 0 0; |
| 1814 | } |
| 1815 | } |
| 1816 | |
| 1817 | .pr-actions { |
| 1818 | display: flex; |
| 1819 | gap: 10px; |
| 1820 | margin-top: 16px; |
| 1821 | border-top: 1px solid $gray; |
| 1822 | padding-top: 14px; |
| 1823 | } |
| 1824 | |
| 1825 | .pr-action-form { |
| 1826 | margin: 0; |
| 1827 | } |
| 1828 | |
| 1829 | .pr-action { |
| 1830 | width: auto !important; |
| 1831 | padding: 6px 14px; |
| 1832 | font-weight: 500; |
| 1833 | font-size: 13px; |
| 1834 | } |
| 1835 | |
| 1836 | .pr-action--merge { |
| 1837 | background-color: #8250df; |
| 1838 | color: $white !important; |
| 1839 | border-color: rgba(130, 80, 223, 0.4); |
| 1840 | |
| 1841 | &:hover { |
| 1842 | background-color: #6f3fc4; |
| 1843 | border-color: rgba(130, 80, 223, 0.6); |
| 1844 | } |
| 1845 | } |
| 1846 | |
| 1847 | .pr-action--close { |
| 1848 | color: #cf222e !important; |
| 1849 | border-color: rgba(207, 34, 46, 0.4); |
| 1850 | |
| 1851 | &:hover { |
| 1852 | background-color: #cf222e; |
| 1853 | color: $white !important; |
| 1854 | border-color: #cf222e; |
| 1855 | } |
| 1856 | } |
| 1857 | |
| 1858 | .pr-action--review { |
| 1859 | background-color: #1f883d; |
| 1860 | color: $white !important; |
| 1861 | border-color: rgba(31, 136, 61, 0.4); |
| 1862 | |
| 1863 | &:hover { |
| 1864 | background-color: #1a7f37; |
| 1865 | } |
| 1866 | } |
| 1867 | |
| 1868 | .pr-compare-desc { |
| 1869 | color: $gray-dark; |
| 1870 | margin-bottom: 16px; |
| 1871 | font-size: 13px; |
| 1872 | } |
| 1873 | |
| 1874 | .pr-compare-form { |
| 1875 | display: flex; |
| 1876 | gap: 10px; |
| 1877 | align-items: center; |
| 1878 | padding: 12px; |
| 1879 | border: 1px solid $gray; |
| 1880 | border-radius: $medium-radius; |
| 1881 | background-color: #fafbfc; |
| 1882 | flex-wrap: wrap; |
| 1883 | } |
| 1884 | |
| 1885 | .pr-compare-label { |
| 1886 | display: flex; |
| 1887 | gap: 6px; |
| 1888 | align-items: center; |
| 1889 | font-size: 13px; |
| 1890 | color: $gray-dark; |
| 1891 | |
| 1892 | select { |
| 1893 | min-width: 160px; |
| 1894 | padding: 4px 8px; |
| 1895 | } |
| 1896 | } |
| 1897 | |
| 1898 | .pr-compare-arrow { |
| 1899 | color: $gray-dark; |
| 1900 | } |
| 1901 | |
| 1902 | .pr-compare-btn { |
| 1903 | width: auto !important; |
| 1904 | padding: 5px 12px; |
| 1905 | } |
| 1906 | |
| 1907 | .pr-compare-summary { |
| 1908 | margin: 14px 0; |
| 1909 | color: $gray-dark; |
| 1910 | font-size: 13px; |
| 1911 | } |
| 1912 | |
| 1913 | .pr-new-form { |
| 1914 | border: 1px solid $gray; |
| 1915 | border-radius: $medium-radius; |
| 1916 | padding: 14px; |
| 1917 | margin-bottom: 18px; |
| 1918 | background-color: $white; |
| 1919 | |
| 1920 | input[type="text"], |
| 1921 | textarea { |
| 1922 | width: 100%; |
| 1923 | box-sizing: border-box; |
| 1924 | } |
| 1925 | } |
| 1926 | |
| 1927 | .pr-new-submit { |
| 1928 | background-color: #1f883d; |
| 1929 | color: $white !important; |
| 1930 | width: auto !important; |
| 1931 | padding: 7px 18px; |
| 1932 | font-weight: 500; |
| 1933 | |
| 1934 | &:hover { |
| 1935 | background-color: #1a7f37; |
| 1936 | } |
| 1937 | } |
| 1938 | |
| 1939 | .pr-commits { |
| 1940 | list-style: none; |
| 1941 | padding: 0; |
| 1942 | border: 1px solid $gray; |
| 1943 | border-radius: $medium-radius; |
| 1944 | margin: 8px 0 18px; |
| 1945 | } |
| 1946 | |
| 1947 | .pr-commit { |
| 1948 | display: flex; |
| 1949 | gap: 10px; |
| 1950 | padding: 8px 12px; |
| 1951 | border-top: 1px solid $gray; |
| 1952 | font-size: 13px; |
| 1953 | |
| 1954 | &:first-child { |
| 1955 | border-top: none; |
| 1956 | } |
| 1957 | } |
| 1958 | |
| 1959 | .pr-commit__hash { |
| 1960 | color: $gray-dark; |
| 1961 | font-size: 12px; |
| 1962 | font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; |
| 1963 | } |
| 1964 | |
| 1965 | .pr-commit__msg { |
| 1966 | flex: 1; |
| 1967 | } |
| 1968 | |
| 1969 | .pr-commit__author { |
| 1970 | color: $gray-dark; |
| 1971 | font-size: 12px; |
| 1972 | } |
| 1973 | |
| 1974 | .pr-files-summary { |
| 1975 | list-style: none; |
| 1976 | padding: 0; |
| 1977 | border: 1px solid $gray; |
| 1978 | border-radius: $medium-radius; |
| 1979 | margin: 8px 0 18px; |
| 1980 | } |
| 1981 | |
| 1982 | .pr-file-summary { |
| 1983 | display: flex; |
| 1984 | gap: 10px; |
| 1985 | padding: 6px 12px; |
| 1986 | border-top: 1px solid $gray; |
| 1987 | font-size: 13px; |
| 1988 | |
| 1989 | &:first-child { |
| 1990 | border-top: none; |
| 1991 | } |
| 1992 | |
| 1993 | a { |
| 1994 | flex: 1; |
| 1995 | } |
| 1996 | } |
| 1997 | |
| 1998 | .pr-file-summary__add { color: #1f883d; } |
| 1999 | .pr-file-summary__del { color: #cf222e; } |
| 2000 | |
| 2001 | .pr-diff { |
| 2002 | border: 1px solid $gray; |
| 2003 | border-radius: $medium-radius; |
| 2004 | margin-bottom: 18px; |
| 2005 | overflow: hidden; |
| 2006 | } |
| 2007 | |
| 2008 | .pr-diff__header { |
| 2009 | display: flex; |
| 2010 | justify-content: space-between; |
| 2011 | background-color: #f6f8fa; |
| 2012 | padding: 8px 12px; |
| 2013 | border-bottom: 1px solid $gray; |
| 2014 | font-size: 13px; |
| 2015 | } |
| 2016 | |
| 2017 | .pr-diff__path { |
| 2018 | font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; |
| 2019 | font-weight: 600; |
| 2020 | } |
| 2021 | |
| 2022 | .pr-diff__counts { |
| 2023 | display: flex; |
| 2024 | gap: 8px; |
| 2025 | font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; |
| 2026 | } |
| 2027 | |
| 2028 | .pr-diff__add { color: #1f883d; } |
| 2029 | .pr-diff__del { color: #cf222e; } |
| 2030 | |
| 2031 | .pr-diff__binary { |
| 2032 | padding: 14px; |
| 2033 | color: $gray-dark; |
| 2034 | text-align: center; |
| 2035 | font-style: italic; |
| 2036 | } |
| 2037 | |
| 2038 | .pr-diff__table { |
| 2039 | width: 100%; |
| 2040 | border-collapse: collapse; |
| 2041 | font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; |
| 2042 | font-size: 12px; |
| 2043 | background-color: $white; |
| 2044 | } |
| 2045 | |
| 2046 | .pr-diff__hunk-header td, |
| 2047 | .pr-diff__hunk-header td code { |
| 2048 | background-color: #ddf4ff; |
| 2049 | color: #57606a; |
| 2050 | padding: 4px 12px; |
| 2051 | font-size: 12px; |
| 2052 | font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; |
| 2053 | } |
| 2054 | |
| 2055 | .pr-diff__row td { |
| 2056 | padding: 0 8px; |
| 2057 | white-space: pre; |
| 2058 | vertical-align: top; |
| 2059 | line-height: 1.5; |
| 2060 | font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; |
| 2061 | font-size: 12px; |
| 2062 | } |
| 2063 | |
| 2064 | .pr-diff__row--context td { background-color: $white; } |
| 2065 | .pr-diff__row--add td { background-color: #e6ffec; } |
| 2066 | .pr-diff__row--del td { background-color: #ffebe9; } |
| 2067 | |
| 2068 | .pr-diff__lineno { |
| 2069 | color: rgba(36, 41, 46, 0.4); |
| 2070 | text-align: right; |
| 2071 | width: 1%; |
| 2072 | user-select: none; |
| 2073 | min-width: 40px; |
| 2074 | border-right: 1px solid rgba(0, 0, 0, 0.04); |
| 2075 | } |
| 2076 | |
| 2077 | .pr-diff__sign { |
| 2078 | width: 1%; |
| 2079 | user-select: none; |
| 2080 | } |
| 2081 | |
| 2082 | .pr-diff__content { |
| 2083 | width: 100%; |
| 2084 | |
| 2085 | pre { |
| 2086 | margin: 0; |
| 2087 | font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; |
| 2088 | font-size: 12px; |
| 2089 | white-space: pre; |
| 2090 | } |
| 2091 | |
| 2092 | b { |
| 2093 | font-weight: 600; |
| 2094 | color: #cf222e; |
| 2095 | } |
| 2096 | |
| 2097 | u { |
| 2098 | text-decoration: none; |
| 2099 | color: #0a3069; |
| 2100 | } |
| 2101 | |
| 2102 | i { |
| 2103 | font-style: normal; |
| 2104 | color: #6e7781; |
| 2105 | } |
| 2106 | } |
| 2107 | |
| 2108 | .pr-diff__commentrow td { |
| 2109 | background-color: $white; |
| 2110 | padding: 4px 8px; |
| 2111 | } |
| 2112 | |
| 2113 | .pr-diff__commentbox { |
| 2114 | width: 100%; |
| 2115 | box-sizing: border-box; |
| 2116 | font-family: system-ui, sans-serif; |
| 2117 | font-size: 13px; |
| 2118 | } |
| 2119 | |
| 2120 | .pr-diff__inline-comment td { |
| 2121 | background-color: #fffbea; |
| 2122 | padding: 8px 12px; |
| 2123 | } |
| 2124 | |
| 2125 | .pr-inline-comment { |
| 2126 | font-family: system-ui, sans-serif; |
| 2127 | |
| 2128 | p { |
| 2129 | margin: 4px 0 0; |
| 2130 | } |
| 2131 | } |
| 2132 | |
| 2133 | .pr-inline-comment__meta { |
| 2134 | color: $gray-dark; |
| 2135 | font-size: 12px; |
| 2136 | } |
| 2137 | |
| 2138 | .pr-review-form { |
| 2139 | margin: 0; |
| 2140 | } |
| 2141 | |
| 2142 | .pr-review-submit { |
| 2143 | border: 1px solid $gray; |
| 2144 | border-radius: $medium-radius; |
| 2145 | padding: 12px; |
| 2146 | margin-bottom: 18px; |
| 2147 | background-color: #f6f8fa; |
| 2148 | |
| 2149 | textarea { |
| 2150 | width: 100%; |
| 2151 | box-sizing: border-box; |
| 2152 | margin-bottom: 10px; |
| 2153 | } |
| 2154 | } |
| 2155 | |
| 2156 | .pr-review-actions { |
| 2157 | display: flex; |
| 2158 | gap: 16px; |
| 2159 | align-items: center; |
| 2160 | flex-wrap: wrap; |
| 2161 | font-size: 13px; |
| 2162 | } |
| 2163 | |
| 2164 | .inline-form { |
| 2165 | display: inline-block; |
| 2166 | margin: 0; |
| 2167 | } |
| 2168 | |
| 2169 | .link-button { |
| 2170 | font-size: 13px; |
| 2171 | padding: 5px 12px; |
| 2172 | background-color: $white; |
| 2173 | color: $black; |
| 2174 | border: 1px solid $gray; |
| 2175 | border-radius: $small-radius; |
| 2176 | cursor: pointer; |
| 2177 | font-family: inherit; |
| 2178 | line-height: 1.4; |
| 2179 | transition: background-color 0.07s, border-color 0.07s; |
| 2180 | |
| 2181 | &:hover { |
| 2182 | background-color: #f3f4f6; |
| 2183 | text-decoration: none; |
| 2184 | } |
| 2185 | } |
| 2186 | |
| 2187 | .link-button--danger { |
| 2188 | color: #cf222e; |
| 2189 | border-color: rgba(207, 34, 46, 0.3); |
| 2190 | |
| 2191 | &:hover { |
| 2192 | background-color: #cf222e; |
| 2193 | color: $white; |
| 2194 | border-color: #cf222e; |
| 2195 | } |
| 2196 | } |
| 2197 | |
| 2198 | .project-desc { |
| 2199 | color: $gray-dark; |
| 2200 | margin: -8px 0 20px; |
| 2201 | font-size: 14px; |
| 2202 | line-height: 1.5; |
| 2203 | } |
| 2204 | |
| 2205 | .kanban-board { |
| 2206 | display: flex; |
| 2207 | gap: 14px; |
| 2208 | align-items: flex-start; |
| 2209 | overflow-x: auto; |
| 2210 | padding: 4px 0 16px; |
| 2211 | margin: 0 -4px; |
| 2212 | } |
| 2213 | |
| 2214 | .kanban-column { |
| 2215 | flex: 0 0 280px; |
| 2216 | background-color: #f6f8fa; |
| 2217 | border: 1px solid $gray; |
| 2218 | border-radius: $medium-radius; |
| 2219 | display: flex; |
| 2220 | flex-direction: column; |
| 2221 | max-height: calc(100vh - 220px); |
| 2222 | } |
| 2223 | |
| 2224 | .kanban-column--add { |
| 2225 | background-color: transparent; |
| 2226 | border: 1px dashed $gray; |
| 2227 | |
| 2228 | .kanban-card-form { |
| 2229 | border-top: none; |
| 2230 | padding: 12px; |
| 2231 | } |
| 2232 | } |
| 2233 | |
| 2234 | .kanban-column__header { |
| 2235 | display: flex; |
| 2236 | align-items: center; |
| 2237 | justify-content: space-between; |
| 2238 | gap: 8px; |
| 2239 | padding: 10px 12px; |
| 2240 | border-bottom: 1px solid $gray; |
| 2241 | |
| 2242 | h3 { |
| 2243 | margin: 0; |
| 2244 | font-size: 13px; |
| 2245 | font-weight: 600; |
| 2246 | color: $black; |
| 2247 | text-transform: uppercase; |
| 2248 | letter-spacing: 0.4px; |
| 2249 | } |
| 2250 | |
| 2251 | .inline-form { |
| 2252 | display: inline; |
| 2253 | margin: 0; |
| 2254 | } |
| 2255 | |
| 2256 | .link-button--danger { |
| 2257 | color: $gray-dark; |
| 2258 | font-size: 18px; |
| 2259 | line-height: 1; |
| 2260 | background: none; |
| 2261 | border: none; |
| 2262 | cursor: pointer; |
| 2263 | padding: 0 4px; |
| 2264 | opacity: 0; |
| 2265 | transition: opacity 0.1s, color 0.1s, background-color 0.1s; |
| 2266 | |
| 2267 | &:hover { |
| 2268 | color: #cf222e; |
| 2269 | background: none; |
| 2270 | } |
| 2271 | } |
| 2272 | } |
| 2273 | |
| 2274 | .kanban-column:hover .kanban-column__header .link-button--danger { |
| 2275 | opacity: 1; |
| 2276 | } |
| 2277 | |
| 2278 | .kanban-cards { |
| 2279 | list-style: none; |
| 2280 | margin: 0; |
| 2281 | padding: 10px; |
| 2282 | display: flex; |
| 2283 | flex-direction: column; |
| 2284 | gap: 8px; |
| 2285 | overflow-y: auto; |
| 2286 | flex: 1; |
| 2287 | } |
| 2288 | |
| 2289 | .kanban-cards__empty { |
| 2290 | color: $gray-dark; |
| 2291 | font-size: 13px; |
| 2292 | text-align: center; |
| 2293 | padding: 16px 8px; |
| 2294 | border: 1px dashed $gray; |
| 2295 | border-radius: $small-radius; |
| 2296 | background-color: $white; |
| 2297 | } |
| 2298 | |
| 2299 | .kanban-card { |
| 2300 | background-color: $white; |
| 2301 | border: 1px solid $gray; |
| 2302 | border-radius: $small-radius; |
| 2303 | padding: 10px 12px; |
| 2304 | box-shadow: 0 1px 0 rgba(27, 31, 36, 0.04); |
| 2305 | transition: box-shadow 0.07s, border-color 0.07s; |
| 2306 | |
| 2307 | &:hover { |
| 2308 | border-color: #b8b8b8; |
| 2309 | box-shadow: 0 1px 3px rgba(27, 31, 36, 0.08); |
| 2310 | |
| 2311 | .kanban-card__actions { |
| 2312 | opacity: 1; |
| 2313 | } |
| 2314 | } |
| 2315 | } |
| 2316 | |
| 2317 | .kanban-card__title { |
| 2318 | font-weight: 500; |
| 2319 | font-size: 14px; |
| 2320 | color: $black; |
| 2321 | line-height: 1.4; |
| 2322 | } |
| 2323 | |
| 2324 | .kanban-card__note { |
| 2325 | color: $gray-dark; |
| 2326 | font-size: 12px; |
| 2327 | margin: 6px 0 0; |
| 2328 | line-height: 1.45; |
| 2329 | white-space: pre-wrap; |
| 2330 | } |
| 2331 | |
| 2332 | .kanban-card__actions { |
| 2333 | display: flex; |
| 2334 | align-items: center; |
| 2335 | gap: 8px; |
| 2336 | margin-top: 10px; |
| 2337 | padding-top: 8px; |
| 2338 | border-top: 1px solid $gray-light; |
| 2339 | opacity: 0; |
| 2340 | transition: opacity 0.1s; |
| 2341 | |
| 2342 | .inline-form { |
| 2343 | display: inline-flex; |
| 2344 | gap: 4px; |
| 2345 | margin: 0; |
| 2346 | align-items: center; |
| 2347 | } |
| 2348 | |
| 2349 | select { |
| 2350 | font-size: 12px; |
| 2351 | padding: 3px 6px; |
| 2352 | border: 1px solid $gray; |
| 2353 | border-radius: $small-radius; |
| 2354 | background-color: $white; |
| 2355 | color: $black; |
| 2356 | max-width: 130px; |
| 2357 | } |
| 2358 | |
| 2359 | .link-button { |
| 2360 | font-size: 12px; |
| 2361 | padding: 3px 8px; |
| 2362 | background-color: $white; |
| 2363 | border: 1px solid $gray; |
| 2364 | border-radius: $small-radius; |
| 2365 | color: $black; |
| 2366 | cursor: pointer; |
| 2367 | |
| 2368 | &:hover { |
| 2369 | background-color: #f3f4f6; |
| 2370 | } |
| 2371 | } |
| 2372 | |
| 2373 | .link-button--danger { |
| 2374 | color: #cf222e; |
| 2375 | margin-left: auto; |
| 2376 | border-color: transparent; |
| 2377 | background: none; |
| 2378 | padding: 3px 4px; |
| 2379 | |
| 2380 | &:hover { |
| 2381 | background-color: rgba(207, 34, 46, 0.08); |
| 2382 | } |
| 2383 | } |
| 2384 | } |
| 2385 | |
| 2386 | .kanban-card-form { |
| 2387 | display: flex; |
| 2388 | flex-direction: column; |
| 2389 | gap: 6px; |
| 2390 | padding: 10px; |
| 2391 | border-top: 1px solid $gray; |
| 2392 | background-color: $white; |
| 2393 | border-bottom-left-radius: $medium-radius; |
| 2394 | border-bottom-right-radius: $medium-radius; |
| 2395 | |
| 2396 | input[type="text"], |
| 2397 | textarea { |
| 2398 | font-size: 13px; |
| 2399 | padding: 6px 8px; |
| 2400 | border: 1px solid $gray; |
| 2401 | border-radius: $small-radius; |
| 2402 | font-family: inherit; |
| 2403 | color: $black; |
| 2404 | background-color: $white; |
| 2405 | box-sizing: border-box; |
| 2406 | width: 100%; |
| 2407 | resize: vertical; |
| 2408 | |
| 2409 | &:focus { |
| 2410 | outline: none; |
| 2411 | border-color: #0969da; |
| 2412 | box-shadow: 0 0 0 2px rgba(9, 105, 218, 0.18); |
| 2413 | } |
| 2414 | } |
| 2415 | |
| 2416 | textarea { |
| 2417 | min-height: 38px; |
| 2418 | } |
| 2419 | |
| 2420 | .link-button { |
| 2421 | align-self: flex-start; |
| 2422 | font-size: 12px; |
| 2423 | padding: 5px 12px; |
| 2424 | background-color: #1f883d; |
| 2425 | color: $white; |
| 2426 | border: 1px solid rgba(31, 136, 61, 0.6); |
| 2427 | border-radius: $small-radius; |
| 2428 | font-weight: 500; |
| 2429 | cursor: pointer; |
| 2430 | |
| 2431 | &:hover { |
| 2432 | background-color: #1a7f37; |
| 2433 | } |
| 2434 | } |
| 2435 | } |
| 2436 | |
| 2437 | .kanban-column--add .kanban-card-form .link-button { |
| 2438 | background-color: $white; |
| 2439 | color: $black; |
| 2440 | border-color: $gray; |
| 2441 | |
| 2442 | &:hover { |
| 2443 | background-color: #f3f4f6; |
| 2444 | } |
| 2445 | } |
| 2446 | |
| 2447 | |
| 2448 | |
| 2449 | |
| 2450 | @import "files.scss", "langs.scss", "tree.scss", "commits.scss", "hl_table.scss", "branches.scss", "admin.scss", |
| 2451 | "blob.scss", "contributors.scss", "issues.scss", "user.scss", "releases.scss", "feed.scss", "search.scss"; |
| 2452 | |
| 2453 | |