src/main/webapp/projects.css

Sat, 29 Aug 2020 12:15:48 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 29 Aug 2020 12:15:48 +0200
changeset 103
3d0d030dffa7
parent 101
c34c81b87674
child 110
9d0be0b1580f
permissions
-rw-r--r--

improves styling and readability of issue list

     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 {
    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 }

mercurial