src/main/webapp/projects.css

Sun, 21 Jun 2020 12:24:29 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 21 Jun 2020 12:24:29 +0200
changeset 92
b723b31383ac
parent 87
501addad452b
child 101
c34c81b87674
permissions
-rw-r--r--

adds graphical visualization for issue type and status

universe@52 1 /*
universe@52 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
universe@52 3 *
universe@52 4 * Copyright 2018 Mike Becker. All rights reserved.
universe@52 5 *
universe@52 6 * Redistribution and use in source and binary forms, with or without
universe@52 7 * modification, are permitted provided that the following conditions are met:
universe@52 8 *
universe@52 9 * 1. Redistributions of source code must retain the above copyright
universe@52 10 * notice, this list of conditions and the following disclaimer.
universe@52 11 *
universe@52 12 * 2. Redistributions in binary form must reproduce the above copyright
universe@52 13 * notice, this list of conditions and the following disclaimer in the
universe@52 14 * documentation and/or other materials provided with the distribution.
universe@52 15 *
universe@52 16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
universe@52 17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
universe@52 18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
universe@52 19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
universe@52 20 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
universe@52 21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
universe@52 22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
universe@52 23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
universe@52 24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
universe@52 25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
universe@52 26 * POSSIBILITY OF SUCH DAMAGE.
universe@52 27 *
universe@52 28 */
universe@75 29
universe@86 30 .project-attributes, .issue-summary {
universe@86 31 display: table;
universe@80 32 }
universe@80 33
universe@86 34 .project-attributes {
universe@81 35 margin-bottom: 2em;
universe@81 36 }
universe@81 37
universe@81 38 .row {
universe@81 39 display: table-row;
universe@81 40 }
universe@81 41
universe@81 42 .caption {
universe@81 43 font-weight: bold;
universe@81 44 }
universe@81 45
universe@81 46 .row > div {
universe@81 47 display: table-cell;
universe@81 48 }
universe@81 49
universe@81 50 .row > div + div {
universe@81 51 padding-left: 2em;
universe@81 52 }
universe@81 53
universe@81 54 span.phase-2 {
universe@81 55 text-decoration: line-through;
universe@81 56 }
universe@86 57
universe@86 58 .issue-progress-bar {
universe@86 59 display: flex;
universe@86 60 position: relative;
universe@86 61 border-style: inset;
universe@86 62 border-width: 2pt;
universe@86 63 border-color: #6060cc;
universe@86 64 }
universe@86 65
universe@86 66 .issue-progress-bar .open {
universe@86 67 height: 100%;
universe@86 68 background: steelblue;
universe@86 69 }
universe@86 70
universe@86 71 .issue-progress-bar .active {
universe@86 72 height: 100%;
universe@86 73 background: gold;
universe@86 74 }
universe@86 75
universe@86 76 .issue-progress-bar .done {
universe@86 77 height: 100%;
universe@86 78 background: green;
universe@86 79 }
universe@92 80
universe@92 81 .issue-tag {
universe@92 82 width: auto;
universe@92 83 padding: .1em 2ex .1em 2ex;
universe@92 84 display: inline-block;
universe@92 85 border-style: outset;
universe@92 86 border-width: 2pt;
universe@92 87 border-color: silver;
universe@92 88 border-radius: 6pt;
universe@92 89 background: lightgray;
universe@92 90 text-transform: uppercase;
universe@92 91 font-weight: bolder;
universe@92 92 font-size: smaller;
universe@92 93 color: whitesmoke;
universe@92 94 }
universe@92 95
universe@92 96 .issue-tag.Bug {
universe@92 97 background: red;
universe@92 98 }
universe@92 99
universe@92 100 .issue-tag.Improvement, .issue-tag.Feature {
universe@92 101 background: green;
universe@92 102 }
universe@92 103
universe@92 104 .issue-tag.Task {
universe@92 105 background: deepskyblue;
universe@92 106 }
universe@92 107
universe@92 108 .issue-tag.Test {
universe@92 109 background: lightskyblue;
universe@92 110 }
universe@92 111
universe@92 112 .issue-tag.phase-0 {
universe@92 113 background: steelblue;
universe@92 114 }
universe@92 115
universe@92 116 .issue-tag.phase-1 {
universe@92 117 background: gold;
universe@92 118 color: black;
universe@92 119 }
universe@92 120
universe@92 121 .issue-tag.phase-2 {
universe@92 122 background: green;
universe@92 123 }
universe@92 124

mercurial