##// END OF EJS Templates
pr: cleanup merge checks page, and use stable url. previously refresh checks ajax would change the URL
marcink -
r4053:650607eb default
parent child Browse files
Show More
@@ -1,2913 +1,2916 b''
1 1 //Primary CSS
2 2
3 3 //--- IMPORTS ------------------//
4 4
5 5 @import 'helpers';
6 6 @import 'mixins';
7 7 @import 'rcicons';
8 8 @import 'variables';
9 9 @import 'bootstrap-variables';
10 10 @import 'form-bootstrap';
11 11 @import 'codemirror';
12 12 @import 'legacy_code_styles';
13 13 @import 'readme-box';
14 14 @import 'progress-bar';
15 15
16 16 @import 'type';
17 17 @import 'alerts';
18 18 @import 'buttons';
19 19 @import 'tags';
20 20 @import 'code-block';
21 21 @import 'examples';
22 22 @import 'login';
23 23 @import 'main-content';
24 24 @import 'select2';
25 25 @import 'comments';
26 26 @import 'panels-bootstrap';
27 27 @import 'panels';
28 28 @import 'deform';
29 29 @import 'tooltips';
30 30
31 31 //--- BASE ------------------//
32 32 .noscript-error {
33 33 top: 0;
34 34 left: 0;
35 35 width: 100%;
36 36 z-index: 101;
37 37 text-align: center;
38 38 font-size: 120%;
39 39 color: white;
40 40 background-color: @alert2;
41 41 padding: 5px 0 5px 0;
42 42 font-weight: @text-semibold-weight;
43 43 font-family: @text-semibold;
44 44 }
45 45
46 46 html {
47 47 display: table;
48 48 height: 100%;
49 49 width: 100%;
50 50 }
51 51
52 52 body {
53 53 display: table-cell;
54 54 width: 100%;
55 55 }
56 56
57 57 //--- LAYOUT ------------------//
58 58
59 59 .hidden{
60 60 display: none !important;
61 61 }
62 62
63 63 .box{
64 64 float: left;
65 65 width: 100%;
66 66 }
67 67
68 68 .browser-header {
69 69 clear: both;
70 70 }
71 71 .main {
72 72 clear: both;
73 73 padding:0 0 @pagepadding;
74 74 height: auto;
75 75
76 76 &:after { //clearfix
77 77 content:"";
78 78 clear:both;
79 79 width:100%;
80 80 display:block;
81 81 }
82 82 }
83 83
84 84 .action-link{
85 85 margin-left: @padding;
86 86 padding-left: @padding;
87 87 border-left: @border-thickness solid @border-default-color;
88 88 }
89 89
90 90 input + .action-link, .action-link.first{
91 91 border-left: none;
92 92 }
93 93
94 94 .action-link.last{
95 95 margin-right: @padding;
96 96 padding-right: @padding;
97 97 }
98 98
99 99 .action-link.active,
100 100 .action-link.active a{
101 101 color: @grey4;
102 102 }
103 103
104 104 .action-link.disabled {
105 105 color: @grey4;
106 106 cursor: inherit;
107 107 }
108 108
109 109 .clipboard-action {
110 110 cursor: pointer;
111 111 color: @grey4;
112 112 margin-left: 5px;
113 113
114 114 &:hover {
115 115 color: @grey2;
116 116 }
117 117 }
118 118
119 119 ul.simple-list{
120 120 list-style: none;
121 121 margin: 0;
122 122 padding: 0;
123 123 }
124 124
125 125 .main-content {
126 126 padding-bottom: @pagepadding;
127 127 }
128 128
129 129 .wide-mode-wrapper {
130 130 max-width:4000px !important;
131 131 }
132 132
133 133 .wrapper {
134 134 position: relative;
135 135 max-width: @wrapper-maxwidth;
136 136 margin: 0 auto;
137 137 }
138 138
139 139 #content {
140 140 clear: both;
141 141 padding: 0 @contentpadding;
142 142 }
143 143
144 144 .advanced-settings-fields{
145 145 input{
146 146 margin-left: @textmargin;
147 147 margin-right: @padding/2;
148 148 }
149 149 }
150 150
151 151 .cs_files_title {
152 152 margin: @pagepadding 0 0;
153 153 }
154 154
155 155 input.inline[type="file"] {
156 156 display: inline;
157 157 }
158 158
159 159 .error_page {
160 160 margin: 10% auto;
161 161
162 162 h1 {
163 163 color: @grey2;
164 164 }
165 165
166 166 .alert {
167 167 margin: @padding 0;
168 168 }
169 169
170 170 .error-branding {
171 171 color: @grey4;
172 172 font-weight: @text-semibold-weight;
173 173 font-family: @text-semibold;
174 174 }
175 175
176 176 .error_message {
177 177 font-family: @text-regular;
178 178 }
179 179
180 180 .sidebar {
181 181 min-height: 275px;
182 182 margin: 0;
183 183 padding: 0 0 @sidebarpadding @sidebarpadding;
184 184 border: none;
185 185 }
186 186
187 187 .main-content {
188 188 position: relative;
189 189 margin: 0 @sidebarpadding @sidebarpadding;
190 190 padding: 0 0 0 @sidebarpadding;
191 191 border-left: @border-thickness solid @grey5;
192 192
193 193 @media (max-width:767px) {
194 194 clear: both;
195 195 width: 100%;
196 196 margin: 0;
197 197 border: none;
198 198 }
199 199 }
200 200
201 201 .inner-column {
202 202 float: left;
203 203 width: 29.75%;
204 204 min-height: 150px;
205 205 margin: @sidebarpadding 2% 0 0;
206 206 padding: 0 2% 0 0;
207 207 border-right: @border-thickness solid @grey5;
208 208
209 209 @media (max-width:767px) {
210 210 clear: both;
211 211 width: 100%;
212 212 border: none;
213 213 }
214 214
215 215 ul {
216 216 padding-left: 1.25em;
217 217 }
218 218
219 219 &:last-child {
220 220 margin: @sidebarpadding 0 0;
221 221 border: none;
222 222 }
223 223
224 224 h4 {
225 225 margin: 0 0 @padding;
226 226 font-weight: @text-semibold-weight;
227 227 font-family: @text-semibold;
228 228 }
229 229 }
230 230 }
231 231 .error-page-logo {
232 232 width: 130px;
233 233 height: 160px;
234 234 }
235 235
236 236 // HEADER
237 237 .header {
238 238
239 239 // TODO: johbo: Fix login pages, so that they work without a min-height
240 240 // for the header and then remove the min-height. I chose a smaller value
241 241 // intentionally here to avoid rendering issues in the main navigation.
242 242 min-height: 49px;
243 243 min-width: 1024px;
244 244
245 245 position: relative;
246 246 vertical-align: bottom;
247 247 padding: 0 @header-padding;
248 248 background-color: @grey1;
249 249 color: @grey5;
250 250
251 251 .title {
252 252 overflow: visible;
253 253 }
254 254
255 255 &:before,
256 256 &:after {
257 257 content: "";
258 258 clear: both;
259 259 width: 100%;
260 260 }
261 261
262 262 // TODO: johbo: Avoids breaking "Repositories" chooser
263 263 .select2-container .select2-choice .select2-arrow {
264 264 display: none;
265 265 }
266 266 }
267 267
268 268 #header-inner {
269 269 &.title {
270 270 margin: 0;
271 271 }
272 272 &:before,
273 273 &:after {
274 274 content: "";
275 275 clear: both;
276 276 }
277 277 }
278 278
279 279 // Gists
280 280 #files_data {
281 281 clear: both; //for firefox
282 282 padding-top: 10px;
283 283 }
284 284
285 285 #gistid {
286 286 margin-right: @padding;
287 287 }
288 288
289 289 // Global Settings Editor
290 290 .textarea.editor {
291 291 float: left;
292 292 position: relative;
293 293 max-width: @texteditor-width;
294 294
295 295 select {
296 296 position: absolute;
297 297 top:10px;
298 298 right:0;
299 299 }
300 300
301 301 .CodeMirror {
302 302 margin: 0;
303 303 }
304 304
305 305 .help-block {
306 306 margin: 0 0 @padding;
307 307 padding:.5em;
308 308 background-color: @grey6;
309 309 &.pre-formatting {
310 310 white-space: pre;
311 311 }
312 312 }
313 313 }
314 314
315 315 ul.auth_plugins {
316 316 margin: @padding 0 @padding @legend-width;
317 317 padding: 0;
318 318
319 319 li {
320 320 margin-bottom: @padding;
321 321 line-height: 1em;
322 322 list-style-type: none;
323 323
324 324 .auth_buttons .btn {
325 325 margin-right: @padding;
326 326 }
327 327
328 328 }
329 329 }
330 330
331 331
332 332 // My Account PR list
333 333
334 334 #show_closed {
335 335 margin: 0 1em 0 0;
336 336 }
337 337
338 338 #pull_request_list_table {
339 339 .closed {
340 340 background-color: @grey6;
341 341 }
342 342
343 343 .state-creating,
344 344 .state-updating,
345 345 .state-merging
346 346 {
347 347 background-color: @grey6;
348 348 }
349 349
350 350 .td-status {
351 351 padding-left: .5em;
352 352 }
353 353 .log-container .truncate {
354 354 height: 2.75em;
355 355 white-space: pre-line;
356 356 }
357 357 table.rctable .user {
358 358 padding-left: 0;
359 359 }
360 360 table.rctable {
361 361 td.td-description,
362 362 .rc-user {
363 363 min-width: auto;
364 364 }
365 365 }
366 366 }
367 367
368 368 // Pull Requests
369 369
370 370 .pullrequests_section_head {
371 371 display: block;
372 372 clear: both;
373 373 margin: @padding 0;
374 374 font-weight: @text-bold-weight;
375 375 font-family: @text-bold;
376 376 }
377 377
378 378 .pr-origininfo, .pr-targetinfo {
379 379 position: relative;
380 380
381 381 .tag {
382 382 display: inline-block;
383 383 margin: 0 1em .5em 0;
384 384 }
385 385
386 386 .clone-url {
387 387 display: inline-block;
388 388 margin: 0 0 .5em 0;
389 389 padding: 0;
390 390 line-height: 1.2em;
391 391 }
392 392 }
393 393
394 394 .pr-mergeinfo {
395 395 min-width: 95% !important;
396 396 padding: 0 !important;
397 397 border: 0;
398 398 }
399 399 .pr-mergeinfo-copy {
400 400 padding: 0 0;
401 401 }
402 402
403 403 .pr-pullinfo {
404 404 min-width: 95% !important;
405 405 padding: 0 !important;
406 406 border: 0;
407 407 }
408 408 .pr-pullinfo-copy {
409 409 padding: 0 0;
410 410 }
411 411
412 412
413 413 #pr-title-input {
414 414 width: 72%;
415 415 font-size: 1em;
416 416 margin: 0;
417 417 padding: 0 0 0 @padding/4;
418 418 line-height: 1.7em;
419 419 color: @text-color;
420 420 letter-spacing: .02em;
421 421 font-weight: @text-bold-weight;
422 422 font-family: @text-bold;
423 423 }
424 424
425 425 #pullrequest_title {
426 426 width: 100%;
427 427 box-sizing: border-box;
428 428 }
429 429
430 430 #pr_open_message {
431 431 border: @border-thickness solid #fff;
432 432 border-radius: @border-radius;
433 433 padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0;
434 434 text-align: left;
435 435 overflow: hidden;
436 436 }
437 437
438 438 .pr-submit-button {
439 439 float: right;
440 440 margin: 0 0 0 5px;
441 441 }
442 442
443 443 .pr-spacing-container {
444 444 padding: 20px;
445 445 clear: both
446 446 }
447 447
448 448 #pr-description-input {
449 449 margin-bottom: 0;
450 450 }
451 451
452 452 .pr-description-label {
453 453 vertical-align: top;
454 454 }
455 455
456 456 .perms_section_head {
457 457 min-width: 625px;
458 458
459 459 h2 {
460 460 margin-bottom: 0;
461 461 }
462 462
463 463 .label-checkbox {
464 464 float: left;
465 465 }
466 466
467 467 &.field {
468 468 margin: @space 0 @padding;
469 469 }
470 470
471 471 &:first-child.field {
472 472 margin-top: 0;
473 473
474 474 .label {
475 475 margin-top: 0;
476 476 padding-top: 0;
477 477 }
478 478
479 479 .radios {
480 480 padding-top: 0;
481 481 }
482 482 }
483 483
484 484 .radios {
485 485 position: relative;
486 486 width: 505px;
487 487 }
488 488 }
489 489
490 490 //--- MODULES ------------------//
491 491
492 492
493 493 // Server Announcement
494 494 #server-announcement {
495 495 width: 95%;
496 496 margin: @padding auto;
497 497 padding: @padding;
498 498 border-width: 2px;
499 499 border-style: solid;
500 500 .border-radius(2px);
501 501 font-weight: @text-bold-weight;
502 502 font-family: @text-bold;
503 503
504 504 &.info { border-color: @alert4; background-color: @alert4-inner; }
505 505 &.warning { border-color: @alert3; background-color: @alert3-inner; }
506 506 &.error { border-color: @alert2; background-color: @alert2-inner; }
507 507 &.success { border-color: @alert1; background-color: @alert1-inner; }
508 508 &.neutral { border-color: @grey3; background-color: @grey6; }
509 509 }
510 510
511 511 // Fixed Sidebar Column
512 512 .sidebar-col-wrapper {
513 513 padding-left: @sidebar-all-width;
514 514
515 515 .sidebar {
516 516 width: @sidebar-width;
517 517 margin-left: -@sidebar-all-width;
518 518 }
519 519 }
520 520
521 521 .sidebar-col-wrapper.scw-small {
522 522 padding-left: @sidebar-small-all-width;
523 523
524 524 .sidebar {
525 525 width: @sidebar-small-width;
526 526 margin-left: -@sidebar-small-all-width;
527 527 }
528 528 }
529 529
530 530
531 531 // FOOTER
532 532 #footer {
533 533 padding: 0;
534 534 text-align: center;
535 535 vertical-align: middle;
536 536 color: @grey2;
537 537 font-size: 11px;
538 538
539 539 p {
540 540 margin: 0;
541 541 padding: 1em;
542 542 line-height: 1em;
543 543 }
544 544
545 545 .server-instance { //server instance
546 546 display: none;
547 547 }
548 548
549 549 .title {
550 550 float: none;
551 551 margin: 0 auto;
552 552 }
553 553 }
554 554
555 555 button.close {
556 556 padding: 0;
557 557 cursor: pointer;
558 558 background: transparent;
559 559 border: 0;
560 560 .box-shadow(none);
561 561 -webkit-appearance: none;
562 562 }
563 563
564 564 .close {
565 565 float: right;
566 566 font-size: 21px;
567 567 font-family: @text-bootstrap;
568 568 line-height: 1em;
569 569 font-weight: bold;
570 570 color: @grey2;
571 571
572 572 &:hover,
573 573 &:focus {
574 574 color: @grey1;
575 575 text-decoration: none;
576 576 cursor: pointer;
577 577 }
578 578 }
579 579
580 580 // GRID
581 581 .sorting,
582 582 .sorting_desc,
583 583 .sorting_asc {
584 584 cursor: pointer;
585 585 }
586 586 .sorting_desc:after {
587 587 content: "\00A0\25B2";
588 588 font-size: .75em;
589 589 }
590 590 .sorting_asc:after {
591 591 content: "\00A0\25BC";
592 592 font-size: .68em;
593 593 }
594 594
595 595
596 596 .user_auth_tokens {
597 597
598 598 &.truncate {
599 599 white-space: nowrap;
600 600 overflow: hidden;
601 601 text-overflow: ellipsis;
602 602 }
603 603
604 604 .fields .field .input {
605 605 margin: 0;
606 606 }
607 607
608 608 input#description {
609 609 width: 100px;
610 610 margin: 0;
611 611 }
612 612
613 613 .drop-menu {
614 614 // TODO: johbo: Remove this, should work out of the box when
615 615 // having multiple inputs inline
616 616 margin: 0 0 0 5px;
617 617 }
618 618 }
619 619 #user_list_table {
620 620 .closed {
621 621 background-color: @grey6;
622 622 }
623 623 }
624 624
625 625
626 626 input, textarea {
627 627 &.disabled {
628 628 opacity: .5;
629 629 }
630 630
631 631 &:hover {
632 632 border-color: @grey3;
633 633 box-shadow: @button-shadow;
634 634 }
635 635
636 636 &:focus {
637 637 border-color: @rcblue;
638 638 box-shadow: @button-shadow;
639 639 }
640 640 }
641 641
642 642 // remove extra padding in firefox
643 643 input::-moz-focus-inner { border:0; padding:0 }
644 644
645 645 .adjacent input {
646 646 margin-bottom: @padding;
647 647 }
648 648
649 649 .permissions_boxes {
650 650 display: block;
651 651 }
652 652
653 653 //FORMS
654 654
655 655 .medium-inline,
656 656 input#description.medium-inline {
657 657 display: inline;
658 658 width: @medium-inline-input-width;
659 659 min-width: 100px;
660 660 }
661 661
662 662 select {
663 663 //reset
664 664 -webkit-appearance: none;
665 665 -moz-appearance: none;
666 666
667 667 display: inline-block;
668 668 height: 28px;
669 669 width: auto;
670 670 margin: 0 @padding @padding 0;
671 671 padding: 0 18px 0 8px;
672 672 line-height:1em;
673 673 font-size: @basefontsize;
674 674 border: @border-thickness solid @grey5;
675 675 border-radius: @border-radius;
676 676 background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%;
677 677 color: @grey4;
678 678 box-shadow: @button-shadow;
679 679
680 680 &:after {
681 681 content: "\00A0\25BE";
682 682 }
683 683
684 684 &:focus, &:hover {
685 685 outline: none;
686 686 border-color: @grey4;
687 687 color: @rcdarkblue;
688 688 }
689 689 }
690 690
691 691 option {
692 692 &:focus {
693 693 outline: none;
694 694 }
695 695 }
696 696
697 697 input,
698 698 textarea {
699 699 padding: @input-padding;
700 700 border: @input-border-thickness solid @border-highlight-color;
701 701 .border-radius (@border-radius);
702 702 font-family: @text-light;
703 703 font-size: @basefontsize;
704 704
705 705 &.input-sm {
706 706 padding: 5px;
707 707 }
708 708
709 709 &#description {
710 710 min-width: @input-description-minwidth;
711 711 min-height: 1em;
712 712 padding: 10px;
713 713 }
714 714 }
715 715
716 716 .field-sm {
717 717 input,
718 718 textarea {
719 719 padding: 5px;
720 720 }
721 721 }
722 722
723 723 textarea {
724 724 display: block;
725 725 clear: both;
726 726 width: 100%;
727 727 min-height: 100px;
728 728 margin-bottom: @padding;
729 729 .box-sizing(border-box);
730 730 overflow: auto;
731 731 }
732 732
733 733 label {
734 734 font-family: @text-light;
735 735 }
736 736
737 737 // GRAVATARS
738 738 // centers gravatar on username to the right
739 739
740 740 .gravatar {
741 741 display: inline;
742 742 min-width: 16px;
743 743 min-height: 16px;
744 744 margin: -5px 0;
745 745 padding: 0;
746 746 line-height: 1em;
747 747 box-sizing: content-box;
748 748 border-radius: 50%;
749 749
750 750 &.gravatar-large {
751 751 margin: -0.5em .25em -0.5em 0;
752 752 }
753 753
754 754 & + .user {
755 755 display: inline;
756 756 margin: 0;
757 757 padding: 0 0 0 .17em;
758 758 line-height: 1em;
759 759 }
760 760 }
761 761
762 762 .user-inline-data {
763 763 display: inline-block;
764 764 float: left;
765 765 padding-left: .5em;
766 766 line-height: 1.3em;
767 767 }
768 768
769 769 .rc-user { // gravatar + user wrapper
770 770 float: left;
771 771 position: relative;
772 772 min-width: 100px;
773 773 max-width: 200px;
774 774 min-height: (@gravatar-size + @border-thickness * 2); // account for border
775 775 display: block;
776 776 padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2);
777 777
778 778
779 779 .gravatar {
780 780 display: block;
781 781 position: absolute;
782 782 top: 0;
783 783 left: 0;
784 784 min-width: @gravatar-size;
785 785 min-height: @gravatar-size;
786 786 margin: 0;
787 787 }
788 788
789 789 .user {
790 790 display: block;
791 791 max-width: 175px;
792 792 padding-top: 2px;
793 793 overflow: hidden;
794 794 text-overflow: ellipsis;
795 795 }
796 796 }
797 797
798 798 .gist-gravatar,
799 799 .journal_container {
800 800 .gravatar-large {
801 801 margin: 0 .5em -10px 0;
802 802 }
803 803 }
804 804
805 805
806 806 // ADMIN SETTINGS
807 807
808 808 // Tag Patterns
809 809 .tag_patterns {
810 810 .tag_input {
811 811 margin-bottom: @padding;
812 812 }
813 813 }
814 814
815 815 .locked_input {
816 816 position: relative;
817 817
818 818 input {
819 819 display: inline;
820 820 margin: 3px 5px 0px 0px;
821 821 }
822 822
823 823 br {
824 824 display: none;
825 825 }
826 826
827 827 .error-message {
828 828 float: left;
829 829 width: 100%;
830 830 }
831 831
832 832 .lock_input_button {
833 833 display: inline;
834 834 }
835 835
836 836 .help-block {
837 837 clear: both;
838 838 }
839 839 }
840 840
841 841 // Notifications
842 842
843 843 .notifications_buttons {
844 844 margin: 0 0 @space 0;
845 845 padding: 0;
846 846
847 847 .btn {
848 848 display: inline-block;
849 849 }
850 850 }
851 851
852 852 .notification-list {
853 853
854 854 div {
855 855 display: inline-block;
856 856 vertical-align: middle;
857 857 }
858 858
859 859 .container {
860 860 display: block;
861 861 margin: 0 0 @padding 0;
862 862 }
863 863
864 864 .delete-notifications {
865 865 margin-left: @padding;
866 866 text-align: right;
867 867 cursor: pointer;
868 868 }
869 869
870 870 .read-notifications {
871 871 margin-left: @padding/2;
872 872 text-align: right;
873 873 width: 35px;
874 874 cursor: pointer;
875 875 }
876 876
877 877 .icon-minus-sign {
878 878 color: @alert2;
879 879 }
880 880
881 881 .icon-ok-sign {
882 882 color: @alert1;
883 883 }
884 884 }
885 885
886 886 .user_settings {
887 887 float: left;
888 888 clear: both;
889 889 display: block;
890 890 width: 100%;
891 891
892 892 .gravatar_box {
893 893 margin-bottom: @padding;
894 894
895 895 &:after {
896 896 content: " ";
897 897 clear: both;
898 898 width: 100%;
899 899 }
900 900 }
901 901
902 902 .fields .field {
903 903 clear: both;
904 904 }
905 905 }
906 906
907 907 .advanced_settings {
908 908 margin-bottom: @space;
909 909
910 910 .help-block {
911 911 margin-left: 0;
912 912 }
913 913
914 914 button + .help-block {
915 915 margin-top: @padding;
916 916 }
917 917 }
918 918
919 919 // admin settings radio buttons and labels
920 920 .label-2 {
921 921 float: left;
922 922 width: @label2-width;
923 923
924 924 label {
925 925 color: @grey1;
926 926 }
927 927 }
928 928 .checkboxes {
929 929 float: left;
930 930 width: @checkboxes-width;
931 931 margin-bottom: @padding;
932 932
933 933 .checkbox {
934 934 width: 100%;
935 935
936 936 label {
937 937 margin: 0;
938 938 padding: 0;
939 939 }
940 940 }
941 941
942 942 .checkbox + .checkbox {
943 943 display: inline-block;
944 944 }
945 945
946 946 label {
947 947 margin-right: 1em;
948 948 }
949 949 }
950 950
951 951 // CHANGELOG
952 952 .container_header {
953 953 float: left;
954 954 display: block;
955 955 width: 100%;
956 956 margin: @padding 0 @padding;
957 957
958 958 #filter_changelog {
959 959 float: left;
960 960 margin-right: @padding;
961 961 }
962 962
963 963 .breadcrumbs_light {
964 964 display: inline-block;
965 965 }
966 966 }
967 967
968 968 .info_box {
969 969 float: right;
970 970 }
971 971
972 972
973 973
974 974 #graph_content{
975 975
976 976 // adjust for table headers so that graph renders properly
977 977 // #graph_nodes padding - table cell padding
978 978 padding-top: (@space - (@basefontsize * 2.4));
979 979
980 980 &.graph_full_width {
981 981 width: 100%;
982 982 max-width: 100%;
983 983 }
984 984 }
985 985
986 986 #graph {
987 987
988 988 .pagination-left {
989 989 float: left;
990 990 clear: both;
991 991 }
992 992
993 993 .log-container {
994 994 max-width: 345px;
995 995
996 996 .message{
997 997 max-width: 340px;
998 998 }
999 999 }
1000 1000
1001 1001 .graph-col-wrapper {
1002 1002
1003 1003 #graph_nodes {
1004 1004 width: 100px;
1005 1005 position: absolute;
1006 1006 left: 70px;
1007 1007 z-index: -1;
1008 1008 }
1009 1009 }
1010 1010
1011 1011 .load-more-commits {
1012 1012 text-align: center;
1013 1013 }
1014 1014 .load-more-commits:hover {
1015 1015 background-color: @grey7;
1016 1016 }
1017 1017 .load-more-commits {
1018 1018 a {
1019 1019 display: block;
1020 1020 }
1021 1021 }
1022 1022 }
1023 1023
1024 1024 .obsolete-toggle {
1025 1025 line-height: 30px;
1026 1026 margin-left: -15px;
1027 1027 }
1028 1028
1029 1029 #rev_range_container, #rev_range_clear, #rev_range_more {
1030 1030 margin-top: -5px;
1031 1031 margin-bottom: -5px;
1032 1032 }
1033 1033
1034 1034 #filter_changelog {
1035 1035 float: left;
1036 1036 }
1037 1037
1038 1038
1039 1039 //--- THEME ------------------//
1040 1040
1041 1041 #logo {
1042 1042 float: left;
1043 1043 margin: 9px 0 0 0;
1044 1044
1045 1045 .header {
1046 1046 background-color: transparent;
1047 1047 }
1048 1048
1049 1049 a {
1050 1050 display: inline-block;
1051 1051 }
1052 1052
1053 1053 img {
1054 1054 height:30px;
1055 1055 }
1056 1056 }
1057 1057
1058 1058 .logo-wrapper {
1059 1059 float:left;
1060 1060 }
1061 1061
1062 1062 .branding {
1063 1063 float: left;
1064 1064 padding: 9px 2px;
1065 1065 line-height: 1em;
1066 1066 font-size: @navigation-fontsize;
1067 1067
1068 1068 a {
1069 1069 color: @grey5
1070 1070 }
1071 1071 @media screen and (max-width: 1200px) {
1072 1072 display: none;
1073 1073 }
1074 1074 }
1075 1075
1076 1076 img {
1077 1077 border: none;
1078 1078 outline: none;
1079 1079 }
1080 1080 user-profile-header
1081 1081 label {
1082 1082
1083 1083 input[type="checkbox"] {
1084 1084 margin-right: 1em;
1085 1085 }
1086 1086 input[type="radio"] {
1087 1087 margin-right: 1em;
1088 1088 }
1089 1089 }
1090 1090
1091 1091 .review-status {
1092 1092 &.under_review {
1093 1093 color: @alert3;
1094 1094 }
1095 1095 &.approved {
1096 1096 color: @alert1;
1097 1097 }
1098 1098 &.rejected,
1099 1099 &.forced_closed{
1100 1100 color: @alert2;
1101 1101 }
1102 1102 &.not_reviewed {
1103 1103 color: @grey5;
1104 1104 }
1105 1105 }
1106 1106
1107 1107 .review-status-under_review {
1108 1108 color: @alert3;
1109 1109 }
1110 1110 .status-tag-under_review {
1111 1111 border-color: @alert3;
1112 1112 }
1113 1113
1114 1114 .review-status-approved {
1115 1115 color: @alert1;
1116 1116 }
1117 1117 .status-tag-approved {
1118 1118 border-color: @alert1;
1119 1119 }
1120 1120
1121 1121 .review-status-rejected,
1122 1122 .review-status-forced_closed {
1123 1123 color: @alert2;
1124 1124 }
1125 1125 .status-tag-rejected,
1126 1126 .status-tag-forced_closed {
1127 1127 border-color: @alert2;
1128 1128 }
1129 1129
1130 1130 .review-status-not_reviewed {
1131 1131 color: @grey5;
1132 1132 }
1133 1133 .status-tag-not_reviewed {
1134 1134 border-color: @grey5;
1135 1135 }
1136 1136
1137 1137 .test_pattern_preview {
1138 1138 margin: @space 0;
1139 1139
1140 1140 p {
1141 1141 margin-bottom: 0;
1142 1142 border-bottom: @border-thickness solid @border-default-color;
1143 1143 color: @grey3;
1144 1144 }
1145 1145
1146 1146 .btn {
1147 1147 margin-bottom: @padding;
1148 1148 }
1149 1149 }
1150 1150 #test_pattern_result {
1151 1151 display: none;
1152 1152 &:extend(pre);
1153 1153 padding: .9em;
1154 1154 color: @grey3;
1155 1155 background-color: @grey7;
1156 1156 border-right: @border-thickness solid @border-default-color;
1157 1157 border-bottom: @border-thickness solid @border-default-color;
1158 1158 border-left: @border-thickness solid @border-default-color;
1159 1159 }
1160 1160
1161 1161 #repo_vcs_settings {
1162 1162 #inherit_overlay_vcs_default {
1163 1163 display: none;
1164 1164 }
1165 1165 #inherit_overlay_vcs_custom {
1166 1166 display: custom;
1167 1167 }
1168 1168 &.inherited {
1169 1169 #inherit_overlay_vcs_default {
1170 1170 display: block;
1171 1171 }
1172 1172 #inherit_overlay_vcs_custom {
1173 1173 display: none;
1174 1174 }
1175 1175 }
1176 1176 }
1177 1177
1178 1178 .issue-tracker-link {
1179 1179 color: @rcblue;
1180 1180 }
1181 1181
1182 1182 // Issue Tracker Table Show/Hide
1183 1183 #repo_issue_tracker {
1184 1184 #inherit_overlay {
1185 1185 display: none;
1186 1186 }
1187 1187 #custom_overlay {
1188 1188 display: custom;
1189 1189 }
1190 1190 &.inherited {
1191 1191 #inherit_overlay {
1192 1192 display: block;
1193 1193 }
1194 1194 #custom_overlay {
1195 1195 display: none;
1196 1196 }
1197 1197 }
1198 1198 }
1199 1199 table.issuetracker {
1200 1200 &.readonly {
1201 1201 tr, td {
1202 1202 color: @grey3;
1203 1203 }
1204 1204 }
1205 1205 .edit {
1206 1206 display: none;
1207 1207 }
1208 1208 .editopen {
1209 1209 .edit {
1210 1210 display: inline;
1211 1211 }
1212 1212 .entry {
1213 1213 display: none;
1214 1214 }
1215 1215 }
1216 1216 tr td.td-action {
1217 1217 min-width: 117px;
1218 1218 }
1219 1219 td input {
1220 1220 max-width: none;
1221 1221 min-width: 30px;
1222 1222 width: 80%;
1223 1223 }
1224 1224 .issuetracker_pref input {
1225 1225 width: 40%;
1226 1226 }
1227 1227 input.edit_issuetracker_update {
1228 1228 margin-right: 0;
1229 1229 width: auto;
1230 1230 }
1231 1231 }
1232 1232
1233 1233 table.integrations {
1234 1234 .td-icon {
1235 1235 width: 20px;
1236 1236 .integration-icon {
1237 1237 height: 20px;
1238 1238 width: 20px;
1239 1239 }
1240 1240 }
1241 1241 }
1242 1242
1243 1243 .integrations {
1244 1244 a.integration-box {
1245 1245 color: @text-color;
1246 1246 &:hover {
1247 1247 .panel {
1248 1248 background: #fbfbfb;
1249 1249 }
1250 1250 }
1251 1251 .integration-icon {
1252 1252 width: 30px;
1253 1253 height: 30px;
1254 1254 margin-right: 20px;
1255 1255 float: left;
1256 1256 }
1257 1257
1258 1258 .panel-body {
1259 1259 padding: 10px;
1260 1260 }
1261 1261 .panel {
1262 1262 margin-bottom: 10px;
1263 1263 }
1264 1264 h2 {
1265 1265 display: inline-block;
1266 1266 margin: 0;
1267 1267 min-width: 140px;
1268 1268 }
1269 1269 }
1270 1270 a.integration-box.dummy-integration {
1271 1271 color: @grey4
1272 1272 }
1273 1273 }
1274 1274
1275 1275 //Permissions Settings
1276 1276 #add_perm {
1277 1277 margin: 0 0 @padding;
1278 1278 cursor: pointer;
1279 1279 }
1280 1280
1281 1281 .perm_ac {
1282 1282 input {
1283 1283 width: 95%;
1284 1284 }
1285 1285 }
1286 1286
1287 1287 .autocomplete-suggestions {
1288 1288 width: auto !important; // overrides autocomplete.js
1289 1289 min-width: 278px;
1290 1290 margin: 0;
1291 1291 border: @border-thickness solid @grey5;
1292 1292 border-radius: @border-radius;
1293 1293 color: @grey2;
1294 1294 background-color: white;
1295 1295 }
1296 1296
1297 1297 .autocomplete-qfilter-suggestions {
1298 1298 width: auto !important; // overrides autocomplete.js
1299 1299 max-height: 100% !important;
1300 1300 min-width: 376px;
1301 1301 margin: 0;
1302 1302 border: @border-thickness solid @grey5;
1303 1303 color: @grey2;
1304 1304 background-color: white;
1305 1305 }
1306 1306
1307 1307 .autocomplete-selected {
1308 1308 background: #F0F0F0;
1309 1309 }
1310 1310
1311 1311 .ac-container-wrap {
1312 1312 margin: 0;
1313 1313 padding: 8px;
1314 1314 border-bottom: @border-thickness solid @grey5;
1315 1315 list-style-type: none;
1316 1316 cursor: pointer;
1317 1317
1318 1318 &:hover {
1319 1319 background-color: @grey7;
1320 1320 }
1321 1321
1322 1322 img {
1323 1323 height: @gravatar-size;
1324 1324 width: @gravatar-size;
1325 1325 margin-right: 1em;
1326 1326 }
1327 1327
1328 1328 strong {
1329 1329 font-weight: normal;
1330 1330 }
1331 1331 }
1332 1332
1333 1333 // Settings Dropdown
1334 1334 .user-menu .container {
1335 1335 padding: 0 4px;
1336 1336 margin: 0;
1337 1337 }
1338 1338
1339 1339 .user-menu .gravatar {
1340 1340 cursor: pointer;
1341 1341 }
1342 1342
1343 1343 .codeblock {
1344 1344 margin-bottom: @padding;
1345 1345 clear: both;
1346 1346
1347 1347 .stats {
1348 1348 overflow: hidden;
1349 1349 }
1350 1350
1351 1351 .message{
1352 1352 textarea{
1353 1353 margin: 0;
1354 1354 }
1355 1355 }
1356 1356
1357 1357 .code-header {
1358 1358 .stats {
1359 1359 line-height: 2em;
1360 1360
1361 1361 .revision_id {
1362 1362 margin-left: 0;
1363 1363 }
1364 1364 .buttons {
1365 1365 padding-right: 0;
1366 1366 }
1367 1367 }
1368 1368
1369 1369 .item{
1370 1370 margin-right: 0.5em;
1371 1371 }
1372 1372 }
1373 1373
1374 1374 #editor_container {
1375 1375 position: relative;
1376 1376 margin: @padding 10px;
1377 1377 }
1378 1378 }
1379 1379
1380 1380 #file_history_container {
1381 1381 display: none;
1382 1382 }
1383 1383
1384 1384 .file-history-inner {
1385 1385 margin-bottom: 10px;
1386 1386 }
1387 1387
1388 1388 // Pull Requests
1389 1389 .summary-details {
1390 1390 width: 72%;
1391 1391 }
1392 1392 .pr-summary {
1393 1393 border-bottom: @border-thickness solid @grey5;
1394 1394 margin-bottom: @space;
1395 1395 }
1396 1396 .reviewers-title {
1397 1397 width: 25%;
1398 1398 min-width: 200px;
1399 1399 }
1400 1400 .reviewers {
1401 1401 width: 25%;
1402 1402 min-width: 200px;
1403 1403 }
1404 1404 .reviewers ul li {
1405 1405 position: relative;
1406 1406 width: 100%;
1407 1407 padding-bottom: 8px;
1408 1408 list-style-type: none;
1409 1409 }
1410 1410
1411 1411 .reviewer_entry {
1412 1412 min-height: 55px;
1413 1413 }
1414 1414
1415 1415 .reviewers_member {
1416 1416 width: 100%;
1417 1417 overflow: auto;
1418 1418 }
1419 1419 .reviewer_reason {
1420 1420 padding-left: 20px;
1421 1421 line-height: 1.5em;
1422 1422 }
1423 1423 .reviewer_status {
1424 1424 display: inline-block;
1425 1425 width: 25px;
1426 1426 min-width: 25px;
1427 1427 height: 1.2em;
1428 1428 line-height: 1em;
1429 1429 }
1430 1430
1431 1431 .reviewer_name {
1432 1432 display: inline-block;
1433 1433 max-width: 83%;
1434 1434 padding-right: 20px;
1435 1435 vertical-align: middle;
1436 1436 line-height: 1;
1437 1437
1438 1438 .rc-user {
1439 1439 min-width: 0;
1440 1440 margin: -2px 1em 0 0;
1441 1441 }
1442 1442
1443 1443 .reviewer {
1444 1444 float: left;
1445 1445 }
1446 1446 }
1447 1447
1448 1448 .reviewer_member_mandatory {
1449 1449 position: absolute;
1450 1450 left: 15px;
1451 1451 top: 8px;
1452 1452 width: 16px;
1453 1453 font-size: 11px;
1454 1454 margin: 0;
1455 1455 padding: 0;
1456 1456 color: black;
1457 1457 }
1458 1458
1459 1459 .reviewer_member_mandatory_remove,
1460 1460 .reviewer_member_remove {
1461 1461 position: absolute;
1462 1462 right: 0;
1463 1463 top: 0;
1464 1464 width: 16px;
1465 1465 margin-bottom: 10px;
1466 1466 padding: 0;
1467 1467 color: black;
1468 1468 }
1469 1469
1470 1470 .reviewer_member_mandatory_remove {
1471 1471 color: @grey4;
1472 1472 }
1473 1473
1474 1474 .reviewer_member_status {
1475 1475 margin-top: 5px;
1476 1476 }
1477 1477 .pr-summary #summary{
1478 1478 width: 100%;
1479 1479 }
1480 1480 .pr-summary .action_button:hover {
1481 1481 border: 0;
1482 1482 cursor: pointer;
1483 1483 }
1484 1484 .pr-details-title {
1485 1485 padding-bottom: 8px;
1486 1486 border-bottom: @border-thickness solid @grey5;
1487 1487
1488 1488 .action_button.disabled {
1489 1489 color: @grey4;
1490 1490 cursor: inherit;
1491 1491 }
1492 1492 .action_button {
1493 1493 color: @rcblue;
1494 1494 }
1495 1495 }
1496 1496 .pr-details-content {
1497 1497 margin-top: @textmargin;
1498 1498 margin-bottom: @textmargin;
1499 1499 }
1500 1500
1501 1501 .pr-reviewer-rules {
1502 1502 padding: 10px 0px 20px 0px;
1503 1503 }
1504 1504
1505 1505 .group_members {
1506 1506 margin-top: 0;
1507 1507 padding: 0;
1508 1508 list-style: outside none none;
1509 1509
1510 1510 img {
1511 1511 height: @gravatar-size;
1512 1512 width: @gravatar-size;
1513 1513 margin-right: .5em;
1514 1514 margin-left: 3px;
1515 1515 }
1516 1516
1517 1517 .to-delete {
1518 1518 .user {
1519 1519 text-decoration: line-through;
1520 1520 }
1521 1521 }
1522 1522 }
1523 1523
1524 1524 .compare_view_commits_title {
1525 1525 .disabled {
1526 1526 cursor: inherit;
1527 1527 &:hover{
1528 1528 background-color: inherit;
1529 1529 color: inherit;
1530 1530 }
1531 1531 }
1532 1532 }
1533 1533
1534 1534 .subtitle-compare {
1535 1535 margin: -15px 0px 0px 0px;
1536 1536 }
1537 1537
1538 1538 // new entry in group_members
1539 1539 .td-author-new-entry {
1540 1540 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1541 1541 }
1542 1542
1543 1543 .usergroup_member_remove {
1544 1544 width: 16px;
1545 1545 margin-bottom: 10px;
1546 1546 padding: 0;
1547 1547 color: black !important;
1548 1548 cursor: pointer;
1549 1549 }
1550 1550
1551 1551 .reviewer_ac .ac-input {
1552 1552 width: 92%;
1553 1553 margin-bottom: 1em;
1554 1554 }
1555 1555
1556 1556 .compare_view_commits tr{
1557 1557 height: 20px;
1558 1558 }
1559 1559 .compare_view_commits td {
1560 1560 vertical-align: top;
1561 1561 padding-top: 10px;
1562 1562 }
1563 1563 .compare_view_commits .author {
1564 1564 margin-left: 5px;
1565 1565 }
1566 1566
1567 1567 .compare_view_commits {
1568 1568 .color-a {
1569 1569 color: @alert1;
1570 1570 }
1571 1571
1572 1572 .color-c {
1573 1573 color: @color3;
1574 1574 }
1575 1575
1576 1576 .color-r {
1577 1577 color: @color5;
1578 1578 }
1579 1579
1580 1580 .color-a-bg {
1581 1581 background-color: @alert1;
1582 1582 }
1583 1583
1584 1584 .color-c-bg {
1585 1585 background-color: @alert3;
1586 1586 }
1587 1587
1588 1588 .color-r-bg {
1589 1589 background-color: @alert2;
1590 1590 }
1591 1591
1592 1592 .color-a-border {
1593 1593 border: 1px solid @alert1;
1594 1594 }
1595 1595
1596 1596 .color-c-border {
1597 1597 border: 1px solid @alert3;
1598 1598 }
1599 1599
1600 1600 .color-r-border {
1601 1601 border: 1px solid @alert2;
1602 1602 }
1603 1603
1604 1604 .commit-change-indicator {
1605 1605 width: 15px;
1606 1606 height: 15px;
1607 1607 position: relative;
1608 1608 left: 15px;
1609 1609 }
1610 1610
1611 1611 .commit-change-content {
1612 1612 text-align: center;
1613 1613 vertical-align: middle;
1614 1614 line-height: 15px;
1615 1615 }
1616 1616 }
1617 1617
1618 1618 .compare_view_filepath {
1619 1619 color: @grey1;
1620 1620 }
1621 1621
1622 1622 .show_more {
1623 1623 display: inline-block;
1624 1624 width: 0;
1625 1625 height: 0;
1626 1626 vertical-align: middle;
1627 1627 content: "";
1628 1628 border: 4px solid;
1629 1629 border-right-color: transparent;
1630 1630 border-bottom-color: transparent;
1631 1631 border-left-color: transparent;
1632 1632 font-size: 0;
1633 1633 }
1634 1634
1635 1635 .journal_more .show_more {
1636 1636 display: inline;
1637 1637
1638 1638 &:after {
1639 1639 content: none;
1640 1640 }
1641 1641 }
1642 1642
1643 1643 .compare_view_commits .collapse_commit:after {
1644 1644 cursor: pointer;
1645 1645 content: "\00A0\25B4";
1646 1646 margin-left: -3px;
1647 1647 font-size: 17px;
1648 1648 color: @grey4;
1649 1649 }
1650 1650
1651 1651 .diff_links {
1652 1652 margin-left: 8px;
1653 1653 }
1654 1654
1655 1655 #pull_request_overview {
1656 1656 div.ancestor {
1657 1657 margin: -33px 0;
1658 1658 }
1659 1659 }
1660 1660
1661 1661 div.ancestor {
1662 1662 line-height: 33px;
1663 1663 }
1664 1664
1665 1665 .cs_icon_td input[type="checkbox"] {
1666 1666 display: none;
1667 1667 }
1668 1668
1669 1669 .cs_icon_td .expand_file_icon:after {
1670 1670 cursor: pointer;
1671 1671 content: "\00A0\25B6";
1672 1672 font-size: 12px;
1673 1673 color: @grey4;
1674 1674 }
1675 1675
1676 1676 .cs_icon_td .collapse_file_icon:after {
1677 1677 cursor: pointer;
1678 1678 content: "\00A0\25BC";
1679 1679 font-size: 12px;
1680 1680 color: @grey4;
1681 1681 }
1682 1682
1683 1683 /*new binary
1684 1684 NEW_FILENODE = 1
1685 1685 DEL_FILENODE = 2
1686 1686 MOD_FILENODE = 3
1687 1687 RENAMED_FILENODE = 4
1688 1688 COPIED_FILENODE = 5
1689 1689 CHMOD_FILENODE = 6
1690 1690 BIN_FILENODE = 7
1691 1691 */
1692 1692 .cs_files_expand {
1693 1693 font-size: @basefontsize + 5px;
1694 1694 line-height: 1.8em;
1695 1695 float: right;
1696 1696 }
1697 1697
1698 1698 .cs_files_expand span{
1699 1699 color: @rcblue;
1700 1700 cursor: pointer;
1701 1701 }
1702 1702 .cs_files {
1703 1703 clear: both;
1704 1704 padding-bottom: @padding;
1705 1705
1706 1706 .cur_cs {
1707 1707 margin: 10px 2px;
1708 1708 font-weight: bold;
1709 1709 }
1710 1710
1711 1711 .node {
1712 1712 float: left;
1713 1713 }
1714 1714
1715 1715 .changes {
1716 1716 float: right;
1717 1717 color: white;
1718 1718 font-size: @basefontsize - 4px;
1719 1719 margin-top: 4px;
1720 1720 opacity: 0.6;
1721 1721 filter: Alpha(opacity=60); /* IE8 and earlier */
1722 1722
1723 1723 .added {
1724 1724 background-color: @alert1;
1725 1725 float: left;
1726 1726 text-align: center;
1727 1727 }
1728 1728
1729 1729 .deleted {
1730 1730 background-color: @alert2;
1731 1731 float: left;
1732 1732 text-align: center;
1733 1733 }
1734 1734
1735 1735 .bin {
1736 1736 background-color: @alert1;
1737 1737 text-align: center;
1738 1738 }
1739 1739
1740 1740 /*new binary*/
1741 1741 .bin.bin1 {
1742 1742 background-color: @alert1;
1743 1743 text-align: center;
1744 1744 }
1745 1745
1746 1746 /*deleted binary*/
1747 1747 .bin.bin2 {
1748 1748 background-color: @alert2;
1749 1749 text-align: center;
1750 1750 }
1751 1751
1752 1752 /*mod binary*/
1753 1753 .bin.bin3 {
1754 1754 background-color: @grey2;
1755 1755 text-align: center;
1756 1756 }
1757 1757
1758 1758 /*rename file*/
1759 1759 .bin.bin4 {
1760 1760 background-color: @alert4;
1761 1761 text-align: center;
1762 1762 }
1763 1763
1764 1764 /*copied file*/
1765 1765 .bin.bin5 {
1766 1766 background-color: @alert4;
1767 1767 text-align: center;
1768 1768 }
1769 1769
1770 1770 /*chmod file*/
1771 1771 .bin.bin6 {
1772 1772 background-color: @grey2;
1773 1773 text-align: center;
1774 1774 }
1775 1775 }
1776 1776 }
1777 1777
1778 1778 .cs_files .cs_added, .cs_files .cs_A,
1779 1779 .cs_files .cs_added, .cs_files .cs_M,
1780 1780 .cs_files .cs_added, .cs_files .cs_D {
1781 1781 height: 16px;
1782 1782 padding-right: 10px;
1783 1783 margin-top: 7px;
1784 1784 text-align: left;
1785 1785 }
1786 1786
1787 1787 .cs_icon_td {
1788 1788 min-width: 16px;
1789 1789 width: 16px;
1790 1790 }
1791 1791
1792 1792 .pull-request-merge {
1793 1793 border: 1px solid @grey5;
1794 1794 padding: 10px 0px 20px;
1795 1795 margin-top: 10px;
1796 1796 margin-bottom: 20px;
1797 1797 }
1798 1798
1799 1799 .pull-request-merge-refresh {
1800 1800 margin: 2px 7px;
1801 a {
1802 color: @grey3;
1803 }
1801 1804 }
1802 1805
1803 1806 .pull-request-merge ul {
1804 1807 padding: 0px 0px;
1805 1808 }
1806 1809
1807 1810 .pull-request-merge li {
1808 1811 list-style-type: none;
1809 1812 }
1810 1813
1811 1814 .pull-request-merge .pull-request-wrap {
1812 1815 height: auto;
1813 1816 padding: 0px 0px;
1814 1817 text-align: right;
1815 1818 }
1816 1819
1817 1820 .pull-request-merge span {
1818 1821 margin-right: 5px;
1819 1822 }
1820 1823
1821 1824 .pull-request-merge-actions {
1822 1825 min-height: 30px;
1823 1826 padding: 0px 0px;
1824 1827 }
1825 1828
1826 1829 .pull-request-merge-info {
1827 1830 padding: 0px 5px 5px 0px;
1828 1831 }
1829 1832
1830 1833 .merge-status {
1831 1834 margin-right: 5px;
1832 1835 }
1833 1836
1834 1837 .merge-message {
1835 1838 font-size: 1.2em
1836 1839 }
1837 1840
1838 1841 .merge-message.success i,
1839 1842 .merge-icon.success i {
1840 1843 color:@alert1;
1841 1844 }
1842 1845
1843 1846 .merge-message.warning i,
1844 1847 .merge-icon.warning i {
1845 1848 color: @alert3;
1846 1849 }
1847 1850
1848 1851 .merge-message.error i,
1849 1852 .merge-icon.error i {
1850 1853 color:@alert2;
1851 1854 }
1852 1855
1853 1856 .pr-versions {
1854 1857 font-size: 1.1em;
1855 1858
1856 1859 table {
1857 1860 padding: 0px 5px;
1858 1861 }
1859 1862
1860 1863 td {
1861 1864 line-height: 15px;
1862 1865 }
1863 1866
1864 1867 .compare-radio-button {
1865 1868 position: relative;
1866 1869 top: -3px;
1867 1870 }
1868 1871 }
1869 1872
1870 1873
1871 1874 #close_pull_request {
1872 1875 margin-right: 0px;
1873 1876 }
1874 1877
1875 1878 .empty_data {
1876 1879 color: @grey4;
1877 1880 }
1878 1881
1879 1882 #changeset_compare_view_content {
1880 1883 clear: both;
1881 1884 width: 100%;
1882 1885 box-sizing: border-box;
1883 1886 .border-radius(@border-radius);
1884 1887
1885 1888 .help-block {
1886 1889 margin: @padding 0;
1887 1890 color: @text-color;
1888 1891 &.pre-formatting {
1889 1892 white-space: pre;
1890 1893 }
1891 1894 }
1892 1895
1893 1896 .empty_data {
1894 1897 margin: @padding 0;
1895 1898 }
1896 1899
1897 1900 .alert {
1898 1901 margin-bottom: @space;
1899 1902 }
1900 1903 }
1901 1904
1902 1905 .table_disp {
1903 1906 .status {
1904 1907 width: auto;
1905 1908 }
1906 1909 }
1907 1910
1908 1911
1909 1912 .creation_in_progress {
1910 1913 color: @grey4
1911 1914 }
1912 1915
1913 1916 .status_box_menu {
1914 1917 margin: 0;
1915 1918 }
1916 1919
1917 1920 .notification-table{
1918 1921 margin-bottom: @space;
1919 1922 display: table;
1920 1923 width: 100%;
1921 1924
1922 1925 .container{
1923 1926 display: table-row;
1924 1927
1925 1928 .notification-header{
1926 1929 border-bottom: @border-thickness solid @border-default-color;
1927 1930 }
1928 1931
1929 1932 .notification-subject{
1930 1933 display: table-cell;
1931 1934 }
1932 1935 }
1933 1936 }
1934 1937
1935 1938 // Notifications
1936 1939 .notification-header{
1937 1940 display: table;
1938 1941 width: 100%;
1939 1942 padding: floor(@basefontsize/2) 0;
1940 1943 line-height: 1em;
1941 1944
1942 1945 .desc, .delete-notifications, .read-notifications{
1943 1946 display: table-cell;
1944 1947 text-align: left;
1945 1948 }
1946 1949
1947 1950 .desc{
1948 1951 width: 1163px;
1949 1952 }
1950 1953
1951 1954 .delete-notifications, .read-notifications{
1952 1955 width: 35px;
1953 1956 min-width: 35px; //fixes when only one button is displayed
1954 1957 }
1955 1958 }
1956 1959
1957 1960 .notification-body {
1958 1961 .markdown-block,
1959 1962 .rst-block {
1960 1963 padding: @padding 0;
1961 1964 }
1962 1965
1963 1966 .notification-subject {
1964 1967 padding: @textmargin 0;
1965 1968 border-bottom: @border-thickness solid @border-default-color;
1966 1969 }
1967 1970 }
1968 1971
1969 1972
1970 1973 .notifications_buttons{
1971 1974 float: right;
1972 1975 }
1973 1976
1974 1977 #notification-status{
1975 1978 display: inline;
1976 1979 }
1977 1980
1978 1981 // Repositories
1979 1982
1980 1983 #summary.fields{
1981 1984 display: table;
1982 1985
1983 1986 .field{
1984 1987 display: table-row;
1985 1988
1986 1989 .label-summary{
1987 1990 display: table-cell;
1988 1991 min-width: @label-summary-minwidth;
1989 1992 padding-top: @padding/2;
1990 1993 padding-bottom: @padding/2;
1991 1994 padding-right: @padding/2;
1992 1995 }
1993 1996
1994 1997 .input{
1995 1998 display: table-cell;
1996 1999 padding: @padding/2;
1997 2000
1998 2001 input{
1999 2002 min-width: 29em;
2000 2003 padding: @padding/4;
2001 2004 }
2002 2005 }
2003 2006 .statistics, .downloads{
2004 2007 .disabled{
2005 2008 color: @grey4;
2006 2009 }
2007 2010 }
2008 2011 }
2009 2012 }
2010 2013
2011 2014 #summary{
2012 2015 width: 70%;
2013 2016 }
2014 2017
2015 2018
2016 2019 // Journal
2017 2020 .journal.title {
2018 2021 h5 {
2019 2022 float: left;
2020 2023 margin: 0;
2021 2024 width: 70%;
2022 2025 }
2023 2026
2024 2027 ul {
2025 2028 float: right;
2026 2029 display: inline-block;
2027 2030 margin: 0;
2028 2031 width: 30%;
2029 2032 text-align: right;
2030 2033
2031 2034 li {
2032 2035 display: inline;
2033 2036 font-size: @journal-fontsize;
2034 2037 line-height: 1em;
2035 2038
2036 2039 list-style-type: none;
2037 2040 }
2038 2041 }
2039 2042 }
2040 2043
2041 2044 .filterexample {
2042 2045 position: absolute;
2043 2046 top: 95px;
2044 2047 left: @contentpadding;
2045 2048 color: @rcblue;
2046 2049 font-size: 11px;
2047 2050 font-family: @text-regular;
2048 2051 cursor: help;
2049 2052
2050 2053 &:hover {
2051 2054 color: @rcdarkblue;
2052 2055 }
2053 2056
2054 2057 @media (max-width:768px) {
2055 2058 position: relative;
2056 2059 top: auto;
2057 2060 left: auto;
2058 2061 display: block;
2059 2062 }
2060 2063 }
2061 2064
2062 2065
2063 2066 #journal{
2064 2067 margin-bottom: @space;
2065 2068
2066 2069 .journal_day{
2067 2070 margin-bottom: @textmargin/2;
2068 2071 padding-bottom: @textmargin/2;
2069 2072 font-size: @journal-fontsize;
2070 2073 border-bottom: @border-thickness solid @border-default-color;
2071 2074 }
2072 2075
2073 2076 .journal_container{
2074 2077 margin-bottom: @space;
2075 2078
2076 2079 .journal_user{
2077 2080 display: inline-block;
2078 2081 }
2079 2082 .journal_action_container{
2080 2083 display: block;
2081 2084 margin-top: @textmargin;
2082 2085
2083 2086 div{
2084 2087 display: inline;
2085 2088 }
2086 2089
2087 2090 div.journal_action_params{
2088 2091 display: block;
2089 2092 }
2090 2093
2091 2094 div.journal_repo:after{
2092 2095 content: "\A";
2093 2096 white-space: pre;
2094 2097 }
2095 2098
2096 2099 div.date{
2097 2100 display: block;
2098 2101 margin-bottom: @textmargin;
2099 2102 }
2100 2103 }
2101 2104 }
2102 2105 }
2103 2106
2104 2107 // Files
2105 2108 .edit-file-title {
2106 2109 font-size: 16px;
2107 2110
2108 2111 .title-heading {
2109 2112 padding: 2px;
2110 2113 }
2111 2114 }
2112 2115
2113 2116 .edit-file-fieldset {
2114 2117 margin: @sidebarpadding 0;
2115 2118
2116 2119 .fieldset {
2117 2120 .left-label {
2118 2121 width: 13%;
2119 2122 }
2120 2123 .right-content {
2121 2124 width: 87%;
2122 2125 max-width: 100%;
2123 2126 }
2124 2127 .filename-label {
2125 2128 margin-top: 13px;
2126 2129 }
2127 2130 .commit-message-label {
2128 2131 margin-top: 4px;
2129 2132 }
2130 2133 .file-upload-input {
2131 2134 input {
2132 2135 display: none;
2133 2136 }
2134 2137 margin-top: 10px;
2135 2138 }
2136 2139 .file-upload-label {
2137 2140 margin-top: 10px;
2138 2141 }
2139 2142 p {
2140 2143 margin-top: 5px;
2141 2144 }
2142 2145
2143 2146 }
2144 2147 .custom-path-link {
2145 2148 margin-left: 5px;
2146 2149 }
2147 2150 #commit {
2148 2151 resize: vertical;
2149 2152 }
2150 2153 }
2151 2154
2152 2155 .delete-file-preview {
2153 2156 max-height: 250px;
2154 2157 }
2155 2158
2156 2159 .new-file,
2157 2160 #filter_activate,
2158 2161 #filter_deactivate {
2159 2162 float: right;
2160 2163 margin: 0 0 0 10px;
2161 2164 }
2162 2165
2163 2166 .file-upload-transaction-wrapper {
2164 2167 margin-top: 57px;
2165 2168 clear: both;
2166 2169 }
2167 2170
2168 2171 .file-upload-transaction-wrapper .error {
2169 2172 color: @color5;
2170 2173 }
2171 2174
2172 2175 .file-upload-transaction {
2173 2176 min-height: 200px;
2174 2177 padding: 54px;
2175 2178 border: 1px solid @grey5;
2176 2179 text-align: center;
2177 2180 clear: both;
2178 2181 }
2179 2182
2180 2183 .file-upload-transaction i {
2181 2184 font-size: 48px
2182 2185 }
2183 2186
2184 2187 h3.files_location{
2185 2188 line-height: 2.4em;
2186 2189 }
2187 2190
2188 2191 .browser-nav {
2189 2192 width: 100%;
2190 2193 display: table;
2191 2194 margin-bottom: 20px;
2192 2195
2193 2196 .info_box {
2194 2197 float: left;
2195 2198 display: inline-table;
2196 2199 height: 2.5em;
2197 2200
2198 2201 .browser-cur-rev, .info_box_elem {
2199 2202 display: table-cell;
2200 2203 vertical-align: middle;
2201 2204 }
2202 2205
2203 2206 .drop-menu {
2204 2207 margin: 0 10px;
2205 2208 }
2206 2209
2207 2210 .info_box_elem {
2208 2211 border-top: @border-thickness solid @grey5;
2209 2212 border-bottom: @border-thickness solid @grey5;
2210 2213 box-shadow: @button-shadow;
2211 2214
2212 2215 #at_rev, a {
2213 2216 padding: 0.6em 0.4em;
2214 2217 margin: 0;
2215 2218 .box-shadow(none);
2216 2219 border: 0;
2217 2220 height: 12px;
2218 2221 color: @grey2;
2219 2222 }
2220 2223
2221 2224 input#at_rev {
2222 2225 max-width: 50px;
2223 2226 text-align: center;
2224 2227 }
2225 2228
2226 2229 &.previous {
2227 2230 border: @border-thickness solid @grey5;
2228 2231 border-top-left-radius: @border-radius;
2229 2232 border-bottom-left-radius: @border-radius;
2230 2233
2231 2234 &:hover {
2232 2235 border-color: @grey4;
2233 2236 }
2234 2237
2235 2238 .disabled {
2236 2239 color: @grey5;
2237 2240 cursor: not-allowed;
2238 2241 opacity: 0.5;
2239 2242 }
2240 2243 }
2241 2244
2242 2245 &.next {
2243 2246 border: @border-thickness solid @grey5;
2244 2247 border-top-right-radius: @border-radius;
2245 2248 border-bottom-right-radius: @border-radius;
2246 2249
2247 2250 &:hover {
2248 2251 border-color: @grey4;
2249 2252 }
2250 2253
2251 2254 .disabled {
2252 2255 color: @grey5;
2253 2256 cursor: not-allowed;
2254 2257 opacity: 0.5;
2255 2258 }
2256 2259 }
2257 2260 }
2258 2261
2259 2262 .browser-cur-rev {
2260 2263
2261 2264 span{
2262 2265 margin: 0;
2263 2266 color: @rcblue;
2264 2267 height: 12px;
2265 2268 display: inline-block;
2266 2269 padding: 0.7em 1em ;
2267 2270 border: @border-thickness solid @rcblue;
2268 2271 margin-right: @padding;
2269 2272 }
2270 2273 }
2271 2274
2272 2275 }
2273 2276
2274 2277 .select-index-number {
2275 2278 margin: 0 0 0 20px;
2276 2279 color: @grey3;
2277 2280 }
2278 2281
2279 2282 .search_activate {
2280 2283 display: table-cell;
2281 2284 vertical-align: middle;
2282 2285
2283 2286 input, label{
2284 2287 margin: 0;
2285 2288 padding: 0;
2286 2289 }
2287 2290
2288 2291 input{
2289 2292 margin-left: @textmargin;
2290 2293 }
2291 2294
2292 2295 }
2293 2296 }
2294 2297
2295 2298 .browser-cur-rev{
2296 2299 margin-bottom: @textmargin;
2297 2300 }
2298 2301
2299 2302 #node_filter_box_loading{
2300 2303 .info_text;
2301 2304 }
2302 2305
2303 2306 .browser-search {
2304 2307 margin: -25px 0px 5px 0px;
2305 2308 }
2306 2309
2307 2310 .files-quick-filter {
2308 2311 float: right;
2309 2312 width: 180px;
2310 2313 position: relative;
2311 2314 }
2312 2315
2313 2316 .files-filter-box {
2314 2317 display: flex;
2315 2318 padding: 0px;
2316 2319 border-radius: 3px;
2317 2320 margin-bottom: 0;
2318 2321
2319 2322 a {
2320 2323 border: none !important;
2321 2324 }
2322 2325
2323 2326 li {
2324 2327 list-style-type: none
2325 2328 }
2326 2329 }
2327 2330
2328 2331 .files-filter-box-path {
2329 2332 line-height: 33px;
2330 2333 padding: 0;
2331 2334 width: 20px;
2332 2335 position: absolute;
2333 2336 z-index: 11;
2334 2337 left: 5px;
2335 2338 }
2336 2339
2337 2340 .files-filter-box-input {
2338 2341 margin-right: 0;
2339 2342
2340 2343 input {
2341 2344 border: 1px solid @white;
2342 2345 padding-left: 25px;
2343 2346 width: 145px;
2344 2347
2345 2348 &:hover {
2346 2349 border-color: @grey6;
2347 2350 }
2348 2351
2349 2352 &:focus {
2350 2353 border-color: @grey5;
2351 2354 }
2352 2355 }
2353 2356 }
2354 2357
2355 2358 .browser-result{
2356 2359 td a{
2357 2360 margin-left: 0.5em;
2358 2361 display: inline-block;
2359 2362
2360 2363 em {
2361 2364 font-weight: @text-bold-weight;
2362 2365 font-family: @text-bold;
2363 2366 }
2364 2367 }
2365 2368 }
2366 2369
2367 2370 .browser-highlight{
2368 2371 background-color: @grey5-alpha;
2369 2372 }
2370 2373
2371 2374
2372 2375 .edit-file-fieldset #location,
2373 2376 .edit-file-fieldset #filename {
2374 2377 display: flex;
2375 2378 width: -moz-available; /* WebKit-based browsers will ignore this. */
2376 2379 width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
2377 2380 width: fill-available;
2378 2381 border: 0;
2379 2382 }
2380 2383
2381 2384 .path-items {
2382 2385 display: flex;
2383 2386 padding: 0;
2384 2387 border: 1px solid #eeeeee;
2385 2388 width: 100%;
2386 2389 float: left;
2387 2390
2388 2391 .breadcrumb-path {
2389 2392 line-height: 30px;
2390 2393 padding: 0 4px;
2391 2394 white-space: nowrap;
2392 2395 }
2393 2396
2394 2397 .location-path {
2395 2398 width: -moz-available; /* WebKit-based browsers will ignore this. */
2396 2399 width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
2397 2400 width: fill-available;
2398 2401
2399 2402 .file-name-input {
2400 2403 padding: 0.5em 0;
2401 2404 }
2402 2405
2403 2406 }
2404 2407
2405 2408 ul {
2406 2409 display: flex;
2407 2410 margin: 0;
2408 2411 padding: 0;
2409 2412 width: 100%;
2410 2413 }
2411 2414
2412 2415 li {
2413 2416 list-style-type: none;
2414 2417 }
2415 2418
2416 2419 }
2417 2420
2418 2421 .editor-items {
2419 2422 height: 40px;
2420 2423 margin: 10px 0 -17px 10px;
2421 2424
2422 2425 .editor-action {
2423 2426 cursor: pointer;
2424 2427 }
2425 2428
2426 2429 .editor-action.active {
2427 2430 border-bottom: 2px solid #5C5C5C;
2428 2431 }
2429 2432
2430 2433 li {
2431 2434 list-style-type: none;
2432 2435 }
2433 2436 }
2434 2437
2435 2438 .edit-file-fieldset .message textarea {
2436 2439 border: 1px solid #eeeeee;
2437 2440 }
2438 2441
2439 2442 #files_data .codeblock {
2440 2443 background-color: #F5F5F5;
2441 2444 }
2442 2445
2443 2446 #editor_preview {
2444 2447 background: white;
2445 2448 }
2446 2449
2447 2450 .show-editor {
2448 2451 padding: 10px;
2449 2452 background-color: white;
2450 2453
2451 2454 }
2452 2455
2453 2456 .show-preview {
2454 2457 padding: 10px;
2455 2458 background-color: white;
2456 2459 border-left: 1px solid #eeeeee;
2457 2460 }
2458 2461 // quick filter
2459 2462 .grid-quick-filter {
2460 2463 float: right;
2461 2464 position: relative;
2462 2465 }
2463 2466
2464 2467 .grid-filter-box {
2465 2468 display: flex;
2466 2469 padding: 0px;
2467 2470 border-radius: 3px;
2468 2471 margin-bottom: 0;
2469 2472
2470 2473 a {
2471 2474 border: none !important;
2472 2475 }
2473 2476
2474 2477 li {
2475 2478 list-style-type: none
2476 2479 }
2477 2480 }
2478 2481
2479 2482 .grid-filter-box-icon {
2480 2483 line-height: 33px;
2481 2484 padding: 0;
2482 2485 width: 20px;
2483 2486 position: absolute;
2484 2487 z-index: 11;
2485 2488 left: 5px;
2486 2489 }
2487 2490
2488 2491 .grid-filter-box-input {
2489 2492 margin-right: 0;
2490 2493
2491 2494 input {
2492 2495 border: 1px solid @white;
2493 2496 padding-left: 25px;
2494 2497 width: 145px;
2495 2498
2496 2499 &:hover {
2497 2500 border-color: @grey6;
2498 2501 }
2499 2502
2500 2503 &:focus {
2501 2504 border-color: @grey5;
2502 2505 }
2503 2506 }
2504 2507 }
2505 2508
2506 2509
2507 2510
2508 2511 // Search
2509 2512
2510 2513 .search-form{
2511 2514 #q {
2512 2515 width: @search-form-width;
2513 2516 }
2514 2517 .fields{
2515 2518 margin: 0 0 @space;
2516 2519 }
2517 2520
2518 2521 label{
2519 2522 display: inline-block;
2520 2523 margin-right: @textmargin;
2521 2524 padding-top: 0.25em;
2522 2525 }
2523 2526
2524 2527
2525 2528 .results{
2526 2529 clear: both;
2527 2530 margin: 0 0 @padding;
2528 2531 }
2529 2532
2530 2533 .search-tags {
2531 2534 padding: 5px 0;
2532 2535 }
2533 2536 }
2534 2537
2535 2538 div.search-feedback-items {
2536 2539 display: inline-block;
2537 2540 }
2538 2541
2539 2542 div.search-code-body {
2540 2543 background-color: #ffffff; padding: 5px 0 5px 10px;
2541 2544 pre {
2542 2545 .match { background-color: #faffa6;}
2543 2546 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2544 2547 }
2545 2548 }
2546 2549
2547 2550 .expand_commit.search {
2548 2551 .show_more.open {
2549 2552 height: auto;
2550 2553 max-height: none;
2551 2554 }
2552 2555 }
2553 2556
2554 2557 .search-results {
2555 2558
2556 2559 h2 {
2557 2560 margin-bottom: 0;
2558 2561 }
2559 2562 .codeblock {
2560 2563 border: none;
2561 2564 background: transparent;
2562 2565 }
2563 2566
2564 2567 .codeblock-header {
2565 2568 border: none;
2566 2569 background: transparent;
2567 2570 }
2568 2571
2569 2572 .code-body {
2570 2573 border: @border-thickness solid @grey6;
2571 2574 .border-radius(@border-radius);
2572 2575 }
2573 2576
2574 2577 .td-commit {
2575 2578 &:extend(pre);
2576 2579 border-bottom: @border-thickness solid @border-default-color;
2577 2580 }
2578 2581
2579 2582 .message {
2580 2583 height: auto;
2581 2584 max-width: 350px;
2582 2585 white-space: normal;
2583 2586 text-overflow: initial;
2584 2587 overflow: visible;
2585 2588
2586 2589 .match { background-color: #faffa6;}
2587 2590 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2588 2591 }
2589 2592
2590 2593 .path {
2591 2594 border-bottom: none !important;
2592 2595 border-left: 1px solid @grey6 !important;
2593 2596 border-right: 1px solid @grey6 !important;
2594 2597 }
2595 2598 }
2596 2599
2597 2600 table.rctable td.td-search-results div {
2598 2601 max-width: 100%;
2599 2602 }
2600 2603
2601 2604 #tip-box, .tip-box{
2602 2605 padding: @menupadding/2;
2603 2606 display: block;
2604 2607 border: @border-thickness solid @border-highlight-color;
2605 2608 .border-radius(@border-radius);
2606 2609 background-color: white;
2607 2610 z-index: 99;
2608 2611 white-space: pre-wrap;
2609 2612 }
2610 2613
2611 2614 #linktt {
2612 2615 width: 79px;
2613 2616 }
2614 2617
2615 2618 #help_kb .modal-content{
2616 2619 max-width: 750px;
2617 2620 margin: 10% auto;
2618 2621
2619 2622 table{
2620 2623 td,th{
2621 2624 border-bottom: none;
2622 2625 line-height: 2.5em;
2623 2626 }
2624 2627 th{
2625 2628 padding-bottom: @textmargin/2;
2626 2629 }
2627 2630 td.keys{
2628 2631 text-align: center;
2629 2632 }
2630 2633 }
2631 2634
2632 2635 .block-left{
2633 2636 width: 45%;
2634 2637 margin-right: 5%;
2635 2638 }
2636 2639 .modal-footer{
2637 2640 clear: both;
2638 2641 }
2639 2642 .key.tag{
2640 2643 padding: 0.5em;
2641 2644 background-color: @rcblue;
2642 2645 color: white;
2643 2646 border-color: @rcblue;
2644 2647 .box-shadow(none);
2645 2648 }
2646 2649 }
2647 2650
2648 2651
2649 2652
2650 2653 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2651 2654
2652 2655 @import 'statistics-graph';
2653 2656 @import 'tables';
2654 2657 @import 'forms';
2655 2658 @import 'diff';
2656 2659 @import 'summary';
2657 2660 @import 'navigation';
2658 2661
2659 2662 //--- SHOW/HIDE SECTIONS --//
2660 2663
2661 2664 .btn-collapse {
2662 2665 float: right;
2663 2666 text-align: right;
2664 2667 font-family: @text-light;
2665 2668 font-size: @basefontsize;
2666 2669 cursor: pointer;
2667 2670 border: none;
2668 2671 color: @rcblue;
2669 2672 }
2670 2673
2671 2674 table.rctable,
2672 2675 table.dataTable {
2673 2676 .btn-collapse {
2674 2677 float: right;
2675 2678 text-align: right;
2676 2679 }
2677 2680 }
2678 2681
2679 2682 table.rctable {
2680 2683 &.permissions {
2681 2684
2682 2685 th.td-owner {
2683 2686 padding: 0;
2684 2687 }
2685 2688
2686 2689 th {
2687 2690 font-weight: normal;
2688 2691 padding: 0 5px;
2689 2692 }
2690 2693
2691 2694 }
2692 2695 }
2693 2696
2694 2697
2695 2698 // TODO: johbo: Fix for IE10, this avoids that we see a border
2696 2699 // and padding around checkboxes and radio boxes. Move to the right place,
2697 2700 // or better: Remove this once we did the form refactoring.
2698 2701 input[type=checkbox],
2699 2702 input[type=radio] {
2700 2703 padding: 0;
2701 2704 border: none;
2702 2705 }
2703 2706
2704 2707 .toggle-ajax-spinner{
2705 2708 height: 16px;
2706 2709 width: 16px;
2707 2710 }
2708 2711
2709 2712
2710 2713 .markup-form .clearfix {
2711 2714 .border-radius(@border-radius);
2712 2715 margin: 0px;
2713 2716 }
2714 2717
2715 2718 .markup-form-area {
2716 2719 padding: 8px 12px;
2717 2720 border: 1px solid @grey4;
2718 2721 .border-radius(@border-radius);
2719 2722 }
2720 2723
2721 2724 .markup-form-area-header .nav-links {
2722 2725 display: flex;
2723 2726 flex-flow: row wrap;
2724 2727 -webkit-flex-flow: row wrap;
2725 2728 width: 100%;
2726 2729 }
2727 2730
2728 2731 .markup-form-area-footer {
2729 2732 display: flex;
2730 2733 }
2731 2734
2732 2735 .markup-form-area-footer .toolbar {
2733 2736
2734 2737 }
2735 2738
2736 2739 // markup Form
2737 2740 div.markup-form {
2738 2741 margin-top: 20px;
2739 2742 }
2740 2743
2741 2744 .markup-form strong {
2742 2745 display: block;
2743 2746 margin-bottom: 15px;
2744 2747 }
2745 2748
2746 2749 .markup-form textarea {
2747 2750 width: 100%;
2748 2751 height: 100px;
2749 2752 font-family: @text-monospace;
2750 2753 }
2751 2754
2752 2755 form.markup-form {
2753 2756 margin-top: 10px;
2754 2757 margin-left: 10px;
2755 2758 }
2756 2759
2757 2760 .markup-form .comment-block-ta,
2758 2761 .markup-form .preview-box {
2759 2762 .border-radius(@border-radius);
2760 2763 .box-sizing(border-box);
2761 2764 background-color: white;
2762 2765 }
2763 2766
2764 2767 .markup-form .preview-box.unloaded {
2765 2768 height: 50px;
2766 2769 text-align: center;
2767 2770 padding: 20px;
2768 2771 background-color: white;
2769 2772 }
2770 2773
2771 2774
2772 2775 .dropzone-wrapper {
2773 2776 border: 1px solid @grey5;
2774 2777 padding: 20px;
2775 2778 }
2776 2779
2777 2780 .dropzone,
2778 2781 .dropzone-pure {
2779 2782 border: 2px dashed @grey5;
2780 2783 border-radius: 5px;
2781 2784 background: white;
2782 2785 min-height: 200px;
2783 2786 padding: 54px;
2784 2787
2785 2788 .dz-message {
2786 2789 font-weight: 700;
2787 2790 text-align: center;
2788 2791 margin: 2em 0;
2789 2792 }
2790 2793
2791 2794 }
2792 2795
2793 2796 .dz-preview {
2794 2797 margin: 10px 0 !important;
2795 2798 position: relative;
2796 2799 vertical-align: top;
2797 2800 padding: 10px;
2798 2801 border-bottom: 1px solid @grey5;
2799 2802 }
2800 2803
2801 2804 .dz-filename {
2802 2805 font-weight: 700;
2803 2806 float: left;
2804 2807 }
2805 2808
2806 2809 .dz-sending {
2807 2810 float: right;
2808 2811 }
2809 2812
2810 2813 .dz-response {
2811 2814 clear: both
2812 2815 }
2813 2816
2814 2817 .dz-filename-size {
2815 2818 float: right
2816 2819 }
2817 2820
2818 2821 .dz-error-message {
2819 2822 color: @alert2;
2820 2823 padding-top: 10px;
2821 2824 clear: both;
2822 2825 }
2823 2826
2824 2827
2825 2828 .user-hovercard {
2826 2829 padding: 5px;
2827 2830 }
2828 2831
2829 2832 .user-hovercard-icon {
2830 2833 display: inline;
2831 2834 padding: 0;
2832 2835 box-sizing: content-box;
2833 2836 border-radius: 50%;
2834 2837 float: left;
2835 2838 }
2836 2839
2837 2840 .user-hovercard-name {
2838 2841 float: right;
2839 2842 vertical-align: top;
2840 2843 padding-left: 10px;
2841 2844 min-width: 150px;
2842 2845 }
2843 2846
2844 2847 .user-hovercard-bio {
2845 2848 clear: both;
2846 2849 padding-top: 10px;
2847 2850 }
2848 2851
2849 2852 .user-hovercard-header {
2850 2853 clear: both;
2851 2854 min-height: 10px;
2852 2855 }
2853 2856
2854 2857 .user-hovercard-footer {
2855 2858 clear: both;
2856 2859 min-height: 10px;
2857 2860 }
2858 2861
2859 2862 .user-group-hovercard {
2860 2863 padding: 5px;
2861 2864 }
2862 2865
2863 2866 .user-group-hovercard-icon {
2864 2867 display: inline;
2865 2868 padding: 0;
2866 2869 box-sizing: content-box;
2867 2870 border-radius: 50%;
2868 2871 float: left;
2869 2872 }
2870 2873
2871 2874 .user-group-hovercard-name {
2872 2875 float: left;
2873 2876 vertical-align: top;
2874 2877 padding-left: 10px;
2875 2878 min-width: 150px;
2876 2879 }
2877 2880
2878 2881 .user-group-hovercard-icon i {
2879 2882 border: 1px solid @grey4;
2880 2883 border-radius: 4px;
2881 2884 }
2882 2885
2883 2886 .user-group-hovercard-bio {
2884 2887 clear: both;
2885 2888 padding-top: 10px;
2886 2889 line-height: 1.0em;
2887 2890 }
2888 2891
2889 2892 .user-group-hovercard-header {
2890 2893 clear: both;
2891 2894 min-height: 10px;
2892 2895 }
2893 2896
2894 2897 .user-group-hovercard-footer {
2895 2898 clear: both;
2896 2899 min-height: 10px;
2897 2900 }
2898 2901
2899 2902 .pr-hovercard-header {
2900 2903 clear: both;
2901 2904 display: block;
2902 2905 line-height: 20px;
2903 2906 }
2904 2907
2905 2908 .pr-hovercard-user {
2906 2909 display: flex;
2907 2910 align-items: center;
2908 2911 padding-left: 5px;
2909 2912 }
2910 2913
2911 2914 .pr-hovercard-title {
2912 2915 padding-top: 5px;
2913 2916 } No newline at end of file
@@ -1,85 +1,84 b''
1 1
2 2 <div class="pull-request-wrap">
3 3
4 4 % if c.pr_merge_possible:
5 5 <h2 class="merge-status">
6 6 <span class="merge-icon success"><i class="icon-ok"></i></span>
7 7 ${_('This pull request can be merged automatically.')}
8 8 </h2>
9 9 % else:
10 10 <h2 class="merge-status">
11 11 <span class="merge-icon warning"><i class="icon-false"></i></span>
12 12 ${_('Merge is not currently possible because of below failed checks.')}
13 13 </h2>
14 14 % endif
15 15
16 16 % if c.pr_merge_errors.items():
17 17 <ul>
18 18 % for pr_check_key, pr_check_details in c.pr_merge_errors.items():
19 19 <% pr_check_type = pr_check_details['error_type'] %>
20 20 <li>
21 21 <span class="merge-message ${pr_check_type}" data-role="merge-message">
22 22 - ${pr_check_details['message']}
23 23 % if pr_check_key == 'todo':
24 24 % for co in pr_check_details['details']:
25 25 <a class="permalink" href="#comment-${co.comment_id}" onclick="Rhodecode.comments.scrollToComment($('#comment-${co.comment_id}'), 0, ${h.json.dumps(co.outdated)})"> #${co.comment_id}</a>${'' if loop.last else ','}
26 26 % endfor
27 27 % endif
28 28 </span>
29 29 </li>
30 30 % endfor
31 <li>
32 Try <a href="${h.current_route_path(request, force_refresh=1)}">forced recheck</a> of the merge workspace in case current status seems wrong.
33 </li>
34 31 </ul>
35 32 % endif
36 33
37 34 <div class="pull-request-merge-actions">
38 35 % if c.allowed_to_merge:
39 36 ## Merge info, show only if all errors are taken care of
40 37 % if not c.pr_merge_errors and c.pr_merge_info:
41 38 <div class="pull-request-merge-info">
42 39 <ul>
43 40 % for pr_merge_key, pr_merge_details in c.pr_merge_info.items():
44 41 <li>
45 42 - ${pr_merge_details['message']}
46 43 </li>
47 44 % endfor
48 45 </ul>
49 46 </div>
50 47 % endif
51 48
52 49 <div>
53 50 ${h.secure_form(h.route_path('pullrequest_merge', repo_name=c.repo_name, pull_request_id=c.pull_request.pull_request_id), id='merge_pull_request_form', request=request)}
54 51 <% merge_disabled = ' disabled' if c.pr_merge_possible is False else '' %>
55 52
56 53 % if c.allowed_to_close:
57 54 ## close PR action, injected later next to COMMENT button
58 55 % if c.pull_request_review_status == c.REVIEW_STATUS_APPROVED:
59 56 <a id="close-pull-request-action" class="btn btn-approved-status" href="#close-as-approved" onclick="closePullRequest('${c.REVIEW_STATUS_APPROVED}'); return false;">
60 57 ${_('Close with status {}').format(h.commit_status_lbl(c.REVIEW_STATUS_APPROVED))}
61 58 </a>
62 59 % else:
63 60 <a id="close-pull-request-action" class="btn btn-rejected-status" href="#close-as-rejected" onclick="closePullRequest('${c.REVIEW_STATUS_REJECTED}'); return false;">
64 61 ${_('Close with status {}').format(h.commit_status_lbl(c.REVIEW_STATUS_REJECTED))}
65 62 </a>
66 63 % endif
67 64 % endif
68 65
69 66 <input type="submit" id="merge_pull_request" value="${_('Merge and close Pull Request')}" class="btn${merge_disabled}"${merge_disabled}>
70 67 ${h.end_form()}
71 68
72 69 <div class="pull-request-merge-refresh">
73 70 <a href="#refreshChecks" onclick="refreshMergeChecks(); return false;">${_('refresh checks')}</a>
71 /
72 <a class="tooltip" title="Force refresh of the merge workspace in case current status seems wrong." href="${h.route_path('pullrequest_show', repo_name=c.repo_name, pull_request_id=c.pull_request.pull_request_id,_query={"force_refresh":1})}">forced recheck</a>
74 73 </div>
75 74
76 75 </div>
77 76 % elif c.rhodecode_user.username != h.DEFAULT_USER:
78 77 <a class="btn" href="#" onclick="refreshMergeChecks(); return false;">${_('refresh checks')}</a>
79 78 <input type="submit" value="${_('Merge and close Pull Request')}" class="btn disabled" disabled="disabled" title="${_('You are not allowed to merge this pull request.')}">
80 79 % else:
81 80 <input type="submit" value="${_('Login to Merge this Pull Request')}" class="btn disabled" disabled="disabled">
82 81 % endif
83 82 </div>
84 83
85 84 </div>
General Comments 0
You need to be logged in to leave comments. Login now