diff --git a/rhodecode/public/css/code-block.less b/rhodecode/public/css/code-block.less --- a/rhodecode/public/css/code-block.less +++ b/rhodecode/public/css/code-block.less @@ -408,8 +408,8 @@ div.codeblock { overflow: auto; padding: 0px; - border: @border-thickness solid @grey5; - background: @grey6; + border: @border-thickness solid #EAEAEA; + background: #f5f5f5; .border-radius(@border-radius); #remove_gist { @@ -493,6 +493,10 @@ div.codeblock { width: 100%; } } + + .codeblock-header { + border-bottom: 1px solid #eaeaea; + } } .code-highlighttable, diff --git a/rhodecode/public/css/main.less b/rhodecode/public/css/main.less --- a/rhodecode/public/css/main.less +++ b/rhodecode/public/css/main.less @@ -516,7 +516,7 @@ ul.auth_plugins { text-align: center; vertical-align: middle; color: @grey2; - background-color: @grey6; + font-size: 11px; p { margin: 0; diff --git a/rhodecode/public/css/summary.less b/rhodecode/public/css/summary.less --- a/rhodecode/public/css/summary.less +++ b/rhodecode/public/css/summary.less @@ -228,6 +228,23 @@ } } + .left-label-summary-files { + padding-left: 45px; + margin-top: 5px; + + p { + margin-bottom: 5px; + color: @grey1; + float: left; + width: 130px; + } + + .right-label-summary { + float: left; + margin-top: 7px; + } + } + .left-content { width: ~"calc(60% - 20px)"; float: left; @@ -386,11 +403,10 @@ display: block; width: 100%; margin: 0; - padding: @space 0 10px 0; - border-top: @border-thickness solid @border-default-color; .stats { float: left; + padding: 10px; } .stats-filename { font-size: 120%; @@ -399,10 +415,17 @@ padding: 0px 0px 0px 3px; } + .stats-info { + margin-top: 5px; + color: @grey4; + } + .buttons { float: right; text-align: right; color: @grey4; + padding: 10px; + margin-top: 15px; } .file-container { diff --git a/rhodecode/templates/files/files_source.mako b/rhodecode/templates/files/files_source.mako --- a/rhodecode/templates/files/files_source.mako +++ b/rhodecode/templates/files/files_source.mako @@ -3,24 +3,25 @@
- - - - ${c.file.unicode_path_safe} - - - -
+ + + + ${c.file.unicode_path_safe} + + + +
- % if c.lf_node: - | ${_('LargeFile')} ${h.format_byte_size_binary(c.lf_node.size)} - % endif + % if c.lf_node: + | ${_('LargeFile')} ${h.format_byte_size_binary(c.lf_node.size)} + % endif - ${c.file.lines()[0]} ${_ungettext('line', 'lines', c.file.lines()[0])} - | ${h.format_byte_size_binary(c.file.size)} - | ${c.file.mimetype} - | ${h.get_lexer_for_filenode(c.file).__class__.__name__} - +
+ ${c.file.lines()[0]} ${_ungettext('line', 'lines', c.file.lines()[0])} + | ${h.format_byte_size_binary(c.file.size)} + | ${c.file.mimetype} + | ${h.get_lexer_for_filenode(c.file).__class__.__name__} +
-
-
- ${_('File last commit')} - ${h.show_id(c.file_last_commit)} +
+

${_('File last commit')}

+
+ ${h.show_id(c.file_last_commit)} ${file_base.refs(c.file_last_commit)}
@@ -39,22 +39,24 @@
-
- ${_('Show/Diff file')} - ${h.hidden('diff1')} - ${h.hidden('diff2',c.commit.raw_id)} - ${h.hidden('annotate', c.annotate)} +
+

${_('Show/Diff file')}

+
+ ${h.hidden('diff1')} + ${h.hidden('diff2',c.commit.raw_id)} + ${h.hidden('annotate', c.annotate)} +
-
- ${_('Action')}: -
-
- ${h.submit('diff_to_commit',_('Diff to Commit'),class_="btn disabled",disabled="true")} - ${h.submit('show_at_commit',_('Show at Commit'),class_="btn disabled",disabled="true")} +
+

${_('Action')}

+
+ ${h.submit('diff_to_commit',_('Diff to Commit'),class_="btn disabled",disabled="true")} + ${h.submit('show_at_commit',_('Show at Commit'),class_="btn disabled",disabled="true")} +