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