Sun, 21 Jun 2020 11:10:30 +0200
smaller issue summary progress bars
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 | } |