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