mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-13 00:45:49 +01:00
Extract CSS styles from milestones.scala.html.
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
<ul class="nav nav-pills nav-stacked">
|
||||
<li@if(state == "open"){ class="active"}>
|
||||
<a href="?state=open">
|
||||
<span style="float: right; font-weight: bold;">@milestones.filter(_.closedDate.isEmpty).size</span>
|
||||
<span class="count-right">@milestones.filter(_.closedDate.isEmpty).size</span>
|
||||
Open Milestones
|
||||
</a>
|
||||
</li>
|
||||
<li@if(state == "closed"){ class="active"}>
|
||||
<a href="?state=closed">
|
||||
<span style="float: right; font-weight: bold;">@milestones.filter(_.closedDate.isDefined).size</span>
|
||||
<span class="count-right">@milestones.filter(_.closedDate.isDefined).size</span>
|
||||
Closed Milestones
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -70,6 +70,11 @@ a.omit:hover {
|
||||
background-color: #aaa;
|
||||
}
|
||||
|
||||
span.count-right {
|
||||
float: right;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.monospace {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user