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