Skip to content

The Unified and Autonomous Development Platform

midwork

robin shine2cd5f804c45f
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/base.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/base.css
index 75c6afceb1..0837e1c65c 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/base.css
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/base.css
@@ -50,6 +50,14 @@ form>.actions>:last-child {
color: #777;
}
+.middot:before {
+ content: ".";
+ font-size: 20px;
+ line-height: 12px;
+ vertical-align: top;
+ color: #666;
+}
+
.input-group>.form-control+.btn.input-group-addon {
border-radius: 0 4px 4px 0;
border-left: none;
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/branches/RepoBranchesPage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/branches/RepoBranchesPage.html
index dba355e8db..7c98adc498 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/branches/RepoBranchesPage.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/branches/RepoBranchesPage.html
@@ -24,9 +24,9 @@
<div class="commit">
<i class="fa fa-ext fa-commit"></i>
<span wicket:id="commitHash"></span>
- <span class="separator">&middot;</span>
+ <span class="middot"></span>
<a wicket:id="commitLink"><span wicket:id="shortMessage"></span></a>
- <span class="separator">&middot;</span>
+ <span class="middot"></span>
<span wicket:id="age"></span>
</div>
</td>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/branches/repo-branches.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/branches/repo-branches.css
index 1dcee2d70d..fdd592b3eb 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/branches/repo-branches.css
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/branches/repo-branches.css
@@ -78,17 +78,13 @@
font-size: 16px;
}
#repo-branches>.body>table td.detail .commit {
- margin-top: 4px;
+ margin: 8px 0;
font-size: 12px;
color: #666;
}
#repo-branches>.body>table td.detail .commit .fa {
color: #666;
}
-#repo-branches>.body>table td.detail .commit .separator {
- font-size: 20px;
- vertical-align: middle;
-}
#repo-branches>.body>table td.detail input.commit-hash {
border: 1px dotted #999;
}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/tags/RepoTagsPage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/tags/RepoTagsPage.html
index e49c80204c..466e86be35 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/tags/RepoTagsPage.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/tags/RepoTagsPage.html
@@ -22,7 +22,7 @@
<div class="commit">
<i class="fa fa-ext fa-commit"></i>
<span wicket:id="hash"></span>
- <span class="separator">&middot;</span>
+ <span class="middot"></span>
<a wicket:id="commitLink"><span wicket:id="shortMessage"></span></a>
</div>
</td>
@@ -35,9 +35,9 @@
</div>
</section>
<wicket:fragment wicket:id="annotatedFrag">
- <span class="separator">&middot;</span>
+ <span class="middot"></span>
<span wicket:id="date"></span>
- <span class="separator">&middot;</span>
+ <span class="middot"></span>
<a wicket:id="author"></a>
<a wicket:id="messageToggle" class="ellipsis-expander"><i class="fa fa-ellipsis-h"></i></a>
<pre wicket:id="message" class="message"></pre>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/tags/repo-tags.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/tags/repo-tags.css
index d9a9476634..9e6fcbc599 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/tags/repo-tags.css
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/tags/repo-tags.css
@@ -17,11 +17,6 @@
#repo-tags>.body>table td {
white-space: nowrap;
}
-#repo-tags .tag .separator {
- font-size: 20px;
- vertical-align: middle;
- line-height: 10px;
-}
#repo-tags .tag a.name {
font-weight: bold;
font-size: 16px;
@@ -43,10 +38,6 @@
#repo-tags .commit input {
border: 1px dotted #999;
}
-#repo-tags .commit .separator {
- font-size: 20px;
- vertical-align: middle;
-}
#repo-tags>.body>table td.actions {
width: 1%;
text-align: right;
@@ -62,6 +53,6 @@
font-size: 13px;
color: #666;
}
-#repo-tags>.body>table td.detail>div {
- margin-top: 4px;
+#repo-tags>.body>table td.detail .commit {
+ margin: 8px 0;
}