summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-09-18 12:12:52 -0400
committerJames Moger <james.moger@gitblit.com>2013-09-18 12:12:52 -0400
commitcba235ff73f5eff90f6e178104466fa22271b053 (patch)
tree5af2893762eaf9e8e419bd6f05082c54eaeeb1f8 /src
parent0c5cee25a1d9019de2d92427fda886a28076aa01 (diff)
downloadgitblit-cba235ff73f5eff90f6e178104466fa22271b053.tar.gz
gitblit-cba235ff73f5eff90f6e178104466fa22271b053.zip
CSS tweaks for responsive layout
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/TreePage.html2
-rw-r--r--src/main/java/com/gitblit/wicket/panels/LogPanel.html6
-rw-r--r--src/main/resources/gitblit.css7
3 files changed, 8 insertions, 7 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/TreePage.html b/src/main/java/com/gitblit/wicket/pages/TreePage.html
index b7e55ed6..282e28f8 100644
--- a/src/main/java/com/gitblit/wicket/pages/TreePage.html
+++ b/src/main/java/com/gitblit/wicket/pages/TreePage.html
@@ -21,7 +21,7 @@
<!-- changed paths -->
<table style="width:100%" class="pretty">
<tr wicket:id="changedPath">
- <td class="icon"><img wicket:id="pathIcon" /></td>
+ <td class="hidden-phone icon"><img wicket:id="pathIcon" /></td>
<td><span wicket:id="pathName"></span></td>
<td class="hidden-phone size"><span wicket:id="pathSize">[path size]</span></td>
<td class="hidden-phone mode"><span wicket:id="pathPermissions">[path permissions]</span></td>
diff --git a/src/main/java/com/gitblit/wicket/panels/LogPanel.html b/src/main/java/com/gitblit/wicket/panels/LogPanel.html
index fde9a3e7..a2444a4a 100644
--- a/src/main/java/com/gitblit/wicket/panels/LogPanel.html
+++ b/src/main/java/com/gitblit/wicket/panels/LogPanel.html
@@ -22,13 +22,13 @@
</tr>
<tr class="commit" wicket:id="commit">
<td class="date" style="width:6em;"><span wicket:id="commitDate">[commit date]</span></td>
- <td class="hidden-phone author ellipsize"><span wicket:id="commitAuthor">[commit author]</span></td>
- <td class="hidden-phone icon"><img wicket:id="commitIcon" /></td>
+ <td class="hidden-phone author"><span wicket:id="commitAuthor">[commit author]</span></td>
+ <td class="hidden-phone icon"><img wicket:id="commitIcon" /></td>
<td class="message ellipsize">
<table class="nestedTable">
<tr>
<td class="ellipsize"><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>
+ <td class="hidden-phone"><div style="text-align:right;" wicket:id="commitRefs">[commit refs]</div></td>
</tr>
</table>
</td>
diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css
index eef0d0b5..05e6b8ae 100644
--- a/src/main/resources/gitblit.css
+++ b/src/main/resources/gitblit.css
@@ -1131,7 +1131,7 @@ table.pretty td.icon {
}
table.pretty td.icon img {
- vertical-align: top;
+ vertical-align: middle;
}
table.pretty td {
@@ -1159,7 +1159,7 @@ table.pretty tr.commit {
height: 24px;
}
-@media (min-width: 768px) {
+@media (min-width: 979px) {
td.ellipsize {
text-overflow: ellipsis;
overflow: hidden;
@@ -1167,7 +1167,7 @@ table.pretty tr.commit {
}
}
-@media (max-width: 767px) {
+@media (max-width: 979px) {
td.ellipsize {
text-overflow: inherit;
overflow: visible;
@@ -1324,6 +1324,7 @@ tr.dark:hover a {
td.author {
font-style: italic !important;
+ white-space: nowrap;
}
td.date {