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