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