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