code.gitea.io/gitea@v1.21.7/web_src/css/repo.css (about) 1 .repository .data-table .line-num, 2 .repository .diff-file-box .file-body.file-code .lines-num, 3 .repository .diff-file-box .code-diff tbody tr .lines-type-marker { 4 user-select: none; 5 } 6 7 .repository .repo-header .ui.compact.menu { 8 margin-left: 1rem; 9 } 10 11 .repository .repo-header .ui.header { 12 margin-top: 0; 13 } 14 15 .repository .repo-header .fork-flag { 16 font-size: 12px; 17 margin-top: 2px; 18 } 19 20 .repository .tabs .navbar { 21 justify-content: initial; 22 } 23 24 .repository .navbar { 25 display: flex; 26 justify-content: space-between; 27 } 28 29 .repository .navbar .ui.label { 30 margin-left: 7px; 31 padding: 3px 5px; 32 } 33 34 .repository .owner.dropdown { 35 min-width: 40% !important; 36 } 37 38 .repository .unicode-escaped .escaped-code-point[data-escaped]::before { 39 visibility: visible; 40 content: attr(data-escaped); 41 font-family: var(--fonts-monospace); 42 color: var(--color-red); 43 } 44 45 .repository .unicode-escaped .escaped-code-point .char { 46 display: none; 47 } 48 49 .repository .broken-code-point { 50 font-family: var(--fonts-monospace); 51 color: var(--color-blue); 52 } 53 54 .repository .unicode-escaped .ambiguous-code-point { 55 border: 1px var(--color-yellow) solid; 56 } 57 58 .issue-content { 59 display: flex; 60 align-items: flex-start; 61 gap: 16px; 62 } 63 64 @media (max-width: 767.98px) { 65 .issue-content { 66 flex-direction: column; 67 } 68 } 69 70 .issue-content-left { 71 margin: 0 !important; 72 width: calc(100% - 316px); 73 } 74 75 .issue-content-right { 76 margin: 0 !important; 77 width: 300px; 78 } 79 80 @media (max-width: 767.98px) { 81 .issue-content-left, 82 .issue-content-right { 83 width: 100%; 84 } 85 } 86 87 .repository .issue-content-right .menu { 88 overflow-x: auto; 89 max-height: 500px; 90 } 91 92 .repository .issue-content-right .ui.list .dependency { 93 padding: 0; 94 white-space: nowrap; 95 } 96 97 .repository .issue-content-right .ui.list .title { 98 overflow: hidden; 99 text-overflow: ellipsis; 100 } 101 102 .repository .issue-content-right #deadlineForm input { 103 width: 12.8rem; 104 border-radius: var(--border-radius) 0 0 var(--border-radius); 105 border-right: 0; 106 white-space: nowrap; 107 } 108 109 .repository .header-wrapper { 110 background-color: var(--color-header-wrapper); 111 } 112 113 .repository .header-wrapper .ui.tabular .svg { 114 margin-right: 5px; 115 } 116 117 .repository .filter.menu.labels .label-filter .menu .info { 118 display: inline-block; 119 padding: 0.5rem 0; 120 font-size: 12px; 121 width: 100%; 122 white-space: nowrap; 123 margin-left: 10px; 124 margin-right: 8px; 125 text-align: left; 126 } 127 128 .repository .filter.menu.labels .label-filter .menu .info code { 129 border: 1px solid var(--color-secondary); 130 border-radius: var(--border-radius); 131 padding: 1px 2px; 132 font-size: 11px; 133 } 134 135 /* make all issue filter dropdown menus popup leftward, to avoid go out the viewport (right side) */ 136 .repository .filter.menu .ui.dropdown .menu { 137 max-height: 500px; 138 max-width: 300px; 139 overflow-x: hidden; 140 right: 0; 141 left: auto; 142 } 143 144 /* the label-filter is the first dropdown, it shouldn't be shown leftward, otherwise it may go out the viewport (left side) */ 145 .repository .filter.menu .ui.dropdown.label-filter .menu { 146 min-width: max-content; 147 right: unset; 148 left: 0; 149 } 150 151 .repository .filter.menu .ui.dropdown .menu .item { 152 overflow: hidden; 153 text-overflow: ellipsis; 154 } 155 156 .repository .select-label .desc { 157 padding-left: 23px; 158 } 159 160 /* For the secondary pointing menu, respect its own border-bottom */ 161 /* style reference: https://semantic-ui.com/collections/menu.html#pointing */ 162 .repository .ui.tabs.container .ui.menu:not(.secondary.pointing) { 163 border-bottom: 0; 164 } 165 166 .repository .ui.tabs.divider { 167 margin-top: -1px; 168 margin-bottom: 12px; 169 } 170 171 .repository #clone-panel #repo-clone-url { 172 width: 320px; 173 border-radius: 0; 174 } 175 176 @media (min-width: 768px) and (max-width: 991.98px) { 177 .repository #clone-panel #repo-clone-url { 178 width: 200px; 179 } 180 } 181 182 @media (max-width: 767.98px) { 183 .repository #clone-panel #repo-clone-url { 184 width: 200px; 185 } 186 } 187 188 .repository #clone-panel #repo-clone-https, 189 .repository #clone-panel #repo-clone-ssh { 190 border-right: none; 191 } 192 193 .repository #clone-panel #more-btn { 194 border-left: none; 195 } 196 197 .repository #clone-panel button:first-of-type { 198 border-radius: var(--border-radius) 0 0 var(--border-radius) !important; 199 } 200 201 .repository #clone-panel button:last-of-type { 202 border-radius: 0 var(--border-radius) var(--border-radius) 0 !important; 203 } 204 205 .repository #clone-panel .dropdown .menu { 206 right: 0 !important; 207 left: auto !important; 208 } 209 210 .repository.file.list .repo-description { 211 display: flex; 212 justify-content: space-between; 213 align-items: center; 214 gap: 5px; 215 margin-bottom: 5px; 216 } 217 218 @media (max-width: 767.98px) { 219 .repository.file.list .repo-description { 220 flex-direction: column; 221 align-items: stretch; 222 } 223 } 224 225 .repository.file.list .repo-path { 226 word-break: break-word; 227 } 228 229 .repository.file.list #repo-files-table { 230 table-layout: fixed; 231 } 232 233 .repository.file.list #repo-files-table thead th { 234 font-weight: var(--font-weight-normal); 235 } 236 237 .repository.file.list #repo-files-table tbody .svg { 238 margin-left: 3px; 239 margin-right: 5px; 240 } 241 242 .repository.file.list #repo-files-table tbody .svg.octicon-reply { 243 margin-right: 10px; 244 } 245 246 .repository.file.list #repo-files-table tbody .svg.octicon-file-directory-fill, 247 .repository.file.list #repo-files-table tbody .svg.octicon-file-submodule { 248 color: var(--color-primary); 249 } 250 251 .repository.file.list #repo-files-table tbody .svg.octicon-file, 252 .repository.file.list #repo-files-table tbody .svg.octicon-file-symlink-file, 253 .repository.file.list #repo-files-table tbody .svg.octicon-file-directory-symlink { 254 color: var(--color-secondary-dark-7); 255 } 256 257 .repository.file.list #repo-files-table td { 258 padding-top: 0; 259 padding-bottom: 0; 260 overflow: initial; 261 } 262 263 .repository.file.list #repo-files-table td.name { 264 width: 33%; 265 max-width: calc(100vw - 140px); 266 } 267 268 @media (min-width: 1201px) { 269 .repository.file.list #repo-files-table td.name { 270 max-width: 150px; 271 } 272 } 273 274 @media (min-width: 992px) and (max-width: 1200px) { 275 .repository.file.list #repo-files-table td.name { 276 max-width: 200px; 277 } 278 } 279 280 @media (min-width: 768px) and (max-width: 991.98px) { 281 .repository.file.list #repo-files-table td.name { 282 max-width: 300px; 283 } 284 } 285 286 .repository.file.list #repo-files-table td.message { 287 color: var(--color-text-light-1); 288 width: 66%; 289 } 290 291 @media (min-width: 1201px) { 292 .repository.file.list #repo-files-table td.message { 293 max-width: 400px; 294 } 295 } 296 297 @media (min-width: 992px) and (max-width: 1200px) { 298 .repository.file.list #repo-files-table td.message { 299 max-width: 350px; 300 } 301 } 302 303 @media (min-width: 768px) and (max-width: 991.98px) { 304 .repository.file.list #repo-files-table td.message { 305 max-width: 250px; 306 } 307 } 308 309 .repository.file.list #repo-files-table td.age { 310 width: 120px; 311 color: var(--color-text-light-1); 312 } 313 314 .repository.file.list #repo-files-table td .truncate { 315 display: inline-block; 316 overflow: hidden; 317 text-overflow: ellipsis; 318 white-space: nowrap; 319 width: 100%; 320 padding-top: 8px; 321 padding-bottom: 8px; 322 } 323 324 .repository.file.list #repo-files-table td a { 325 padding-top: 8px; 326 padding-bottom: 8px; 327 } 328 329 .repository.file.list #repo-files-table td .at { 330 margin-left: 3px; 331 margin-right: 3px; 332 } 333 334 .repository.file.list #repo-files-table td > * { 335 vertical-align: middle; 336 } 337 338 .repository.file.list #repo-files-table td.message .isSigned { 339 cursor: default; 340 } 341 342 .repository.file.list #repo-files-table tr:last-of-type td:first-child { 343 border-bottom-left-radius: var(--border-radius); 344 } 345 346 .repository.file.list #repo-files-table tr:last-of-type td:last-child { 347 border-bottom-right-radius: var(--border-radius); 348 } 349 350 .repository.file.list #repo-files-table tr:hover { 351 background-color: var(--color-hover); 352 } 353 354 .repository.file.list #repo-files-table tr.has-parent a { 355 display: inline-block; 356 padding-top: 8px; 357 padding-bottom: 8px; 358 width: calc(100% - 1.25rem); 359 } 360 361 .repository.file.list .non-diff-file-content .header .icon { 362 font-size: 1em; 363 } 364 365 .repository.file.list .non-diff-file-content .header .small.icon { 366 font-size: 0.75em; 367 } 368 369 .repository.file.list .non-diff-file-content .header .tiny.icon { 370 font-size: 0.5em; 371 } 372 373 .repository.file.list .non-diff-file-content .header .file-actions .btn-octicon { 374 line-height: var(--line-height-default); 375 padding: 8px; 376 vertical-align: middle; 377 color: var(--color-text); 378 } 379 380 .repository.file.list .non-diff-file-content .header .file-actions .btn-octicon:hover { 381 color: var(--color-primary); 382 } 383 384 .repository.file.list .non-diff-file-content .header .file-actions .btn-octicon-danger:hover { 385 color: var(--color-red); 386 } 387 388 .repository.file.list .non-diff-file-content .header .file-actions .btn-octicon.disabled { 389 color: inherit; 390 opacity: var(--opacity-disabled); 391 cursor: default; 392 } 393 394 .view-raw { 395 display: flex; 396 justify-content: center; 397 align-items: center; 398 } 399 400 .view-raw > * { 401 max-width: 100%; 402 } 403 404 .view-raw audio, 405 .view-raw video, 406 .view-raw img { 407 margin: 1rem 0; 408 border-radius: 0; 409 object-fit: contain; 410 } 411 412 .view-raw img[src$=".svg" i] { 413 max-height: 600px !important; 414 max-width: 600px !important; 415 } 416 417 .pdf-content { 418 width: 100%; 419 height: 600px; 420 border: none !important; 421 display: flex; 422 align-items: center; 423 justify-content: center; 424 } 425 426 .pdf-content .pdf-fallback-button { 427 margin: 50px auto; 428 } 429 430 .repository.file.list .non-diff-file-content .plain-text { 431 padding: 1em 2em; 432 } 433 434 .repository.file.list .non-diff-file-content .plain-text pre { 435 word-break: break-word; 436 white-space: pre-wrap; 437 } 438 439 .repository.file.list .non-diff-file-content .csv { 440 overflow-x: auto; 441 padding: 0 !important; 442 } 443 444 .repository.file.list .non-diff-file-content pre { 445 overflow: auto; 446 } 447 448 .repository.file.list .non-diff-file-content .asciicast { 449 padding: 0 !important; 450 } 451 452 .non-diff-file-content .attached.segment, 453 .non-diff-file-content .pdfobject { 454 border-radius: 0 0 var(--border-radius) var(--border-radius); 455 } 456 457 .repository.file.list .sidebar { 458 padding-left: 0; 459 } 460 461 .repository.file.list .sidebar .svg { 462 width: 16px; 463 } 464 465 .repo-editor-header { 466 width: 100%; 467 } 468 469 .repo-editor-header input { 470 vertical-align: middle !important; 471 width: auto !important; 472 padding: 7px 8px !important; 473 margin-right: 5px !important; 474 } 475 476 .repository.file.editor .tabular.menu .svg { 477 margin-right: 5px; 478 } 479 480 .repository.file.editor .commit-form-wrapper { 481 padding-left: 64px; 482 } 483 484 .repository.file.editor .commit-form-wrapper .commit-avatar { 485 float: left; 486 margin-left: -64px; 487 width: 3em; 488 height: auto; 489 } 490 491 .repository.file.editor .commit-form-wrapper .commit-form { 492 position: relative; 493 padding: 15px; 494 margin-bottom: 10px; 495 border: 1px solid var(--color-secondary); 496 background: var(--color-box-body); 497 border-radius: var(--border-radius); 498 } 499 500 .repository.file.editor .commit-form-wrapper .commit-form::before, 501 .repository.file.editor .commit-form-wrapper .commit-form::after { 502 right: 100%; 503 top: 20px; 504 border: solid transparent; 505 content: " "; 506 height: 0; 507 width: 0; 508 position: absolute; 509 pointer-events: none; 510 } 511 512 .repository.file.editor .commit-form-wrapper .commit-form::before { 513 border-right-color: var(--color-secondary); 514 border-width: 9px; 515 margin-top: -9px; 516 } 517 518 .repository.file.editor .commit-form-wrapper .commit-form::after { 519 border-right-color: var(--color-box-body); 520 border-width: 8px; 521 margin-top: -8px; 522 } 523 524 .repository.file.editor .commit-form-wrapper .commit-form .quick-pull-choice .branch-name { 525 display: inline-block; 526 padding: 2px 4px; 527 font: 12px var(--fonts-monospace); 528 color: var(--color-text); 529 background: var(--color-secondary); 530 border-radius: var(--border-radius); 531 margin: 0 2px; 532 } 533 534 .repository.file.editor .commit-form-wrapper .commit-form .quick-pull-choice .new-branch-name-input { 535 position: relative; 536 margin-left: 25px; 537 } 538 539 .repository.file.editor .commit-form-wrapper .commit-form .quick-pull-choice .new-branch-name-input input { 540 width: 240px !important; 541 padding-left: 26px !important; 542 } 543 544 .repository.file.editor .commit-form-wrapper .commit-form .quick-pull-choice .octicon-git-branch { 545 position: absolute; 546 top: 9px; 547 left: 10px; 548 color: var(--color-grey); 549 } 550 551 .repository.options #interval { 552 width: 100px !important; 553 min-width: 100px; 554 } 555 556 .repository.new.issue .comment.form .comment .avatar { 557 width: 3em; 558 } 559 560 .repository.new.issue .comment.form .content { 561 margin-left: 4em; 562 } 563 564 .repository.new.issue .comment.form .content::before, 565 .repository.new.issue .comment.form .content::after { 566 right: 100%; 567 top: 20px; 568 border: solid transparent; 569 content: " "; 570 height: 0; 571 width: 0; 572 position: absolute; 573 pointer-events: none; 574 } 575 576 .repository.new.issue .comment.form .content::before { 577 border-right-color: var(--color-secondary); 578 border-width: 9px; 579 margin-top: -9px; 580 } 581 582 .repository.new.issue .comment.form .content::after { 583 border-right-color: var(--color-box-body); 584 border-width: 8px; 585 margin-top: -8px; 586 } 587 588 .repository.new.issue .comment.form .content .markup { 589 font-size: 14px; 590 } 591 592 .repository.new.issue .comment.form .issue-content-right .filter.menu { 593 max-height: 500px; 594 overflow-x: auto; 595 } 596 597 .repository.view.issue .instruct-toggle { 598 display: inline-block; 599 } 600 601 .issue-title-header { 602 width: 100%; 603 padding-bottom: 4px; 604 margin-bottom: 1rem; 605 } 606 607 .issue-title-meta { 608 display: flex; 609 align-items: center; 610 } 611 612 .repository.view.issue .issue-title-buttons, 613 .repository.view.issue .edit-buttons { 614 display: flex; 615 } 616 617 @media (max-width: 767.98px) { 618 .repository.view.issue .issue-title { 619 flex-direction: column; 620 } 621 .repository.view.issue .issue-title-buttons, 622 .repository.view.issue .edit-buttons { 623 width: 100%; 624 justify-content: space-between; 625 } 626 .repository.view.issue .edit-buttons { 627 margin-top: .5rem; 628 } 629 .comment.form .issue-content-left .avatar { 630 display: none; 631 } 632 .comment.form .issue-content-left .content { 633 margin-left: 0 !important; 634 } 635 .comment.form .issue-content-left .content::before, 636 .comment.form .issue-content-left .content::after, 637 .comment.form .content .form::before, 638 .comment.form .content .form::after { 639 display: none; 640 } 641 } 642 643 .repository.view.issue .issue-title { 644 display: flex; 645 align-items: center; 646 margin-bottom: 8px; 647 } 648 649 .repository.view.issue .issue-title h1 { 650 display: flex; 651 align-items: center; 652 flex: 1; 653 width: 100%; 654 font-weight: var(--font-weight-normal); 655 font-size: 32px; 656 line-height: 40px; 657 margin: 0; 658 padding-right: 0.25rem; 659 min-height: 41px; /* avoid layout shift on edit */ 660 } 661 662 .repository.view.issue .issue-title h1 .ui.input { 663 font-size: 0.5em; 664 } 665 666 .repository.view.issue .issue-title h1 .ui.input input { 667 font-size: 1.5em; 668 padding: 2px .5rem; 669 } 670 671 .repository.view.issue .issue-title .index { 672 color: var(--color-text-light-2); 673 } 674 675 .repository.view.issue .issue-title .label { 676 margin-right: 10px; 677 } 678 679 .repository.view.issue .issue-title .edit-zone { 680 margin-top: 10px; 681 } 682 683 .issue-state-label { 684 display: flex !important; 685 align-items: center !important; 686 font-size: 14px !important; 687 padding: 7px 10px !important; 688 border-radius: var(--border-radius-medium) !important; 689 } 690 691 .issue-state-label .svg { 692 margin-right: 4px; 693 } 694 695 .repository.view.issue .pull-desc code { 696 color: var(--color-primary); 697 } 698 699 .repository.view.issue .pull-desc a[data-clipboard-text] { 700 cursor: pointer; 701 } 702 703 .repository.view.issue .pull-desc a[data-clipboard-text] svg { 704 vertical-align: middle; 705 position: relative; 706 top: -2px; 707 right: 1px; 708 } 709 710 .repository.view.issue .pull.tabs.container { 711 width: 100%; 712 max-width: 100%; 713 } 714 715 .repository.view.issue .pull.tabular.menu { 716 margin-bottom: 0; 717 overflow-x: auto; 718 overflow-y: hidden; 719 } 720 721 .repository.view.issue .pull.tabular.menu .svg { 722 margin-right: 5px; 723 } 724 725 .repository.view.issue .merge.box .branch-update.grid .row { 726 padding-bottom: 1rem; 727 } 728 729 .repository.view.issue .merge.box .branch-update.grid .row .icon { 730 margin-top: 1.1rem; 731 } 732 733 .repository.view.issue .comment-list:not(.prevent-before-timeline)::before { 734 display: block; 735 content: ""; 736 position: absolute; 737 margin-top: 12px; 738 margin-bottom: 14px; 739 top: 0; 740 bottom: 0; 741 left: 96px; 742 width: 2px; 743 background-color: var(--color-timeline); 744 z-index: -1; 745 } 746 747 .repository.view.issue .comment-list .timeline { 748 position: relative; 749 display: block; 750 margin-left: 40px; 751 padding-left: 16px; 752 } 753 754 .repository.view.issue .comment-list .timeline::before { /* ciara */ 755 display: block; 756 content: ""; 757 position: absolute; 758 margin-top: 12px; 759 margin-bottom: 14px; 760 top: 0; 761 bottom: 0; 762 left: 30px; 763 width: 2px; 764 background-color: var(--color-timeline); 765 z-index: -1; 766 } 767 768 .repository.view.issue .comment-list .timeline-item, 769 .repository.view.issue .comment-list .timeline-item-group { 770 padding: 16px 0; 771 } 772 773 .repository.view.issue .comment-list .timeline-item-group .timeline-item { 774 padding-top: 8px; 775 padding-bottom: 8px; 776 } 777 778 .repository.view.issue .comment-list .timeline-avatar-offset { 779 margin-top: 48px; 780 } 781 782 .repository.view.issue .comment-list .timeline-item { 783 margin-left: 16px; 784 position: relative; 785 } 786 787 .repository.view.issue .comment-list .timeline-item .timeline-avatar { 788 position: absolute; 789 left: -68px; 790 } 791 792 /* Don't show the mobile oriented avatar ".inline-timeline-avatar" on desktop. Desktop uses the avatar with class ".timeline-avatar" */ 793 .repository.view.issue .comment-list .timeline-item .inline-timeline-avatar { 794 display: none; 795 } 796 797 .repository.view.issue .comment-list .timeline-item:first-child:not(.commit) { 798 padding-top: 0 !important; 799 } 800 801 .repository.view.issue .comment-list .timeline-item:last-child:not(.commit) { 802 padding-bottom: 0 !important; 803 } 804 805 .repository.view.issue .comment-list .timeline-item .badge.badge-commit { 806 border-color: transparent; 807 background: radial-gradient(var(--color-body) 40%, transparent 40%) no-repeat; 808 } 809 810 .repository.view.issue .comment-list .timeline-item .badge { 811 width: 34px; 812 height: 34px; 813 background-color: var(--color-timeline); 814 border-radius: var(--border-radius-circle); 815 display: flex; 816 float: left; 817 margin-left: -33px; 818 margin-right: 8px; 819 color: var(--color-text); 820 align-items: center; 821 justify-content: center; 822 } 823 824 .repository.view.issue .comment-list .timeline-item .badge .svg { 825 width: 22px; 826 height: 22px; 827 padding: 3px; 828 } 829 830 .repository.view.issue .comment-list .timeline-item .badge .svg.octicon-comment { 831 margin-top: 2px; 832 } 833 834 .repository.view.issue .comment-list .timeline-item.comment > .content { 835 margin-left: -16px; 836 } 837 838 .repository.view.issue .comment-list .timeline-item.event > .text { 839 line-height: 32px; 840 vertical-align: middle; 841 } 842 843 .repository.view.issue .comment-list .timeline-item.commits-list { 844 padding-left: 15px; 845 padding-top: 0; 846 } 847 848 .repository.view.issue .comment-list .timeline-item.commits-list .ui.avatar, 849 .repository.view.issue .comment-list .timeline-item.event .ui.avatar { 850 margin-right: 0.25em; 851 } 852 853 .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit { 854 line-height: 34px; /* this must be same as .badge height, to avoid overflow */ 855 clear: both; /* reset the "float right shabox", in the future, use flexbox instead */ 856 } 857 858 .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit > img.avatar, 859 .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit > .avatar img { 860 position: relative; 861 top: -2px; 862 } 863 864 .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label { 865 margin: 0; 866 border: 1px solid var(--color-light-border); 867 } 868 869 .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isWarning { 870 border: 1px solid var(--color-red-badge); 871 background: var(--color-red-badge-bg); 872 } 873 874 .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isWarning:hover { 875 background: var(--color-red-badge-hover-bg) !important; 876 } 877 878 .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerified { 879 border: 1px solid var(--color-green-badge); 880 background: var(--color-green-badge-bg); 881 } 882 883 .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerified:hover { 884 background: var(--color-green-badge-hover-bg) !important; 885 } 886 887 .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerifiedUntrusted { 888 border: 1px solid var(--color-yellow-badge); 889 background: var(--color-yellow-badge-bg); 890 } 891 892 .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerifiedUntrusted:hover { 893 background: var(--color-yellow-badge-hover-bg) !important; 894 } 895 896 .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerifiedUnmatched { 897 border: 1px solid var(--color-orange-badge); 898 background: var(--color-orange-badge-bg); 899 } 900 901 .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerifiedUnmatched:hover { 902 background: var(--color-orange-badge-hover-bg) !important; 903 } 904 905 .repository.view.issue .comment-list .timeline-item.event > .commit-status-link { 906 float: right; 907 margin-right: 8px; 908 margin-top: 4px; 909 } 910 911 .repository.view.issue .comment-list .timeline-item .comparebox { 912 line-height: 32px; 913 vertical-align: middle; 914 } 915 916 .repository.view.issue .comment-list .timeline-item .comparebox .compare.label { 917 font-size: 1rem; 918 margin: 0; 919 border: 1px solid var(--color-light-border); 920 } 921 922 @media (max-width: 767.98px) { 923 .repository.view.issue .comment-list .timeline-item .ui.segments { 924 margin-left: -2rem; 925 } 926 } 927 928 .repository.view.issue .comment-list .ui.comments { 929 max-width: 100%; 930 } 931 932 .repository.view.issue .comment-list .comment > .content > div:first-child { 933 border-top-left-radius: 4px; 934 border-top-right-radius: 4px; 935 } 936 937 .repository.view.issue .comment-list .comment > .content > div:last-child { 938 border-bottom-left-radius: 4px; 939 border-bottom-right-radius: 4px; 940 } 941 942 .repository.view.issue .comment-list .comment .comment-container { 943 border: 1px solid var(--color-secondary); 944 border-radius: var(--border-radius); 945 } 946 947 @media (max-width: 767.98px) { 948 .repository.view.issue .comment-list .comment .content .form .button { 949 width: 100%; 950 margin: 0; 951 } 952 .repository.view.issue .comment-list .comment .content .form .button:not(:last-child) { 953 margin-bottom: 1rem; 954 } 955 } 956 957 .repository.view.issue .comment-list .comment .merge-section { 958 background-color: var(--color-box-body); 959 } 960 961 .repository.view.issue .comment-list .comment .merge-section .item-section { 962 display: flex; 963 align-items: center; 964 justify-content: space-between; 965 padding: 0; 966 margin-top: -0.25rem; 967 margin-bottom: -0.25rem; 968 } 969 970 @media (max-width: 767.98px) { 971 .repository.view.issue .comment-list .comment .merge-section .item-section { 972 align-items: flex-start; 973 flex-direction: column; 974 } 975 } 976 977 .repository.view.issue .comment-list .comment .merge-section .divider { 978 margin-left: -1rem; 979 width: calc(100% + 2rem); 980 } 981 982 .repository.view.issue .comment-list .comment .merge-section.no-header::before, 983 .repository.view.issue .comment-list .comment .merge-section.no-header::after { 984 right: 100%; 985 top: 20px; 986 border: solid transparent; 987 content: " "; 988 height: 0; 989 width: 0; 990 position: absolute; 991 pointer-events: none; 992 } 993 994 .repository.view.issue .comment-list .comment .merge-section.no-header::before { 995 border-right-color: var(--color-secondary); 996 border-width: 9px; 997 margin-top: -9px; 998 } 999 1000 .repository.view.issue .comment-list .comment .merge-section.no-header::after { 1001 border-right-color: var(--color-box-body); 1002 border-width: 8px; 1003 margin-top: -8px; 1004 } 1005 1006 .merge-section-info code { 1007 border: 1px solid var(--color-light-border); 1008 border-radius: var(--border-radius); 1009 padding: 2px 4px; 1010 background: var(--color-light); 1011 } 1012 1013 .repository.view.issue .comment-list .comment .markup { 1014 font-size: 14px; 1015 } 1016 1017 .repository.view.issue .comment-list .comment .no-content { 1018 color: var(--color-text-light-2); 1019 font-style: italic; 1020 } 1021 1022 .repository.view.issue .comment-list .comment .ui.form .field:first-child { 1023 clear: none; 1024 } 1025 1026 .repository.view.issue .comment-list .comment .ui.form .field.footer { 1027 overflow: hidden; 1028 } 1029 1030 .repository.view.issue .comment-list .comment .ui.form .field .tab.markup { 1031 min-height: 5rem; 1032 } 1033 1034 .repository.view.issue .comment-list .comment .edit.buttons { 1035 margin-top: 10px; 1036 } 1037 1038 .repository.view.issue .comment-list .code-comment { 1039 border: 1px solid transparent; 1040 margin: 0; 1041 } 1042 1043 .repository.view.issue .comment-list .code-comment .comment-header { 1044 background: transparent; 1045 border-bottom: 0 !important; 1046 padding: 0 !important; 1047 } 1048 1049 .repository.view.issue .comment-list .code-comment .comment-header::after, 1050 .repository.view.issue .comment-list .code-comment .comment-header::before { 1051 display: none; 1052 } 1053 1054 .repository.view.issue .comment-list .code-comment .comment-content { 1055 margin-left: 36px; 1056 } 1057 1058 .repository.view.issue .comment-list .comment > .avatar { 1059 margin-top: 6px; 1060 } 1061 1062 .repository.view.issue .comment-list .comment > .avatar ~ .content { 1063 margin-left: 42px; 1064 } 1065 1066 .repository.view.issue .comment-list .comment-code-cloud .segment.reactions { 1067 margin-top: 16px !important; 1068 margin-bottom: -8px !important; 1069 border-top: none !important; 1070 } 1071 1072 .repository.view.issue .comment-list .comment-code-cloud .segment.reactions .ui.label { 1073 border: 1px solid; 1074 padding: 5px 8px !important; 1075 margin: 0 2px; 1076 border-radius: var(--border-radius); 1077 border-color: var(--color-secondary-dark-1) !important; 1078 } 1079 1080 .repository.view.issue .comment-list .comment-code-cloud .segment.reactions .ui.label.basic.primary { 1081 background-color: var(--color-reaction-active-bg) !important; 1082 border-color: var(--color-primary-alpha-80) !important; 1083 } 1084 1085 .repository.view.issue .comment-list .comment-code-cloud .segment.reactions .ui.label.basic.primary:hover { 1086 background-color: var(--color-reaction-hover-bg) !important; 1087 border-color: var(--color-primary-alpha-80) !important; 1088 } 1089 1090 .repository.view.issue .comment-list .comment-code-cloud button.comment-form-reply { 1091 margin: 0; 1092 } 1093 1094 .repository.view.issue .comment-list .event { 1095 padding-left: 15px; 1096 } 1097 1098 .repository.view.issue .comment-list .event .detail { 1099 margin-top: 4px; 1100 margin-left: 14px; 1101 } 1102 1103 .repository.view.issue .comment-list .event .detail .svg { 1104 margin-right: 2px; 1105 } 1106 1107 .repository.view.issue .comment-list .event .segments { 1108 box-shadow: none; 1109 } 1110 1111 @media (max-width: 767.98px) { 1112 .repository.view.issue .comment-list { 1113 padding: 1rem 0 !important; /* Important is required here to override existing fomantic styles. */ 1114 } 1115 } 1116 1117 .repository.view.issue .ui.depending .item.is-closed .title { 1118 text-decoration: line-through; 1119 } 1120 1121 .repository .comment.form .content .field:first-child { 1122 clear: none; 1123 } 1124 1125 .repository .comment.form .content .form::before, 1126 .repository .comment.form .content .form::after { 1127 right: 100%; 1128 top: 20px; 1129 border: solid transparent; 1130 content: " "; 1131 height: 0; 1132 width: 0; 1133 position: absolute; 1134 pointer-events: none; 1135 } 1136 1137 .repository .comment.form .content .form::before { 1138 border-right-color: var(--color-secondary); 1139 border-width: 9px; 1140 margin-top: -9px; 1141 } 1142 1143 .repository .comment.form .content .form::after { 1144 border-right-color: var(--color-box-body); 1145 border-width: 8px; 1146 margin-top: -8px; 1147 } 1148 1149 .repository.new.milestone textarea { 1150 height: 200px; 1151 } 1152 1153 .milestone-progress-big { 1154 width: min(420px, 96vw); 1155 height: 10px; 1156 } 1157 1158 .repository.compare.pull .show-form-container { 1159 text-align: left; 1160 } 1161 1162 .repository .choose.branch { 1163 display: flex; 1164 align-items: center; 1165 gap: 8px; 1166 flex-wrap: wrap; 1167 } 1168 1169 .repository .choose.branch .svg { 1170 margin-right: 10px; 1171 } 1172 1173 .repository.compare.pull .comment.form .content::before, 1174 .repository.compare.pull .comment.form .content::after { 1175 right: 100%; 1176 top: 20px; 1177 border: solid transparent; 1178 content: " "; 1179 height: 0; 1180 width: 0; 1181 position: absolute; 1182 pointer-events: none; 1183 } 1184 1185 .repository.compare.pull .comment.form .content::before { 1186 border-right-color: var(--color-secondary); 1187 border-width: 9px; 1188 margin-top: -9px; 1189 } 1190 1191 .repository.compare.pull .comment.form .content::after { 1192 border-right-color: var(--color-box-body); 1193 border-width: 8px; 1194 margin-top: -8px; 1195 } 1196 1197 .repository.compare.pull .pullrequest-form { 1198 margin-top: 16px; 1199 margin-bottom: 16px; 1200 } 1201 1202 .repository.compare.pull .markup { 1203 font-size: 14px; 1204 } 1205 1206 .repository.compare.pull .title .issue-title { 1207 margin-bottom: 0.5rem; 1208 } 1209 1210 .repository.compare.pull .title .issue-title .index { 1211 color: var(--color-text-light-2); 1212 } 1213 1214 .repository .ui.dropdown.filter > .menu { 1215 margin-top: 1px; 1216 } 1217 1218 .repository.branches .commit-divergence .bar-group { 1219 position: relative; 1220 float: left; 1221 padding-bottom: 6px; 1222 width: 50%; 1223 max-width: 90px; 1224 } 1225 1226 .repository.branches .commit-divergence .bar-group:last-child { 1227 border-left: 1px solid var(--color-secondary-dark-2); 1228 } 1229 1230 .repository.branches .commit-divergence .count { 1231 margin: 0 3px; 1232 } 1233 1234 .repository.branches .commit-divergence .count.count-ahead { 1235 text-align: left; 1236 } 1237 1238 .repository.branches .commit-divergence .count.count-behind { 1239 text-align: right; 1240 } 1241 1242 .repository.branches .commit-divergence .bar { 1243 height: 4px; 1244 position: absolute; 1245 background-color: var(--color-secondary-dark-2); 1246 } 1247 1248 .repository.branches .commit-divergence .bar.bar-behind { 1249 right: 0; 1250 } 1251 1252 .repository.branches .commit-divergence .bar.bar-ahead { 1253 left: 0; 1254 } 1255 1256 .repository.commits .header .search input { 1257 font-weight: var(--font-weight-normal); 1258 padding: 5px 10px; 1259 } 1260 1261 .repository #commits-table td:not(.message) { 1262 white-space: nowrap; 1263 } 1264 .repository #commits-table thead .sha { 1265 width: 200px; 1266 } 1267 1268 .repository #commits-table thead .shatd { 1269 text-align: center; 1270 } 1271 1272 .repository #commits-table td.sha .sha.label { 1273 margin: 0; 1274 } 1275 1276 .repository #commits-table td.message { 1277 text-overflow: unset; 1278 } 1279 1280 .repository #commits-table.ui.basic.striped.table tbody tr:nth-child(2n) { 1281 background-color: var(--color-light) !important; 1282 } 1283 1284 .repository #commits-table td.sha .sha.label, 1285 .repository #repo-files-table .sha.label, 1286 .repository #rev-list .sha.label, 1287 .repository .timeline-item.commits-list .singular-commit .sha.label { 1288 border: 1px solid var(--color-light-border); 1289 } 1290 1291 .repository #commits-table td.sha .sha.label .ui.signature.avatar, 1292 .repository #repo-files-table .sha.label .ui.signature.avatar, 1293 .repository #rev-list .sha.label .ui.signature.avatar, 1294 .repository .timeline-item.commits-list .singular-commit .sha.label .ui.signature.avatar { 1295 height: 16px; 1296 margin-bottom: 0; 1297 width: 16px; 1298 } 1299 1300 .repository #commits-table td.sha .sha.label .detail.icon, 1301 .repository #repo-files-table .sha.label .detail.icon, 1302 .repository #rev-list .sha.label .detail.icon, 1303 .repository .timeline-item.commits-list .singular-commit .sha.label .detail.icon { 1304 background: var(--color-light); 1305 margin: -6px -10px -4px 0; 1306 padding: 5px 4px 5px 6px; 1307 border-left: 1px solid var(--color-light-border); 1308 border-top: 0; 1309 border-right: 0; 1310 border-bottom: 0; 1311 border-top-left-radius: 0; 1312 border-bottom-left-radius: 0; 1313 } 1314 1315 .repository #commits-table td.sha .sha.label .detail.icon img, 1316 .repository #repo-files-table .sha.label .detail.icon img, 1317 .repository #rev-list .sha.label .detail.icon img, 1318 .repository .timeline-item.commits-list .singular-commit .sha.label .detail.icon img { 1319 margin-right: 0; 1320 } 1321 1322 .repository #commits-table td.sha .sha.label .detail.icon .svg, 1323 .repository #repo-files-table .sha.label .detail.icon .svg, 1324 .repository #rev-list .sha.label .detail.icon .svg, 1325 .repository .timeline-item.commits-list .singular-commit .sha.label .detail.icon .svg { 1326 margin: 0 0.25em 0 0; 1327 } 1328 1329 .repository #commits-table td.sha .sha.label .detail.icon > div, 1330 .repository #repo-files-table .sha.label .detail.icon > div, 1331 .repository #rev-list .sha.label .detail.icon > div, 1332 .repository .timeline-item.commits-list .singular-commit .sha.label .detail.icon > div { 1333 display: flex; 1334 align-items: center; 1335 } 1336 1337 .repository #commits-table td.sha .sha.label.isSigned.isWarning, 1338 .repository #repo-files-table .sha.label.isSigned.isWarning, 1339 .repository #rev-list .sha.label.isSigned.isWarning, 1340 .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isWarning { 1341 border: 1px solid var(--color-red-badge); 1342 background: var(--color-red-badge-bg); 1343 } 1344 1345 .repository #commits-table td.sha .sha.label.isSigned.isWarning .detail.icon, 1346 .repository #repo-files-table .sha.label.isSigned.isWarning .detail.icon, 1347 .repository #rev-list .sha.label.isSigned.isWarning .detail.icon, 1348 .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isWarning .detail.icon { 1349 border-left: 1px solid var(--color-red-badge); 1350 color: var(--color-red-badge); 1351 } 1352 1353 .repository #commits-table td.sha .sha.label.isSigned.isWarning:hover, 1354 .repository #repo-files-table .sha.label.isSigned.isWarning:hover, 1355 .repository #rev-list .sha.label.isSigned.isWarning:hover, 1356 .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isWarning:hover { 1357 background: var(--color-red-badge-hover-bg) !important; 1358 } 1359 1360 .repository #commits-table td.sha .sha.label.isSigned.isVerified, 1361 .repository #repo-files-table .sha.label.isSigned.isVerified, 1362 .repository #rev-list .sha.label.isSigned.isVerified, 1363 .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerified { 1364 border: 1px solid var(--color-green-badge); 1365 background: var(--color-green-badge-bg); 1366 } 1367 1368 .repository #commits-table td.sha .sha.label.isSigned.isVerified .detail.icon, 1369 .repository #repo-files-table .sha.label.isSigned.isVerified .detail.icon, 1370 .repository #rev-list .sha.label.isSigned.isVerified .detail.icon, 1371 .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerified .detail.icon { 1372 border-left: 1px solid var(--color-green-badge); 1373 color: var(--color-green-badge); 1374 } 1375 1376 .repository #commits-table td.sha .sha.label.isSigned.isVerified:hover, 1377 .repository #repo-files-table .sha.label.isSigned.isVerified:hover, 1378 .repository #rev-list .sha.label.isSigned.isVerified:hover, 1379 .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerified:hover { 1380 background: var(--color-green-badge-hover-bg) !important; 1381 } 1382 1383 .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUntrusted, 1384 .repository #repo-files-table .sha.label.isSigned.isVerifiedUntrusted, 1385 .repository #rev-list .sha.label.isSigned.isVerifiedUntrusted, 1386 .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUntrusted { 1387 border: 1px solid var(--color-yellow-badge); 1388 background: var(--color-yellow-badge-bg); 1389 } 1390 1391 .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUntrusted .detail.icon, 1392 .repository #repo-files-table .sha.label.isSigned.isVerifiedUntrusted .detail.icon, 1393 .repository #rev-list .sha.label.isSigned.isVerifiedUntrusted .detail.icon, 1394 .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUntrusted .detail.icon { 1395 border-left: 1px solid var(--color-yellow-badge); 1396 color: var(--color-yellow-badge); 1397 } 1398 1399 .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUntrusted:hover, 1400 .repository #repo-files-table .sha.label.isSigned.isVerifiedUntrusted:hover, 1401 .repository #rev-list .sha.label.isSigned.isVerifiedUntrusted:hover, 1402 .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUntrusted:hover { 1403 background: var(--color-yellow-badge-hover-bg) !important; 1404 } 1405 1406 .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUnmatched, 1407 .repository #repo-files-table .sha.label.isSigned.isVerifiedUnmatched, 1408 .repository #rev-list .sha.label.isSigned.isVerifiedUnmatched, 1409 .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUnmatched { 1410 border: 1px solid var(--color-orange-badge); 1411 background: var(--color-orange-badge-bg); 1412 } 1413 1414 .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUnmatched .detail.icon, 1415 .repository #repo-files-table .sha.label.isSigned.isVerifiedUnmatched .detail.icon, 1416 .repository #rev-list .sha.label.isSigned.isVerifiedUnmatched .detail.icon, 1417 .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUnmatched .detail.icon { 1418 border-left: 1px solid var(--color-orange-badge); 1419 color: var(--color-orange-badge); 1420 } 1421 1422 .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUnmatched:hover, 1423 .repository #repo-files-table .sha.label.isSigned.isVerifiedUnmatched:hover, 1424 .repository #rev-list .sha.label.isSigned.isVerifiedUnmatched:hover, 1425 .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUnmatched:hover { 1426 background: var(--color-orange-badge-hover-bg) !important; 1427 } 1428 1429 .repository .data-table { 1430 width: 100%; 1431 } 1432 1433 .repository .data-table tr { 1434 border-top: 0; 1435 } 1436 1437 .repository .data-table td, 1438 .repository .data-table th { 1439 padding: 5px !important; 1440 overflow: hidden; 1441 font-size: 12px; 1442 text-align: left; 1443 white-space: nowrap; 1444 border: 1px solid var(--color-secondary); 1445 } 1446 1447 .repository .data-table td { 1448 white-space: pre-line; 1449 } 1450 1451 .repository .data-table th { 1452 font-weight: var(--font-weight-semibold); 1453 background: var(--color-box-header); 1454 border-top: 0; 1455 } 1456 1457 .repository .data-table td.added, 1458 .repository .data-table th.added, 1459 .repository .data-table tr.added { 1460 background-color: var(--color-diff-added-row-bg) !important; 1461 } 1462 1463 .repository .data-table td.removed, 1464 .repository .data-table th.removed, 1465 .repository .data-table tr.removed { 1466 background-color: var(--color-diff-removed-row-bg) !important; 1467 } 1468 1469 .repository .data-table td.moved, 1470 .repository .data-table th.moved, 1471 .repository .data-table tr.moved { 1472 background-color: var(--color-diff-moved-row-bg) !important; 1473 } 1474 1475 .repository .data-table tbody.section { 1476 border-top: 2px solid var(--color-secondary); 1477 } 1478 1479 .repository .data-table .line-num { 1480 width: 1%; 1481 min-width: 50px; 1482 font-family: monospace; 1483 line-height: 20px; 1484 color: var(--color-secondary-dark-2); 1485 white-space: nowrap; 1486 vertical-align: top; 1487 cursor: pointer; 1488 text-align: right; 1489 background: var(--color-body); 1490 border: 0; 1491 } 1492 1493 .repository .diff-detail-box { 1494 display: flex; 1495 justify-content: space-between; 1496 align-items: center; 1497 position: sticky; 1498 top: 0; 1499 z-index: 8; 1500 padding: 7px 5px; 1501 margin: 0 -5px; /* negative margin so it covers active file shadow */ 1502 height: 44px; /* this height should match sticky-2nd-row */ 1503 background: var(--color-body); 1504 } 1505 1506 @media (max-width: 991.98px) { 1507 .repository .diff-detail-box { 1508 flex-direction: row; 1509 height: 77px; /* this height should match sticky-2nd-row */ 1510 } 1511 } 1512 1513 @media (max-width: 480px) { 1514 .repository .diff-detail-box { 1515 flex-wrap: wrap; 1516 } 1517 } 1518 .repository .diff-detail-box .diff-detail-stats strong { 1519 margin-left: 0.25rem; 1520 margin-right: 0.25rem; 1521 } 1522 1523 /* Because the translations contain the <strong> we need to style with nth-of-type */ 1524 1525 .repository .diff-detail-box .diff-detail-stats strong:nth-of-type(1) { 1526 color: var(--color-yellow); 1527 } 1528 1529 .repository .diff-detail-box .diff-detail-stats strong:nth-of-type(2) { 1530 color: var(--color-green); 1531 } 1532 1533 .repository .diff-detail-box .diff-detail-stats strong:nth-of-type(3) { 1534 color: var(--color-red); 1535 } 1536 1537 @media (max-width: 480px) { 1538 .repository .diff-detail-box .diff-detail-stats { 1539 font-size: 0; 1540 line-height: 1.6rem; 1541 } 1542 .repository .diff-detail-box .diff-detail-stats strong { 1543 font-size: 1rem; 1544 } 1545 } 1546 1547 .diff-detail-actions { 1548 display: flex; 1549 align-items: center; 1550 gap: 0.25em; 1551 flex-wrap: wrap; 1552 justify-content: end; 1553 } 1554 1555 .diff-detail-actions > *, 1556 .diff-detail-actions .button { 1557 margin-left: 0 !important; 1558 margin-right: 0 !important; 1559 } 1560 1561 @media (max-width: 480px) { 1562 .repository .diff-detail-box .diff-detail-actions { 1563 padding-top: 0.25rem; 1564 } 1565 .repository .diff-detail-box .diff-detail-actions .ui.button:not(.btn-submit) { 1566 padding: 0 0.5rem; 1567 } 1568 } 1569 1570 .repository .diff-detail-box span.status { 1571 display: inline-block; 1572 width: 12px; 1573 height: 12px; 1574 margin-right: 8px; 1575 vertical-align: middle; 1576 } 1577 1578 .repository .diff-detail-box span.status.modify { 1579 background-color: var(--color-yellow); 1580 } 1581 1582 .repository .diff-detail-box span.status.add { 1583 background-color: var(--color-green); 1584 } 1585 1586 .repository .diff-detail-box span.status.del { 1587 background-color: var(--color-red); 1588 } 1589 1590 .repository .diff-detail-box span.status.rename { 1591 background-color: var(--color-teal); 1592 } 1593 1594 .repository .diff-detail-box .ui.button { 1595 padding: 0 12px; 1596 height: 30px; 1597 } 1598 1599 .repository .diff-box .header:not(.resolved-placeholder) { 1600 display: flex; 1601 align-items: center; 1602 } 1603 1604 .repository .diff-box .header:not(.resolved-placeholder) .file { 1605 min-width: 0; 1606 } 1607 1608 .repository .diff-box .header:not(.resolved-placeholder) .file .file-link { 1609 max-width: fit-content; 1610 display: -webkit-box; 1611 -webkit-box-orient: vertical; 1612 -webkit-line-clamp: 2; 1613 overflow: hidden; 1614 } 1615 1616 .repository .diff-box .header:not(.resolved-placeholder) .button { 1617 padding: 0 12px; 1618 flex: 0 0 auto; 1619 margin-right: 0; 1620 height: 30px; 1621 } 1622 1623 .repository .diff-box .resolved-placeholder { 1624 display: flex; 1625 align-items: center; 1626 font-size: 14px !important; 1627 height: 36px; 1628 padding-top: 0; 1629 padding-bottom: 0; 1630 } 1631 1632 .repository .diff-box .resolved-placeholder .button { 1633 padding: 8px 12px; 1634 } 1635 1636 .repository .diff-file-box .header { 1637 background-color: var(--color-box-header); 1638 } 1639 1640 .repository .diff-file-box .file-body.file-code { 1641 background: var(--color-code-bg); 1642 } 1643 1644 .repository .diff-file-box .file-body.file-code .lines-num { 1645 text-align: right; 1646 color: var(--color-text-light); 1647 width: 1%; 1648 min-width: 50px; 1649 } 1650 1651 .repository .diff-file-box .file-body.file-code .lines-num span.fold { 1652 display: block; 1653 text-align: center; 1654 } 1655 1656 .repository .diff-file-box .code-diff td { 1657 padding: 0 0 0 10px !important; 1658 border-top: 0; 1659 } 1660 1661 .repository .diff-file-box .code-diff .lines-num { 1662 padding: 0 5px !important; 1663 } 1664 1665 .repository .diff-file-box .code-diff .tag-code .lines-num, 1666 .repository .diff-file-box .code-diff .tag-code td { 1667 padding: 0 !important; 1668 } 1669 1670 .repository .diff-file-box .code-diff table { 1671 table-layout: fixed; 1672 } 1673 1674 .repository .diff-file-box .code-diff tbody tr td.lines-num, 1675 .repository .diff-file-box .code-diff tbody tr td.lines-escape, 1676 .repository .diff-file-box .code-diff tbody tr td.lines-type-marker { 1677 white-space: nowrap; 1678 } 1679 1680 .repository .diff-file-box .code-diff tbody tr td.center { 1681 text-align: center; 1682 } 1683 1684 .repository .diff-file-box .code-diff tbody tr [data-line-num]::before { 1685 content: attr(data-line-num); 1686 text-align: right; 1687 } 1688 1689 .repository .diff-file-box .code-diff tbody tr .lines-type-marker { 1690 width: 10px; 1691 min-width: 10px; 1692 } 1693 1694 .repository .diff-file-box .code-diff tbody tr [data-type-marker]::before { 1695 content: attr(data-type-marker); 1696 text-align: right; 1697 display: inline-block; 1698 } 1699 1700 .repository .diff-file-box .code-diff-split .tag-code .lines-code code.code-inner { 1701 padding-left: 10px !important; 1702 } 1703 1704 .repository .diff-file-box .code-diff-split table, 1705 .repository .diff-file-box .code-diff-split tbody { 1706 width: 100%; 1707 } 1708 1709 .repository .diff-file-box.file-content { 1710 clear: right; 1711 } 1712 1713 .repository .diff-file-box.file-content .image-diff img { 1714 max-width: 100%; 1715 padding: 0; 1716 border-radius: 0; 1717 } 1718 1719 .repository .diff-file-box .ui.bottom.attached.table.segment { 1720 padding-top: 5px; 1721 padding-bottom: 5px; 1722 } 1723 1724 .diff-file-box { 1725 border: 1px solid transparent; 1726 border-radius: var(--border-radius); 1727 scroll-margin-top: 47px; /* match .repository .diff-detail-box */ 1728 } 1729 1730 .file.editor .diff-file-box { 1731 border: none; 1732 } 1733 1734 .file.editor .diff-file-box .ui.attached.table { 1735 border: none; 1736 } 1737 1738 @media (max-width: 991.98px) { 1739 .diff-file-box { 1740 scroll-margin-top: 77px; /* match .repository .diff-detail-box */ 1741 } 1742 } 1743 1744 /* TODO: this can potentially be made "global" by removing the class prefix */ 1745 .diff-file-box .ui.attached.header, 1746 .diff-file-box .ui.attached.table { 1747 margin: 0; /* remove fomantic negative margins */ 1748 width: initial; /* remove fomantic over 100% width */ 1749 max-width: initial; /* remove fomantic over 100% width */ 1750 } 1751 1752 .repository .diff-stats { 1753 clear: both; 1754 margin-bottom: 5px; 1755 max-height: 200px; 1756 height: fit-content; 1757 overflow: auto; 1758 padding-left: 0; 1759 } 1760 1761 .repository .diff-stats li { 1762 list-style: none; 1763 padding-bottom: 4px; 1764 margin-bottom: 4px; 1765 padding-left: 6px; 1766 } 1767 1768 .repository .diff-stats li + li { 1769 border-top: 1px solid var(--color-secondary); 1770 } 1771 1772 .repository .repo-search-result { 1773 padding-top: 10px; 1774 padding-bottom: 10px; 1775 } 1776 1777 .repository .repo-search-result .lines-num a { 1778 color: inherit; 1779 } 1780 1781 .repository.quickstart .guide .item { 1782 padding: 1em; 1783 } 1784 1785 .repository.quickstart .guide .item small { 1786 font-weight: var(--font-weight-normal); 1787 } 1788 1789 .repository.quickstart .guide .clone.button:first-child { 1790 border-radius: var(--border-radius) 0 0 var(--border-radius); 1791 } 1792 1793 .repository.quickstart .guide #repo-clone-url { 1794 border-radius: 0; 1795 padding: 5px 10px; 1796 font-size: 1.2em; 1797 line-height: 1.4; 1798 flex: 1 1799 } 1800 1801 .empty-placeholder { 1802 display: flex; 1803 flex-direction: column; 1804 align-items: center; 1805 padding-top: 40px; 1806 padding-bottom: 40px; 1807 } 1808 1809 .repository.packages .file-size { 1810 white-space: nowrap; 1811 } 1812 1813 .file-view.markup { 1814 padding: 1em 2em; 1815 } 1816 .repository .activity-header { 1817 display: flex; 1818 justify-content: space-between; 1819 gap: 8px; 1820 flex-wrap: wrap; 1821 } 1822 1823 /* if the element is for a checkbox, then it should have a padding-left to align to the checkbox's text */ 1824 .repository.settings.branches .branch-protection .ui.checkbox .help, 1825 .repository.settings.branches .branch-protection .checkbox-sub-item { 1826 padding-left: 26px; 1827 } 1828 1829 .repository.settings.branches .branch-protection .status-check-matched-mark { 1830 font-weight: var(--font-weight-semibold); 1831 font-style: italic; 1832 } 1833 1834 .repository.settings.webhook .events .column { 1835 padding-bottom: 0; 1836 } 1837 1838 .repository.settings.webhook .events .help { 1839 font-size: 13px; 1840 margin-left: 26px; 1841 padding-top: 0; 1842 } 1843 1844 .repository .ui.attached.isSigned.isWarning { 1845 border-left: 1px solid var(--color-error-border); 1846 border-right: 1px solid var(--color-error-border); 1847 } 1848 1849 .repository .ui.attached.isSigned.isWarning.top, 1850 .repository .ui.attached.isSigned.isWarning.message { 1851 border-top: 1px solid var(--color-error-border); 1852 } 1853 1854 .repository .ui.attached.isSigned.isWarning.message { 1855 box-shadow: none; 1856 background-color: var(--color-error-bg); 1857 color: var(--color-error-text); 1858 } 1859 1860 .repository .ui.attached.isSigned.isWarning.message .ui.text { 1861 color: var(--color-error-text); 1862 } 1863 1864 .repository .ui.attached.isSigned.isWarning:last-child, 1865 .repository .ui.attached.isSigned.isWarning.bottom { 1866 border-bottom: 1px solid var(--color-error-border); 1867 } 1868 1869 .repository .ui.attached.isSigned.isVerified { 1870 border-left: 1px solid var(--color-success-border); 1871 border-right: 1px solid var(--color-success-border); 1872 } 1873 1874 .repository .ui.attached.isSigned.isVerified.top, 1875 .repository .ui.attached.isSigned.isVerified.message { 1876 border-top: 1px solid var(--color-success-border); 1877 } 1878 1879 .repository .ui.attached.isSigned.isVerified.message { 1880 box-shadow: none; 1881 background-color: var(--color-success-bg); 1882 color: var(--color-success-text); 1883 } 1884 1885 .repository .ui.attached.isSigned.isVerified.message .pull-right { 1886 color: var(--color-text); 1887 } 1888 1889 .repository .ui.attached.isSigned.isVerified.message .ui.text { 1890 color: var(--color-success-text); 1891 } 1892 1893 .repository .ui.attached.isSigned.isVerified:last-child, 1894 .repository .ui.attached.isSigned.isVerified.bottom { 1895 border-bottom: 1px solid var(--color-success-border); 1896 } 1897 1898 .repository .ui.attached.isSigned.isVerifiedUntrusted, 1899 .repository .ui.attached.isSigned.isVerifiedUnmatched { 1900 border-left: 1px solid var(--color-warning-border); 1901 border-right: 1px solid var(--color-warning-border); 1902 } 1903 1904 .repository .ui.attached.isSigned.isVerifiedUntrusted.top, 1905 .repository .ui.attached.isSigned.isVerifiedUnmatched.top, 1906 .repository .ui.attached.isSigned.isVerifiedUntrusted.message, 1907 .repository .ui.attached.isSigned.isVerifiedUnmatched.message { 1908 border-top: 1px solid var(--color-warning-border); 1909 } 1910 1911 .repository .ui.attached.isSigned.isVerifiedUntrusted.message, 1912 .repository .ui.attached.isSigned.isVerifiedUnmatched.message { 1913 box-shadow: none; 1914 background-color: var(--color-warning-bg); 1915 color: var(--color-warning-text); 1916 } 1917 1918 .repository .ui.attached.isSigned.isVerifiedUntrusted.message .ui.text, 1919 .repository .ui.attached.isSigned.isVerifiedUnmatched.message .ui.text { 1920 color: var(--color-warning-text); 1921 } 1922 1923 .repository .ui.attached.isSigned.isVerifiedUntrusted:last-child, 1924 .repository .ui.attached.isSigned.isVerifiedUnmatched:last-child, 1925 .repository .ui.attached.isSigned.isVerifiedUntrusted.bottom, 1926 .repository .ui.attached.isSigned.isVerifiedUnmatched.bottom { 1927 border-bottom: 1px solid var(--color-warning-border); 1928 } 1929 1930 .repository .segment.reactions.dropdown .menu, 1931 .repository .select-reaction.dropdown .menu { 1932 right: 0 !important; 1933 left: auto !important; 1934 min-width: 170px; 1935 } 1936 1937 .repository .segment.reactions.dropdown .menu > .header, 1938 .repository .select-reaction.dropdown .menu > .header { 1939 margin: 0.75rem 0 0.5rem; 1940 } 1941 1942 .repository .segment.reactions.dropdown .menu > .item, 1943 .repository .select-reaction.dropdown .menu > .item { 1944 float: left; 1945 margin: 4px; 1946 font-size: 20px; 1947 width: 34px; 1948 height: 34px; 1949 min-height: 0 !important; 1950 border-radius: var(--border-radius); 1951 display: flex !important; 1952 align-items: center; 1953 justify-content: center; 1954 } 1955 1956 .repository .segment.reactions { 1957 padding: 0; 1958 display: flex; 1959 border: none !important; 1960 border-top: 1px solid var(--color-secondary) !important; 1961 width: 100% !important; 1962 max-width: 100% !important; 1963 margin: 0 !important; 1964 border-radius: 0 0 var(--border-radius) var(--border-radius); 1965 } 1966 1967 .repository .segment.reactions .ui.label { 1968 max-height: 40px; 1969 padding: 8px 16px !important; 1970 display: flex !important; 1971 align-items: center; 1972 border: 0; 1973 border-right: 1px solid; 1974 border-radius: 0; 1975 margin: 0; 1976 font-size: 12px; 1977 font-weight: var(--font-weight-normal); 1978 border-color: var(--color-secondary) !important; 1979 background: var(--color-reaction-bg); 1980 } 1981 1982 .repository .segment.reactions .ui.label:first-of-type { 1983 border-bottom-left-radius: 3px; 1984 } 1985 1986 .repository .segment.reactions .ui.label.disabled { 1987 cursor: default; 1988 opacity: 1; 1989 } 1990 1991 .repository .segment.reactions .ui.label.basic.primary { 1992 color: var(--color-primary) !important; 1993 background-color: var(--color-reaction-active-bg) !important; 1994 border-color: var(--color-secondary-dark-1) !important; 1995 } 1996 1997 .repository .segment.reactions .ui.label.basic:hover { 1998 background-color: var(--color-reaction-hover-bg) !important; 1999 } 2000 2001 .repository .segment.reactions .reaction-count { 2002 margin-left: 0.5rem; 2003 } 2004 2005 .repository .segment.reactions .select-reaction { 2006 display: flex; 2007 align-items: center; 2008 } 2009 2010 .repository .segment.reactions .select-reaction a { 2011 padding: 0 14px; 2012 } 2013 2014 .repository .segment.reactions .select-reaction:not(.active) a { 2015 display: none; 2016 } 2017 2018 .repository .segment.reactions:hover .select-reaction a { 2019 display: block; 2020 } 2021 2022 .repository .ui.fluid.action.input .ui.search.action.input { 2023 flex: auto; 2024 } 2025 2026 .repository .repository-summary { 2027 box-shadow: none; 2028 } 2029 2030 .repository .repository-summary .segment.sub-menu { 2031 border: none; 2032 display: flex; 2033 align-items: center; 2034 padding: 0; 2035 overflow: hidden; 2036 } 2037 2038 .repository .repository-summary .sub-menu .item { 2039 flex: 1; 2040 height: 30px; 2041 line-height: var(--line-height-default); 2042 display: flex; 2043 align-items: center; 2044 justify-content: center; 2045 gap: 0.25em; 2046 padding: 0 0.5em; /* make the UI look better for narrow (mobile) view */ 2047 text-decoration: none; 2048 } 2049 2050 .repository .repository-summary .sub-menu .item.active { 2051 background: var(--color-secondary); 2052 } 2053 2054 .repository .repository-summary .segment.language-stats { 2055 display: flex; 2056 gap: 2px; 2057 padding: 0; 2058 height: 10px; 2059 white-space: nowrap; 2060 border-radius: 0 0 3px 3px !important; 2061 overflow: hidden; 2062 } 2063 2064 #cite-repo-modal #citation-panel { 2065 width: 500px; 2066 } 2067 2068 @media (max-width: 767.98px) { 2069 #cite-repo-modal #citation-panel { 2070 width: 100%; 2071 } 2072 } 2073 2074 #cite-repo-modal #citation-panel input { 2075 border-radius: 0; 2076 padding: 5px 10px; 2077 width: 50%; 2078 line-height: 1.4; 2079 } 2080 2081 #cite-repo-modal #citation-panel .citation.button { 2082 font-size: 13px; 2083 padding: 7.5px 5px; 2084 } 2085 2086 #cite-repo-modal #citation-panel #citation-copy-content { 2087 border-radius: 0; 2088 padding: 5px 10px; 2089 font-size: 1.2em; 2090 line-height: 1.4; 2091 } 2092 2093 #cite-repo-modal #citation-panel #citation-copy-apa, 2094 #cite-repo-modal #citation-panel #citation-copy-bibtex { 2095 border-right: none; 2096 } 2097 2098 #cite-repo-modal #citation-panel #goto-citation-btn { 2099 border-left: none; 2100 } 2101 2102 #cite-repo-modal #citation-panel > :first-child { 2103 border-radius: var(--border-radius) 0 0 var(--border-radius) !important; 2104 } 2105 2106 #cite-repo-modal #citation-panel > :last-child { 2107 border-radius: 0 var(--border-radius) var(--border-radius) 0 !important; 2108 } 2109 2110 #cite-repo-modal #citation-panel .icon.button { 2111 padding: 0 10px; 2112 } 2113 2114 .user-cards .list { 2115 padding: 0; 2116 display: flex; 2117 flex-wrap: wrap; 2118 } 2119 2120 .user-cards .list .item { 2121 list-style: none; 2122 width: 32%; 2123 margin: 10px 10px 10px 0; 2124 padding-bottom: 14px; 2125 float: left; 2126 } 2127 2128 .user-cards .list .item .avatar { 2129 width: 48px; 2130 height: 48px; 2131 float: left; 2132 display: block; 2133 margin-right: 10px; 2134 } 2135 2136 .user-cards .list .item .name { 2137 margin-top: 0; 2138 margin-bottom: 0; 2139 font-weight: var(--font-weight-normal); 2140 } 2141 2142 .user-cards .list .item .meta { 2143 margin-top: 5px; 2144 } 2145 2146 #search-user-box .results .result .image { 2147 float: left; 2148 margin-right: 8px; 2149 width: 2em; 2150 height: 2em; 2151 } 2152 2153 #search-user-box .results .result .content { 2154 margin: 6px 0; /* this trick is used to align with the sibling avatar image */ 2155 } 2156 2157 .ui.menu .item > img:not(.ui) { 2158 width: auto; 2159 } 2160 2161 .page.buttons { 2162 padding-top: 15px; 2163 } 2164 2165 .commit-header-row { 2166 min-height: 50px !important; 2167 padding-top: 0 !important; 2168 padding-bottom: 0 !important; 2169 } 2170 2171 .settings.webhooks .list > .item:not(:first-child), 2172 .settings.githooks .list > .item:not(:first-child), 2173 .settings.actions .list > .item:not(:first-child) { 2174 padding: 0.25rem 1rem; 2175 margin: 12px -1rem -1rem; 2176 } 2177 2178 .settings .list > .item:not(:first-child) { 2179 border-top: 1px solid var(--color-secondary); 2180 padding: 1rem; 2181 margin: 16px -1rem -1rem; 2182 } 2183 2184 .settings .list > .item > .svg { 2185 display: table-cell; 2186 } 2187 2188 .settings .list > .item > .svg + .content { 2189 display: table-cell; 2190 padding: 0 0 0 0.5em; 2191 vertical-align: top; 2192 } 2193 2194 .settings .list > .item .info { 2195 margin-top: 10px; 2196 } 2197 2198 .settings .list > .item .info .tab.segment { 2199 border: 0; 2200 padding: 10px 0 0; 2201 } 2202 2203 .ui.vertical.menu .header.item { 2204 font-size: 1.1em; 2205 background: var(--color-box-header); 2206 } 2207 2208 .comment:target .comment-container { 2209 border-color: var(--color-primary) !important; 2210 box-shadow: 0 0 0 3px var(--color-primary-alpha-30) !important; 2211 } 2212 2213 .comment:target .header::before { 2214 border-right-color: var(--color-primary) !important; 2215 filter: drop-shadow(-3px 0 0 var(--color-primary-alpha-30)) !important; 2216 } 2217 2218 .code-comment:target, 2219 .diff-file-box:target { 2220 border-color: var(--color-primary) !important; 2221 border-radius: var(--border-radius) !important; 2222 box-shadow: 0 0 0 3px var(--color-primary-alpha-30) !important; 2223 } 2224 2225 .code-comment:target .content { 2226 box-shadow: none !important; 2227 } 2228 2229 .comment-header { 2230 border: none !important; 2231 background: var(--color-box-header); 2232 border-bottom: 1px solid var(--color-secondary) !important; 2233 font-weight: var(--font-weight-normal) !important; 2234 padding: 0.5rem 1rem; 2235 margin: 0 !important; 2236 position: relative; 2237 color: var(--color-text); 2238 min-height: 41px; 2239 background-color: var(--color-box-header); 2240 display: flex; 2241 justify-content: space-between; 2242 align-items: center; 2243 } 2244 2245 .comment-header::before, 2246 .comment-header::after { 2247 right: 100%; 2248 top: 20px; 2249 border: solid transparent; 2250 content: " "; 2251 height: 0; 2252 width: 0; 2253 position: absolute; 2254 pointer-events: none; 2255 } 2256 2257 .comment-header::before { 2258 border-right-color: var(--color-secondary); 2259 border-width: 9px; 2260 margin-top: -9px; 2261 } 2262 2263 .comment-header::after { 2264 border-right-color: var(--color-box-header); 2265 border-width: 8px; 2266 margin-top: -8px; 2267 } 2268 2269 .comment-header.arrow-top::before, 2270 .comment-header.arrow-top::after { 2271 transform: rotate(90deg); 2272 } 2273 2274 .comment-header.arrow-top::before { 2275 top: -9px; 2276 left: 6px; 2277 } 2278 2279 .comment-header.arrow-top::after { 2280 top: -8px; 2281 left: 7px; 2282 } 2283 2284 .comment-header .actions a:not(.label) { 2285 padding: 0.5rem !important; 2286 } 2287 2288 .comment-header .actions .label { 2289 margin: 0 !important; 2290 } 2291 2292 .comment-header-left, 2293 .comment-header-right { 2294 gap: 4px; 2295 } 2296 2297 .comment-body { 2298 background: var(--color-box-body); 2299 border: none !important; 2300 width: 100% !important; 2301 max-width: 100% !important; 2302 margin: 0 !important; 2303 padding: 1em; 2304 } 2305 2306 .comment-body .markup { 2307 border-radius: 0 0 var(--border-radius) var(--border-radius); /* don't render outside box */ 2308 } 2309 2310 .edit-label.modal .form .column, 2311 .new-label.modal .form .column { 2312 padding-right: 0; 2313 } 2314 2315 .edit-label.modal .form .buttons, 2316 .new-label.modal .form .buttons { 2317 margin-left: auto; 2318 padding-top: 15px; 2319 } 2320 2321 .edit-label.modal .form .color.picker.column, 2322 .new-label.modal .form .color.picker.column { 2323 display: flex; 2324 } 2325 2326 .edit-label.modal .form .color.picker.column .minicolors, 2327 .new-label.modal .form .color.picker.column .minicolors { 2328 flex: 1; 2329 } 2330 2331 .edit-label.modal .form .minicolors-swatch.minicolors-sprite, 2332 .new-label.modal .form .minicolors-swatch.minicolors-sprite { 2333 top: 10px; 2334 left: 10px; 2335 width: 15px; 2336 height: 15px; 2337 } 2338 2339 .tab-size-1 { 2340 tab-size: 1 !important; 2341 -moz-tab-size: 1 !important; 2342 } 2343 2344 .tab-size-2 { 2345 tab-size: 2 !important; 2346 -moz-tab-size: 2 !important; 2347 } 2348 2349 .tab-size-3 { 2350 tab-size: 3 !important; 2351 -moz-tab-size: 3 !important; 2352 } 2353 2354 .tab-size-4 { 2355 tab-size: 4 !important; 2356 -moz-tab-size: 4 !important; 2357 } 2358 2359 .tab-size-5 { 2360 tab-size: 5 !important; 2361 -moz-tab-size: 5 !important; 2362 } 2363 2364 .tab-size-6 { 2365 tab-size: 6 !important; 2366 -moz-tab-size: 6 !important; 2367 } 2368 2369 .tab-size-7 { 2370 tab-size: 7 !important; 2371 -moz-tab-size: 7 !important; 2372 } 2373 2374 .tab-size-8 { 2375 tab-size: 8 !important; 2376 -moz-tab-size: 8 !important; 2377 } 2378 2379 .tab-size-9 { 2380 tab-size: 9 !important; 2381 -moz-tab-size: 9 !important; 2382 } 2383 2384 .tab-size-10 { 2385 tab-size: 10 !important; 2386 -moz-tab-size: 10 !important; 2387 } 2388 2389 .tab-size-11 { 2390 tab-size: 11 !important; 2391 -moz-tab-size: 11 !important; 2392 } 2393 2394 .tab-size-12 { 2395 tab-size: 12 !important; 2396 -moz-tab-size: 12 !important; 2397 } 2398 2399 .tab-size-13 { 2400 tab-size: 13 !important; 2401 -moz-tab-size: 13 !important; 2402 } 2403 2404 .tab-size-14 { 2405 tab-size: 14 !important; 2406 -moz-tab-size: 14 !important; 2407 } 2408 2409 .tab-size-15 { 2410 tab-size: 15 !important; 2411 -moz-tab-size: 15 !important; 2412 } 2413 2414 .tab-size-16 { 2415 tab-size: 16 !important; 2416 -moz-tab-size: 16 !important; 2417 } 2418 2419 .stats-table { 2420 display: table; 2421 width: 100%; 2422 } 2423 2424 .stats-table .table-cell { 2425 display: table-cell; 2426 } 2427 2428 .stats-table .table-cell.tiny { 2429 height: 0.5em; 2430 } 2431 2432 .labels-list .label { 2433 margin: 2px 0; 2434 display: inline-flex !important; 2435 line-height: 1.3; /* there is a `font-size: 1.25em` for inside emoji, so here the line-height needs to be larger slightly */ 2436 } 2437 2438 /* Scoped labels with different colors on left and right */ 2439 .ui.label.scope-parent { 2440 background: none !important; 2441 padding: 0 !important; 2442 gap: 0 !important; 2443 } 2444 2445 .ui.label.scope-left { 2446 border-bottom-right-radius: 0; 2447 border-top-right-radius: 0; 2448 margin-right: 0; 2449 } 2450 2451 .ui.label.scope-right { 2452 border-bottom-left-radius: 0; 2453 border-top-left-radius: 0; 2454 margin-left: 0; 2455 } 2456 2457 .repo-button-row { 2458 margin: 10px 0; 2459 display: flex; 2460 align-items: center; 2461 gap: 0.5em; 2462 flex-wrap: wrap; 2463 justify-content: space-between; 2464 } 2465 2466 .repo-button-row .button { 2467 padding: 6px 10px !important; 2468 height: 30px; 2469 } 2470 2471 .repo-button-row .button.dropdown:not(.icon) { 2472 padding-right: 22px !important; /* normal buttons have !important paddings, so we need to override it for dropdown (Add File) icons */ 2473 } 2474 2475 .repo-button-row input { 2476 height: 30px; 2477 } 2478 2479 tbody.commit-list { 2480 vertical-align: baseline; 2481 } 2482 2483 .message-wrapper, 2484 .author-wrapper { 2485 overflow: hidden; 2486 text-overflow: ellipsis; 2487 max-width: calc(100% - 50px); 2488 display: inline-block; 2489 vertical-align: middle; 2490 } 2491 2492 .author-wrapper { 2493 max-width: 180px; 2494 } 2495 2496 /* in the commit list, messages can wrap so we can use inline */ 2497 .commit-list .message-wrapper { 2498 display: inline; 2499 overflow-wrap: anywhere; 2500 } 2501 2502 /* but in the repo-files-table we cannot */ 2503 #repo-files-table .commit-list .message-wrapper { 2504 display: inline-block; 2505 } 2506 2507 @media (max-width: 767.98px) { 2508 tr.commit-list { 2509 width: 100%; 2510 } 2511 th .message-wrapper { 2512 display: block; 2513 max-width: calc(100vw - 70px); 2514 } 2515 .author-wrapper { 2516 max-width: 80px; 2517 } 2518 } 2519 2520 @media (min-width: 768px) and (max-width: 991.98px) { 2521 tr.commit-list { 2522 width: 723px; 2523 } 2524 th .message-wrapper { 2525 max-width: 120px; 2526 } 2527 } 2528 2529 @media (min-width: 992px) and (max-width: 1200px) { 2530 tr.commit-list { 2531 width: 933px; 2532 } 2533 th .message-wrapper { 2534 max-width: 350px; 2535 } 2536 } 2537 2538 @media (min-width: 1201px) { 2539 tr.commit-list { 2540 width: 1127px; 2541 } 2542 th .message-wrapper { 2543 max-width: 525px; 2544 } 2545 } 2546 2547 .commit-list .commit-status-link { 2548 display: inline-block; 2549 vertical-align: middle; 2550 } 2551 2552 .commit-body { 2553 margin: 0.25em 0; 2554 white-space: pre-wrap; 2555 line-height: initial; 2556 } 2557 2558 /* PR-comment */ 2559 .repository .timeline-item .commit-body { 2560 margin-left: 45px; 2561 } 2562 2563 .git-notes.top { 2564 text-align: left; 2565 } 2566 2567 .comment-diff-data { 2568 background: var(--color-code-bg); 2569 min-height: 12em; 2570 max-height: calc(100vh - 10.5rem); 2571 overflow-y: auto; 2572 } 2573 2574 .comment-diff-data pre { 2575 line-height: 18px; 2576 margin: 1em; 2577 white-space: pre-wrap; 2578 word-break: break-all; 2579 overflow-wrap: break-word; 2580 } 2581 2582 .content-history-detail-dialog .header .avatar { 2583 position: relative; 2584 top: -2px; 2585 } 2586 2587 #repo-topics .repo-topic { 2588 font-weight: var(--font-weight-normal); 2589 cursor: pointer; 2590 } 2591 2592 #new-dependency-drop-list.ui.selection.dropdown { 2593 min-width: 0; 2594 width: 100%; 2595 border-radius: var(--border-radius) 0 0 var(--border-radius); 2596 border-right: 0; 2597 white-space: nowrap; 2598 } 2599 2600 #new-dependency-drop-list .text { 2601 width: 100%; 2602 overflow: hidden; 2603 } 2604 2605 .repo-header { 2606 display: flex; 2607 align-items: center; 2608 justify-content: space-between; 2609 flex-wrap: wrap; 2610 word-break: break-word; 2611 } 2612 2613 @media (max-width: 767.98px) { 2614 .repo-header + .container { 2615 margin-top: 7px; 2616 } 2617 } 2618 2619 .repo-buttons { 2620 align-items: center; 2621 display: flex; 2622 flex-direction: row; 2623 flex-wrap: wrap; 2624 word-break: keep-all; 2625 gap: 0.25em; 2626 } 2627 2628 @media (max-width: 767.98px) { 2629 .repo-buttons { 2630 margin-top: 1em; 2631 } 2632 } 2633 2634 .repo-buttons .ui.labeled.button > .label:hover { 2635 color: var(--color-primary-light-2); 2636 background: var(--color-light); 2637 } 2638 2639 .repo-buttons button[disabled] ~ .label { 2640 opacity: var(--opacity-disabled); 2641 color: var(--color-text-dark); 2642 background: var(--color-light-mimic-enabled) !important; 2643 } 2644 2645 .repo-buttons button[disabled] ~ .label:hover { 2646 color: var(--color-primary-dark-1); 2647 } 2648 2649 .repo-buttons .ui.labeled.button.disabled { 2650 pointer-events: inherit !important; 2651 } 2652 2653 .repo-buttons .ui.labeled.button.disabled > .label { 2654 color: var(--color-text-dark); 2655 background: var(--color-light-mimic-enabled) !important; 2656 } 2657 2658 .repo-buttons .ui.labeled.button.disabled > .label:hover { 2659 color: var(--color-primary-dark-1); 2660 } 2661 2662 .repo-buttons .ui.labeled.button.disabled > .button { 2663 pointer-events: none !important; 2664 } 2665 2666 @media (max-width: 767.98px) { 2667 .repo-buttons .ui.labeled.button .svg { 2668 display: none; 2669 } 2670 } 2671 2672 .tag-code { 2673 height: 28px; 2674 } 2675 2676 .tag-code, 2677 .tag-code td, 2678 .tag-code .blob-excerpt { 2679 background-color: var(--color-box-body-highlight); 2680 vertical-align: middle; 2681 } 2682 2683 .resolved-placeholder { 2684 font-weight: var(--font-weight-normal) !important; 2685 border: 1px solid var(--color-secondary) !important; 2686 border-radius: var(--border-radius) !important; 2687 margin: 4px !important; 2688 } 2689 2690 .resolved-placeholder + .comment-code-cloud { 2691 padding-top: 0 !important; 2692 } 2693 2694 .blob-excerpt { 2695 background-color: var(--color-secondary-alpha-30); 2696 } 2697 2698 .issue-keyword { 2699 border-bottom: 1px dotted var(--color-text-light-3) !important; 2700 } 2701 2702 .issue-keyword:hover { 2703 border-bottom: none !important; 2704 } 2705 2706 .file-header { 2707 align-items: center; 2708 display: flex; 2709 justify-content: space-between; 2710 overflow-x: auto; 2711 padding: 6px 12px !important; 2712 font-size: 13px !important; 2713 } 2714 2715 .file-info { 2716 display: flex; 2717 align-items: center; 2718 } 2719 2720 .file-info-entry { 2721 display: flex; 2722 align-items: center; 2723 width: max-content; 2724 } 2725 2726 .file-info-entry + .file-info-entry { 2727 border-left: 1px solid currentcolor; 2728 margin-left: 8px; 2729 padding-left: 8px; 2730 } 2731 2732 #diff-container { 2733 display: flex; 2734 } 2735 2736 #diff-file-boxes { 2737 flex: 1; 2738 max-width: 100%; 2739 display: flex; 2740 flex-direction: column; 2741 gap: 8px; 2742 } 2743 2744 #diff-file-tree { 2745 flex: 0 0 20%; 2746 max-width: 380px; 2747 line-height: inherit; 2748 position: sticky; 2749 padding-top: 0; 2750 top: 47px; 2751 max-height: calc(100vh - 47px); 2752 height: 100%; 2753 overflow-y: auto; 2754 } 2755 2756 .diff-toggle-file-tree-button { 2757 background: none; 2758 border: none; 2759 user-select: none; 2760 color: inherit; 2761 } 2762 2763 .diff-toggle-file-tree-button:hover { 2764 color: var(--color-primary); 2765 } 2766 2767 @media (max-width: 991.98px) { 2768 #diff-file-tree { 2769 display: none !important; 2770 } 2771 .diff-toggle-file-tree-button { 2772 display: none !important; 2773 } 2774 } 2775 2776 .ui.message.unicode-escape-prompt { 2777 margin-bottom: 0; 2778 border-radius: 0; 2779 display: flex; 2780 flex-direction: column; 2781 } 2782 2783 /* fomantic's last-child selector does not work with hidden last child */ 2784 .ui.buttons .unescape-button { 2785 border-top-right-radius: 0.28571429rem; 2786 border-bottom-right-radius: 0.28571429rem; 2787 } 2788 2789 .webhook-info { 2790 padding: 7px 12px; 2791 margin: 10px 0; 2792 background-color: var(--color-markup-code-block); 2793 border: 1px solid var(--color-secondary); 2794 border-radius: var(--border-radius); 2795 font-size: 13px; 2796 line-height: 1.5; 2797 overflow: auto; 2798 } 2799 2800 .title_wip_desc { 2801 margin-top: 1em; 2802 } 2803 2804 .sidebar-item-link { 2805 display: inline-flex; 2806 align-items: center; 2807 word-break: break-all; 2808 } 2809 2810 .diff-file-header { 2811 padding: 5px 8px !important; 2812 } 2813 2814 .diff-file-box[data-folded="true"] .diff-file-body { 2815 display: none; 2816 } 2817 2818 .diff-file-box[data-folded="true"] .diff-file-header { 2819 border-radius: var(--border-radius) !important; 2820 } 2821 2822 .ui.attached.header.diff-file-header.sticky-2nd-row { 2823 position: sticky; 2824 top: 44px; /* match .repository .diff-detail-box */ 2825 z-index: 7; 2826 } 2827 2828 @media (max-width: 991.98px) { 2829 .ui.attached.header.diff-file-header.sticky-2nd-row { 2830 top: 77px; /* match .repository .diff-detail-box */ 2831 } 2832 } 2833 2834 @media (max-width: 480px) { 2835 .ui.attached.header.diff-file-header.sticky-2nd-row { 2836 position: static; 2837 } 2838 } 2839 2840 .diff-file-name { 2841 flex: auto; 2842 min-width: 100px; 2843 } 2844 2845 .diff-file-name .ui.label { 2846 margin-left: 0 !important; 2847 } 2848 2849 .diff-stats-bar { 2850 display: inline-block; 2851 background-color: var(--color-red); 2852 height: 12px; 2853 width: 40px; 2854 } 2855 2856 .diff-stats-bar .diff-stats-add-bar { 2857 background-color: var(--color-green); 2858 height: 100%; 2859 } 2860 2861 .ui.form .right .ui.button { 2862 margin-left: 0.25em; 2863 margin-right: 0; 2864 } 2865 2866 .removed-code { 2867 background: var(--color-diff-removed-word-bg); 2868 } 2869 2870 .added-code { 2871 background: var(--color-diff-added-word-bg); 2872 } 2873 2874 .code-diff-unified .del-code, 2875 .code-diff-unified .del-code td, 2876 .code-diff-split .del-code .lines-num-old, 2877 .code-diff-split .del-code .lines-escape-old, 2878 .code-diff-split .del-code .lines-type-marker-old, 2879 .code-diff-split .del-code .lines-code-old { 2880 background: var(--color-diff-removed-row-bg); 2881 border-color: var(--color-diff-removed-row-border); 2882 } 2883 2884 .code-diff-unified .add-code, 2885 .code-diff-unified .add-code td, 2886 .code-diff-split .add-code .lines-num-new, 2887 .code-diff-split .add-code .lines-type-marker-new, 2888 .code-diff-split .add-code .lines-escape-new, 2889 .code-diff-split .add-code .lines-code-new, 2890 .code-diff-split .del-code .add-code.lines-num-new, 2891 .code-diff-split .del-code .add-code.lines-type-marker-new, 2892 .code-diff-split .del-code .add-code.lines-escape-new, 2893 .code-diff-split .del-code .add-code.lines-code-new { 2894 background: var(--color-diff-added-row-bg); 2895 border-color: var(--color-diff-added-row-border); 2896 } 2897 2898 .code-diff-split .del-code .lines-num-new, 2899 .code-diff-split .del-code .lines-type-marker-new, 2900 .code-diff-split .del-code .lines-code-new, 2901 .code-diff-split .del-code .lines-escape-new, 2902 .code-diff-split .add-code .lines-num-old, 2903 .code-diff-split .add-code .lines-escape-old, 2904 .code-diff-split .add-code .lines-type-marker-old, 2905 .code-diff-split .add-code .lines-code-old { 2906 background: var(--color-diff-inactive); 2907 } 2908 2909 .code-diff-split tbody tr td:nth-child(5), 2910 .code-diff-split tbody tr td.add-comment-right { 2911 border-left: 1px solid var(--color-secondary); 2912 } 2913 2914 .repository .ui.menu.new-menu { 2915 background: none !important; 2916 } 2917 2918 @media (max-width: 1200px) { 2919 .repository .ui.menu.new-menu::after { 2920 background: none !important; 2921 } 2922 } 2923 2924 .migrate-entries { 2925 display: grid !important; 2926 grid-template-columns: repeat(3, 1fr); 2927 gap: 25px; 2928 margin: 0 !important; 2929 } 2930 2931 @media (max-width: 767.98px) { 2932 .migrate-entries { 2933 grid-template-columns: repeat(1, 1fr); 2934 } 2935 } 2936 2937 .migrate-entry { 2938 transition: all 0.1s ease-in-out; 2939 box-shadow: none !important; 2940 border: 1px solid var(--color-secondary); 2941 color: var(--color-text) !important; 2942 width: auto !important; 2943 margin: 0 !important; 2944 } 2945 2946 .migrate-entry:hover { 2947 transform: scale(105%); 2948 box-shadow: 0 0.5rem 1rem var(--color-shadow) !important; 2949 } 2950 2951 .migrate-entry .description { 2952 text-wrap: balance; 2953 } 2954 2955 .commits-table .commits-table-right form { 2956 display: flex; 2957 align-items: center; 2958 gap: 0.75em; 2959 justify-content: center; 2960 flex-wrap: wrap; 2961 } 2962 2963 @media (max-width: 767.98px) { 2964 .repository.file.list #repo-files-table .entry, 2965 .repository.file.list #repo-files-table .commit-list { 2966 align-items: center; 2967 display: flex !important; 2968 padding-top: 4px; 2969 padding-bottom: 4px; 2970 } 2971 .repository.file.list #repo-files-table .entry td.age, 2972 .repository.file.list #repo-files-table .commit-list td.age, 2973 .repository.file.list #repo-files-table .entry th.age, 2974 .repository.file.list #repo-files-table .commit-list th.age { 2975 margin-left: auto; 2976 } 2977 .repository.file.list #repo-files-table .entry td.message, 2978 .repository.file.list #repo-files-table .commit-list td.message, 2979 .repository.file.list #repo-files-table .entry span.commit-summary, 2980 .repository.file.list #repo-files-table .commit-list span.commit-summary { 2981 display: none !important; 2982 } 2983 .repository.view.issue .comment-list .timeline, 2984 .repository.view.issue .comment-list .timeline-item { 2985 margin-left: 0; 2986 } 2987 .repository.view.issue .comment-list .timeline::before { 2988 left: 14px; 2989 } 2990 .repository.view.issue .comment-list .timeline .inline-timeline-avatar { 2991 display: flex; 2992 margin-bottom: auto; 2993 margin-left: 6px; 2994 margin-right: 2px; 2995 } 2996 .repository.view.issue .comment-list .timeline .comment-header { 2997 padding-left: 4px; 2998 } 2999 .repository.view.issue .comment-list .timeline .comment-header::before, 3000 .repository.view.issue .comment-list .timeline .comment-header::after { 3001 content: unset; 3002 } 3003 /* Don't show the general avatar, we show the inline avatar on mobile. 3004 * And don't show the role labels, there's no place for that. */ 3005 .repository.view.issue .comment-list .timeline .timeline-avatar, 3006 .repository.view.issue .comment-list .timeline .comment-header-right .role-label { 3007 display: none; 3008 } 3009 .commit-header-row .ui.horizontal.list { 3010 width: 100%; 3011 overflow-x: auto; 3012 margin-top: 2px; 3013 } 3014 .commit-header-row .ui.horizontal.list .item { 3015 align-items: center; 3016 display: flex; 3017 } 3018 .commit-header-row .author { 3019 padding: 3px 0; 3020 } 3021 .commit-header h3 { 3022 flex-basis: auto !important; 3023 margin-bottom: 0.5rem !important; 3024 } 3025 .commits-table { 3026 flex-direction: column; 3027 } 3028 .commits-table .commits-table-left { 3029 align-items: initial !important; 3030 margin-bottom: 6px; 3031 } 3032 .commits-table .commits-table-right form > div:nth-child(1) { 3033 order: 1; /* the "commit search" input */ 3034 } 3035 .commits-table .commits-table-right form > div:nth-child(2) { 3036 order: 3; /* the "search all" checkbox */ 3037 } 3038 .commits-table .commits-table-right form > button:nth-child(3) { 3039 order: 2; /* the "search" button */ 3040 } 3041 .commit-table { 3042 overflow-x: auto; 3043 } 3044 .commit-table td.sha, 3045 .commit-table th.sha { 3046 display: none !important; 3047 } 3048 .commit-table .commit-list .copy-commit-sha { 3049 display: none !important; 3050 } 3051 .comment-header { 3052 flex-wrap: wrap; 3053 } 3054 .comment-header .comment-header-left { 3055 flex-wrap: wrap; 3056 } 3057 .comment-header .comment-header-right { 3058 margin-left: auto; 3059 } 3060 } 3061 3062 .branch-dropdown-button { 3063 max-width: 340px; 3064 vertical-align: bottom !important; 3065 } 3066 3067 @media (min-width: 768px) and (max-width: 991.98px) { 3068 .branch-dropdown-button { 3069 max-width: 185px; 3070 } 3071 } 3072 3073 @media (max-width: 767.98px) { 3074 .branch-dropdown-button { 3075 max-width: 165px; 3076 } 3077 } 3078 3079 .pr-status { 3080 padding: 0 !important; /* To clear fomantic's padding on .ui.segment elements */ 3081 display: flex; 3082 align-items: center; 3083 } 3084 3085 .pr-status .commit-status { 3086 margin: 1em; 3087 flex-shrink: 0; 3088 } 3089 3090 .pr-status .status-context { 3091 display: flex; 3092 justify-content: space-between; 3093 width: 100%; 3094 } 3095 3096 .pr-status .status-context > span { 3097 padding: 1em 0; 3098 } 3099 3100 .pr-status .status-details { 3101 display: flex; 3102 padding-right: 0.5em; 3103 align-items: center; 3104 justify-content: flex-end; 3105 } 3106 3107 @media (max-width: 767.98px) { 3108 .pr-status .status-details { 3109 flex-direction: column; 3110 align-items: flex-end; 3111 justify-content: center; 3112 } 3113 } 3114 3115 .pr-status .status-details > span { 3116 padding-right: 0.5em; /* To match the alignment with the "required" label */ 3117 } 3118 3119 .search-fullname { 3120 color: var(--color-text-light-2); 3121 } 3122 3123 #issue-pins { 3124 display: grid; 3125 grid-template-columns: repeat(3, 1fr); 3126 gap: 8px; 3127 margin-bottom: 8px; 3128 } 3129 3130 @media (max-width: 767.98px) { 3131 #issue-pins { 3132 grid-template-columns: repeat(1, 1fr); 3133 } 3134 } 3135 3136 #cherry-pick-modal .scrolling.menu { 3137 max-height: 200px; 3138 }