##// END OF EJS Templates
ux: bringing my account pull request list into the great future #4038
lisaq -
r245:18685cb6 default
parent child Browse files
Show More
@@ -1,2094 +1,2095 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 'fonts';
9 9 @import 'variables';
10 10 @import 'bootstrap-variables';
11 11 @import 'form-bootstrap';
12 12 @import 'codemirror';
13 13 @import 'legacy_code_styles';
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
29 29
30 30 //--- BASE ------------------//
31 31 .noscript-error {
32 32 top: 0;
33 33 left: 0;
34 34 width: 100%;
35 35 z-index: 101;
36 36 text-align: center;
37 37 font-family: @text-semibold;
38 38 font-size: 120%;
39 39 color: white;
40 40 background-color: @alert2;
41 41 padding: 5px 0 5px 0;
42 42 }
43 43
44 44 html {
45 45 display: table;
46 46 height: 100%;
47 47 width: 100%;
48 48 }
49 49
50 50 body {
51 51 display: table-cell;
52 52 width: 100%;
53 53 }
54 54
55 55 //--- LAYOUT ------------------//
56 56
57 57 .hidden{
58 58 display: none !important;
59 59 }
60 60
61 61 .box{
62 62 float: left;
63 63 width: 100%;
64 64 }
65 65
66 66 .browser-header {
67 67 clear: both;
68 68 }
69 69 .main {
70 70 clear: both;
71 71 padding:0 0 @pagepadding;
72 72 height: auto;
73 73
74 74 &:after { //clearfix
75 75 content:"";
76 76 clear:both;
77 77 width:100%;
78 78 display:block;
79 79 }
80 80 }
81 81
82 82 .action-link{
83 83 margin-left: @padding;
84 84 padding-left: @padding;
85 85 border-left: @border-thickness solid @border-default-color;
86 86 }
87 87
88 88 input + .action-link, .action-link.first{
89 89 border-left: none;
90 90 }
91 91
92 92 .action-link.last{
93 93 margin-right: @padding;
94 94 padding-right: @padding;
95 95 }
96 96
97 97 .action-link.active,
98 98 .action-link.active a{
99 99 color: @grey4;
100 100 }
101 101
102 102 ul.simple-list{
103 103 list-style: none;
104 104 margin: 0;
105 105 padding: 0;
106 106 }
107 107
108 108 .main-content {
109 109 padding-bottom: @pagepadding;
110 110 }
111 111
112 112 .wrapper {
113 113 position: relative;
114 114 max-width: @wrapper-maxwidth;
115 115 margin: 0 auto;
116 116 }
117 117
118 118 #content {
119 119 clear: both;
120 120 padding: 0 @contentpadding;
121 121 }
122 122
123 123 .advanced-settings-fields{
124 124 input{
125 125 margin-left: @textmargin;
126 126 margin-right: @padding/2;
127 127 }
128 128 }
129 129
130 130 .cs_files_title {
131 131 margin: @pagepadding 0 0;
132 132 }
133 133
134 134 input.inline[type="file"] {
135 135 display: inline;
136 136 }
137 137
138 138 .error_page {
139 139 margin: 10% auto;
140 140
141 141 h1 {
142 142 color: @grey2;
143 143 }
144 144
145 145 .error-branding {
146 146 font-family: @text-semibold;
147 147 color: @grey4;
148 148 }
149 149
150 150 .error_message {
151 151 font-family: @text-regular;
152 152 }
153 153
154 154 .sidebar {
155 155 min-height: 275px;
156 156 margin: 0;
157 157 padding: 0 0 @sidebarpadding @sidebarpadding;
158 158 border: none;
159 159 }
160 160
161 161 .main-content {
162 162 position: relative;
163 163 margin: 0 @sidebarpadding @sidebarpadding;
164 164 padding: 0 0 0 @sidebarpadding;
165 165 border-left: @border-thickness solid @grey5;
166 166
167 167 @media (max-width:767px) {
168 168 clear: both;
169 169 width: 100%;
170 170 margin: 0;
171 171 border: none;
172 172 }
173 173 }
174 174
175 175 .inner-column {
176 176 float: left;
177 177 width: 29.75%;
178 178 min-height: 150px;
179 179 margin: @sidebarpadding 2% 0 0;
180 180 padding: 0 2% 0 0;
181 181 border-right: @border-thickness solid @grey5;
182 182
183 183 @media (max-width:767px) {
184 184 clear: both;
185 185 width: 100%;
186 186 border: none;
187 187 }
188 188
189 189 ul {
190 190 padding-left: 1.25em;
191 191 }
192 192
193 193 &:last-child {
194 194 margin: @sidebarpadding 0 0;
195 195 border: none;
196 196 }
197 197
198 198 h4 {
199 199 margin: 0 0 @padding;
200 200 font-family: @text-semibold;
201 201 }
202 202 }
203 203 }
204 204 .error-page-logo {
205 205 width: 130px;
206 206 height: 160px;
207 207 }
208 208
209 209 // HEADER
210 210 .header {
211 211
212 212 // TODO: johbo: Fix login pages, so that they work without a min-height
213 213 // for the header and then remove the min-height. I chose a smaller value
214 214 // intentionally here to avoid rendering issues in the main navigation.
215 215 min-height: 49px;
216 216
217 217 position: relative;
218 218 vertical-align: bottom;
219 219 padding: 0 @header-padding;
220 220 background-color: @grey2;
221 221 color: @grey5;
222 222
223 223 .title {
224 224 overflow: visible;
225 225 }
226 226
227 227 &:before,
228 228 &:after {
229 229 content: "";
230 230 clear: both;
231 231 width: 100%;
232 232 }
233 233
234 234 // TODO: johbo: Avoids breaking "Repositories" chooser
235 235 .select2-container .select2-choice .select2-arrow {
236 236 display: none;
237 237 }
238 238 }
239 239
240 240 #header-inner {
241 241 &.title {
242 242 margin: 0;
243 243 }
244 244 &:before,
245 245 &:after {
246 246 content: "";
247 247 clear: both;
248 248 }
249 249 }
250 250
251 251 // Gists
252 252 #files_data {
253 253 clear: both; //for firefox
254 254 }
255 255 #gistid {
256 256 margin-right: @padding;
257 257 }
258 258
259 259 // Global Settings Editor
260 260 .textarea.editor {
261 261 float: left;
262 262 position: relative;
263 263 max-width: @texteditor-width;
264 264
265 265 select {
266 266 position: absolute;
267 267 top:10px;
268 268 right:0;
269 269 }
270 270
271 271 .CodeMirror {
272 272 margin: 0;
273 273 }
274 274
275 275 .help-block {
276 276 margin: 0 0 @padding;
277 277 padding:.5em;
278 278 background-color: @grey6;
279 279 }
280 280 }
281 281
282 282 ul.auth_plugins {
283 283 margin: @padding 0 @padding @legend-width;
284 284 padding: 0;
285 285
286 286 li {
287 287 margin-bottom: @padding;
288 288 line-height: 1em;
289 289 list-style-type: none;
290 290
291 291 .auth_buttons .btn {
292 292 margin-right: @padding;
293 293 }
294 294
295 295 &:before { content: none; }
296 296 }
297 297 }
298 298
299 // Pull Requests
299
300 // My Account PR list
301
302 #show_closed {
303 margin: 0 1em 0 0;
304 }
300 305
301 306 .pullrequestlist {
302 max-width: @pullrequest-width;
303 margin-bottom: @space;
304
305 // Tweaks for "My Account" / "Pull requests"
306 .prwrapper {
307 clear: left;
307 .closed {
308 background-color: @grey6;
309 }
310 .td-status {
311 padding-left: .5em;
312 }
313 .truncate {
314 height: 2.75em;
315 white-space: pre-line;
316 }
317 table.rctable .user {
318 padding-left: 0;
319 }
320 }
308 321
309 .pr {
310 margin: 0;
311 padding: 0;
312 border-bottom: none;
313 }
314
315 // TODO: johbo: Replace with something that makes up an inline form or
316 // similar.
317 .repolist_actions {
318 display: inline-block;
319 }
320 }
321
322 }
322 // Pull Requests
323 323
324 324 .pullrequests_section_head {
325 325 display: block;
326 326 clear: both;
327 327 margin: @padding 0;
328 328 font-family: @text-bold;
329 329 }
330 330
331 331 .pr-origininfo, .pr-targetinfo {
332 332 position: relative;
333 333
334 334 .tag {
335 335 display: inline-block;
336 336 margin: 0 1em .5em 0;
337 337 }
338 338
339 339 .clone-url {
340 340 display: inline-block;
341 341 margin: 0 0 .5em 0;
342 342 padding: 0;
343 343 line-height: 1.2em;
344 344 }
345 345 }
346 346
347 347 .pr-pullinfo {
348 348 clear: both;
349 349 margin: .5em 0;
350 350 }
351 351
352 352 #pr-title-input {
353 353 width: 72%;
354 354 font-size: 1em;
355 355 font-family: @text-bold;
356 356 margin: 0;
357 357 padding: 0 0 0 @padding/4;
358 358 line-height: 1.7em;
359 359 color: @text-color;
360 360 letter-spacing: .02em;
361 361 }
362 362
363 363 #pullrequest_title {
364 364 width: 100%;
365 365 box-sizing: border-box;
366 366 }
367 367
368 368 #pr_open_message {
369 369 border: @border-thickness solid #fff;
370 370 border-radius: @border-radius;
371 371 padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0;
372 372 text-align: right;
373 373 overflow: hidden;
374 374 }
375 375
376 376 .pr-submit-button {
377 377 float: right;
378 378 margin: 0 0 0 5px;
379 379 }
380 380
381 381 .pr-spacing-container {
382 382 padding: 20px;
383 383 clear: both
384 384 }
385 385
386 386 #pr-description-input {
387 387 margin-bottom: 0;
388 388 }
389 389
390 390 .pr-description-label {
391 391 vertical-align: top;
392 392 }
393 393
394 394 .perms_section_head {
395 395 min-width: 625px;
396 396
397 397 h2 {
398 398 margin-bottom: 0;
399 399 }
400 400
401 401 .label-checkbox {
402 402 float: left;
403 403 }
404 404
405 405 &.field {
406 406 margin: @space 0 @padding;
407 407 }
408 408
409 409 &:first-child.field {
410 410 margin-top: 0;
411 411
412 412 .label {
413 413 margin-top: 0;
414 414 padding-top: 0;
415 415 }
416 416
417 417 .radios {
418 418 padding-top: 0;
419 419 }
420 420 }
421 421
422 422 .radios {
423 423 float: right;
424 424 position: relative;
425 425 width: 405px;
426 426 }
427 427 }
428 428
429 429 //--- MODULES ------------------//
430 430
431 431
432 432 // Fixed Sidebar Column
433 433 .sidebar-col-wrapper {
434 434 padding-left: @sidebar-all-width;
435 435
436 436 .sidebar {
437 437 width: @sidebar-width;
438 438 margin-left: -@sidebar-all-width;
439 439 }
440 440 }
441 441
442 442 .sidebar-col-wrapper.scw-small {
443 443 padding-left: @sidebar-small-all-width;
444 444
445 445 .sidebar {
446 446 width: @sidebar-small-width;
447 447 margin-left: -@sidebar-small-all-width;
448 448 }
449 449 }
450 450
451 451
452 452 // FOOTER
453 453 #footer {
454 454 padding: 0;
455 455 text-align: center;
456 456 vertical-align: middle;
457 457 color: @grey2;
458 458 background-color: @grey6;
459 459
460 460 p {
461 461 margin: 0;
462 462 padding: 1em;
463 463 line-height: 1em;
464 464 }
465 465
466 466 .server-instance { //server instance
467 467 display: none;
468 468 }
469 469
470 470 .title {
471 471 float: none;
472 472 margin: 0 auto;
473 473 }
474 474 }
475 475
476 476 button.close {
477 477 padding: 0;
478 478 cursor: pointer;
479 479 background: transparent;
480 480 border: 0;
481 481 .box-shadow(none);
482 482 -webkit-appearance: none;
483 483 }
484 484
485 485 .close {
486 486 float: right;
487 487 font-size: 21px;
488 488 font-family: @text-bootstrap;
489 489 line-height: 1em;
490 490 font-weight: bold;
491 491 color: @grey2;
492 492
493 493 &:hover,
494 494 &:focus {
495 495 color: @grey1;
496 496 text-decoration: none;
497 497 cursor: pointer;
498 498 }
499 499 }
500 500
501 501 // GRID
502 502 .sorting,
503 503 .sorting_desc,
504 504 .sorting_asc {
505 505 cursor: pointer;
506 506 }
507 507 .sorting_desc:after {
508 508 content: "\00A0\25B2";
509 509 font-size: .75em;
510 510 }
511 511 .sorting_asc:after {
512 512 content: "\00A0\25BC";
513 513 font-size: .68em;
514 514 }
515 515
516 516
517 517 .user_auth_tokens {
518 518
519 519 &.truncate {
520 520 white-space: nowrap;
521 521 overflow: hidden;
522 522 text-overflow: ellipsis;
523 523 }
524 524
525 525 .fields .field .input {
526 526 margin: 0;
527 527 }
528 528
529 529 input#description {
530 530 width: 100px;
531 531 margin: 0;
532 532 }
533 533
534 534 .drop-menu {
535 535 // TODO: johbo: Remove this, should work out of the box when
536 536 // having multiple inputs inline
537 537 margin: 0 0 0 5px;
538 538 }
539 539 }
540 540 #user_list_table {
541 541 .closed {
542 542 background-color: @grey6;
543 543 }
544 544 }
545 545
546 546
547 547 input {
548 548 &.disabled {
549 549 opacity: .5;
550 550 }
551 551 }
552 552
553 553 // remove extra padding in firefox
554 554 input::-moz-focus-inner { border:0; padding:0 }
555 555
556 556 .adjacent input {
557 557 margin-bottom: @padding;
558 558 }
559 559
560 560 .permissions_boxes {
561 561 display: block;
562 562 }
563 563
564 564 //TODO: lisa: this should be in tables
565 565 .show_more_col {
566 566 width: 20px;
567 567 }
568 568
569 569 //FORMS
570 570
571 571 .medium-inline,
572 572 input#description.medium-inline {
573 573 display: inline;
574 574 width: @medium-inline-input-width;
575 575 min-width: 100px;
576 576 }
577 577
578 578 select {
579 579 //reset
580 580 -webkit-appearance: none;
581 581 -moz-appearance: none;
582 582
583 583 display: inline-block;
584 584 height: 28px;
585 585 width: auto;
586 586 margin: 0 @padding @padding 0;
587 587 padding: 0 18px 0 8px;
588 588 line-height:1em;
589 589 font-size: @basefontsize;
590 590 border: @border-thickness solid @rcblue;
591 591 background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%;
592 592 color: @rcblue;
593 593
594 594 &:after {
595 595 content: "\00A0\25BE";
596 596 }
597 597
598 598 &:focus {
599 599 outline: none;
600 600 }
601 601 }
602 602
603 603 option {
604 604 &:focus {
605 605 outline: none;
606 606 }
607 607 }
608 608
609 609 input,
610 610 textarea {
611 611 padding: @input-padding;
612 612 border: @input-border-thickness solid @border-highlight-color;
613 613 .border-radius (@border-radius);
614 614 font-family: @text-light;
615 615 font-size: @basefontsize;
616 616
617 617 &.input-sm {
618 618 padding: 5px;
619 619 }
620 620
621 621 &#description {
622 622 min-width: @input-description-minwidth;
623 623 min-height: 1em;
624 624 padding: 10px;
625 625 }
626 626 }
627 627
628 628 .field-sm {
629 629 input,
630 630 textarea {
631 631 padding: 5px;
632 632 }
633 633 }
634 634
635 635 textarea {
636 636 display: block;
637 637 clear: both;
638 638 width: 100%;
639 639 min-height: 100px;
640 640 margin-bottom: @padding;
641 641 .box-sizing(border-box);
642 642 overflow: auto;
643 643 }
644 644
645 645 label {
646 646 font-family: @text-light;
647 647 }
648 648
649 649 // GRAVATARS
650 650 // centers gravatar on username to the right
651 651
652 652 .gravatar {
653 653 display: inline;
654 654 min-width: 16px;
655 655 min-height: 16px;
656 656 margin: -5px 0;
657 657 padding: 0;
658 658 line-height: 1em;
659 659 border: 1px solid @grey4;
660 660
661 661 &.gravatar-large {
662 662 margin: -0.5em .25em -0.5em 0;
663 663 }
664 664
665 665 & + .user {
666 666 display: inline;
667 667 margin: 0;
668 668 padding: 0 0 0 .17em;
669 669 line-height: 1em;
670 670 }
671 671 }
672 672
673 673 .rc-user { // gravatar + user wrapper
674 674 float: left;
675 675 position: relative;
676 676 min-width: 100px;
677 677 max-width: 200px;
678 678 min-height: (@gravatar-size + @border-thickness * 2); // account for border
679 679 display: block;
680 680 padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2);
681 681
682 682
683 683 .gravatar {
684 684 display: block;
685 685 position: absolute;
686 686 top: 0;
687 687 left: 0;
688 688 min-width: @gravatar-size;
689 689 min-height: @gravatar-size;
690 690 margin: 0;
691 691 }
692 692
693 693 .user {
694 694 display: block;
695 695 max-width: 175px;
696 696 padding-top: 2px;
697 697 overflow: hidden;
698 698 text-overflow: ellipsis;
699 699 }
700 700 }
701 701
702 702 .gist-gravatar,
703 703 .journal_container {
704 704 .gravatar-large {
705 705 margin: 0 .5em -10px 0;
706 706 }
707 707 }
708 708
709 709
710 710 // ADMIN SETTINGS
711 711
712 712 // Tag Patterns
713 713 .tag_patterns {
714 714 .tag_input {
715 715 margin-bottom: @padding;
716 716 }
717 717 }
718 718
719 719 .locked_input {
720 720 position: relative;
721 721
722 722 input {
723 723 display: inline;
724 724 margin-top: 3px;
725 725 }
726 726
727 727 br {
728 728 display: none;
729 729 }
730 730
731 731 .error-message {
732 732 float: left;
733 733 width: 100%;
734 734 }
735 735
736 736 .lock_input_button {
737 737 display: inline;
738 738 }
739 739
740 740 .help-block {
741 741 clear: both;
742 742 }
743 743 }
744 744
745 745 // Notifications
746 746
747 747 .notifications_buttons {
748 748 margin: 0 0 @space 0;
749 749 padding: 0;
750 750
751 751 .btn {
752 752 display: inline-block;
753 753 }
754 754 }
755 755
756 756 .notification-list {
757 757
758 758 div {
759 759 display: inline-block;
760 760 vertical-align: middle;
761 761 }
762 762
763 763 .container {
764 764 display: block;
765 765 margin: 0 0 @padding 0;
766 766 }
767 767
768 768 .delete-notifications {
769 769 margin-left: @padding;
770 770 text-align: right;
771 771 cursor: pointer;
772 772 }
773 773
774 774 .read-notifications {
775 775 margin-left: @padding/2;
776 776 text-align: right;
777 777 width: 35px;
778 778 cursor: pointer;
779 779 }
780 780
781 781 .icon-minus-sign {
782 782 color: @alert2;
783 783 }
784 784
785 785 .icon-ok-sign {
786 786 color: @alert1;
787 787 }
788 788 }
789 789
790 790 .user_settings {
791 791 float: left;
792 792 clear: both;
793 793 display: block;
794 794 width: 100%;
795 795
796 796 .gravatar_box {
797 797 margin-bottom: @padding;
798 798
799 799 &:after {
800 800 content: " ";
801 801 clear: both;
802 802 width: 100%;
803 803 }
804 804 }
805 805
806 806 .fields .field {
807 807 clear: both;
808 808 }
809 809 }
810 810
811 811 .advanced_settings {
812 812 margin-bottom: @space;
813 813
814 814 .help-block {
815 815 margin-left: 0;
816 816 }
817 817
818 818 button + .help-block {
819 819 margin-top: @padding;
820 820 }
821 821 }
822 822
823 823 // admin settings radio buttons and labels
824 824 .label-2 {
825 825 float: left;
826 826 width: @label2-width;
827 827
828 828 label {
829 829 color: @grey1;
830 830 }
831 831 }
832 832 .checkboxes {
833 833 float: left;
834 834 width: @checkboxes-width;
835 835 margin-bottom: @padding;
836 836
837 837 .checkbox {
838 838 width: 100%;
839 839
840 840 label {
841 841 margin: 0;
842 842 padding: 0;
843 843 }
844 844 }
845 845
846 846 .checkbox + .checkbox {
847 847 display: inline-block;
848 848 }
849 849
850 850 label {
851 851 margin-right: 1em;
852 852 }
853 853 }
854 854
855 855 // CHANGELOG
856 856 .container_header {
857 857 float: left;
858 858 display: block;
859 859 width: 100%;
860 860 margin: @padding 0 @padding;
861 861
862 862 #filter_changelog {
863 863 float: left;
864 864 margin-right: @padding;
865 865 }
866 866
867 867 .breadcrumbs_light {
868 868 display: inline-block;
869 869 }
870 870 }
871 871
872 872 .info_box {
873 873 float: right;
874 874 }
875 875
876 876
877 877 #graph_nodes {
878 878 padding-top: 43px;
879 879 }
880 880
881 881 #graph_content{
882 882
883 883 // adjust for table headers so that graph renders properly
884 884 // #graph_nodes padding - table cell padding
885 885 padding-top: (@space - (@basefontsize * 2.4));
886 886
887 887 &.graph_full_width {
888 888 width: 100%;
889 889 max-width: 100%;
890 890 }
891 891 }
892 892
893 893 #graph {
894 894 .flag_status {
895 895 margin: 0;
896 896 }
897 897
898 898 .pagination-left {
899 899 float: left;
900 900 clear: both;
901 901 }
902 902
903 903 .log-container {
904 904 max-width: 345px;
905 905
906 906 .message{
907 907 max-width: 340px;
908 908 }
909 909 }
910 910
911 911 .graph-col-wrapper {
912 912 padding-left: 110px;
913 913
914 914 #graph_nodes {
915 915 width: 100px;
916 916 margin-left: -110px;
917 917 float: left;
918 918 clear: left;
919 919 }
920 920 }
921 921 }
922 922
923 923 #filter_changelog {
924 924 float: left;
925 925 }
926 926
927 927
928 928 //--- THEME ------------------//
929 929
930 930 #logo {
931 931 float: left;
932 932 margin: 9px 0 0 0;
933 933
934 934 .header {
935 935 background-color: transparent;
936 936 }
937 937
938 938 a {
939 939 display: inline-block;
940 940 }
941 941
942 942 img {
943 943 height:30px;
944 944 }
945 945 }
946 946
947 947 .logo-wrapper {
948 948 float:left;
949 949 }
950 950
951 951 .branding{
952 952 float: left;
953 953 padding: 9px 2px;
954 954 line-height: 1em;
955 955 font-size: @navigation-fontsize;
956 956 }
957 957
958 958 img {
959 959 border: none;
960 960 outline: none;
961 961 }
962 962 user-profile-header
963 963 label {
964 964
965 965 input[type="checkbox"] {
966 966 margin-right: 1em;
967 967 }
968 968 input[type="radio"] {
969 969 margin-right: 1em;
970 970 }
971 971 }
972 972
973 973 .flag_status {
974 974 margin: 2px 8px 6px 2px;
975 975 &.under_review {
976 976 .circle(5px, @alert3);
977 977 }
978 978 &.approved {
979 979 .circle(5px, @alert1);
980 980 }
981 981 &.rejected,
982 982 &.forced_closed{
983 983 .circle(5px, @alert2);
984 984 }
985 985 &.not_reviewed {
986 986 .circle(5px, @grey5);
987 987 }
988 988 }
989 989
990 990 .flag_status_comment_box {
991 991 margin: 5px 6px 0px 2px;
992 992 }
993 993 .test_pattern_preview {
994 994 margin: @space 0;
995 995
996 996 p {
997 997 margin-bottom: 0;
998 998 border-bottom: @border-thickness solid @border-default-color;
999 999 color: @grey3;
1000 1000 }
1001 1001
1002 1002 .btn {
1003 1003 margin-bottom: @padding;
1004 1004 }
1005 1005 }
1006 1006 #test_pattern_result {
1007 1007 display: none;
1008 1008 &:extend(pre);
1009 1009 padding: .9em;
1010 1010 color: @grey3;
1011 1011 background-color: @grey7;
1012 1012 border-right: @border-thickness solid @border-default-color;
1013 1013 border-bottom: @border-thickness solid @border-default-color;
1014 1014 border-left: @border-thickness solid @border-default-color;
1015 1015 }
1016 1016
1017 1017 #repo_vcs_settings {
1018 1018 #inherit_overlay_vcs_default {
1019 1019 display: none;
1020 1020 }
1021 1021 #inherit_overlay_vcs_custom {
1022 1022 display: custom;
1023 1023 }
1024 1024 &.inherited {
1025 1025 #inherit_overlay_vcs_default {
1026 1026 display: block;
1027 1027 }
1028 1028 #inherit_overlay_vcs_custom {
1029 1029 display: none;
1030 1030 }
1031 1031 }
1032 1032 }
1033 1033
1034 1034 .issue-tracker-link {
1035 1035 color: @rcblue;
1036 1036 }
1037 1037
1038 1038 // Issue Tracker Table Show/Hide
1039 1039 #repo_issue_tracker {
1040 1040 #inherit_overlay {
1041 1041 display: none;
1042 1042 }
1043 1043 #custom_overlay {
1044 1044 display: custom;
1045 1045 }
1046 1046 &.inherited {
1047 1047 #inherit_overlay {
1048 1048 display: block;
1049 1049 }
1050 1050 #custom_overlay {
1051 1051 display: none;
1052 1052 }
1053 1053 }
1054 1054 }
1055 1055 table.issuetracker {
1056 1056 &.readonly {
1057 1057 tr, td {
1058 1058 color: @grey3;
1059 1059 }
1060 1060 }
1061 1061 .edit {
1062 1062 display: none;
1063 1063 }
1064 1064 .editopen {
1065 1065 .edit {
1066 1066 display: inline;
1067 1067 }
1068 1068 .entry {
1069 1069 display: none;
1070 1070 }
1071 1071 }
1072 1072 tr td.td-action {
1073 1073 min-width: 117px;
1074 1074 }
1075 1075 td input {
1076 1076 max-width: none;
1077 1077 min-width: 30px;
1078 1078 width: 80%;
1079 1079 }
1080 1080 .issuetracker_pref input {
1081 1081 width: 40%;
1082 1082 }
1083 1083 input.edit_issuetracker_update {
1084 1084 margin-right: 0;
1085 1085 width: auto;
1086 1086 }
1087 1087 }
1088 1088
1089
1089 1090 //Permissions Settings
1090 1091 #add_perm {
1091 1092 margin: 0 0 @padding;
1092 1093 cursor: pointer;
1093 1094 }
1094 1095
1095 1096 .perm_ac {
1096 1097 input {
1097 1098 width: 95%;
1098 1099 }
1099 1100 }
1100 1101
1101 1102 .autocomplete-suggestions {
1102 1103 width: auto !important; // overrides autocomplete.js
1103 1104 margin: 0;
1104 1105 border: @border-thickness solid @rcblue;
1105 1106 border-radius: @border-radius;
1106 1107 color: @rcblue;
1107 1108 background-color: white;
1108 1109 }
1109 1110 .autocomplete-selected {
1110 1111 background: #F0F0F0;
1111 1112 }
1112 1113 .ac-container-wrap {
1113 1114 margin: 0;
1114 1115 padding: 8px;
1115 1116 border-bottom: @border-thickness solid @rclightblue;
1116 1117 list-style-type: none;
1117 1118 cursor: pointer;
1118 1119
1119 1120 &:hover {
1120 1121 background-color: @rclightblue;
1121 1122 }
1122 1123
1123 1124 img {
1124 1125 margin-right: 1em;
1125 1126 }
1126 1127
1127 1128 strong {
1128 1129 font-weight: normal;
1129 1130 }
1130 1131 }
1131 1132
1132 1133 // Settings Dropdown
1133 1134 .user-menu .container {
1134 1135 padding: 0 4px;
1135 1136 margin: 0;
1136 1137 }
1137 1138
1138 1139 .user-menu .gravatar {
1139 1140 cursor: pointer;
1140 1141 }
1141 1142
1142 1143 .codeblock {
1143 1144 margin-bottom: @padding;
1144 1145 clear: both;
1145 1146
1146 1147 .stats{
1147 1148 overflow: hidden;
1148 1149 }
1149 1150
1150 1151 .message{
1151 1152 textarea{
1152 1153 margin: 0;
1153 1154 }
1154 1155 }
1155 1156
1156 1157 .code-header {
1157 1158 .stats {
1158 1159 line-height: 2em;
1159 1160
1160 1161 .revision_id {
1161 1162 margin-left: 0;
1162 1163 }
1163 1164 .buttons {
1164 1165 padding-right: 0;
1165 1166 }
1166 1167 }
1167 1168
1168 1169 .item{
1169 1170 margin-right: 0.5em;
1170 1171 }
1171 1172 }
1172 1173
1173 1174 #editor_container{
1174 1175 position: relative;
1175 1176 margin: @padding;
1176 1177 }
1177 1178 }
1178 1179
1179 1180 #file_history_container {
1180 1181 display: none;
1181 1182 }
1182 1183
1183 1184 .file-history-inner {
1184 1185 margin-bottom: 10px;
1185 1186 }
1186 1187
1187 1188 // Pull Requests
1188 1189 .summary-details {
1189 1190 width: 72%;
1190 1191 }
1191 1192 .pr-summary {
1192 1193 border-bottom: @border-thickness solid @grey5;
1193 1194 margin-bottom: @space;
1194 1195 }
1195 1196 .reviewers-title {
1196 1197 width: 25%;
1197 1198 min-width: 200px;
1198 1199 }
1199 1200 .reviewers {
1200 1201 width: 25%;
1201 1202 min-width: 200px;
1202 1203 }
1203 1204 .reviewers ul li {
1204 1205 position: relative;
1205 1206 width: 100%;
1206 1207 margin-bottom: 8px;
1207 1208 }
1208 1209 .reviewers_member {
1209 1210 width: 100%;
1210 1211 overflow: auto;
1211 1212 }
1212 1213 .reviewer_status {
1213 1214 display: inline-block;
1214 1215 vertical-align: top;
1215 1216 width: 7%;
1216 1217 min-width: 20px;
1217 1218 height: 1.2em;
1218 1219 margin-top: 3px;
1219 1220 line-height: 1em;
1220 1221 }
1221 1222
1222 1223 .reviewer_name {
1223 1224 display: inline-block;
1224 1225 max-width: 83%;
1225 1226 padding-right: 20px;
1226 1227 vertical-align: middle;
1227 1228 line-height: 1;
1228 1229
1229 1230 .rc-user {
1230 1231 min-width: 0;
1231 1232 margin: -2px 1em 0 0;
1232 1233 }
1233 1234
1234 1235 .reviewer {
1235 1236 float: left;
1236 1237 }
1237 1238
1238 1239 &.to-delete {
1239 1240 .user,
1240 1241 .reviewer {
1241 1242 text-decoration: line-through;
1242 1243 }
1243 1244 }
1244 1245 }
1245 1246
1246 1247 .reviewer_member_remove {
1247 1248 position: absolute;
1248 1249 right: 0;
1249 1250 top: 0;
1250 1251 width: 16px;
1251 1252 margin-bottom: 10px;
1252 1253 padding: 0;
1253 1254 color: black;
1254 1255 }
1255 1256 .reviewer_member_status {
1256 1257 margin-top: 5px;
1257 1258 }
1258 1259 .pr-summary #summary{
1259 1260 width: 100%;
1260 1261 }
1261 1262 .pr-summary .action_button:hover {
1262 1263 border: 0;
1263 1264 cursor: pointer;
1264 1265 }
1265 1266 .pr-details-title {
1266 1267 padding-bottom: 8px;
1267 1268 border-bottom: @border-thickness solid @grey5;
1268 1269 .action_button {
1269 1270 color: @rcblue;
1270 1271 }
1271 1272 }
1272 1273 .pr-details-content {
1273 1274 margin-top: @textmargin;
1274 1275 margin-bottom: @textmargin;
1275 1276 }
1276 1277 .pr-description {
1277 1278 white-space:pre-wrap;
1278 1279 }
1279 1280 .group_members {
1280 1281 margin-top: 0;
1281 1282 padding: 0;
1282 1283 list-style: outside none none;
1283 1284 }
1284 1285 .reviewer_ac .ac-input {
1285 1286 width: 92%;
1286 1287 margin-bottom: 1em;
1287 1288 }
1288 1289 #update_commits {
1289 1290 float: right;
1290 1291 }
1291 1292 .compare_view_commits tr{
1292 1293 height: 20px;
1293 1294 }
1294 1295 .compare_view_commits td {
1295 1296 vertical-align: top;
1296 1297 padding-top: 10px;
1297 1298 }
1298 1299 .compare_view_commits .author {
1299 1300 margin-left: 5px;
1300 1301 }
1301 1302
1302 1303 .compare_view_files {
1303 1304 width: 100%;
1304 1305
1305 1306 td {
1306 1307 vertical-align: middle;
1307 1308 }
1308 1309 }
1309 1310
1310 1311 .compare_view_filepath {
1311 1312 color: @grey1;
1312 1313 }
1313 1314
1314 1315 .show_more {
1315 1316 display: inline-block;
1316 1317 position: relative;
1317 1318 vertical-align: middle;
1318 1319 width: 4px;
1319 1320 height: @basefontsize;
1320 1321
1321 1322 &:after {
1322 1323 content: "\00A0\25BE";
1323 1324 display: inline-block;
1324 1325 width:10px;
1325 1326 line-height: 5px;
1326 1327 font-size: 12px;
1327 1328 cursor: pointer;
1328 1329 }
1329 1330 }
1330 1331
1331 1332 .journal_more .show_more {
1332 1333 display: inline;
1333 1334
1334 1335 &:after {
1335 1336 content: none;
1336 1337 }
1337 1338 }
1338 1339
1339 1340 .open .show_more:after,
1340 1341 .select2-dropdown-open .show_more:after {
1341 1342 .rotate(180deg);
1342 1343 margin-left: 4px;
1343 1344 }
1344 1345
1345 1346
1346 1347 .compare_view_commits .collapse_commit:after {
1347 1348 cursor: pointer;
1348 1349 content: "\00A0\25B4";
1349 1350 margin-left: -3px;
1350 1351 font-size: 17px;
1351 1352 color: @grey4;
1352 1353 }
1353 1354
1354 1355 .diff_links {
1355 1356 margin-left: 8px;
1356 1357 }
1357 1358
1358 1359 p.ancestor {
1359 1360 margin: @padding 0;
1360 1361 }
1361 1362
1362 1363 .cs_icon_td input[type="checkbox"] {
1363 1364 display: none;
1364 1365 }
1365 1366
1366 1367 .cs_icon_td .expand_file_icon:after {
1367 1368 cursor: pointer;
1368 1369 content: "\00A0\25B6";
1369 1370 font-size: 12px;
1370 1371 color: @grey4;
1371 1372 }
1372 1373
1373 1374 .cs_icon_td .collapse_file_icon:after {
1374 1375 cursor: pointer;
1375 1376 content: "\00A0\25BC";
1376 1377 font-size: 12px;
1377 1378 color: @grey4;
1378 1379 }
1379 1380
1380 1381 /*new binary
1381 1382 NEW_FILENODE = 1
1382 1383 DEL_FILENODE = 2
1383 1384 MOD_FILENODE = 3
1384 1385 RENAMED_FILENODE = 4
1385 1386 COPIED_FILENODE = 5
1386 1387 CHMOD_FILENODE = 6
1387 1388 BIN_FILENODE = 7
1388 1389 */
1389 1390 .cs_files_expand {
1390 1391 font-size: @basefontsize + 5px;
1391 1392 line-height: 1.8em;
1392 1393 float: right;
1393 1394 }
1394 1395
1395 1396 .cs_files_expand span{
1396 1397 color: @rcblue;
1397 1398 cursor: pointer;
1398 1399 }
1399 1400 .cs_files {
1400 1401 clear: both;
1401 1402 padding-bottom: @padding;
1402 1403
1403 1404 .cur_cs {
1404 1405 margin: 10px 2px;
1405 1406 font-weight: bold;
1406 1407 }
1407 1408
1408 1409 .node {
1409 1410 float: left;
1410 1411 }
1411 1412
1412 1413 .changes {
1413 1414 float: right;
1414 1415 color: white;
1415 1416 font-size: @basefontsize - 4px;
1416 1417 margin-top: 4px;
1417 1418 opacity: 0.6;
1418 1419 filter: Alpha(opacity=60); /* IE8 and earlier */
1419 1420
1420 1421 .added {
1421 1422 background-color: @alert1;
1422 1423 float: left;
1423 1424 text-align: center;
1424 1425 }
1425 1426
1426 1427 .deleted {
1427 1428 background-color: @alert2;
1428 1429 float: left;
1429 1430 text-align: center;
1430 1431 }
1431 1432
1432 1433 .bin {
1433 1434 background-color: @alert1;
1434 1435 text-align: center;
1435 1436 }
1436 1437
1437 1438 /*new binary*/
1438 1439 .bin.bin1 {
1439 1440 background-color: @alert1;
1440 1441 text-align: center;
1441 1442 }
1442 1443
1443 1444 /*deleted binary*/
1444 1445 .bin.bin2 {
1445 1446 background-color: @alert2;
1446 1447 text-align: center;
1447 1448 }
1448 1449
1449 1450 /*mod binary*/
1450 1451 .bin.bin3 {
1451 1452 background-color: @grey2;
1452 1453 text-align: center;
1453 1454 }
1454 1455
1455 1456 /*rename file*/
1456 1457 .bin.bin4 {
1457 1458 background-color: @alert4;
1458 1459 text-align: center;
1459 1460 }
1460 1461
1461 1462 /*copied file*/
1462 1463 .bin.bin5 {
1463 1464 background-color: @alert4;
1464 1465 text-align: center;
1465 1466 }
1466 1467
1467 1468 /*chmod file*/
1468 1469 .bin.bin6 {
1469 1470 background-color: @grey2;
1470 1471 text-align: center;
1471 1472 }
1472 1473 }
1473 1474 }
1474 1475
1475 1476 .cs_files .cs_added, .cs_files .cs_A,
1476 1477 .cs_files .cs_added, .cs_files .cs_M,
1477 1478 .cs_files .cs_added, .cs_files .cs_D {
1478 1479 height: 16px;
1479 1480 padding-right: 10px;
1480 1481 margin-top: 7px;
1481 1482 text-align: left;
1482 1483 }
1483 1484
1484 1485 .cs_icon_td {
1485 1486 min-width: 16px;
1486 1487 width: 16px;
1487 1488 }
1488 1489
1489 1490 .pull-request-merge {
1490 1491 padding: 10px 0;
1491 1492 margin-top: 10px;
1492 1493 margin-bottom: 20px;
1493 1494 }
1494 1495
1495 1496 .pull-request-merge .pull-request-wrap {
1496 1497 height: 25px;
1497 1498 padding: 5px 0;
1498 1499 }
1499 1500
1500 1501 .pull-request-merge span {
1501 1502 margin-right: 10px;
1502 1503 }
1503 1504 #close_pull_request {
1504 1505 margin-right: 0px;
1505 1506 }
1506 1507
1507 1508 .empty_data {
1508 1509 color: @grey4;
1509 1510 }
1510 1511
1511 1512 #changeset_compare_view_content {
1512 1513 margin-bottom: @space;
1513 1514 clear: both;
1514 1515 width: 100%;
1515 1516 box-sizing: border-box;
1516 1517 .border-radius(@border-radius);
1517 1518
1518 1519 .help-block {
1519 1520 margin: @padding 0;
1520 1521 color: @text-color;
1521 1522 }
1522 1523
1523 1524 .empty_data {
1524 1525 margin: @padding 0;
1525 1526 }
1526 1527
1527 1528 .alert {
1528 1529 margin-bottom: @space;
1529 1530 }
1530 1531 }
1531 1532
1532 1533 .table_disp {
1533 1534 .status {
1534 1535 width: auto;
1535 1536
1536 1537 .flag_status {
1537 1538 float: left;
1538 1539 }
1539 1540 }
1540 1541 }
1541 1542
1542 1543 .status_box_menu {
1543 1544 margin: 0;
1544 1545 }
1545 1546
1546 1547 .notification-table{
1547 1548 margin-bottom: @space;
1548 1549 display: table;
1549 1550 width: 100%;
1550 1551
1551 1552 .container{
1552 1553 display: table-row;
1553 1554
1554 1555 .notification-header{
1555 1556 border-bottom: @border-thickness solid @border-default-color;
1556 1557 }
1557 1558
1558 1559 .notification-subject{
1559 1560 display: table-cell;
1560 1561 }
1561 1562 }
1562 1563 }
1563 1564
1564 1565 // Notifications
1565 1566 .notification-header{
1566 1567 display: table;
1567 1568 width: 100%;
1568 1569 padding: floor(@basefontsize/2) 0;
1569 1570 line-height: 1em;
1570 1571
1571 1572 .desc, .delete-notifications, .read-notifications{
1572 1573 display: table-cell;
1573 1574 text-align: left;
1574 1575 }
1575 1576
1576 1577 .desc{
1577 1578 width: 1163px;
1578 1579 }
1579 1580
1580 1581 .delete-notifications, .read-notifications{
1581 1582 width: 35px;
1582 1583 min-width: 35px; //fixes when only one button is displayed
1583 1584 }
1584 1585 }
1585 1586
1586 1587 .notification-body {
1587 1588 .markdown-block,
1588 1589 .rst-block {
1589 1590 padding: @padding 0;
1590 1591 }
1591 1592
1592 1593 .notification-subject {
1593 1594 padding: @textmargin 0;
1594 1595 border-bottom: @border-thickness solid @border-default-color;
1595 1596 }
1596 1597 }
1597 1598
1598 1599
1599 1600 .notifications_buttons{
1600 1601 float: right;
1601 1602 }
1602 1603
1603 1604 // Repositories
1604 1605
1605 1606 #summary.fields{
1606 1607 display: table;
1607 1608
1608 1609 .field{
1609 1610 display: table-row;
1610 1611
1611 1612 .label-summary{
1612 1613 display: table-cell;
1613 1614 min-width: @label-summary-minwidth;
1614 1615 padding-top: @padding/2;
1615 1616 padding-bottom: @padding/2;
1616 1617 padding-right: @padding/2;
1617 1618 }
1618 1619
1619 1620 .input{
1620 1621 display: table-cell;
1621 1622 padding: @padding/2;
1622 1623
1623 1624 input{
1624 1625 min-width: 29em;
1625 1626 padding: @padding/4;
1626 1627 }
1627 1628 }
1628 1629 .statistics, .downloads{
1629 1630 .disabled{
1630 1631 color: @grey4;
1631 1632 }
1632 1633 }
1633 1634 }
1634 1635 }
1635 1636
1636 1637 #summary{
1637 1638 width: 70%;
1638 1639 }
1639 1640
1640 1641
1641 1642 // Journal
1642 1643 .journal.title {
1643 1644 h5 {
1644 1645 float: left;
1645 1646 margin: 0;
1646 1647 width: 70%;
1647 1648 }
1648 1649
1649 1650 ul {
1650 1651 float: right;
1651 1652 display: inline-block;
1652 1653 margin: 0;
1653 1654 width: 30%;
1654 1655 text-align: right;
1655 1656
1656 1657 li {
1657 1658 display: inline;
1658 1659 font-size: @journal-fontsize;
1659 1660 line-height: 1em;
1660 1661
1661 1662 &:before { content: none; }
1662 1663 }
1663 1664 }
1664 1665 }
1665 1666
1666 1667 .filterexample {
1667 1668 position: absolute;
1668 1669 top: 95px;
1669 1670 left: @contentpadding;
1670 1671 color: @rcblue;
1671 1672 font-size: 11px;
1672 1673 font-family: @text-regular;
1673 1674 cursor: help;
1674 1675
1675 1676 &:hover {
1676 1677 color: @rcdarkblue;
1677 1678 }
1678 1679
1679 1680 @media (max-width:768px) {
1680 1681 position: relative;
1681 1682 top: auto;
1682 1683 left: auto;
1683 1684 display: block;
1684 1685 }
1685 1686 }
1686 1687
1687 1688
1688 1689 #journal{
1689 1690 margin-bottom: @space;
1690 1691
1691 1692 .journal_day{
1692 1693 margin-bottom: @textmargin/2;
1693 1694 padding-bottom: @textmargin/2;
1694 1695 font-size: @journal-fontsize;
1695 1696 border-bottom: @border-thickness solid @border-default-color;
1696 1697 }
1697 1698
1698 1699 .journal_container{
1699 1700 margin-bottom: @space;
1700 1701
1701 1702 .journal_user{
1702 1703 display: inline-block;
1703 1704 }
1704 1705 .journal_action_container{
1705 1706 display: block;
1706 1707 margin-top: @textmargin;
1707 1708
1708 1709 div{
1709 1710 display: inline;
1710 1711 }
1711 1712
1712 1713 div.journal_action_params{
1713 1714 display: block;
1714 1715 }
1715 1716
1716 1717 div.journal_repo:after{
1717 1718 content: "\A";
1718 1719 white-space: pre;
1719 1720 }
1720 1721
1721 1722 div.date{
1722 1723 display: block;
1723 1724 margin-bottom: @textmargin;
1724 1725 }
1725 1726 }
1726 1727 }
1727 1728 }
1728 1729
1729 1730 // Files
1730 1731 .edit-file-title {
1731 1732 border-bottom: @border-thickness solid @border-default-color;
1732 1733
1733 1734 .breadcrumbs {
1734 1735 margin-bottom: 0;
1735 1736 }
1736 1737 }
1737 1738
1738 1739 .edit-file-fieldset {
1739 1740 margin-top: @sidebarpadding;
1740 1741
1741 1742 .fieldset {
1742 1743 .left-label {
1743 1744 width: 13%;
1744 1745 }
1745 1746 .right-content {
1746 1747 width: 87%;
1747 1748 max-width: 100%;
1748 1749 }
1749 1750 .filename-label {
1750 1751 margin-top: 13px;
1751 1752 }
1752 1753 .commit-message-label {
1753 1754 margin-top: 4px;
1754 1755 }
1755 1756 .file-upload-input {
1756 1757 input {
1757 1758 display: none;
1758 1759 }
1759 1760 }
1760 1761 p {
1761 1762 margin-top: 5px;
1762 1763 }
1763 1764
1764 1765 }
1765 1766 .custom-path-link {
1766 1767 margin-left: 5px;
1767 1768 }
1768 1769 #commit {
1769 1770 resize: vertical;
1770 1771 }
1771 1772 }
1772 1773
1773 1774 .delete-file-preview {
1774 1775 max-height: 250px;
1775 1776 }
1776 1777
1777 1778 .new-file,
1778 1779 #filter_activate,
1779 1780 #filter_deactivate {
1780 1781 float: left;
1781 1782 margin: 0 0 0 15px;
1782 1783 }
1783 1784
1784 1785 h3.files_location{
1785 1786 line-height: 2.4em;
1786 1787 }
1787 1788
1788 1789 .browser-nav {
1789 1790 display: table;
1790 1791 margin-bottom: @space;
1791 1792
1792 1793
1793 1794 .info_box {
1794 1795 display: inline-table;
1795 1796 height: 2.5em;
1796 1797
1797 1798 .browser-cur-rev, .info_box_elem {
1798 1799 display: table-cell;
1799 1800 vertical-align: middle;
1800 1801 }
1801 1802
1802 1803 .info_box_elem {
1803 1804 border-top: @border-thickness solid @rcblue;
1804 1805 border-bottom: @border-thickness solid @rcblue;
1805 1806
1806 1807 #at_rev, a {
1807 1808 padding: 0.6em 0.9em;
1808 1809 margin: 0;
1809 1810 .box-shadow(none);
1810 1811 border: 0;
1811 1812 height: 12px;
1812 1813 }
1813 1814
1814 1815 input#at_rev {
1815 1816 max-width: 50px;
1816 1817 text-align: right;
1817 1818 }
1818 1819
1819 1820 &.previous {
1820 1821 border: @border-thickness solid @rcblue;
1821 1822 .disabled {
1822 1823 color: @grey4;
1823 1824 cursor: not-allowed;
1824 1825 }
1825 1826 }
1826 1827
1827 1828 &.next {
1828 1829 border: @border-thickness solid @rcblue;
1829 1830 .disabled {
1830 1831 color: @grey4;
1831 1832 cursor: not-allowed;
1832 1833 }
1833 1834 }
1834 1835 }
1835 1836
1836 1837 .browser-cur-rev {
1837 1838
1838 1839 span{
1839 1840 margin: 0;
1840 1841 color: @rcblue;
1841 1842 height: 12px;
1842 1843 display: inline-block;
1843 1844 padding: 0.7em 1em ;
1844 1845 border: @border-thickness solid @rcblue;
1845 1846 margin-right: @padding;
1846 1847 }
1847 1848 }
1848 1849 }
1849 1850
1850 1851 .search_activate {
1851 1852 display: table-cell;
1852 1853 vertical-align: middle;
1853 1854
1854 1855 input, label{
1855 1856 margin: 0;
1856 1857 padding: 0;
1857 1858 }
1858 1859
1859 1860 input{
1860 1861 margin-left: @textmargin;
1861 1862 }
1862 1863
1863 1864 }
1864 1865 }
1865 1866
1866 1867 .file_author{
1867 1868 margin-bottom: @padding;
1868 1869
1869 1870 div{
1870 1871 display: inline-block;
1871 1872 margin-right: 0.5em;
1872 1873 }
1873 1874 }
1874 1875
1875 1876 .browser-cur-rev{
1876 1877 margin-bottom: @textmargin;
1877 1878 }
1878 1879
1879 1880 #node_filter_box_loading{
1880 1881 .info_text;
1881 1882 }
1882 1883
1883 1884 .browser-search {
1884 1885 margin: -25px 0px 5px 0px;
1885 1886 }
1886 1887
1887 1888 .node-filter {
1888 1889 font-size: @repo-title-fontsize;
1889 1890 padding: 4px 0px 0px 0px;
1890 1891
1891 1892 .node-filter-path {
1892 1893 float: left;
1893 1894 color: @grey4;
1894 1895 }
1895 1896 .node-filter-input {
1896 1897 float: left;
1897 1898 margin: -2px 0px 0px 2px;
1898 1899 input {
1899 1900 padding: 2px;
1900 1901 border: none;
1901 1902 font-size: @repo-title-fontsize;
1902 1903 }
1903 1904 }
1904 1905 }
1905 1906
1906 1907
1907 1908 .browser-result{
1908 1909 td a{
1909 1910 margin-left: 0.5em;
1910 1911 display: inline-block;
1911 1912
1912 1913 em{
1913 1914 font-family: @text-bold;
1914 1915 }
1915 1916 }
1916 1917 }
1917 1918
1918 1919 .browser-highlight{
1919 1920 background-color: @grey5-alpha;
1920 1921 }
1921 1922
1922 1923
1923 1924 // Search
1924 1925
1925 1926 .search-form{
1926 1927 #q {
1927 1928 width: @search-form-width;
1928 1929 }
1929 1930 .fields{
1930 1931 margin: 0 0 @space;
1931 1932 }
1932 1933
1933 1934 label{
1934 1935 display: inline-block;
1935 1936 margin-right: @textmargin;
1936 1937 padding-top: 0.25em;
1937 1938 }
1938 1939
1939 1940
1940 1941 .results{
1941 1942 clear: both;
1942 1943 margin: 0 0 @padding;
1943 1944 }
1944 1945 }
1945 1946
1946 1947 div.search-feedback-items {
1947 1948 display: inline-block;
1948 1949 padding:0px 0px 0px 96px;
1949 1950 }
1950 1951
1951 1952 div.search-code-body {
1952 1953 background-color: #ffffff; padding: 5px 0 5px 10px;
1953 1954 pre {
1954 1955 .match { background-color: #faffa6;}
1955 1956 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
1956 1957 }
1957 1958 }
1958 1959
1959 1960 .expand_commit.search {
1960 1961 .show_more.open {
1961 1962 height: auto;
1962 1963 max-height: none;
1963 1964 }
1964 1965 }
1965 1966
1966 1967 .search-results {
1967 1968
1968 1969 h2 {
1969 1970 margin-bottom: 0;
1970 1971 }
1971 1972 .codeblock {
1972 1973 border: none;
1973 1974 background: transparent;
1974 1975 }
1975 1976
1976 1977 .codeblock-header {
1977 1978 border: none;
1978 1979 background: transparent;
1979 1980 }
1980 1981
1981 1982 .code-body {
1982 1983 border: @border-thickness solid @border-default-color;
1983 1984 .border-radius(@border-radius);
1984 1985 }
1985 1986
1986 1987 .td-commit {
1987 1988 &:extend(pre);
1988 1989 border-bottom: @border-thickness solid @border-default-color;
1989 1990 }
1990 1991
1991 1992 .message {
1992 1993 height: auto;
1993 1994 max-width: 350px;
1994 1995 white-space: normal;
1995 1996 text-overflow: initial;
1996 1997 overflow: visible;
1997 1998
1998 1999 .match { background-color: #faffa6;}
1999 2000 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2000 2001 }
2001 2002
2002 2003 }
2003 2004
2004 2005 table.rctable td.td-search-results div {
2005 2006 max-width: 100%;
2006 2007 }
2007 2008
2008 2009 #tip-box, .tip-box{
2009 2010 padding: @menupadding/2;
2010 2011 display: block;
2011 2012 border: @border-thickness solid @border-highlight-color;
2012 2013 .border-radius(@border-radius);
2013 2014 background-color: white;
2014 2015 z-index: 99;
2015 2016 white-space: pre-wrap;
2016 2017 }
2017 2018
2018 2019 #linktt {
2019 2020 width: 79px;
2020 2021 }
2021 2022
2022 2023 #help_kb .modal-content{
2023 2024 max-width: 750px;
2024 2025 margin: 10% auto;
2025 2026
2026 2027 table{
2027 2028 td,th{
2028 2029 border-bottom: none;
2029 2030 line-height: 2.5em;
2030 2031 }
2031 2032 th{
2032 2033 padding-bottom: @textmargin/2;
2033 2034 }
2034 2035 td.keys{
2035 2036 text-align: center;
2036 2037 }
2037 2038 }
2038 2039
2039 2040 .block-left{
2040 2041 width: 45%;
2041 2042 margin-right: 5%;
2042 2043 }
2043 2044 .modal-footer{
2044 2045 clear: both;
2045 2046 }
2046 2047 .key.tag{
2047 2048 padding: 0.5em;
2048 2049 background-color: @rcblue;
2049 2050 color: white;
2050 2051 border-color: @rcblue;
2051 2052 .box-shadow(none);
2052 2053 }
2053 2054 }
2054 2055
2055 2056
2056 2057
2057 2058 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2058 2059
2059 2060 @import 'statistics-graph';
2060 2061 @import 'tables';
2061 2062 @import 'forms';
2062 2063 @import 'diff';
2063 2064 @import 'summary';
2064 2065 @import 'navigation';
2065 2066
2066 2067 //--- SHOW/HIDE SECTIONS --//
2067 2068
2068 2069 .btn-collapse {
2069 2070 float: right;
2070 2071 text-align: right;
2071 2072 font-family: @text-light;
2072 2073 font-size: @basefontsize;
2073 2074 cursor: pointer;
2074 2075 border: none;
2075 2076 color: @rcblue;
2076 2077 }
2077 2078
2078 2079 table.rctable,
2079 2080 table.dataTable {
2080 2081 .btn-collapse {
2081 2082 float: right;
2082 2083 text-align: right;
2083 2084 }
2084 2085 }
2085 2086
2086 2087
2087 2088 // TODO: johbo: Fix for IE10, this avoids that we see a border
2088 2089 // and padding around checkboxes and radio boxes. Move to the right place,
2089 2090 // or better: Remove this once we did the form refactoring.
2090 2091 input[type=checkbox],
2091 2092 input[type=radio] {
2092 2093 padding: 0;
2093 2094 border: none;
2094 2095 }
@@ -1,85 +1,153 b''
1 <%namespace name="base" file="/base/base.html"/>
1 2
2 3 <div class="panel panel-default">
3 4 <div class="panel-body">
4 <div class="field">
5 5 %if c.show_closed:
6 6 ${h.checkbox('show_closed',checked="checked", label=_('Show Closed Pull Requests'))}
7 7 %else:
8 8 ${h.checkbox('show_closed',label=_('Show Closed Pull Requests'))}
9 9 %endif
10 </div>
11 10 </div>
12 11 </div>
13 12
14 13 <div class="panel panel-default">
15 14 <div class="panel-heading">
16 15 <h3 class="panel-title">${_('Pull Requests You Opened')}</h3>
17 16 </div>
18
19 17 <div class="panel-body">
20 18 <div class="pullrequestlist">
21 19 %if c.my_pull_requests:
20 <table class="rctable">
21 <thead>
22 <th class="td-status"></th>
23 <th>${_('Target Repo')}</th>
24 <th>${_('Author')}</th>
25 <th></th>
26 <th>${_('Title')}</th>
27 <th class="td-time">${_('Opened On')}</th>
28 <th></th>
29 </thead>
22 30 %for pull_request in c.my_pull_requests:
23 <div class="${'closed' if pull_request.is_closed() else ''} prwrapper">
24 <div class="pr">
31 <tr class="${'closed' if pull_request.is_closed() else ''} prwrapper">
32 <td class="td-status">
25 33 <div class="${'flag_status %s' % pull_request.calculated_review_status()} pull-left"></div>
26 <a href="${h.url('pullrequest_show',repo_name=pull_request.target_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">
27 ${_('Pull request #%s opened on %s') % (pull_request.pull_request_id, h.format_date(pull_request.created_on))}
28 %if pull_request.is_closed():
29 (${_('Closed')})
30 %endif
31 </a>
32 <div class="repolist_actions">
33 ${h.secure_form(url('pullrequest_delete', repo_name=pull_request.target_repo.repo_name, pull_request_id=pull_request.pull_request_id),method='delete')}
34 ${h.submit('remove_%s' % pull_request.pull_request_id, _('Delete'),
35 class_="btn btn-link btn-danger",onclick="return confirm('"+_('Confirm to delete this pull request')+"');")}
36 ${h.end_form()}
34 </td>
35 <td class="td-componentname">
36 ${h.link_to(pull_request.target_repo.repo_name,h.url('summary_home',repo_name=pull_request.target_repo.repo_name))}
37 </td>
38 <td class="user">
39 ${base.gravatar_with_user(pull_request.author.email, 16)}
40 </td>
41 <td class="td-message expand_commit" data-pr-id="m${pull_request.pull_request_id}" title="${_('Expand commit message')}">
42 <div class="show_more_col">
43 <i class="show_more"></i>&nbsp;
37 44 </div>
38 </div>
39 </div>
45 </td>
46 <td class="mid td-description">
47 <div class="log-container truncate-wrap">
48 <div class="message truncate" id="c-m${pull_request.pull_request_id}"><a href="${h.url('pullrequest_show',repo_name=pull_request.target_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">#${pull_request.pull_request_id}: ${pull_request.title}</a>\
49 %if pull_request.is_closed():
50 &nbsp;(${_('Closed')})\
51 %endif
52 <br/>${pull_request.description}</div>
53 </div>
54 </td>
55
56 <td class="td-time">
57 ${h.age_component(pull_request.created_on)}
58 </td>
59 <td class="td-action repolist_actions">
60 ${h.secure_form(url('pullrequest_delete', repo_name=pull_request.target_repo.repo_name, pull_request_id=pull_request.pull_request_id),method='delete')}
61 ${h.submit('remove_%s' % pull_request.pull_request_id, _('Delete'),
62 class_="btn btn-link btn-danger",onclick="return confirm('"+_('Confirm to delete this pull request')+"');")}
63 ${h.end_form()}
64 </td>
65 </tr>
40 66 %endfor
67 </table>
41 68 %else:
42 69 <h2><span class="empty_data">${_('You currently have no open pull requests.')}</span></h2>
43 70 %endif
44 71 </div>
45 72 </div>
46 73 </div>
47 74
48 75 <div class="panel panel-default">
49 76 <div class="panel-heading">
50 77 <h3 class="panel-title">${_('Pull Requests You Participate In')}</h3>
51 78 </div>
52 79
53 80 <div class="panel-body">
54 81 <div class="pullrequestlist">
55 82 %if c.participate_in_pull_requests:
83 <table class="rctable">
84 <thead>
85 <th class="td-status"></th>
86 <th>${_('Target Repo')}</th>
87 <th>${_('Author')}</th>
88 <th></th>
89 <th>${_('Title')}</th>
90 <th class="td-time">${_('Opened On')}</th>
91 </thead>
56 92 %for pull_request in c.participate_in_pull_requests:
57 <div class="${'closed' if pull_request.is_closed() else ''} prwrapper">
58 <div class="pr">
59 <div class="${'flag_status %s' % pull_request.calculated_review_status()} pull-left"></div>
60 <a href="${h.url('pullrequest_show',repo_name=pull_request.target_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">
61 ${_('Pull request #%s opened by %s on %s') % (pull_request.pull_request_id, pull_request.author.full_name, h.format_date(pull_request.created_on))}
62 </a>
63 %if pull_request.is_closed():
64 (${_('Closed')})
65 %endif
66 </div>
67 </div>
93 <tr class="${'closed' if pull_request.is_closed() else ''} prwrapper">
94 <td class="td-status">
95 <div class="${'flag_status %s' % pull_request.calculated_review_status()} pull-left"></div>
96 </td>
97 <td class="td-componentname">
98 ${h.link_to(pull_request.target_repo.repo_name,h.url('summary_home',repo_name=pull_request.target_repo.repo_name))}
99 </td>
100 <td class="user">
101 ${base.gravatar_with_user(pull_request.author.email, 16)}
102 </td>
103 <td class="td-message expand_commit" data-pr-id="p${pull_request.pull_request_id}" title="${_('Expand commit message')}">
104 <div class="show_more_col">
105 <i class="show_more"></i>&nbsp;
106 </div>
107 </td>
108 <td class="mid td-description">
109 <div class="log-container truncate-wrap">
110 <div class="message truncate" id="c-p${pull_request.pull_request_id}"><a href="${h.url('pullrequest_show',repo_name=pull_request.target_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">#${pull_request.pull_request_id}: ${pull_request.title}</a>\
111 %if pull_request.is_closed():
112 &nbsp;(${_('Closed')})\
113 %endif
114 <br/>${pull_request.description}</div>
115 </div>
116 </td>
117
118 <td class="td-time">
119 ${h.age_component(pull_request.created_on)}
120 </td>
121 </tr>
68 122 %endfor
123 </table>
69 124 %else:
70 <li><span class="empty_data">${_('There are currently no open pull requests requiring your participation.')}</span></li>
125 <h2 class="empty_data">${_('There are currently no open pull requests requiring your participation.')}</h2>
71 126 %endif
72 127 </div>
73 128 </div>
74 129 </div>
75 130
76 131 <script>
77 132 $('#show_closed').on('click', function(e){
78 133 if($(this).is(":checked")){
79 134 window.location = "${h.url('my_account_pullrequests', pr_show_closed=1)}";
80 135 }
81 136 else{
82 137 window.location = "${h.url('my_account_pullrequests')}";
83 138 }
84 })
139 });
140 $('.expand_commit').on('click',function(e){
141 var target_expand = $(this);
142 var cid = target_expand.data('prId');
143
144 if (target_expand.hasClass('open')){
145 $('#c-'+cid).css({'height': '2.75em', 'text-overflow': 'ellipsis', 'overflow':'hidden'});
146 target_expand.removeClass('open');
147 }
148 else {
149 $('#c-'+cid).css({'height': 'auto', 'text-overflow': 'initial', 'overflow':'visible'});
150 target_expand.addClass('open');
151 }
152 });
85 153 </script>
General Comments 0
You need to be logged in to leave comments. Login now