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