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