]> source.dussan.org Git - gitblit.git/commitdiff
Tweak css of short commit id in log and history views
authorJames Moger <james.moger@gitblit.com>
Thu, 29 Nov 2012 22:11:58 +0000 (17:11 -0500)
committerJames Moger <james.moger@gitblit.com>
Thu, 29 Nov 2012 22:11:58 +0000 (17:11 -0500)
resources/gitblit.css
src/com/gitblit/wicket/panels/HistoryPanel.html
src/com/gitblit/wicket/panels/HistoryPanel.java
src/com/gitblit/wicket/panels/LogPanel.html
src/com/gitblit/wicket/panels/LogPanel.java

index e5363c852c980142ce0a69bc21c78ee274acb15f..811b08a52fc5739ea2ace09a0a2c030862bfef62 100644 (file)
@@ -984,11 +984,15 @@ td.date {
        white-space: nowrap;\r
 }\r
 \r
-span.sha1, span.sha1 a, span.sha1 a span, .commit_message {\r
+span.sha1, span.sha1 a, span.sha1 a span, .commit_message, span.shortsha1 {\r
        font-family: consolas, monospace;\r
        font-size: 13px;\r
 }\r
 \r
+span.shortsha1 {\r
+       font-size: 12px;\r
+}\r
+\r
 td.mode {\r
        text-align: right;\r
        font-family: monospace;\r
index fed0807694157a2c34ddf4876f194feaba0cb438..811eeed1c0e7a2f15b8bc0eb563ed0e78b6ab3c4 100644 (file)
@@ -20,7 +20,7 @@
                        <td class="icon"><img wicket:id="commitIcon" /></td>\r
                        <td class="hidden-phone author"><span wicket:id="commitAuthor">[commit author]</span></td>\r
                        <td class="message"><table class="nestedTable"><tr><td><span style="vertical-align:middle;" wicket:id="commitShortMessage">[commit short message]</span></td><td><div style="text-align:right;" wicket:id="commitRefs">[commit refs]</div></td></tr></table></td>\r
-                       <td class="hidden-phone hidden-tablet"><span class="link" wicket:id="hashLabel">[hash label]</span><span wicket:id="hashLink">[hash link]</span></td>\r
+                       <td class="hidden-phone hidden-tablet rightAlign"><span class="link" wicket:id="hashLabel">[hash label]</span><span wicket:id="hashLink">[hash link]</span></td>\r
                        <td class="hidden-phone rightAlign">\r
                                <span wicket:id="historyLinks">[history links]</span>\r
                                </td>\r
index 152bbae6c46a6ba86f7eb5cb5ee60b3b4a55ed41..0f586031129b78972dfcea4406e15e163eb35883 100644 (file)
@@ -171,7 +171,7 @@ public class HistoryPanel extends BasePanel {
                                        LinkPanel commitHash = new LinkPanel("hashLink", null, entry.getName().substring(0, hashLen),\r
                                                        TreePage.class, WicketUtils.newObjectParameter(\r
                                                                        repositoryName, entry.getName()));\r
-                                       WicketUtils.setCssClass(commitHash, "sha1");\r
+                                       WicketUtils.setCssClass(commitHash, "shortsha1");\r
                                        WicketUtils.setHtmlTooltip(commitHash, entry.getName());                                        \r
                                        item.add(commitHash);\r
                                        \r
index d0770a359a89f40b2e19bcb8ce464e25e30c6bb3..2b2605ac93736c2bd2ef622a25e11a56fa7a5801 100644 (file)
@@ -16,7 +16,7 @@
                        <td class="hidden-phone author"><span wicket:id="commitAuthor">[commit author]</span></td>\r
                        <td class="hidden-phone icon"><img wicket:id="commitIcon" /></td>\r
                        <td class="message"><table class="nestedTable"><tr><td><span style="vertical-align:middle;" wicket:id="commitShortMessage">[commit short message]</span></td><td><div style="text-align:right;" wicket:id="commitRefs">[commit refs]</div></td></tr></table></td>\r
-                       <td class="hidden-phone hidden-tablet"><span wicket:id="hashLink">[hash link]</span></td>\r
+                       <td class="hidden-phone hidden-tablet rightAlign"><span wicket:id="hashLink">[hash link]</span></td>\r
                        <td class="hidden-phone hidden-tablet rightAlign">\r
                                <span class="link">\r
                                                <a wicket:id="diff"><wicket:message key="gb.diff"></wicket:message></a> | <a wicket:id="tree"><wicket:message key="gb.tree"></wicket:message></a>\r
index 0686dee6a9fdead3d9f9b611ad06d911332af62d..05397642866dd1739cae6452daace6ed81894c6f 100644 (file)
@@ -131,7 +131,7 @@ public class LogPanel extends BasePanel {
                                LinkPanel commitHash = new LinkPanel("hashLink", null, entry.getName().substring(0, hashLen),\r
                                                CommitPage.class, WicketUtils.newObjectParameter(\r
                                                                repositoryName, entry.getName()));\r
-                               WicketUtils.setCssClass(commitHash, "sha1");\r
+                               WicketUtils.setCssClass(commitHash, "shortsha1");\r
                                WicketUtils.setHtmlTooltip(commitHash, entry.getName());\r
                                item.add(commitHash);\r
                                \r