##// END OF EJS Templates
file summary and codeblock styles adjustments
Liviu -
r3668:8a8aadb3 new-ui
parent child Browse files
Show More
@@ -408,8 +408,8 b' div.codeblock {'
408 408
409 409 overflow: auto;
410 410 padding: 0px;
411 border: @border-thickness solid @grey5;
412 background: @grey6;
411 border: @border-thickness solid #EAEAEA;
412 background: #f5f5f5;
413 413 .border-radius(@border-radius);
414 414
415 415 #remove_gist {
@@ -493,6 +493,10 b' div.codeblock {'
493 493 width: 100%;
494 494 }
495 495 }
496
497 .codeblock-header {
498 border-bottom: 1px solid #eaeaea;
499 }
496 500 }
497 501
498 502 .code-highlighttable,
@@ -516,7 +516,7 b' ul.auth_plugins {'
516 516 text-align: center;
517 517 vertical-align: middle;
518 518 color: @grey2;
519 background-color: @grey6;
519 font-size: 11px;
520 520
521 521 p {
522 522 margin: 0;
@@ -228,6 +228,23 b''
228 228 }
229 229 }
230 230
231 .left-label-summary-files {
232 padding-left: 45px;
233 margin-top: 5px;
234
235 p {
236 margin-bottom: 5px;
237 color: @grey1;
238 float: left;
239 width: 130px;
240 }
241
242 .right-label-summary {
243 float: left;
244 margin-top: 7px;
245 }
246 }
247
231 248 .left-content {
232 249 width: ~"calc(60% - 20px)";
233 250 float: left;
@@ -386,11 +403,10 b''
386 403 display: block;
387 404 width: 100%;
388 405 margin: 0;
389 padding: @space 0 10px 0;
390 border-top: @border-thickness solid @border-default-color;
391 406
392 407 .stats {
393 408 float: left;
409 padding: 10px;
394 410 }
395 411 .stats-filename {
396 412 font-size: 120%;
@@ -399,10 +415,17 b''
399 415 padding: 0px 0px 0px 3px;
400 416 }
401 417
418 .stats-info {
419 margin-top: 5px;
420 color: @grey4;
421 }
422
402 423 .buttons {
403 424 float: right;
404 425 text-align: right;
405 426 color: @grey4;
427 padding: 10px;
428 margin-top: 15px;
406 429 }
407 430
408 431 .file-container {
@@ -16,11 +16,12 b''
16 16 <span title="${_('This file is a pointer to large binary file')}"> | ${_('LargeFile')} ${h.format_byte_size_binary(c.lf_node.size)} </span>
17 17 % endif
18 18
19 <div class="stats-info">
19 20 <span class="stats-first-item">${c.file.lines()[0]} ${_ungettext('line', 'lines', c.file.lines()[0])}</span>
20 21 <span> | ${h.format_byte_size_binary(c.file.size)}</span>
21 22 <span> | ${c.file.mimetype} </span>
22 23 <span> | ${h.get_lexer_for_filenode(c.file).__class__.__name__}</span>
23
24 </div>
24 25 </div>
25 26 <div class="buttons">
26 27 <a id="file_history_overview" href="#">
@@ -27,9 +27,9 b''
27 27 </div>
28 28
29 29 <div class="fieldset collapsable-content" data-toggle="summary-details">
30 <div class="">
31 <div class="tags">
32 ${_('File last commit')}
30 <div class="left-label-summary-files">
31 <p>${_('File last commit')}</p>
32 <div class="right-label-summary">
33 33 <code><a href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=c.file_last_commit.raw_id)}">${h.show_id(c.file_last_commit)}</a></code>
34 34
35 35 ${file_base.refs(c.file_last_commit)}
@@ -39,25 +39,27 b''
39 39
40 40
41 41 <div class="fieldset collapsable-content" data-toggle="summary-details">
42 <div class="">
43 ${_('Show/Diff file')}
42 <div class="left-label-summary-files">
43 <p>${_('Show/Diff file')}</p>
44 <div class="right-label-summary">
44 45 ${h.hidden('diff1')}
45 46 ${h.hidden('diff2',c.commit.raw_id)}
46 47 ${h.hidden('annotate', c.annotate)}
47 48 </div>
48 49 </div>
50 </div>
49 51
50 52
51 53 <div class="fieldset collapsable-content" data-toggle="summary-details">
52 <div class="">
53 ${_('Action')}:
54 </div>
55 <div class="">
54 <div class="left-label-summary-files">
55 <p>${_('Action')}</p>
56 <div class="right-label-summary">
56 57 ${h.submit('diff_to_commit',_('Diff to Commit'),class_="btn disabled",disabled="true")}
57 58 ${h.submit('show_at_commit',_('Show at Commit'),class_="btn disabled",disabled="true")}
58 59 </div>
59 60 </div>
60 61 </div>
62 </div>
61 63
62 64 <div class="right-content">
63 65 <div data-toggle="summary-details">
General Comments 0
You need to be logged in to leave comments. Login now