##// END OF EJS Templates
adjusted the padding of path and summary box between files and file details screens
Liviu -
r3720:0c0b5c69 new-ui
parent child Browse files
Show More
@@ -1,1261 +1,1265 b''
1 1 // Default styles
2 2
3 3 .diff-collapse {
4 4 margin: @padding 0;
5 5 text-align: right;
6 6 }
7 7
8 8 .diff-container {
9 9 margin-bottom: @space;
10 10
11 11 .diffblock {
12 12 margin-bottom: @space;
13 13 }
14 14
15 15 &.hidden {
16 16 display: none;
17 17 overflow: hidden;
18 18 }
19 19 }
20 20
21 21
22 22 div.diffblock .sidebyside {
23 23 background: #ffffff;
24 24 }
25 25
26 26 div.diffblock {
27 27 overflow-x: auto;
28 28 overflow-y: hidden;
29 29 clear: both;
30 30 padding: 0px;
31 31 background: @grey6;
32 32 border: @border-thickness solid @grey5;
33 33 -webkit-border-radius: @border-radius @border-radius 0px 0px;
34 34 border-radius: @border-radius @border-radius 0px 0px;
35 35
36 36
37 37 .comments-number {
38 38 float: right;
39 39 }
40 40
41 41 // BEGIN CODE-HEADER STYLES
42 42
43 43 .code-header {
44 44 background: @grey6;
45 45 padding: 10px 0 10px 0;
46 46 height: auto;
47 47 width: 100%;
48 48
49 49 .hash {
50 50 float: left;
51 51 padding: 2px 0 0 2px;
52 52 }
53 53
54 54 .date {
55 55 float: left;
56 56 text-transform: uppercase;
57 57 padding: 4px 0px 0px 2px;
58 58 }
59 59
60 60 div {
61 61 margin-left: 4px;
62 62 }
63 63
64 64 div.compare_header {
65 65 min-height: 40px;
66 66 margin: 0;
67 67 padding: 0 @padding;
68 68
69 69 .drop-menu {
70 70 float:left;
71 71 display: block;
72 72 margin:0 0 @padding 0;
73 73 }
74 74
75 75 .compare-label {
76 76 float: left;
77 77 clear: both;
78 78 display: inline-block;
79 79 min-width: 5em;
80 80 margin: 0;
81 81 padding: @button-padding @button-padding @button-padding 0;
82 82 font-weight: @text-semibold-weight;
83 83 font-family: @text-semibold;
84 84 }
85 85
86 86 .compare-buttons {
87 87 float: left;
88 88 margin: 0;
89 89 padding: 0 0 @padding;
90 90
91 91 .btn {
92 92 margin: 0 @padding 0 0;
93 93 }
94 94 }
95 95 }
96 96
97 97 }
98 98
99 99 .parents {
100 100 float: left;
101 101 width: 100px;
102 102 font-weight: 400;
103 103 vertical-align: middle;
104 104 padding: 0px 2px 0px 2px;
105 105 background-color: @grey6;
106 106
107 107 #parent_link {
108 108 margin: 00px 2px;
109 109
110 110 &.double {
111 111 margin: 0px 2px;
112 112 }
113 113
114 114 &.disabled{
115 115 margin-right: @padding;
116 116 }
117 117 }
118 118 }
119 119
120 120 .children {
121 121 float: right;
122 122 width: 100px;
123 123 font-weight: 400;
124 124 vertical-align: middle;
125 125 text-align: right;
126 126 padding: 0px 2px 0px 2px;
127 127 background-color: @grey6;
128 128
129 129 #child_link {
130 130 margin: 0px 2px;
131 131
132 132 &.double {
133 133 margin: 0px 2px;
134 134 }
135 135
136 136 &.disabled{
137 137 margin-right: @padding;
138 138 }
139 139 }
140 140 }
141 141
142 142 .changeset_header {
143 143 height: 16px;
144 144
145 145 & > div{
146 146 margin-right: @padding;
147 147 }
148 148 }
149 149
150 150 .changeset_file {
151 151 text-align: left;
152 152 float: left;
153 153 padding: 0;
154 154
155 155 a{
156 156 display: inline-block;
157 157 margin-right: 0.5em;
158 158 }
159 159
160 160 #selected_mode{
161 161 margin-left: 0;
162 162 }
163 163 }
164 164
165 165 .diff-menu-wrapper {
166 166 float: left;
167 167 }
168 168
169 169 .diff-menu {
170 170 position: absolute;
171 171 background: none repeat scroll 0 0 #FFFFFF;
172 172 border-color: #003367 @grey3 @grey3;
173 173 border-right: 1px solid @grey3;
174 174 border-style: solid solid solid;
175 175 border-width: @border-thickness;
176 176 box-shadow: 2px 8px 4px rgba(0, 0, 0, 0.2);
177 177 margin-top: 5px;
178 178 margin-left: 1px;
179 179 }
180 180
181 181 .diff-actions, .editor-actions {
182 182 float: left;
183 183
184 184 input{
185 185 margin: 0 0.5em 0 0;
186 186 }
187 187 }
188 188
189 189 // END CODE-HEADER STYLES
190 190
191 191 // BEGIN CODE-BODY STYLES
192 192
193 193 .code-body {
194 194 padding: 0;
195 195 background-color: #ffffff;
196 196 position: relative;
197 197 max-width: none;
198 198 box-sizing: border-box;
199 199 // TODO: johbo: Parent has overflow: auto, this forces the child here
200 200 // to have the intended size and to scroll. Should be simplified.
201 201 width: 100%;
202 202 overflow-x: auto;
203 203 }
204 204
205 205 pre.raw {
206 206 background: white;
207 207 color: @grey1;
208 208 }
209 209 // END CODE-BODY STYLES
210 210
211 211 }
212 212
213 213
214 214 table.code-difftable {
215 215 border-collapse: collapse;
216 216 width: 99%;
217 217 border-radius: 0px !important;
218 218
219 219 td {
220 220 padding: 0 !important;
221 221 background: none !important;
222 222 border: 0 !important;
223 223 }
224 224
225 225 .context {
226 226 background: none repeat scroll 0 0 #DDE7EF;
227 227 }
228 228
229 229 .add {
230 230 background: none repeat scroll 0 0 #DDFFDD;
231 231
232 232 ins {
233 233 background: none repeat scroll 0 0 #AAFFAA;
234 234 text-decoration: none;
235 235 }
236 236 }
237 237
238 238 .del {
239 239 background: none repeat scroll 0 0 #FFDDDD;
240 240
241 241 del {
242 242 background: none repeat scroll 0 0 #FFAAAA;
243 243 text-decoration: none;
244 244 }
245 245 }
246 246
247 247 /** LINE NUMBERS **/
248 248 .lineno {
249 249 padding-left: 2px !important;
250 250 padding-right: 2px;
251 251 text-align: right;
252 252 width: 32px;
253 253 -moz-user-select: none;
254 254 -webkit-user-select: none;
255 255 border-right: @border-thickness solid @grey5 !important;
256 256 border-left: 0px solid #CCC !important;
257 257 border-top: 0px solid #CCC !important;
258 258 border-bottom: none !important;
259 259
260 260 a {
261 261 &:extend(pre);
262 262 text-align: right;
263 263 padding-right: 2px;
264 264 cursor: pointer;
265 265 display: block;
266 266 width: 32px;
267 267 }
268 268 }
269 269
270 270 .context {
271 271 cursor: auto;
272 272 &:extend(pre);
273 273 }
274 274
275 275 .lineno-inline {
276 276 background: none repeat scroll 0 0 #FFF !important;
277 277 padding-left: 2px;
278 278 padding-right: 2px;
279 279 text-align: right;
280 280 width: 30px;
281 281 -moz-user-select: none;
282 282 -webkit-user-select: none;
283 283 }
284 284
285 285 /** CODE **/
286 286 .code {
287 287 display: block;
288 288 width: 100%;
289 289
290 290 td {
291 291 margin: 0;
292 292 padding: 0;
293 293 }
294 294
295 295 pre {
296 296 margin: 0;
297 297 padding: 0;
298 298 margin-left: .5em;
299 299 }
300 300 }
301 301 }
302 302
303 303
304 304 // Comments
305 305
306 306 div.comment:target {
307 307 border-left: 6px solid @comment-highlight-color !important;
308 308 padding-left: 3px;
309 309 margin-left: -9px;
310 310 }
311 311
312 312 //TODO: anderson: can't get an absolute number out of anything, so had to put the
313 313 //current values that might change. But to make it clear I put as a calculation
314 314 @comment-max-width: 1065px;
315 315 @pr-extra-margin: 34px;
316 316 @pr-border-spacing: 4px;
317 317 @pr-comment-width: @comment-max-width - @pr-extra-margin - @pr-border-spacing;
318 318
319 319 // Pull Request
320 320 .cs_files .code-difftable {
321 321 border: @border-thickness solid @grey5; //borders only on PRs
322 322
323 323 .comment-inline-form,
324 324 div.comment {
325 325 width: @pr-comment-width;
326 326 }
327 327 }
328 328
329 329 // Changeset
330 330 .code-difftable {
331 331 .comment-inline-form,
332 332 div.comment {
333 333 width: @comment-max-width;
334 334 }
335 335 }
336 336
337 337 //Style page
338 338 @style-extra-margin: @sidebar-width + (@sidebarpadding * 3) + @padding;
339 339 #style-page .code-difftable{
340 340 .comment-inline-form,
341 341 div.comment {
342 342 width: @comment-max-width - @style-extra-margin;
343 343 }
344 344 }
345 345
346 346 #context-bar > h2 {
347 347 font-size: 20px;
348 348 }
349 349
350 350 #context-bar > h2> a {
351 351 font-size: 20px;
352 352 }
353 353 // end of defaults
354 354
355 355 .file_diff_buttons {
356 356 padding: 0 0 @padding;
357 357
358 358 .drop-menu {
359 359 float: left;
360 360 margin: 0 @padding 0 0;
361 361 }
362 362 .btn {
363 363 margin: 0 @padding 0 0;
364 364 }
365 365 }
366 366
367 367 .code-body.textarea.editor {
368 368 max-width: none;
369 369 padding: 15px;
370 370 }
371 371
372 372 td.injected_diff{
373 373 max-width: 1178px;
374 374 overflow-x: auto;
375 375 overflow-y: hidden;
376 376
377 377 div.diff-container,
378 378 div.diffblock{
379 379 max-width: 100%;
380 380 }
381 381
382 382 div.code-body {
383 383 max-width: 1124px;
384 384 overflow-x: auto;
385 385 overflow-y: hidden;
386 386 padding: 0;
387 387 }
388 388 div.diffblock {
389 389 border: none;
390 390 }
391 391
392 392 &.inline-form {
393 393 width: 99%
394 394 }
395 395 }
396 396
397 397
398 398 table.code-difftable {
399 399 width: 100%;
400 400 }
401 401
402 402 /** PYGMENTS COLORING **/
403 403 div.codeblock {
404 404
405 405 // TODO: johbo: Added interim to get rid of the margin around
406 406 // Select2 widgets. This needs further cleanup.
407 407 overflow: auto;
408 408 padding: 0px;
409 409 border: @border-thickness solid @grey6;
410 410 background: @grey7;
411 411 .border-radius(@border-radius);
412 412
413 413 #remove_gist {
414 414 float: right;
415 415 }
416 416
417 417 .gist_url {
418 418 padding: 0px 0px 10px 0px;
419 419 }
420 420
421 421 .author {
422 422 clear: both;
423 423 vertical-align: middle;
424 424 font-weight: @text-bold-weight;
425 425 font-family: @text-bold;
426 426 }
427 427
428 428 .btn-mini {
429 429 float: left;
430 430 margin: 0 5px 0 0;
431 431 }
432 432
433 433 .code-header {
434 434 padding: @padding;
435 435 border-bottom: @border-thickness solid @grey5;
436 436
437 437 .rc-user {
438 438 min-width: 0;
439 439 margin-right: .5em;
440 440 }
441 441
442 442 .stats {
443 443 clear: both;
444 444 margin: 0 0 @padding 0;
445 445 padding: 0;
446 446 .left {
447 447 float: left;
448 448 clear: left;
449 449 max-width: 75%;
450 450 margin: 0 0 @padding 0;
451 451
452 452 &.item {
453 453 margin-right: @padding;
454 454 &.last { border-right: none; }
455 455 }
456 456 }
457 457 .buttons { float: right; }
458 458 .author {
459 459 height: 25px; margin-left: 15px; font-weight: bold;
460 460 }
461 461 }
462 462
463 463 .commit {
464 464 margin: 5px 0 0 26px;
465 465 font-weight: normal;
466 466 white-space: pre-wrap;
467 467 }
468 468 }
469 469
470 470 .message {
471 471 position: relative;
472 472 margin: @padding;
473 473
474 474 .codeblock-label {
475 475 margin: 0 0 1em 0;
476 476 }
477 477 }
478 478
479 479 .code-body {
480 padding: @padding;
480 padding: 0.8em 1em;
481 481 background-color: #ffffff;
482 482 min-width: 100%;
483 483 box-sizing: border-box;
484 484 // TODO: johbo: Parent has overflow: auto, this forces the child here
485 485 // to have the intended size and to scroll. Should be simplified.
486 486 width: 100%;
487 487 overflow-x: auto;
488 488
489 489 img.rendered-binary {
490 490 height: auto;
491 491 width: 100%;
492 492 }
493
494 .markdown-block {
495 padding: 1em 0;
496 }
493 497 }
494 498
495 499 .codeblock-header {
496 500 border-bottom: 1px solid #eaeaea;
497 501 }
498 502 }
499 503
500 504 .code-highlighttable,
501 505 div.codeblock {
502 506
503 507 &.readme {
504 508 background-color: white;
505 509 }
506 510
507 511 .markdown-block table {
508 512 border-collapse: collapse;
509 513
510 514 th,
511 515 td {
512 516 padding: .5em;
513 517 border: @border-thickness solid @border-default-color;
514 518 }
515 519 }
516 520
517 521 table {
518 522 border: 0px;
519 523 margin: 0;
520 524 letter-spacing: normal;
521 525
522 526
523 527 td {
524 528 border: 0px;
525 529 vertical-align: top;
526 530 }
527 531 }
528 532 }
529 533
530 534 div.codeblock .code-header .search-path { padding: 0 0 0 10px; }
531 535 div.search-code-body {
532 536 background-color: #ffffff; padding: 5px 0 5px 10px;
533 537 pre {
534 538 .match { background-color: #faffa6;}
535 539 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
536 540 }
537 541 .code-highlighttable {
538 542 border-collapse: collapse;
539 543
540 544 tr:hover {
541 545 background: #fafafa;
542 546 }
543 547 td.code {
544 548 padding-left: 10px;
545 549 }
546 550 td.line {
547 551 border-right: 1px solid #ccc !important;
548 552 padding-right: 10px;
549 553 text-align: right;
550 554 font-family: @text-monospace;
551 555 span {
552 556 white-space: pre-wrap;
553 557 color: #666666;
554 558 }
555 559 }
556 560 }
557 561 }
558 562
559 563 div.annotatediv { margin-left: 2px; margin-right: 4px; }
560 564 .code-highlight {
561 565 margin: 0; padding: 0; border-left: @border-thickness solid @grey5;
562 566 pre, .linenodiv pre { padding: 0 5px; margin: 0; }
563 567 pre div:target {background-color: @comment-highlight-color !important;}
564 568 }
565 569
566 570 .linenos a { text-decoration: none; }
567 571
568 572 .CodeMirror-selected { background: @rchighlightblue; }
569 573 .CodeMirror-focused .CodeMirror-selected { background: @rchighlightblue; }
570 574 .CodeMirror ::selection { background: @rchighlightblue; }
571 575 .CodeMirror ::-moz-selection { background: @rchighlightblue; }
572 576
573 577 .code { display: block; border:0px !important; }
574 578 .code-highlight, /* TODO: dan: merge codehilite into code-highlight */
575 579 /* This can be generated with `pygmentize -S default -f html` */
576 580 .codehilite {
577 581 .c-ElasticMatch { background-color: #faffa6; padding: 0.2em;}
578 582 .hll { background-color: #ffffcc }
579 583 .c { color: #408080; font-style: italic } /* Comment */
580 584 .err, .codehilite .err { border: none } /* Error */
581 585 .k { color: #008000; font-weight: bold } /* Keyword */
582 586 .o { color: #666666 } /* Operator */
583 587 .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
584 588 .cm { color: #408080; font-style: italic } /* Comment.Multiline */
585 589 .cp { color: #BC7A00 } /* Comment.Preproc */
586 590 .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
587 591 .c1 { color: #408080; font-style: italic } /* Comment.Single */
588 592 .cs { color: #408080; font-style: italic } /* Comment.Special */
589 593 .gd { color: #A00000 } /* Generic.Deleted */
590 594 .ge { font-style: italic } /* Generic.Emph */
591 595 .gr { color: #FF0000 } /* Generic.Error */
592 596 .gh { color: #000080; font-weight: bold } /* Generic.Heading */
593 597 .gi { color: #00A000 } /* Generic.Inserted */
594 598 .go { color: #888888 } /* Generic.Output */
595 599 .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
596 600 .gs { font-weight: bold } /* Generic.Strong */
597 601 .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
598 602 .gt { color: #0044DD } /* Generic.Traceback */
599 603 .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
600 604 .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
601 605 .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
602 606 .kp { color: #008000 } /* Keyword.Pseudo */
603 607 .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
604 608 .kt { color: #B00040 } /* Keyword.Type */
605 609 .m { color: #666666 } /* Literal.Number */
606 610 .s { color: #BA2121 } /* Literal.String */
607 611 .na { color: #7D9029 } /* Name.Attribute */
608 612 .nb { color: #008000 } /* Name.Builtin */
609 613 .nc { color: #0000FF; font-weight: bold } /* Name.Class */
610 614 .no { color: #880000 } /* Name.Constant */
611 615 .nd { color: #AA22FF } /* Name.Decorator */
612 616 .ni { color: #999999; font-weight: bold } /* Name.Entity */
613 617 .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
614 618 .nf { color: #0000FF } /* Name.Function */
615 619 .nl { color: #A0A000 } /* Name.Label */
616 620 .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
617 621 .nt { color: #008000; font-weight: bold } /* Name.Tag */
618 622 .nv { color: #19177C } /* Name.Variable */
619 623 .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
620 624 .w { color: #bbbbbb } /* Text.Whitespace */
621 625 .mb { color: #666666 } /* Literal.Number.Bin */
622 626 .mf { color: #666666 } /* Literal.Number.Float */
623 627 .mh { color: #666666 } /* Literal.Number.Hex */
624 628 .mi { color: #666666 } /* Literal.Number.Integer */
625 629 .mo { color: #666666 } /* Literal.Number.Oct */
626 630 .sa { color: #BA2121 } /* Literal.String.Affix */
627 631 .sb { color: #BA2121 } /* Literal.String.Backtick */
628 632 .sc { color: #BA2121 } /* Literal.String.Char */
629 633 .dl { color: #BA2121 } /* Literal.String.Delimiter */
630 634 .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
631 635 .s2 { color: #BA2121 } /* Literal.String.Double */
632 636 .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
633 637 .sh { color: #BA2121 } /* Literal.String.Heredoc */
634 638 .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
635 639 .sx { color: #008000 } /* Literal.String.Other */
636 640 .sr { color: #BB6688 } /* Literal.String.Regex */
637 641 .s1 { color: #BA2121 } /* Literal.String.Single */
638 642 .ss { color: #19177C } /* Literal.String.Symbol */
639 643 .bp { color: #008000 } /* Name.Builtin.Pseudo */
640 644 .fm { color: #0000FF } /* Name.Function.Magic */
641 645 .vc { color: #19177C } /* Name.Variable.Class */
642 646 .vg { color: #19177C } /* Name.Variable.Global */
643 647 .vi { color: #19177C } /* Name.Variable.Instance */
644 648 .vm { color: #19177C } /* Name.Variable.Magic */
645 649 .il { color: #666666 } /* Literal.Number.Integer.Long */
646 650
647 651 }
648 652
649 653 /* customized pre blocks for markdown/rst */
650 654 pre.literal-block, .codehilite pre{
651 655 padding: @padding;
652 656 border: 1px solid @grey6;
653 657 .border-radius(@border-radius);
654 658 background-color: @grey7;
655 659 }
656 660
657 661
658 662 /* START NEW CODE BLOCK CSS */
659 663
660 664 @cb-line-height: 18px;
661 665 @cb-line-code-padding: 10px;
662 666 @cb-text-padding: 5px;
663 667
664 668 @pill-padding: 2px 7px;
665 669 @pill-padding-small: 2px 2px 1px 2px;
666 670
667 671 input.filediff-collapse-state {
668 672 display: none;
669 673
670 674 &:checked + .filediff { /* file diff is collapsed */
671 675 .cb {
672 676 display: none
673 677 }
674 678 .filediff-collapse-indicator {
675 679 width: 0;
676 680 height: 0;
677 681 border-style: solid;
678 682 border-width: 4.5px 0 4.5px 9.3px;
679 683 border-color: transparent transparent transparent #aaa;
680 684 margin: 6px 0px;
681 685 }
682 686 .filediff-menu {
683 687 display: none;
684 688 }
685 689
686 690 }
687 691
688 692 &+ .filediff { /* file diff is expanded */
689 693 .filediff-collapse-indicator {
690 694 width: 0;
691 695 height: 0;
692 696 border-style: solid;
693 697 border-width: 9.3px 4.5px 0 4.5px;
694 698 border-color: #aaa transparent transparent transparent;
695 699 margin: 6px 0px;
696 700
697 701 }
698 702 .filediff-menu {
699 703 display: block;
700 704 }
701 705 margin: 10px 0;
702 706 &:nth-child(2) {
703 707 margin: 0;
704 708 }
705 709 }
706 710 }
707 711
708 712 .filediffs .anchor {
709 713 display: block;
710 714 height: 40px;
711 715 margin-top: -40px;
712 716 visibility: hidden;
713 717 }
714 718
715 719 .filediffs .anchor:nth-of-type(1) {
716 720 display: block;
717 721 height: 80px;
718 722 margin-top: -80px;
719 723 visibility: hidden;
720 724 }
721 725
722 726 .cs_files {
723 727 clear: both;
724 728 }
725 729
726 730 #diff-file-sticky{
727 731 will-change: min-height;
728 732 }
729 733
730 734 .sidebar__inner{
731 735 transform: translate(0, 0); /* For browsers don't support translate3d. */
732 736 transform: translate3d(0, 0, 0);
733 737 will-change: position, transform;
734 738 height: 70px;
735 739 z-index: 30;
736 740 background-color: #fff;
737 741 padding: 5px 0px;
738 742 }
739 743
740 744 .sidebar__bar {
741 745 padding: 5px 0px 0px 0px
742 746 }
743 747
744 748 .fpath-placeholder {
745 749 clear: both;
746 750 visibility: hidden
747 751 }
748 752
749 753 .is-affixed {
750 754 .sidebar_inner_shadow {
751 755 position: fixed;
752 756 top: 75px;
753 757 right: -100%;
754 758 left: -100%;
755 759 z-index: 28;
756 760 display: block;
757 761 height: 5px;
758 762 content: "";
759 763 background: linear-gradient(rgba(0, 0, 0, 0.075), rgba(0, 0, 0, 0.001)) repeat-x 0 0;
760 764 border-top: 1px solid rgba(0, 0, 0, 0.15);
761 765 }
762 766 .fpath-placeholder {
763 767 visibility: visible !important;
764 768 }
765 769 }
766 770
767 771 .diffset-menu {
768 772 margin-bottom: 20px;
769 773 }
770 774 .diffset {
771 775 margin: 20px auto;
772 776 .diffset-heading {
773 777 border: 1px solid @grey5;
774 778 margin-bottom: -1px;
775 779 // margin-top: 20px;
776 780 h2 {
777 781 margin: 0;
778 782 line-height: 38px;
779 783 padding-left: 10px;
780 784 }
781 785 .btn {
782 786 margin: 0;
783 787 }
784 788 background: @grey6;
785 789 display: block;
786 790 padding: 5px;
787 791 }
788 792 .diffset-heading-warning {
789 793 background: @alert3-inner;
790 794 border: 1px solid @alert3;
791 795 }
792 796 &.diffset-comments-disabled {
793 797 .cb-comment-box-opener, .comment-inline-form, .cb-comment-add-button {
794 798 display: none !important;
795 799 }
796 800 }
797 801 }
798 802
799 803 .filelist {
800 804 .pill {
801 805 display: block;
802 806 float: left;
803 807 padding: @pill-padding-small;
804 808 }
805 809 }
806 810
807 811 .pill {
808 812 display: block;
809 813 float: left;
810 814 padding: @pill-padding;
811 815 }
812 816
813 817 .pill-group {
814 818 .pill {
815 819 opacity: .8;
816 820 margin-right: 3px;
817 821 font-size: 12px;
818 822 font-weight: normal;
819 823
820 824 &:first-child {
821 825 border-radius: @border-radius 0 0 @border-radius;
822 826 }
823 827 &:last-child {
824 828 border-radius: 0 @border-radius @border-radius 0;
825 829 }
826 830 &:only-child {
827 831 border-radius: @border-radius;
828 832 margin-right: 0;
829 833 }
830 834 }
831 835 }
832 836
833 837 /* Main comments*/
834 838 #comments {
835 839 .comment-selected {
836 840 border-left: 6px solid @comment-highlight-color;
837 841 padding-left: 3px;
838 842 margin-left: -9px;
839 843 }
840 844 }
841 845
842 846 .filediff {
843 847 border: 1px solid @grey5;
844 848
845 849 /* START OVERRIDES */
846 850 .code-highlight {
847 851 border: none; // TODO: remove this border from the global
848 852 // .code-highlight, it doesn't belong there
849 853 }
850 854 label {
851 855 margin: 0; // TODO: remove this margin definition from global label
852 856 // it doesn't belong there - if margin on labels
853 857 // are needed for a form they should be defined
854 858 // in the form's class
855 859 }
856 860 /* END OVERRIDES */
857 861
858 862 * {
859 863 box-sizing: border-box;
860 864 }
861 865 .filediff-anchor {
862 866 visibility: hidden;
863 867 }
864 868 &:hover {
865 869 .filediff-anchor {
866 870 visibility: visible;
867 871 }
868 872 }
869 873
870 874 .filediff-collapse-indicator {
871 875 border-style: solid;
872 876 float: left;
873 877 margin: 4px 0px 0 0;
874 878 cursor: pointer;
875 879 }
876 880
877 881 .filediff-heading {
878 882 background: @grey7;
879 883 cursor: pointer;
880 884 display: block;
881 885 padding: 5px 10px;
882 886 }
883 887 .filediff-heading:after {
884 888 content: "";
885 889 display: table;
886 890 clear: both;
887 891 }
888 892 .filediff-heading:hover {
889 893 background: #e1e9f4 !important;
890 894 }
891 895
892 896 .filediff-menu {
893 897 float: right;
894 898 text-align: right;
895 899 padding: 5px 5px 5px 0px;
896 900
897 901 &> a,
898 902 &> span {
899 903 padding: 1px;
900 904 }
901 905 }
902 906
903 907 .filediff-collapse-button, .filediff-expand-button {
904 908 cursor: pointer;
905 909 }
906 910 .filediff-collapse-button {
907 911 display: inline;
908 912 }
909 913 .filediff-expand-button {
910 914 display: none;
911 915 }
912 916 .filediff-collapsed .filediff-collapse-button {
913 917 display: none;
914 918 }
915 919 .filediff-collapsed .filediff-expand-button {
916 920 display: inline;
917 921 }
918 922
919 923 /**** COMMENTS ****/
920 924
921 925 .filediff-menu {
922 926 .show-comment-button {
923 927 display: none;
924 928 }
925 929 }
926 930 &.hide-comments {
927 931 .inline-comments {
928 932 display: none;
929 933 }
930 934 .filediff-menu {
931 935 .show-comment-button {
932 936 display: inline;
933 937 }
934 938 .hide-comment-button {
935 939 display: none;
936 940 }
937 941 }
938 942 }
939 943
940 944 .hide-line-comments {
941 945 .inline-comments {
942 946 display: none;
943 947 }
944 948 }
945 949
946 950 /**** END COMMENTS ****/
947 951
948 952 }
949 953
950 954
951 955
952 956 .filediff, .filelist {
953 957 .pill {
954 958 &[op="name"] {
955 959 background: none;
956 960 opacity: 1;
957 961 color: white;
958 962 }
959 963 &[op="limited"] {
960 964 background: @grey2;
961 965 color: white;
962 966 }
963 967 &[op="binary"] {
964 968 background: @color7;
965 969 color: white;
966 970 }
967 971 &[op="modified"] {
968 972 background: @alert1;
969 973 color: white;
970 974 }
971 975 &[op="renamed"] {
972 976 background: @color4;
973 977 color: white;
974 978 }
975 979 &[op="copied"] {
976 980 background: @color4;
977 981 color: white;
978 982 }
979 983 &[op="mode"] {
980 984 background: @grey3;
981 985 color: white;
982 986 }
983 987 &[op="symlink"] {
984 988 background: @color8;
985 989 color: white;
986 990 }
987 991
988 992 &[op="added"] { /* added lines */
989 993 background: @alert1;
990 994 color: white;
991 995 }
992 996 &[op="deleted"] { /* deleted lines */
993 997 background: @alert2;
994 998 color: white;
995 999 }
996 1000
997 1001 &[op="created"] { /* created file */
998 1002 background: @alert1;
999 1003 color: white;
1000 1004 }
1001 1005 &[op="removed"] { /* deleted file */
1002 1006 background: @color5;
1003 1007 color: white;
1004 1008 }
1005 1009 }
1006 1010 }
1007 1011
1008 1012
1009 1013 .filediff-outdated {
1010 1014 padding: 8px 0;
1011 1015
1012 1016 .filediff-heading {
1013 1017 opacity: .5;
1014 1018 }
1015 1019 }
1016 1020
1017 1021 table.cb {
1018 1022 width: 100%;
1019 1023 border-collapse: collapse;
1020 1024
1021 1025 .cb-text {
1022 1026 padding: @cb-text-padding;
1023 1027 }
1024 1028 .cb-hunk {
1025 1029 padding: @cb-text-padding;
1026 1030 }
1027 1031 .cb-expand {
1028 1032 display: none;
1029 1033 }
1030 1034 .cb-collapse {
1031 1035 display: inline;
1032 1036 }
1033 1037 &.cb-collapsed {
1034 1038 .cb-line {
1035 1039 display: none;
1036 1040 }
1037 1041 .cb-expand {
1038 1042 display: inline;
1039 1043 }
1040 1044 .cb-collapse {
1041 1045 display: none;
1042 1046 }
1043 1047 .cb-hunk {
1044 1048 display: none;
1045 1049 }
1046 1050 }
1047 1051
1048 1052 /* intentionally general selector since .cb-line-selected must override it
1049 1053 and they both use !important since the td itself may have a random color
1050 1054 generated by annotation blocks. TLDR: if you change it, make sure
1051 1055 annotated block selection and line selection in file view still work */
1052 1056 .cb-line-fresh .cb-content {
1053 1057 background: white !important;
1054 1058 }
1055 1059 .cb-warning {
1056 1060 background: #fff4dd;
1057 1061 }
1058 1062
1059 1063 &.cb-diff-sideside {
1060 1064 td {
1061 1065 &.cb-content {
1062 1066 width: 50%;
1063 1067 }
1064 1068 }
1065 1069 }
1066 1070
1067 1071 tr {
1068 1072 &.cb-annotate {
1069 1073 border-top: 1px solid #eee;
1070 1074 }
1071 1075
1072 1076 &.cb-comment-info {
1073 1077 border-top: 1px solid #eee;
1074 1078 color: rgba(0, 0, 0, 0.3);
1075 1079 background: #edf2f9;
1076 1080
1077 1081 td {
1078 1082
1079 1083 }
1080 1084 }
1081 1085
1082 1086 &.cb-hunk {
1083 1087 font-family: @text-monospace;
1084 1088 color: rgba(0, 0, 0, 0.3);
1085 1089
1086 1090 td {
1087 1091 &:first-child {
1088 1092 background: #edf2f9;
1089 1093 }
1090 1094 &:last-child {
1091 1095 background: #f4f7fb;
1092 1096 }
1093 1097 }
1094 1098 }
1095 1099 }
1096 1100
1097 1101
1098 1102 td {
1099 1103 vertical-align: top;
1100 1104 padding: 0;
1101 1105
1102 1106 &.cb-content {
1103 1107 font-size: 12.35px;
1104 1108
1105 1109 &.cb-line-selected .cb-code {
1106 1110 background: @comment-highlight-color !important;
1107 1111 }
1108 1112
1109 1113 span.cb-code {
1110 1114 line-height: @cb-line-height;
1111 1115 padding-left: @cb-line-code-padding;
1112 1116 padding-right: @cb-line-code-padding;
1113 1117 display: block;
1114 1118 white-space: pre-wrap;
1115 1119 font-family: @text-monospace;
1116 1120 word-break: break-all;
1117 1121 .nonl {
1118 1122 color: @color5;
1119 1123 }
1120 1124 .cb-action {
1121 1125 &:before {
1122 1126 content: " ";
1123 1127 }
1124 1128 &.cb-deletion:before {
1125 1129 content: "- ";
1126 1130 }
1127 1131 &.cb-addition:before {
1128 1132 content: "+ ";
1129 1133 }
1130 1134 }
1131 1135 }
1132 1136
1133 1137 &> button.cb-comment-box-opener {
1134 1138
1135 1139 padding: 2px 2px 1px 3px;
1136 1140 margin-left: -6px;
1137 1141 margin-top: -1px;
1138 1142
1139 1143 border-radius: @border-radius;
1140 1144 position: absolute;
1141 1145 display: none;
1142 1146 }
1143 1147 .cb-comment {
1144 1148 margin-top: 10px;
1145 1149 white-space: normal;
1146 1150 }
1147 1151 }
1148 1152 &:hover {
1149 1153 button.cb-comment-box-opener {
1150 1154 display: block;
1151 1155 }
1152 1156 &+ td button.cb-comment-box-opener {
1153 1157 display: block
1154 1158 }
1155 1159 }
1156 1160
1157 1161 &.cb-data {
1158 1162 text-align: right;
1159 1163 width: 30px;
1160 1164 font-family: @text-monospace;
1161 1165
1162 1166 .icon-comment {
1163 1167 cursor: pointer;
1164 1168 }
1165 1169 &.cb-line-selected {
1166 1170 background: @comment-highlight-color !important;
1167 1171 }
1168 1172 &.cb-line-selected > div {
1169 1173 display: block;
1170 1174 background: @comment-highlight-color !important;
1171 1175 line-height: @cb-line-height;
1172 1176 color: rgba(0, 0, 0, 0.3);
1173 1177 }
1174 1178 }
1175 1179
1176 1180 &.cb-lineno {
1177 1181 padding: 0;
1178 1182 width: 50px;
1179 1183 color: rgba(0, 0, 0, 0.3);
1180 1184 text-align: right;
1181 1185 border-right: 1px solid #eee;
1182 1186 font-family: @text-monospace;
1183 1187 -webkit-user-select: none;
1184 1188 -moz-user-select: none;
1185 1189 user-select: none;
1186 1190
1187 1191 a::before {
1188 1192 content: attr(data-line-no);
1189 1193 }
1190 1194 &.cb-line-selected {
1191 1195 background: @comment-highlight-color !important;
1192 1196 }
1193 1197
1194 1198 a {
1195 1199 display: block;
1196 1200 padding-right: @cb-line-code-padding;
1197 1201 padding-left: @cb-line-code-padding;
1198 1202 line-height: @cb-line-height;
1199 1203 color: rgba(0, 0, 0, 0.3);
1200 1204 }
1201 1205 }
1202 1206
1203 1207 &.cb-empty {
1204 1208 background: @grey7;
1205 1209 }
1206 1210
1207 1211 ins {
1208 1212 color: black;
1209 1213 background: #a6f3a6;
1210 1214 text-decoration: none;
1211 1215 }
1212 1216 del {
1213 1217 color: black;
1214 1218 background: #f8cbcb;
1215 1219 text-decoration: none;
1216 1220 }
1217 1221 &.cb-addition {
1218 1222 background: #ecffec;
1219 1223
1220 1224 &.blob-lineno {
1221 1225 background: #ddffdd;
1222 1226 }
1223 1227 }
1224 1228 &.cb-deletion {
1225 1229 background: #ffecec;
1226 1230
1227 1231 &.blob-lineno {
1228 1232 background: #ffdddd;
1229 1233 }
1230 1234 }
1231 1235 &.cb-annotate-message-spacer {
1232 1236 width:8px;
1233 1237 padding: 1px 0px 0px 3px;
1234 1238 }
1235 1239 &.cb-annotate-info {
1236 1240 width: 320px;
1237 1241 min-width: 320px;
1238 1242 max-width: 320px;
1239 1243 padding: 5px 2px;
1240 1244 font-size: 13px;
1241 1245
1242 1246 .cb-annotate-message {
1243 1247 padding: 2px 0px 0px 0px;
1244 1248 white-space: pre-line;
1245 1249 overflow: hidden;
1246 1250 }
1247 1251 .rc-user {
1248 1252 float: none;
1249 1253 padding: 0 6px 0 17px;
1250 1254 min-width: unset;
1251 1255 min-height: unset;
1252 1256 }
1253 1257 }
1254 1258
1255 1259 &.cb-annotate-revision {
1256 1260 cursor: pointer;
1257 1261 text-align: right;
1258 1262 padding: 1px 3px 0px 3px;
1259 1263 }
1260 1264 }
1261 1265 }
@@ -1,481 +1,481 b''
1 1 // summary.less
2 2 // For use in RhodeCode applications;
3 3 // Used for headers and file detail summary screens.
4 4
5 5 .summary {
6 6 clear: both;
7 7 float: none;
8 8 position: relative;
9 9 width: 100%;
10 10 margin: 0;
11 11 padding: 0;
12 12 background: #FCFCFC;
13 13 border: 1px solid #EAEAEA;
14 14 border-radius: @border-radius;
15 15 margin-bottom: 20px;
16 16
17 17 .summary-detail-header {
18 18 display: block;
19 19 width: 100%;
20 20 margin-bottom: 10px;
21 21 padding: 0 0 .5em 0;
22 22 border-bottom: @border-thickness solid @border-default-color;
23 23
24 24 .breadcrumbs {
25 25 display: inline;
26 26 margin: 0;
27 27 padding: 0;
28 28 }
29 29
30 30 h4 {
31 31 margin: 0 1em 0 0;
32 32 padding: 10px 0 5px 20px;
33 33 line-height: 1.2em;
34 34 font-size: @basefontsize;
35 35 }
36 36
37 37 .action_link {
38 38 float: right;
39 39 }
40 40
41 41 .new-file {
42 42 float: right;
43 43 margin-top: -1.5em;
44 44 }
45 45 }
46 46
47 47 .summary-detail {
48 48 float: none;
49 49 position: relative;
50 50 width: 100%;
51 51 margin: 0;
52 52 padding: 0 0 20px 0;
53 53
54 54 .file_diff_buttons {
55 55 margin-top: @space;
56 56 }
57 57
58 58 // commit message
59 59 .commit {
60 60 white-space: pre-wrap;
61 61 }
62 62
63 63 .left-clone {
64 64 float: left;
65 65 height: 30px;
66 66 margin: 0;
67 67 padding: 0;
68 68 width: 130px;
69 69 font-weight: @text-semibold-weight;
70 70 font-family: @text-semibold;
71 71 }
72 72 .left-clone select {
73 73 width: 130px;
74 74 margin-right: 0;
75 75 background-color: @grey7;
76 76 border-color: @grey4;
77 77 color: #5C5C5C;
78 78 border-top-right-radius: 0;
79 79 border-bottom-right-radius: 0;
80 80 }
81 81
82 82 .right-clone {
83 83 float: left;
84 84 width: ~"calc(100% - 170px)";
85 85
86 86 .clipboard-action {
87 87 margin-left: -30px;
88 88 }
89 89 }
90 90
91 91 .clone_url_input {
92 92 width: ~"calc(100% - 90px)";
93 93 padding: 6px 30px 6px 10px;
94 94 height: 14px;
95 95 box-shadow: 0 1px 1px 0 rgba(0,0,0,0.07);
96 96 border-top-left-radius: 0;
97 97 border-bottom-left-radius: 0;
98 98 margin-left: -1px;
99 99 }
100 100
101 101 &.directory {
102 102 margin-bottom: 0;
103 103 }
104 104
105 105 .desc {
106 106 white-space: pre-wrap;
107 107 }
108 108 .disabled {
109 109 opacity: .5;
110 110 cursor: inherit;
111 111 }
112 112 .help-block {
113 113 color: inherit;
114 114 margin: 0;
115 115 }
116 116 }
117 117
118 118 .sidebar-right {
119 119 float: left;
120 120 width: 24%;
121 121 margin: 0;
122 122 padding: 0;
123 123
124 124 ul {
125 125 margin-left: 0;
126 126 padding-left: 0;
127 127
128 128 li {
129 129 list-style-type: none;
130 130 }
131 131 }
132 132 }
133 133
134 134 #clone_by_name, #clone_by_id{
135 135 display: inline-block;
136 136 margin-left: 0px;
137 137 }
138 138
139 139 .codeblock {
140 140 border: none;
141 141 background-color: transparent;
142 142 }
143 143
144 144 .code-body {
145 145 border: @border-thickness solid @border-default-color;
146 146 .border-radius(@border-radius);
147 147 }
148 148
149 149 .btn-collapse {
150 150 clear: both;
151 151 float: none;
152 152 background: #F7F7F7;
153 153 text-align: center;
154 154 color: #949494;
155 155 font-size: 11px;
156 156
157 157 &:hover {
158 158 background: #f1f1f1;
159 159 color: #2B2B2D;
160 160 }
161 161 }
162 162 }
163 163
164 164 // this is used outside of just the summary
165 165 .fieldset, // similar to form fieldset
166 166 .summary .sidebar-right-content { // these have to match
167 167 clear: both;
168 168 float: none;
169 169 position: relative;
170 170 display:block;
171 171 width: 100%;
172 min-height: 1em;
172 min-height: 20px;
173 173 margin-bottom: 10px;
174 174 padding: 0;
175 175 line-height: 1.2em;
176 176
177 177 &:after { // clearfix
178 178 content: "";
179 179 clear: both;
180 180 width: 100%;
181 181 height: 1em;
182 182 }
183 183 }
184 184
185 185 .summary .sidebar-right-content {
186 186 margin-bottom: 0;
187 187
188 188 .rc-user {
189 189 min-width: 0;
190 190 }
191 191
192 192 li {
193 193 list-style: none;
194 194 line-height: normal;
195 195 }
196 196 }
197 197
198 198 .summary {
199 199 .fieldset {
200 200 margin-bottom: 0;
201 201 }
202 202 }
203 203
204 204 .fieldset {
205 205
206 206 .left-label { // similar to form legend
207 207 display: block;
208 208 margin: 0;
209 209 padding: 0;
210 210 font-weight: @text-semibold-weight;
211 211 font-family: @text-semibold;
212 212 }
213 213
214 214 .left-label-summary {
215 215 padding-left: 20px;
216 216 margin-bottom: 5px;
217 217
218 218 p {
219 219 margin-bottom: 5px;
220 220 color: @grey1;
221 221 float: left;
222 222 width: 130px;
223 223
224 224 &.spacing {
225 225 margin-top: 10px;
226 226 }
227 227 }
228 228
229 229 .right-label-summary {
230 230 float: left;
231 231 margin-top: 7px;
232 232 width: ~"calc(100% - 160px)";
233 233 }
234 234 }
235 235
236 236 .left-label-summary-files {
237 237 padding-left: 45px;
238 238 margin-top: 5px;
239 239
240 240 p {
241 241 margin-bottom: 5px;
242 242 color: @grey1;
243 243 float: left;
244 244 width: 130px;
245 245
246 246 &.spacing {
247 247 margin-top: 10px;
248 248 }
249 249 }
250 250
251 251 .right-label-summary {
252 252 float: left;
253 253 margin-top: 7px;
254 254 }
255 255 }
256 256
257 257 .left-content {
258 258 width: ~"calc(60% - 20px)";
259 259 float: left;
260 260 margin: 15px 0 15px 20px;
261 261
262 262 .rc-user {
263 263 min-width: auto;
264 264 max-width: none;
265 265 min-height: auto;
266 266 padding-right: 5px;
267 267 }
268 268
269 269 .left-content-avatar {
270 270 width: 45px;
271 271 float: left;
272 272 margin-top: 8px;
273 273 }
274 274
275 275 .left-content-message {
276 276 float: left;
277 277 width: ~"calc(100% - 45px)";
278 278 }
279 279 }
280 280
281 281 .right-content { // similar to form fields
282 282 float: left;
283 283 display: block;
284 284 width: ~"calc(40% - 20px)";
285 285 text-align: right;
286 286 margin: 15px 20px 15px 0;
287 287
288 288 .truncate-wrap,
289 289 .truncate {
290 290 max-width: 100%;
291 291 width: 100%;
292 292 }
293 293
294 294 .commit-long {
295 295 overflow-x: auto;
296 296 }
297 297
298 298 .commit-info {
299 299 margin-top: 7px;
300 300 }
301 301
302 302 .tag, .tagtag, .branchtag, .booktag, .metatag, .perm_tag {
303 303 background:transparent;
304 304 border: none;
305 305 box-shadow: none;
306 306 margin-left: 10px;
307 307 font-size: 13px;
308 308 }
309 309
310 310 .tag span, .tag i {
311 311 color: @grey1;
312 312 }
313 313 }
314 314 .commit {
315 315 color: @grey1;
316 316 margin-bottom: 5px;
317 317 white-space: pre;
318 318 }
319 319 .commit.truncate-wrap {
320 320 overflow:hidden;
321 321 text-overflow: ellipsis;
322 322 }
323 323 .commit-author {
324 324 color: @grey1;
325 325 }
326 326 .commit-date {
327 327 color: @grey4;
328 328 }
329 329 }
330 330
331 331 // expand commit message
332 332 #message_expand {
333 333 clear: both;
334 334 display: block;
335 335 color: @rcblue;
336 336 cursor: pointer;
337 337 }
338 338
339 339 #trimmed_message_box {
340 340 max-height: floor(2 * @basefontsize * 1.2); // 2 lines * line-height
341 341 overflow: hidden;
342 342 }
343 343
344 344 // show/hide comments button
345 345 .show-inline-comments {
346 346 display: inline;
347 347 cursor: pointer;
348 348
349 349 .comments-show { display: inline; }
350 350 .comments-hide { display: none; }
351 351
352 352 &.comments-visible {
353 353 .comments-show { display: none; }
354 354 .comments-hide { display: inline; }
355 355 }
356 356 }
357 357
358 358 // Quick Start section
359 359
360 360 .empty-repo {
361 361 border: 1px solid #EAEAEA;
362 362 border-bottom: 0;
363 363 border-radius: @border-radius;
364 364 padding: 0 20px;
365 365 }
366 366
367 367 .empty-repo h3, .quick_start p {
368 368 margin-bottom: 10px;
369 369 }
370 370
371 371 .quick_start pre {
372 372 background: #FCFEFF;
373 373 border: 1px solid #CBDBEB;
374 374 box-shadow: @button-shadow;
375 375 padding: 10px 15px;
376 376 border-radius: 4px;
377 377 color: @grey2;
378 378 }
379 379
380 380 .clear-fix {
381 381 clear: both;
382 382 }
383 383
384 384 .quick_start {
385 385 display: block;
386 386 position: relative;
387 387 border: 1px solid #EAEAEA;
388 388 border-top: 0;
389 389 border-radius: @border-radius;
390 390 padding: 0 20px;
391 391
392 392 // adds some space to make copy and paste easier
393 393 .left-label,
394 394 .right-content {
395 395 line-height: 1.6em;
396 396 }
397 397 }
398 398
399 399
400 400 .submodule {
401 401 .summary-detail {
402 402 width: 100%;
403 403
404 404 .btn-collapse {
405 405 display: none;
406 406 }
407 407 }
408 408 }
409 409
410 410 .codeblock-header {
411 411 float: left;
412 412 display: block;
413 413 width: 100%;
414 414 margin: 0;
415 415
416 416 .file-filename {
417 417 float:left;
418 418 padding: 10px;
419 419 }
420 420
421 421 .file-stats {
422 422 padding: 10px;
423 423 float:right;
424 424 }
425 425
426 426
427 427 .stats-first-item {
428 428 padding: 0px 0px 0px 3px;
429 429 }
430 430
431 431 .stats-info {
432 432 font-size: 11px;
433 433 color: @grey4;
434 434 }
435 435
436 436 .buttons {
437 437 float: right;
438 438 text-align: right;
439 439 color: @grey4;
440 440 padding: 10px;
441 441 }
442 442
443 443 .file-container {
444 444 display: inline-block;
445 445 width: 100%;
446 446 }
447 447
448 448 }
449 449
450 450 #summary-menu-stats {
451 451
452 452 .stats-bullet {
453 453 color: @grey3;
454 454 min-width: 3em;
455 455 }
456 456
457 457 .repo-size {
458 458 margin-bottom: .5em;
459 459 }
460 460
461 461 }
462 462
463 463 .rctable.repo_summary {
464 464 border: 1px solid #eaeaea;
465 465 border-radius: 2px;
466 466 border-collapse: inherit;
467 467 border-bottom: 0;
468 468
469 469 th {
470 470 background: @grey7;
471 471 border-bottom: 0;
472 472 }
473 473
474 474 td {
475 475 border-color: #eaeaea;
476 476 }
477 477
478 478 td.td-status {
479 479 padding: 0 0 0 10px;
480 480 }
481 481 }
@@ -1,46 +1,46 b''
1 1 <%namespace name="base" file="/base/base.mako"/>
2 2 <%namespace name="file_base" file="/files/base.mako"/>
3 3
4 4 <div class="summary">
5 5 <div class="fieldset">
6 6 <div class="left-content">
7 7
8 8 <div class="left-content-avatar">
9 9 ${base.gravatar(c.commit.author_email, 30)}
10 10 </div>
11 11
12 12 <div class="left-content-message">
13 13 <div class="fieldset collapsable-content no-hide" data-toggle="summary-details">
14 14 <div class="commit truncate-wrap">${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div>
15 15 </div>
16 16
17 17 <div class="fieldset collapsable-content" data-toggle="summary-details">
18 18 <div class="commit">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div>
19 19 </div>
20 20
21 <div class="clear-fix">
21 <div class="fieldset clear-fix">
22 22 <span class="commit-author">${h.link_to_user(c.commit.author)}</span><span class="commit-date"> - ${h.age_component(c.commit.date)}</span>
23 23 </div>
24 24 </div>
25 25 </div>
26 26
27 27 <div class="right-content">
28 28 <div class="tags commit-info">
29 29 <code>
30 30 <a href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=c.commit.raw_id)}">${h.show_id(c.commit)}</a>
31 31 </code>
32 32
33 33 ${file_base.refs(c.commit)}
34 34 </div>
35 35 </div>
36 36
37 37 <div class="clear-fix"></div>
38 38
39 39 <div class="btn-collapse" data-toggle="summary-details">
40 40 ${_('Show More')}
41 41 </div>
42 42 </div>
43 43 </div>
44 44 <script>
45 45 collapsableContent();
46 46 </script>
General Comments 0
You need to be logged in to leave comments. Login now