Thu, 15 Oct 2020 11:42:43 +0200
fixes progress percentages always floored resulting in 1% open even if there are no open issues
1 /*
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3 *
4 * Copyright 2018 Mike Becker. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
20 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE.
27 *
28 */
30 .project-attributes {
31 margin-bottom: 2em;
32 }
34 .project-attributes .row > div + div {
35 padding-left: 2em;
36 }
38 span.phase-2 {
39 text-decoration: line-through;
40 }
42 .issue-progress-bar {
43 box-sizing: border-box;
44 width: 100%;
45 height: 0.5em;
46 display: flex;
47 position: relative;
48 border-style: solid;
49 border-width: 1pt;
50 border-color: #6060cc;
51 }
53 .issue-progress-bar .open {
54 height: 100%;
55 background: steelblue;
56 }
58 .issue-progress-bar .active {
59 height: 100%;
60 background: gold;
61 }
63 .issue-progress-bar .done {
64 height: 100%;
65 background: green;
66 }
68 .issue-tag, .version-tag {
69 padding: .1em 2ex .1em 2ex;
70 display: inline-block;
71 box-sizing: border-box;
72 border-style: solid;
73 border-width: 1pt;
74 border-color: silver;
75 border-radius: 4pt;
76 background: lightgray;
77 text-align: center;
78 font-weight: bolder;
79 font-size: x-small;
80 color: whitesmoke;
81 }
83 .issue-tag.Bug {
84 background: red;
85 }
87 .issue-tag.Improvement, .issue-tag.Feature {
88 background: limegreen;
89 }
91 .issue-tag.Task {
92 background: deepskyblue;
93 }
95 .issue-tag.Test {
96 background: lightskyblue;
97 }
99 .issue-tag.phase-0 {
100 background: steelblue;
101 }
103 .issue-tag.phase-1 {
104 background: gold;
105 color: black;
106 }
108 .issue-tag.phase-2 {
109 background: green;
110 }
112 div.version-icon {
113 display: inline-block;
114 width: .5em;
115 height: .5em;
116 margin-right: .25em;
117 }
119 .version-Future {
120 background: lightskyblue;
121 }
123 .version-Unreleased {
124 background: gold;
125 color: black;
126 }
128 .version-Released {
129 background: limegreen;
130 }
132 .version-LTS {
133 background: green;
134 }
136 .version-Deprecated {
137 color: lightgray;
138 background: darkgray;
139 }
141 hr.comments-separator {
142 border-image-source: linear-gradient(to right, rgba(60, 60, 60, .1), rgba(96, 96, 96, 1), rgba(60, 60, 60, .1));
143 border-image-slice: 1;
144 border-width: 1pt;
145 border-style: none;
146 border-top-style: solid;
147 }
149 div.comment {
150 margin-bottom: 1.25em;
151 }