src/main/webapp/lightpit.css

Wed, 13 May 2020 21:10:23 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 13 May 2020 21:10:23 +0200
changeset 45
cc7f082c5ef3
parent 39
e722861558bb
child 47
57cfb94ab99f
permissions
-rw-r--r--

simplifies menu generation, adds submenus and removes VersionsModule (versions will be part of the ProjectsModule)

     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, #subMenu {
    55     width: 100%;
    56     display: flex;
    57     flex-flow: row wrap;
    58     border-image-source: linear-gradient(to right, #606060, rgba(60, 60, 60, .25));
    59     border-image-slice: 1;
    60     border-bottom-style: solid;
    61     border-bottom-width: 1pt;
    62 }
    64 #mainMenu {
    65     background: #e0e0e5;
    66 }
    68 #subMenu {
    69     background: #f7f7ff;
    70 }
    72 .menuEntry {
    73     padding: .25em 1em .25em 1em;
    74     border-right-style: solid;
    75     border-right-width: 1pt;
    76     border-right-color: #9095a1;
    77 }
    79 #mainMenu .menuEntry[data-active] {
    80     background: #d0d0d5;
    81 }
    83 #subMenu .menuEntry[data-active] {
    84     background: #e7e7ef
    85 }
    87 #content-area {
    88     padding: 1em;
    89 }
    91 th {
    92     text-align: left;
    93 }
    95 table.datatable {
    96     width: 100%;
    97     border-style: solid;
    98     border-width: 1pt;
    99     border-color: black;
   100     border-collapse: collapse;
   101 }
   103 table.datatable th {
   104     font-weight: bold;
   105     background: lightsteelblue;
   106 }
   108 table.datatable th, table.datatable td {
   109     border-style: solid;
   110     border-width: 1pt;
   111     border-color: black;
   112     padding: .4em;
   113 }
   115 table.datatable tr:nth-child(2n) {
   116     background: lightblue;
   117 }
   119 .hcenter {
   120     text-align: center;
   121 }
   123 .smalltext {
   124     font-size: smaller;
   125 }
   127 .nowrap {
   128     white-space: nowrap;
   129 }

mercurial