##// END OF EJS Templates
strip: ui changes....
marcink -
r1589:001d2284 default
parent child Browse files
Show More
@@ -1,2342 +1,2342 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: left;
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 box-sizing: content-box;
692 692
693 693 &.gravatar-large {
694 694 margin: -0.5em .25em -0.5em 0;
695 695 }
696 696
697 697 & + .user {
698 698 display: inline;
699 699 margin: 0;
700 700 padding: 0 0 0 .17em;
701 701 line-height: 1em;
702 702 }
703 703 }
704 704
705 705 .user-inline-data {
706 706 display: inline-block;
707 707 float: left;
708 708 padding-left: .5em;
709 709 line-height: 1.3em;
710 710 }
711 711
712 712 .rc-user { // gravatar + user wrapper
713 713 float: left;
714 714 position: relative;
715 715 min-width: 100px;
716 716 max-width: 200px;
717 717 min-height: (@gravatar-size + @border-thickness * 2); // account for border
718 718 display: block;
719 719 padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2);
720 720
721 721
722 722 .gravatar {
723 723 display: block;
724 724 position: absolute;
725 725 top: 0;
726 726 left: 0;
727 727 min-width: @gravatar-size;
728 728 min-height: @gravatar-size;
729 729 margin: 0;
730 730 }
731 731
732 732 .user {
733 733 display: block;
734 734 max-width: 175px;
735 735 padding-top: 2px;
736 736 overflow: hidden;
737 737 text-overflow: ellipsis;
738 738 }
739 739 }
740 740
741 741 .gist-gravatar,
742 742 .journal_container {
743 743 .gravatar-large {
744 744 margin: 0 .5em -10px 0;
745 745 }
746 746 }
747 747
748 748
749 749 // ADMIN SETTINGS
750 750
751 751 // Tag Patterns
752 752 .tag_patterns {
753 753 .tag_input {
754 754 margin-bottom: @padding;
755 755 }
756 756 }
757 757
758 758 .locked_input {
759 759 position: relative;
760 760
761 761 input {
762 762 display: inline;
763 margin-top: 3px;
763 margin: 3px 5px 0px 0px;
764 764 }
765 765
766 766 br {
767 767 display: none;
768 768 }
769 769
770 770 .error-message {
771 771 float: left;
772 772 width: 100%;
773 773 }
774 774
775 775 .lock_input_button {
776 776 display: inline;
777 777 }
778 778
779 779 .help-block {
780 780 clear: both;
781 781 }
782 782 }
783 783
784 784 // Notifications
785 785
786 786 .notifications_buttons {
787 787 margin: 0 0 @space 0;
788 788 padding: 0;
789 789
790 790 .btn {
791 791 display: inline-block;
792 792 }
793 793 }
794 794
795 795 .notification-list {
796 796
797 797 div {
798 798 display: inline-block;
799 799 vertical-align: middle;
800 800 }
801 801
802 802 .container {
803 803 display: block;
804 804 margin: 0 0 @padding 0;
805 805 }
806 806
807 807 .delete-notifications {
808 808 margin-left: @padding;
809 809 text-align: right;
810 810 cursor: pointer;
811 811 }
812 812
813 813 .read-notifications {
814 814 margin-left: @padding/2;
815 815 text-align: right;
816 816 width: 35px;
817 817 cursor: pointer;
818 818 }
819 819
820 820 .icon-minus-sign {
821 821 color: @alert2;
822 822 }
823 823
824 824 .icon-ok-sign {
825 825 color: @alert1;
826 826 }
827 827 }
828 828
829 829 .user_settings {
830 830 float: left;
831 831 clear: both;
832 832 display: block;
833 833 width: 100%;
834 834
835 835 .gravatar_box {
836 836 margin-bottom: @padding;
837 837
838 838 &:after {
839 839 content: " ";
840 840 clear: both;
841 841 width: 100%;
842 842 }
843 843 }
844 844
845 845 .fields .field {
846 846 clear: both;
847 847 }
848 848 }
849 849
850 850 .advanced_settings {
851 851 margin-bottom: @space;
852 852
853 853 .help-block {
854 854 margin-left: 0;
855 855 }
856 856
857 857 button + .help-block {
858 858 margin-top: @padding;
859 859 }
860 860 }
861 861
862 862 // admin settings radio buttons and labels
863 863 .label-2 {
864 864 float: left;
865 865 width: @label2-width;
866 866
867 867 label {
868 868 color: @grey1;
869 869 }
870 870 }
871 871 .checkboxes {
872 872 float: left;
873 873 width: @checkboxes-width;
874 874 margin-bottom: @padding;
875 875
876 876 .checkbox {
877 877 width: 100%;
878 878
879 879 label {
880 880 margin: 0;
881 881 padding: 0;
882 882 }
883 883 }
884 884
885 885 .checkbox + .checkbox {
886 886 display: inline-block;
887 887 }
888 888
889 889 label {
890 890 margin-right: 1em;
891 891 }
892 892 }
893 893
894 894 // CHANGELOG
895 895 .container_header {
896 896 float: left;
897 897 display: block;
898 898 width: 100%;
899 899 margin: @padding 0 @padding;
900 900
901 901 #filter_changelog {
902 902 float: left;
903 903 margin-right: @padding;
904 904 }
905 905
906 906 .breadcrumbs_light {
907 907 display: inline-block;
908 908 }
909 909 }
910 910
911 911 .info_box {
912 912 float: right;
913 913 }
914 914
915 915
916 916 #graph_nodes {
917 917 padding-top: 43px;
918 918 }
919 919
920 920 #graph_content{
921 921
922 922 // adjust for table headers so that graph renders properly
923 923 // #graph_nodes padding - table cell padding
924 924 padding-top: (@space - (@basefontsize * 2.4));
925 925
926 926 &.graph_full_width {
927 927 width: 100%;
928 928 max-width: 100%;
929 929 }
930 930 }
931 931
932 932 #graph {
933 933 .flag_status {
934 934 margin: 0;
935 935 }
936 936
937 937 .pagination-left {
938 938 float: left;
939 939 clear: both;
940 940 }
941 941
942 942 .log-container {
943 943 max-width: 345px;
944 944
945 945 .message{
946 946 max-width: 340px;
947 947 }
948 948 }
949 949
950 950 .graph-col-wrapper {
951 951 padding-left: 110px;
952 952
953 953 #graph_nodes {
954 954 width: 100px;
955 955 margin-left: -110px;
956 956 float: left;
957 957 clear: left;
958 958 }
959 959 }
960 960
961 961 .load-more-commits {
962 962 text-align: center;
963 963 }
964 964 .load-more-commits:hover {
965 965 background-color: @grey7;
966 966 }
967 967 .load-more-commits {
968 968 a {
969 969 display: block;
970 970 }
971 971 }
972 972 }
973 973
974 974 #filter_changelog {
975 975 float: left;
976 976 }
977 977
978 978
979 979 //--- THEME ------------------//
980 980
981 981 #logo {
982 982 float: left;
983 983 margin: 9px 0 0 0;
984 984
985 985 .header {
986 986 background-color: transparent;
987 987 }
988 988
989 989 a {
990 990 display: inline-block;
991 991 }
992 992
993 993 img {
994 994 height:30px;
995 995 }
996 996 }
997 997
998 998 .logo-wrapper {
999 999 float:left;
1000 1000 }
1001 1001
1002 1002 .branding{
1003 1003 float: left;
1004 1004 padding: 9px 2px;
1005 1005 line-height: 1em;
1006 1006 font-size: @navigation-fontsize;
1007 1007 }
1008 1008
1009 1009 img {
1010 1010 border: none;
1011 1011 outline: none;
1012 1012 }
1013 1013 user-profile-header
1014 1014 label {
1015 1015
1016 1016 input[type="checkbox"] {
1017 1017 margin-right: 1em;
1018 1018 }
1019 1019 input[type="radio"] {
1020 1020 margin-right: 1em;
1021 1021 }
1022 1022 }
1023 1023
1024 1024 .flag_status {
1025 1025 margin: 2px 8px 6px 2px;
1026 1026 &.under_review {
1027 1027 .circle(5px, @alert3);
1028 1028 }
1029 1029 &.approved {
1030 1030 .circle(5px, @alert1);
1031 1031 }
1032 1032 &.rejected,
1033 1033 &.forced_closed{
1034 1034 .circle(5px, @alert2);
1035 1035 }
1036 1036 &.not_reviewed {
1037 1037 .circle(5px, @grey5);
1038 1038 }
1039 1039 }
1040 1040
1041 1041 .flag_status_comment_box {
1042 1042 margin: 5px 6px 0px 2px;
1043 1043 }
1044 1044 .test_pattern_preview {
1045 1045 margin: @space 0;
1046 1046
1047 1047 p {
1048 1048 margin-bottom: 0;
1049 1049 border-bottom: @border-thickness solid @border-default-color;
1050 1050 color: @grey3;
1051 1051 }
1052 1052
1053 1053 .btn {
1054 1054 margin-bottom: @padding;
1055 1055 }
1056 1056 }
1057 1057 #test_pattern_result {
1058 1058 display: none;
1059 1059 &:extend(pre);
1060 1060 padding: .9em;
1061 1061 color: @grey3;
1062 1062 background-color: @grey7;
1063 1063 border-right: @border-thickness solid @border-default-color;
1064 1064 border-bottom: @border-thickness solid @border-default-color;
1065 1065 border-left: @border-thickness solid @border-default-color;
1066 1066 }
1067 1067
1068 1068 #repo_vcs_settings {
1069 1069 #inherit_overlay_vcs_default {
1070 1070 display: none;
1071 1071 }
1072 1072 #inherit_overlay_vcs_custom {
1073 1073 display: custom;
1074 1074 }
1075 1075 &.inherited {
1076 1076 #inherit_overlay_vcs_default {
1077 1077 display: block;
1078 1078 }
1079 1079 #inherit_overlay_vcs_custom {
1080 1080 display: none;
1081 1081 }
1082 1082 }
1083 1083 }
1084 1084
1085 1085 .issue-tracker-link {
1086 1086 color: @rcblue;
1087 1087 }
1088 1088
1089 1089 // Issue Tracker Table Show/Hide
1090 1090 #repo_issue_tracker {
1091 1091 #inherit_overlay {
1092 1092 display: none;
1093 1093 }
1094 1094 #custom_overlay {
1095 1095 display: custom;
1096 1096 }
1097 1097 &.inherited {
1098 1098 #inherit_overlay {
1099 1099 display: block;
1100 1100 }
1101 1101 #custom_overlay {
1102 1102 display: none;
1103 1103 }
1104 1104 }
1105 1105 }
1106 1106 table.issuetracker {
1107 1107 &.readonly {
1108 1108 tr, td {
1109 1109 color: @grey3;
1110 1110 }
1111 1111 }
1112 1112 .edit {
1113 1113 display: none;
1114 1114 }
1115 1115 .editopen {
1116 1116 .edit {
1117 1117 display: inline;
1118 1118 }
1119 1119 .entry {
1120 1120 display: none;
1121 1121 }
1122 1122 }
1123 1123 tr td.td-action {
1124 1124 min-width: 117px;
1125 1125 }
1126 1126 td input {
1127 1127 max-width: none;
1128 1128 min-width: 30px;
1129 1129 width: 80%;
1130 1130 }
1131 1131 .issuetracker_pref input {
1132 1132 width: 40%;
1133 1133 }
1134 1134 input.edit_issuetracker_update {
1135 1135 margin-right: 0;
1136 1136 width: auto;
1137 1137 }
1138 1138 }
1139 1139
1140 1140 table.integrations {
1141 1141 .td-icon {
1142 1142 width: 20px;
1143 1143 .integration-icon {
1144 1144 height: 20px;
1145 1145 width: 20px;
1146 1146 }
1147 1147 }
1148 1148 }
1149 1149
1150 1150 .integrations {
1151 1151 a.integration-box {
1152 1152 color: @text-color;
1153 1153 &:hover {
1154 1154 .panel {
1155 1155 background: #fbfbfb;
1156 1156 }
1157 1157 }
1158 1158 .integration-icon {
1159 1159 width: 30px;
1160 1160 height: 30px;
1161 1161 margin-right: 20px;
1162 1162 float: left;
1163 1163 }
1164 1164
1165 1165 .panel-body {
1166 1166 padding: 10px;
1167 1167 }
1168 1168 .panel {
1169 1169 margin-bottom: 10px;
1170 1170 }
1171 1171 h2 {
1172 1172 display: inline-block;
1173 1173 margin: 0;
1174 1174 min-width: 140px;
1175 1175 }
1176 1176 }
1177 1177 }
1178 1178
1179 1179 //Permissions Settings
1180 1180 #add_perm {
1181 1181 margin: 0 0 @padding;
1182 1182 cursor: pointer;
1183 1183 }
1184 1184
1185 1185 .perm_ac {
1186 1186 input {
1187 1187 width: 95%;
1188 1188 }
1189 1189 }
1190 1190
1191 1191 .autocomplete-suggestions {
1192 1192 width: auto !important; // overrides autocomplete.js
1193 1193 margin: 0;
1194 1194 border: @border-thickness solid @rcblue;
1195 1195 border-radius: @border-radius;
1196 1196 color: @rcblue;
1197 1197 background-color: white;
1198 1198 }
1199 1199 .autocomplete-selected {
1200 1200 background: #F0F0F0;
1201 1201 }
1202 1202 .ac-container-wrap {
1203 1203 margin: 0;
1204 1204 padding: 8px;
1205 1205 border-bottom: @border-thickness solid @rclightblue;
1206 1206 list-style-type: none;
1207 1207 cursor: pointer;
1208 1208
1209 1209 &:hover {
1210 1210 background-color: @rclightblue;
1211 1211 }
1212 1212
1213 1213 img {
1214 1214 height: @gravatar-size;
1215 1215 width: @gravatar-size;
1216 1216 margin-right: 1em;
1217 1217 }
1218 1218
1219 1219 strong {
1220 1220 font-weight: normal;
1221 1221 }
1222 1222 }
1223 1223
1224 1224 // Settings Dropdown
1225 1225 .user-menu .container {
1226 1226 padding: 0 4px;
1227 1227 margin: 0;
1228 1228 }
1229 1229
1230 1230 .user-menu .gravatar {
1231 1231 cursor: pointer;
1232 1232 }
1233 1233
1234 1234 .codeblock {
1235 1235 margin-bottom: @padding;
1236 1236 clear: both;
1237 1237
1238 1238 .stats{
1239 1239 overflow: hidden;
1240 1240 }
1241 1241
1242 1242 .message{
1243 1243 textarea{
1244 1244 margin: 0;
1245 1245 }
1246 1246 }
1247 1247
1248 1248 .code-header {
1249 1249 .stats {
1250 1250 line-height: 2em;
1251 1251
1252 1252 .revision_id {
1253 1253 margin-left: 0;
1254 1254 }
1255 1255 .buttons {
1256 1256 padding-right: 0;
1257 1257 }
1258 1258 }
1259 1259
1260 1260 .item{
1261 1261 margin-right: 0.5em;
1262 1262 }
1263 1263 }
1264 1264
1265 1265 #editor_container{
1266 1266 position: relative;
1267 1267 margin: @padding;
1268 1268 }
1269 1269 }
1270 1270
1271 1271 #file_history_container {
1272 1272 display: none;
1273 1273 }
1274 1274
1275 1275 .file-history-inner {
1276 1276 margin-bottom: 10px;
1277 1277 }
1278 1278
1279 1279 // Pull Requests
1280 1280 .summary-details {
1281 1281 width: 72%;
1282 1282 }
1283 1283 .pr-summary {
1284 1284 border-bottom: @border-thickness solid @grey5;
1285 1285 margin-bottom: @space;
1286 1286 }
1287 1287 .reviewers-title {
1288 1288 width: 25%;
1289 1289 min-width: 200px;
1290 1290 }
1291 1291 .reviewers {
1292 1292 width: 25%;
1293 1293 min-width: 200px;
1294 1294 }
1295 1295 .reviewers ul li {
1296 1296 position: relative;
1297 1297 width: 100%;
1298 1298 margin-bottom: 8px;
1299 1299 }
1300 1300 .reviewers_member {
1301 1301 width: 100%;
1302 1302 overflow: auto;
1303 1303 }
1304 1304 .reviewer_reason {
1305 1305 padding-left: 20px;
1306 1306 }
1307 1307 .reviewer_status {
1308 1308 display: inline-block;
1309 1309 vertical-align: top;
1310 1310 width: 7%;
1311 1311 min-width: 20px;
1312 1312 height: 1.2em;
1313 1313 margin-top: 3px;
1314 1314 line-height: 1em;
1315 1315 }
1316 1316
1317 1317 .reviewer_name {
1318 1318 display: inline-block;
1319 1319 max-width: 83%;
1320 1320 padding-right: 20px;
1321 1321 vertical-align: middle;
1322 1322 line-height: 1;
1323 1323
1324 1324 .rc-user {
1325 1325 min-width: 0;
1326 1326 margin: -2px 1em 0 0;
1327 1327 }
1328 1328
1329 1329 .reviewer {
1330 1330 float: left;
1331 1331 }
1332 1332 }
1333 1333
1334 1334 .reviewer_member_remove {
1335 1335 position: absolute;
1336 1336 right: 0;
1337 1337 top: 0;
1338 1338 width: 16px;
1339 1339 margin-bottom: 10px;
1340 1340 padding: 0;
1341 1341 color: black;
1342 1342 }
1343 1343 .reviewer_member_status {
1344 1344 margin-top: 5px;
1345 1345 }
1346 1346 .pr-summary #summary{
1347 1347 width: 100%;
1348 1348 }
1349 1349 .pr-summary .action_button:hover {
1350 1350 border: 0;
1351 1351 cursor: pointer;
1352 1352 }
1353 1353 .pr-details-title {
1354 1354 padding-bottom: 8px;
1355 1355 border-bottom: @border-thickness solid @grey5;
1356 1356
1357 1357 .action_button.disabled {
1358 1358 color: @grey4;
1359 1359 cursor: inherit;
1360 1360 }
1361 1361 .action_button {
1362 1362 color: @rcblue;
1363 1363 }
1364 1364 }
1365 1365 .pr-details-content {
1366 1366 margin-top: @textmargin;
1367 1367 margin-bottom: @textmargin;
1368 1368 }
1369 1369 .pr-description {
1370 1370 white-space:pre-wrap;
1371 1371 }
1372 1372 .group_members {
1373 1373 margin-top: 0;
1374 1374 padding: 0;
1375 1375 list-style: outside none none;
1376 1376
1377 1377 img {
1378 1378 height: @gravatar-size;
1379 1379 width: @gravatar-size;
1380 1380 margin-right: .5em;
1381 1381 margin-left: 3px;
1382 1382 }
1383 1383
1384 1384 .to-delete {
1385 1385 .user {
1386 1386 text-decoration: line-through;
1387 1387 }
1388 1388 }
1389 1389 }
1390 1390
1391 1391 .compare_view_commits_title {
1392 1392 .disabled {
1393 1393 cursor: inherit;
1394 1394 &:hover{
1395 1395 background-color: inherit;
1396 1396 color: inherit;
1397 1397 }
1398 1398 }
1399 1399 }
1400 1400
1401 1401 .subtitle-compare {
1402 1402 margin: -15px 0px 0px 0px;
1403 1403 }
1404 1404
1405 1405 .comments-summary-td {
1406 1406 border-top: 1px dashed @grey5;
1407 1407 }
1408 1408
1409 1409 // new entry in group_members
1410 1410 .td-author-new-entry {
1411 1411 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1412 1412 }
1413 1413
1414 1414 .usergroup_member_remove {
1415 1415 width: 16px;
1416 1416 margin-bottom: 10px;
1417 1417 padding: 0;
1418 1418 color: black !important;
1419 1419 cursor: pointer;
1420 1420 }
1421 1421
1422 1422 .reviewer_ac .ac-input {
1423 1423 width: 92%;
1424 1424 margin-bottom: 1em;
1425 1425 }
1426 1426
1427 1427 .compare_view_commits tr{
1428 1428 height: 20px;
1429 1429 }
1430 1430 .compare_view_commits td {
1431 1431 vertical-align: top;
1432 1432 padding-top: 10px;
1433 1433 }
1434 1434 .compare_view_commits .author {
1435 1435 margin-left: 5px;
1436 1436 }
1437 1437
1438 1438 .compare_view_commits {
1439 1439 .color-a {
1440 1440 color: @alert1;
1441 1441 }
1442 1442
1443 1443 .color-c {
1444 1444 color: @color3;
1445 1445 }
1446 1446
1447 1447 .color-r {
1448 1448 color: @color5;
1449 1449 }
1450 1450
1451 1451 .color-a-bg {
1452 1452 background-color: @alert1;
1453 1453 }
1454 1454
1455 1455 .color-c-bg {
1456 1456 background-color: @alert3;
1457 1457 }
1458 1458
1459 1459 .color-r-bg {
1460 1460 background-color: @alert2;
1461 1461 }
1462 1462
1463 1463 .color-a-border {
1464 1464 border: 1px solid @alert1;
1465 1465 }
1466 1466
1467 1467 .color-c-border {
1468 1468 border: 1px solid @alert3;
1469 1469 }
1470 1470
1471 1471 .color-r-border {
1472 1472 border: 1px solid @alert2;
1473 1473 }
1474 1474
1475 1475 .commit-change-indicator {
1476 1476 width: 15px;
1477 1477 height: 15px;
1478 1478 position: relative;
1479 1479 left: 15px;
1480 1480 }
1481 1481
1482 1482 .commit-change-content {
1483 1483 text-align: center;
1484 1484 vertical-align: middle;
1485 1485 line-height: 15px;
1486 1486 }
1487 1487 }
1488 1488
1489 1489 .compare_view_files {
1490 1490 width: 100%;
1491 1491
1492 1492 td {
1493 1493 vertical-align: middle;
1494 1494 }
1495 1495 }
1496 1496
1497 1497 .compare_view_filepath {
1498 1498 color: @grey1;
1499 1499 }
1500 1500
1501 1501 .show_more {
1502 1502 display: inline-block;
1503 1503 position: relative;
1504 1504 vertical-align: middle;
1505 1505 width: 4px;
1506 1506 height: @basefontsize;
1507 1507
1508 1508 &:after {
1509 1509 content: "\00A0\25BE";
1510 1510 display: inline-block;
1511 1511 width:10px;
1512 1512 line-height: 5px;
1513 1513 font-size: 12px;
1514 1514 cursor: pointer;
1515 1515 }
1516 1516 }
1517 1517
1518 1518 .journal_more .show_more {
1519 1519 display: inline;
1520 1520
1521 1521 &:after {
1522 1522 content: none;
1523 1523 }
1524 1524 }
1525 1525
1526 1526 .open .show_more:after,
1527 1527 .select2-dropdown-open .show_more:after {
1528 1528 .rotate(180deg);
1529 1529 margin-left: 4px;
1530 1530 }
1531 1531
1532 1532
1533 1533 .compare_view_commits .collapse_commit:after {
1534 1534 cursor: pointer;
1535 1535 content: "\00A0\25B4";
1536 1536 margin-left: -3px;
1537 1537 font-size: 17px;
1538 1538 color: @grey4;
1539 1539 }
1540 1540
1541 1541 .diff_links {
1542 1542 margin-left: 8px;
1543 1543 }
1544 1544
1545 1545 div.ancestor {
1546 1546 margin: -30px 0px;
1547 1547 }
1548 1548
1549 1549 .cs_icon_td input[type="checkbox"] {
1550 1550 display: none;
1551 1551 }
1552 1552
1553 1553 .cs_icon_td .expand_file_icon:after {
1554 1554 cursor: pointer;
1555 1555 content: "\00A0\25B6";
1556 1556 font-size: 12px;
1557 1557 color: @grey4;
1558 1558 }
1559 1559
1560 1560 .cs_icon_td .collapse_file_icon:after {
1561 1561 cursor: pointer;
1562 1562 content: "\00A0\25BC";
1563 1563 font-size: 12px;
1564 1564 color: @grey4;
1565 1565 }
1566 1566
1567 1567 /*new binary
1568 1568 NEW_FILENODE = 1
1569 1569 DEL_FILENODE = 2
1570 1570 MOD_FILENODE = 3
1571 1571 RENAMED_FILENODE = 4
1572 1572 COPIED_FILENODE = 5
1573 1573 CHMOD_FILENODE = 6
1574 1574 BIN_FILENODE = 7
1575 1575 */
1576 1576 .cs_files_expand {
1577 1577 font-size: @basefontsize + 5px;
1578 1578 line-height: 1.8em;
1579 1579 float: right;
1580 1580 }
1581 1581
1582 1582 .cs_files_expand span{
1583 1583 color: @rcblue;
1584 1584 cursor: pointer;
1585 1585 }
1586 1586 .cs_files {
1587 1587 clear: both;
1588 1588 padding-bottom: @padding;
1589 1589
1590 1590 .cur_cs {
1591 1591 margin: 10px 2px;
1592 1592 font-weight: bold;
1593 1593 }
1594 1594
1595 1595 .node {
1596 1596 float: left;
1597 1597 }
1598 1598
1599 1599 .changes {
1600 1600 float: right;
1601 1601 color: white;
1602 1602 font-size: @basefontsize - 4px;
1603 1603 margin-top: 4px;
1604 1604 opacity: 0.6;
1605 1605 filter: Alpha(opacity=60); /* IE8 and earlier */
1606 1606
1607 1607 .added {
1608 1608 background-color: @alert1;
1609 1609 float: left;
1610 1610 text-align: center;
1611 1611 }
1612 1612
1613 1613 .deleted {
1614 1614 background-color: @alert2;
1615 1615 float: left;
1616 1616 text-align: center;
1617 1617 }
1618 1618
1619 1619 .bin {
1620 1620 background-color: @alert1;
1621 1621 text-align: center;
1622 1622 }
1623 1623
1624 1624 /*new binary*/
1625 1625 .bin.bin1 {
1626 1626 background-color: @alert1;
1627 1627 text-align: center;
1628 1628 }
1629 1629
1630 1630 /*deleted binary*/
1631 1631 .bin.bin2 {
1632 1632 background-color: @alert2;
1633 1633 text-align: center;
1634 1634 }
1635 1635
1636 1636 /*mod binary*/
1637 1637 .bin.bin3 {
1638 1638 background-color: @grey2;
1639 1639 text-align: center;
1640 1640 }
1641 1641
1642 1642 /*rename file*/
1643 1643 .bin.bin4 {
1644 1644 background-color: @alert4;
1645 1645 text-align: center;
1646 1646 }
1647 1647
1648 1648 /*copied file*/
1649 1649 .bin.bin5 {
1650 1650 background-color: @alert4;
1651 1651 text-align: center;
1652 1652 }
1653 1653
1654 1654 /*chmod file*/
1655 1655 .bin.bin6 {
1656 1656 background-color: @grey2;
1657 1657 text-align: center;
1658 1658 }
1659 1659 }
1660 1660 }
1661 1661
1662 1662 .cs_files .cs_added, .cs_files .cs_A,
1663 1663 .cs_files .cs_added, .cs_files .cs_M,
1664 1664 .cs_files .cs_added, .cs_files .cs_D {
1665 1665 height: 16px;
1666 1666 padding-right: 10px;
1667 1667 margin-top: 7px;
1668 1668 text-align: left;
1669 1669 }
1670 1670
1671 1671 .cs_icon_td {
1672 1672 min-width: 16px;
1673 1673 width: 16px;
1674 1674 }
1675 1675
1676 1676 .pull-request-merge {
1677 1677 border: 1px solid @grey5;
1678 1678 padding: 10px 0px 20px;
1679 1679 margin-top: 10px;
1680 1680 margin-bottom: 20px;
1681 1681 }
1682 1682
1683 1683 .pull-request-merge ul {
1684 1684 padding: 0px 0px;
1685 1685 }
1686 1686
1687 1687 .pull-request-merge li:before{
1688 1688 content:none;
1689 1689 }
1690 1690
1691 1691 .pull-request-merge .pull-request-wrap {
1692 1692 height: auto;
1693 1693 padding: 0px 0px;
1694 1694 text-align: right;
1695 1695 }
1696 1696
1697 1697 .pull-request-merge span {
1698 1698 margin-right: 5px;
1699 1699 }
1700 1700
1701 1701 .pull-request-merge-actions {
1702 1702 height: 30px;
1703 1703 padding: 0px 0px;
1704 1704 }
1705 1705
1706 1706 .merge-status {
1707 1707 margin-right: 5px;
1708 1708 }
1709 1709
1710 1710 .merge-message {
1711 1711 font-size: 1.2em
1712 1712 }
1713 1713
1714 1714 .merge-message.success i,
1715 1715 .merge-icon.success i {
1716 1716 color:@alert1;
1717 1717 }
1718 1718
1719 1719 .merge-message.warning i,
1720 1720 .merge-icon.warning i {
1721 1721 color: @alert3;
1722 1722 }
1723 1723
1724 1724 .merge-message.error i,
1725 1725 .merge-icon.error i {
1726 1726 color:@alert2;
1727 1727 }
1728 1728
1729 1729 .pr-versions {
1730 1730 font-size: 1.1em;
1731 1731
1732 1732 table {
1733 1733 padding: 0px 5px;
1734 1734 }
1735 1735
1736 1736 td {
1737 1737 line-height: 15px;
1738 1738 }
1739 1739
1740 1740 .flag_status {
1741 1741 margin: 0;
1742 1742 }
1743 1743
1744 1744 .compare-radio-button {
1745 1745 position: relative;
1746 1746 top: -3px;
1747 1747 }
1748 1748 }
1749 1749
1750 1750
1751 1751 #close_pull_request {
1752 1752 margin-right: 0px;
1753 1753 }
1754 1754
1755 1755 .empty_data {
1756 1756 color: @grey4;
1757 1757 }
1758 1758
1759 1759 #changeset_compare_view_content {
1760 1760 margin-bottom: @space;
1761 1761 clear: both;
1762 1762 width: 100%;
1763 1763 box-sizing: border-box;
1764 1764 .border-radius(@border-radius);
1765 1765
1766 1766 .help-block {
1767 1767 margin: @padding 0;
1768 1768 color: @text-color;
1769 1769 }
1770 1770
1771 1771 .empty_data {
1772 1772 margin: @padding 0;
1773 1773 }
1774 1774
1775 1775 .alert {
1776 1776 margin-bottom: @space;
1777 1777 }
1778 1778 }
1779 1779
1780 1780 .table_disp {
1781 1781 .status {
1782 1782 width: auto;
1783 1783
1784 1784 .flag_status {
1785 1785 float: left;
1786 1786 }
1787 1787 }
1788 1788 }
1789 1789
1790 1790 .status_box_menu {
1791 1791 margin: 0;
1792 1792 }
1793 1793
1794 1794 .notification-table{
1795 1795 margin-bottom: @space;
1796 1796 display: table;
1797 1797 width: 100%;
1798 1798
1799 1799 .container{
1800 1800 display: table-row;
1801 1801
1802 1802 .notification-header{
1803 1803 border-bottom: @border-thickness solid @border-default-color;
1804 1804 }
1805 1805
1806 1806 .notification-subject{
1807 1807 display: table-cell;
1808 1808 }
1809 1809 }
1810 1810 }
1811 1811
1812 1812 // Notifications
1813 1813 .notification-header{
1814 1814 display: table;
1815 1815 width: 100%;
1816 1816 padding: floor(@basefontsize/2) 0;
1817 1817 line-height: 1em;
1818 1818
1819 1819 .desc, .delete-notifications, .read-notifications{
1820 1820 display: table-cell;
1821 1821 text-align: left;
1822 1822 }
1823 1823
1824 1824 .desc{
1825 1825 width: 1163px;
1826 1826 }
1827 1827
1828 1828 .delete-notifications, .read-notifications{
1829 1829 width: 35px;
1830 1830 min-width: 35px; //fixes when only one button is displayed
1831 1831 }
1832 1832 }
1833 1833
1834 1834 .notification-body {
1835 1835 .markdown-block,
1836 1836 .rst-block {
1837 1837 padding: @padding 0;
1838 1838 }
1839 1839
1840 1840 .notification-subject {
1841 1841 padding: @textmargin 0;
1842 1842 border-bottom: @border-thickness solid @border-default-color;
1843 1843 }
1844 1844 }
1845 1845
1846 1846
1847 1847 .notifications_buttons{
1848 1848 float: right;
1849 1849 }
1850 1850
1851 1851 #notification-status{
1852 1852 display: inline;
1853 1853 }
1854 1854
1855 1855 // Repositories
1856 1856
1857 1857 #summary.fields{
1858 1858 display: table;
1859 1859
1860 1860 .field{
1861 1861 display: table-row;
1862 1862
1863 1863 .label-summary{
1864 1864 display: table-cell;
1865 1865 min-width: @label-summary-minwidth;
1866 1866 padding-top: @padding/2;
1867 1867 padding-bottom: @padding/2;
1868 1868 padding-right: @padding/2;
1869 1869 }
1870 1870
1871 1871 .input{
1872 1872 display: table-cell;
1873 1873 padding: @padding/2;
1874 1874
1875 1875 input{
1876 1876 min-width: 29em;
1877 1877 padding: @padding/4;
1878 1878 }
1879 1879 }
1880 1880 .statistics, .downloads{
1881 1881 .disabled{
1882 1882 color: @grey4;
1883 1883 }
1884 1884 }
1885 1885 }
1886 1886 }
1887 1887
1888 1888 #summary{
1889 1889 width: 70%;
1890 1890 }
1891 1891
1892 1892
1893 1893 // Journal
1894 1894 .journal.title {
1895 1895 h5 {
1896 1896 float: left;
1897 1897 margin: 0;
1898 1898 width: 70%;
1899 1899 }
1900 1900
1901 1901 ul {
1902 1902 float: right;
1903 1903 display: inline-block;
1904 1904 margin: 0;
1905 1905 width: 30%;
1906 1906 text-align: right;
1907 1907
1908 1908 li {
1909 1909 display: inline;
1910 1910 font-size: @journal-fontsize;
1911 1911 line-height: 1em;
1912 1912
1913 1913 &:before { content: none; }
1914 1914 }
1915 1915 }
1916 1916 }
1917 1917
1918 1918 .filterexample {
1919 1919 position: absolute;
1920 1920 top: 95px;
1921 1921 left: @contentpadding;
1922 1922 color: @rcblue;
1923 1923 font-size: 11px;
1924 1924 font-family: @text-regular;
1925 1925 cursor: help;
1926 1926
1927 1927 &:hover {
1928 1928 color: @rcdarkblue;
1929 1929 }
1930 1930
1931 1931 @media (max-width:768px) {
1932 1932 position: relative;
1933 1933 top: auto;
1934 1934 left: auto;
1935 1935 display: block;
1936 1936 }
1937 1937 }
1938 1938
1939 1939
1940 1940 #journal{
1941 1941 margin-bottom: @space;
1942 1942
1943 1943 .journal_day{
1944 1944 margin-bottom: @textmargin/2;
1945 1945 padding-bottom: @textmargin/2;
1946 1946 font-size: @journal-fontsize;
1947 1947 border-bottom: @border-thickness solid @border-default-color;
1948 1948 }
1949 1949
1950 1950 .journal_container{
1951 1951 margin-bottom: @space;
1952 1952
1953 1953 .journal_user{
1954 1954 display: inline-block;
1955 1955 }
1956 1956 .journal_action_container{
1957 1957 display: block;
1958 1958 margin-top: @textmargin;
1959 1959
1960 1960 div{
1961 1961 display: inline;
1962 1962 }
1963 1963
1964 1964 div.journal_action_params{
1965 1965 display: block;
1966 1966 }
1967 1967
1968 1968 div.journal_repo:after{
1969 1969 content: "\A";
1970 1970 white-space: pre;
1971 1971 }
1972 1972
1973 1973 div.date{
1974 1974 display: block;
1975 1975 margin-bottom: @textmargin;
1976 1976 }
1977 1977 }
1978 1978 }
1979 1979 }
1980 1980
1981 1981 // Files
1982 1982 .edit-file-title {
1983 1983 border-bottom: @border-thickness solid @border-default-color;
1984 1984
1985 1985 .breadcrumbs {
1986 1986 margin-bottom: 0;
1987 1987 }
1988 1988 }
1989 1989
1990 1990 .edit-file-fieldset {
1991 1991 margin-top: @sidebarpadding;
1992 1992
1993 1993 .fieldset {
1994 1994 .left-label {
1995 1995 width: 13%;
1996 1996 }
1997 1997 .right-content {
1998 1998 width: 87%;
1999 1999 max-width: 100%;
2000 2000 }
2001 2001 .filename-label {
2002 2002 margin-top: 13px;
2003 2003 }
2004 2004 .commit-message-label {
2005 2005 margin-top: 4px;
2006 2006 }
2007 2007 .file-upload-input {
2008 2008 input {
2009 2009 display: none;
2010 2010 }
2011 2011 }
2012 2012 p {
2013 2013 margin-top: 5px;
2014 2014 }
2015 2015
2016 2016 }
2017 2017 .custom-path-link {
2018 2018 margin-left: 5px;
2019 2019 }
2020 2020 #commit {
2021 2021 resize: vertical;
2022 2022 }
2023 2023 }
2024 2024
2025 2025 .delete-file-preview {
2026 2026 max-height: 250px;
2027 2027 }
2028 2028
2029 2029 .new-file,
2030 2030 #filter_activate,
2031 2031 #filter_deactivate {
2032 2032 float: left;
2033 2033 margin: 0 0 0 15px;
2034 2034 }
2035 2035
2036 2036 h3.files_location{
2037 2037 line-height: 2.4em;
2038 2038 }
2039 2039
2040 2040 .browser-nav {
2041 2041 display: table;
2042 2042 margin-bottom: @space;
2043 2043
2044 2044
2045 2045 .info_box {
2046 2046 display: inline-table;
2047 2047 height: 2.5em;
2048 2048
2049 2049 .browser-cur-rev, .info_box_elem {
2050 2050 display: table-cell;
2051 2051 vertical-align: middle;
2052 2052 }
2053 2053
2054 2054 .info_box_elem {
2055 2055 border-top: @border-thickness solid @rcblue;
2056 2056 border-bottom: @border-thickness solid @rcblue;
2057 2057
2058 2058 #at_rev, a {
2059 2059 padding: 0.6em 0.9em;
2060 2060 margin: 0;
2061 2061 .box-shadow(none);
2062 2062 border: 0;
2063 2063 height: 12px;
2064 2064 }
2065 2065
2066 2066 input#at_rev {
2067 2067 max-width: 50px;
2068 2068 text-align: right;
2069 2069 }
2070 2070
2071 2071 &.previous {
2072 2072 border: @border-thickness solid @rcblue;
2073 2073 .disabled {
2074 2074 color: @grey4;
2075 2075 cursor: not-allowed;
2076 2076 }
2077 2077 }
2078 2078
2079 2079 &.next {
2080 2080 border: @border-thickness solid @rcblue;
2081 2081 .disabled {
2082 2082 color: @grey4;
2083 2083 cursor: not-allowed;
2084 2084 }
2085 2085 }
2086 2086 }
2087 2087
2088 2088 .browser-cur-rev {
2089 2089
2090 2090 span{
2091 2091 margin: 0;
2092 2092 color: @rcblue;
2093 2093 height: 12px;
2094 2094 display: inline-block;
2095 2095 padding: 0.7em 1em ;
2096 2096 border: @border-thickness solid @rcblue;
2097 2097 margin-right: @padding;
2098 2098 }
2099 2099 }
2100 2100 }
2101 2101
2102 2102 .search_activate {
2103 2103 display: table-cell;
2104 2104 vertical-align: middle;
2105 2105
2106 2106 input, label{
2107 2107 margin: 0;
2108 2108 padding: 0;
2109 2109 }
2110 2110
2111 2111 input{
2112 2112 margin-left: @textmargin;
2113 2113 }
2114 2114
2115 2115 }
2116 2116 }
2117 2117
2118 2118 .browser-cur-rev{
2119 2119 margin-bottom: @textmargin;
2120 2120 }
2121 2121
2122 2122 #node_filter_box_loading{
2123 2123 .info_text;
2124 2124 }
2125 2125
2126 2126 .browser-search {
2127 2127 margin: -25px 0px 5px 0px;
2128 2128 }
2129 2129
2130 2130 .node-filter {
2131 2131 font-size: @repo-title-fontsize;
2132 2132 padding: 4px 0px 0px 0px;
2133 2133
2134 2134 .node-filter-path {
2135 2135 float: left;
2136 2136 color: @grey4;
2137 2137 }
2138 2138 .node-filter-input {
2139 2139 float: left;
2140 2140 margin: -2px 0px 0px 2px;
2141 2141 input {
2142 2142 padding: 2px;
2143 2143 border: none;
2144 2144 font-size: @repo-title-fontsize;
2145 2145 }
2146 2146 }
2147 2147 }
2148 2148
2149 2149
2150 2150 .browser-result{
2151 2151 td a{
2152 2152 margin-left: 0.5em;
2153 2153 display: inline-block;
2154 2154
2155 2155 em{
2156 2156 font-family: @text-bold;
2157 2157 }
2158 2158 }
2159 2159 }
2160 2160
2161 2161 .browser-highlight{
2162 2162 background-color: @grey5-alpha;
2163 2163 }
2164 2164
2165 2165
2166 2166 // Search
2167 2167
2168 2168 .search-form{
2169 2169 #q {
2170 2170 width: @search-form-width;
2171 2171 }
2172 2172 .fields{
2173 2173 margin: 0 0 @space;
2174 2174 }
2175 2175
2176 2176 label{
2177 2177 display: inline-block;
2178 2178 margin-right: @textmargin;
2179 2179 padding-top: 0.25em;
2180 2180 }
2181 2181
2182 2182
2183 2183 .results{
2184 2184 clear: both;
2185 2185 margin: 0 0 @padding;
2186 2186 }
2187 2187 }
2188 2188
2189 2189 div.search-feedback-items {
2190 2190 display: inline-block;
2191 2191 padding:0px 0px 0px 96px;
2192 2192 }
2193 2193
2194 2194 div.search-code-body {
2195 2195 background-color: #ffffff; padding: 5px 0 5px 10px;
2196 2196 pre {
2197 2197 .match { background-color: #faffa6;}
2198 2198 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2199 2199 }
2200 2200 }
2201 2201
2202 2202 .expand_commit.search {
2203 2203 .show_more.open {
2204 2204 height: auto;
2205 2205 max-height: none;
2206 2206 }
2207 2207 }
2208 2208
2209 2209 .search-results {
2210 2210
2211 2211 h2 {
2212 2212 margin-bottom: 0;
2213 2213 }
2214 2214 .codeblock {
2215 2215 border: none;
2216 2216 background: transparent;
2217 2217 }
2218 2218
2219 2219 .codeblock-header {
2220 2220 border: none;
2221 2221 background: transparent;
2222 2222 }
2223 2223
2224 2224 .code-body {
2225 2225 border: @border-thickness solid @border-default-color;
2226 2226 .border-radius(@border-radius);
2227 2227 }
2228 2228
2229 2229 .td-commit {
2230 2230 &:extend(pre);
2231 2231 border-bottom: @border-thickness solid @border-default-color;
2232 2232 }
2233 2233
2234 2234 .message {
2235 2235 height: auto;
2236 2236 max-width: 350px;
2237 2237 white-space: normal;
2238 2238 text-overflow: initial;
2239 2239 overflow: visible;
2240 2240
2241 2241 .match { background-color: #faffa6;}
2242 2242 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2243 2243 }
2244 2244
2245 2245 }
2246 2246
2247 2247 table.rctable td.td-search-results div {
2248 2248 max-width: 100%;
2249 2249 }
2250 2250
2251 2251 #tip-box, .tip-box{
2252 2252 padding: @menupadding/2;
2253 2253 display: block;
2254 2254 border: @border-thickness solid @border-highlight-color;
2255 2255 .border-radius(@border-radius);
2256 2256 background-color: white;
2257 2257 z-index: 99;
2258 2258 white-space: pre-wrap;
2259 2259 }
2260 2260
2261 2261 #linktt {
2262 2262 width: 79px;
2263 2263 }
2264 2264
2265 2265 #help_kb .modal-content{
2266 2266 max-width: 750px;
2267 2267 margin: 10% auto;
2268 2268
2269 2269 table{
2270 2270 td,th{
2271 2271 border-bottom: none;
2272 2272 line-height: 2.5em;
2273 2273 }
2274 2274 th{
2275 2275 padding-bottom: @textmargin/2;
2276 2276 }
2277 2277 td.keys{
2278 2278 text-align: center;
2279 2279 }
2280 2280 }
2281 2281
2282 2282 .block-left{
2283 2283 width: 45%;
2284 2284 margin-right: 5%;
2285 2285 }
2286 2286 .modal-footer{
2287 2287 clear: both;
2288 2288 }
2289 2289 .key.tag{
2290 2290 padding: 0.5em;
2291 2291 background-color: @rcblue;
2292 2292 color: white;
2293 2293 border-color: @rcblue;
2294 2294 .box-shadow(none);
2295 2295 }
2296 2296 }
2297 2297
2298 2298
2299 2299
2300 2300 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2301 2301
2302 2302 @import 'statistics-graph';
2303 2303 @import 'tables';
2304 2304 @import 'forms';
2305 2305 @import 'diff';
2306 2306 @import 'summary';
2307 2307 @import 'navigation';
2308 2308
2309 2309 //--- SHOW/HIDE SECTIONS --//
2310 2310
2311 2311 .btn-collapse {
2312 2312 float: right;
2313 2313 text-align: right;
2314 2314 font-family: @text-light;
2315 2315 font-size: @basefontsize;
2316 2316 cursor: pointer;
2317 2317 border: none;
2318 2318 color: @rcblue;
2319 2319 }
2320 2320
2321 2321 table.rctable,
2322 2322 table.dataTable {
2323 2323 .btn-collapse {
2324 2324 float: right;
2325 2325 text-align: right;
2326 2326 }
2327 2327 }
2328 2328
2329 2329
2330 2330 // TODO: johbo: Fix for IE10, this avoids that we see a border
2331 2331 // and padding around checkboxes and radio boxes. Move to the right place,
2332 2332 // or better: Remove this once we did the form refactoring.
2333 2333 input[type=checkbox],
2334 2334 input[type=radio] {
2335 2335 padding: 0;
2336 2336 border: none;
2337 2337 }
2338 2338
2339 2339 .toggle-ajax-spinner{
2340 2340 height: 16px;
2341 2341 width: 16px;
2342 2342 }
@@ -1,166 +1,164 b''
1 1 <div class="panel panel-default">
2 2 <div class="panel-heading">
3 <h3 class="panel-title">${_('Strip')}</h3>
3 <h3 class="panel-title">${_('Strip commits from repository')}</h3>
4 4 </div>
5 5 <div class="panel-body">
6 6 %if c.repo_info.repo_type != 'svn':
7 <p>
8 <h4>${_('Please provide up to %s commits commits to strip')%c.strip_limit}</h4>
9 </p>
7 <h4>${_('Please provide up to %d commits commits to strip') % c.strip_limit}</h4>
10 8 <p>
11 9 ${_('In the first step commits will be verified for existance in the repository')}. </br>
12 10 ${_('In the second step, correct commits will be available for stripping')}.
13 11 </p>
14 12 ${h.secure_form(h.route_path('strip_check', repo_name=c.repo_info.repo_name), method='post')}
15 13 <div id="change_body" class="field">
16 14 <div id="box-1" class="inputx locked_input">
17 <input class="text" id="changeset_id-1" name="changeset_id-1" size="59"
18 placeholder="${_('Enter full 40 character commit sha')}" type="text" value="">
19 <div id = "plus_icon-1" class="btn btn-default plus_input_button">
20 <i class="icon-plus" onclick="addNew(1);return false">${_('Add another commit')}</i>
21 </div>
15 <input class="text" id="changeset_id-1" name="changeset_id-1" size="59"
16 placeholder="${_('Enter full 40 character commit sha')}" type="text" value="">
17 <div id="plus_icon-1" class="btn btn-default plus_input_button" onclick="addNew(1);return false">
18 <i class="icon-plus">${_('Add another commit')}</i>
19 </div>
22 20 </div>
23 21 </div>
24 <div id="results" style="display:none; padding: 10px 0px;"></div>
22
23 <div id="results" style="display:none; padding: 10px 0px;"></div>
24
25 25 <div class="buttons">
26 <button class="btn btn-small btn-primary" onclick="checkCommits();return false">
26 <button class="btn btn-small btn-primary" onclick="checkCommits();return false">
27 27 ${_('Check commits')}
28 28 </button>
29 29 </div>
30 <div id="results" style="display:none; padding: 10px 0px;"></div>
31 30
32 31 ${h.end_form()}
33 32 %else:
34 <p>
35 <h4>${_('Sorry this functionality is not available for SVN repository')}</h4>
36 </p>
33 <h4>${_('Sorry this functionality is not available for SVN repository')}</h4>
37 34 %endif
38 35 </div>
39 36 </div>
40 37
41 38
42 39 <script>
43 40 var plus_leaf = 1;
44 41
45 42 addNew = function(number){
46 43 if (number >= ${c.strip_limit}){
47 44 return;
48 45 }
49 var minus = '<i id="i_minus_icon-'+(number+1)+'" class="icon-minus" onclick="delOld('+(number+1)+');return false">${_('Remove')}</i>';
46 var minus = '<i id="i_minus_icon-'+(number+1)+'" class="icon-minus">${_('Remove')}</i>';
50 47 $('#plus_icon-'+number).detach();
51 48 number++;
49
52 50 var input = '<div id="box-'+number+'" class="inputx locked_input">'+
53 51 '<input class="text" id="changeset_id-'+number+'" name="changeset_id-'+number+'" size="59" type="text" value="">'+
54 '<div id="plus_icon-'+number+'" class="btn btn-default plus_input_button">'+
55 '<i id="i_plus_icon-'+(number)+'" class="icon-plus" onclick="addNew('+number+');return false">${_('Add another commit')}</i>'+
52 '<div id="plus_icon-'+number+'" class="btn btn-default plus_input_button" onclick="addNew('+number+');return false">'+
53 '<i id="i_plus_icon-'+(number)+'" class="icon-plus">${_('Add another commit')}</i>'+
56 54 '</div>'+
57 '<div id="minus_icon-'+number+'" class="btn btn-default minus_input_button">'+
55 '<div id="minus_icon-'+number+'" class="btn btn-default minus_input_button" onclick="delOld('+(number)+');return false">'+
58 56 minus +
59 57 '</div>' +
60 58 '</div>';
61 59 $('#change_body').append(input);
62 60 plus_leaf++;
63 61 };
64 62
65 63 reIndex = function(number){
66 64 for(var i=number;i<=plus_leaf;i++){
67 65 var check = $('#box-'+i);
68 66 if (check.length == 0){
69 67 var change = $('#box-'+(i+1));
70 68
71 69 change.attr('id','box-'+i);
72 70 var plus = $('#plus_icon-'+(i+1));
73 71 var i_plus = $('#i_plus_icon-'+(i+1));
74 72 if (plus.length != 0){
75 73 plus.attr('id','plus_icon-'+i);
76 74 i_plus.attr('id','i_plus_icon-'+i);
77 75 i_plus.attr('onclick','addNew('+i+');return false');
78 76 plus_leaf--;
79 77 }
80 78 var minus = $('#minus_icon-'+(i+1));
81 79 var i_minus = $('#i_minus_icon-'+(i+1));
82 80 minus.attr('id','minus_icon-'+i);
83 81 i_minus.attr('id','i_minus_icon-'+i);
84 82 i_minus.attr('onclick','delOld('+i+');return false');
85 83 }
86 84 }
87 85 };
88 86
89 87 delOld = function(number){
90 88 $('#box-'+number).remove();
91 89 number = number - 1;
92 90 var box = $('#box-'+number);
93 var plus = '<div id="plus_icon-'+number+'" class="btn btn-default plus_input_button">'+
94 '<i id="i_plus_icon-'+number+'" class="icon-plus" onclick="addNew('+number +');return false">${_('Add another commit')}</i></div>';
91 var plus = '<div id="plus_icon-'+number+'" class="btn btn-default plus_input_button" onclick="addNew('+number +');return false">'+
92 '<i id="i_plus_icon-'+number+'" class="icon-plus">${_('Add another commit')}</i></div>';
95 93 var minus = $('#minus_icon-'+number);
96 94 if(number +1 == plus_leaf){
97 95 minus.detach();
98 96 box.append(plus);
99 97 box.append(minus);
100 98 }
101 99 reIndex(number+1);
102 100
103 101 };
104 102
105 103 var result_data;
106 104
107 105 checkCommits = function() {
108 106 var postData = $('form').serialize();
109 107 $('#results').show();
110 108 $('#results').html('<h4>${_('Checking commits')}...</h4>');
111 109 var url = "${h.route_path('strip_check', repo_name=c.repo_info.repo_name)}";
112 110 var btn = $('button');
113 111 btn.attr('disabled', 'disabled');
114 112 btn.addClass('disabled');
115 113
116 114 var success = function (data) {
117 115 result_data = {};
118 116 var i = 0;
119 117 result ='';
120 118 $.each(data, function(index, value){
121 119 i= index;
122 120 var box = $('#box-'+index);
123 121 if (value.rev){
124 122 result_data[index] = JSON.stringify(value);
125 123 msg = '${_("author")}: ' + value.author + ' ${_("comment")}: ' + value.comment;
126 result += '<h4>' +value.rev+ '${_(' commit verified positive')}</br> '+ msg + '</h4>';
124 result += '<h4><code>' +value.rev+ '</code>${_(' commit verified positive')}</br> '+ msg + '</h4>';
127 125 }
128 126 else{
129 result += '<h4>' +value.commit+ '${_('commit verified negative')}' + '</h4>';
127 result += '<h4><code>' +value.commit+ '</code>${_(' commit verified negative')}' + '</h4>';
130 128 }
131 129 box.remove();
132 130 });
133 131 var box = $('#box-'+(parseInt(i)+1));
134 132 box.remove();
135 133 $('#results').html(result);
136 134 };
137 135
138 136 btn.html('Strip');
139 137 btn.removeAttr('disabled');
140 138 btn.removeClass('disabled');
141 139 btn.attr('onclick','strip();return false;');
142 140 ajaxPOST(url, postData, success, null);
143 141 };
144 142
145 143 strip = function(){
146 144 var url = "${h.route_path('strip_execute', repo_name=c.repo_info.repo_name)}";
147 145 var success = function(data){
148 146 result = '';
149 147 $.each(data, function(index, value){
150 148 if(data[index]){
151 149 result += '<h4>' +index+ '${_(' commit striped successful')}' + '</h4>';
152 150 }
153 151 else{
154 152 result += '<h4>' +index+ '${_(' commit striped failed')}' + '</h4>';
155 153 }
156 154 });
157 155 $('#results').html(result);
158 156
159 157 };
160 158 ajaxPOST(url, result_data, success, null);
161 159 var btn = $('button');
162 160 btn.attr('disabled', 'disabled');
163 161 btn.addClass('disabled');
164 162
165 163 };
166 164 </script>
General Comments 0
You need to be logged in to leave comments. Login now