src/main/webapp/lightpit.css

Tue, 12 May 2020 22:03:00 +0200

author
Mike Becker <universe@uap-core.de>
date
Tue, 12 May 2020 22:03:00 +0200
changeset 39
e722861558bb
parent 29
27a0fdd7bca7
child 45
cc7f082c5ef3
permissions
-rw-r--r--

fixes minor issues that were reported by default inspection

     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 html {
    31     background: #f8f8f8;
    32 }
    34 body {
    35     background: white;
    36     font-family: serif;
    38     border-color: #505050;
    39     border-style: solid;
    40     border-width: 1pt;
    42     color: #1c202e;
    43 }
    45 h1, h2, h3, h4, #mainMenu, #subMenu {
    46     font-family: sans-serif;
    47 }
    49 a {
    50     color: #3060f8;
    51     text-decoration: none;
    52 }
    54 #mainMenu {
    55     width: 100%;
    56     display: flex;
    57     flex-flow: row wrap;
    58     background: #f0f0f5;
    59 }
    61 #subMenu {
    62     background: #f7f7ff;
    63     border-image-source: linear-gradient(to right, #606060, rgba(60, 60, 60, .25));
    64     border-image-slice: 1;
    65     border-top-style: solid;
    66     border-top-width: 1pt;
    67     border-bottom-style: solid;
    68     border-bottom-width: 1pt;
    69 }
    71 .menuEntry {
    72     padding: .25em 1em .25em 1em;
    73     border-right-style: solid;
    74     border-right-width: 1pt;
    75     border-right-color: #9095a1;
    76 }
    78 #mainMenu .menuEntry[data-active] {
    79     background: #e0e0e5;
    80 }
    82 #subMenu .menuEntry[data-active] {
    83     background: #e7e7ef
    84 }
    86 #content-area {
    87     padding: 1em;
    88 }
    90 th {
    91     text-align: left;
    92 }
    94 table.datatable {
    95     width: 100%;
    96     border-style: solid;
    97     border-width: 1pt;
    98     border-color: black;
    99     border-collapse: collapse;
   100 }
   102 table.datatable th {
   103     font-weight: bold;
   104     background: lightsteelblue;
   105 }
   107 table.datatable th, table.datatable td {
   108     border-style: solid;
   109     border-width: 1pt;
   110     border-color: black;
   111     padding: .4em;
   112 }
   114 table.datatable tr:nth-child(2n) {
   115     background: lightblue;
   116 }
   118 .hcenter {
   119     text-align: center;
   120 }
   122 .smalltext {
   123     font-size: smaller;
   124 }
   126 .nowrap {
   127     white-space: nowrap;
   128 }

mercurial