src/main/webapp/lightpit.css

Sat, 22 Aug 2020 16:25:03 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 22 Aug 2020 16:25:03 +0200
changeset 96
b7b685f31e39
parent 86
0a658e53177c
child 97
602f75801644
permissions
-rw-r--r--

breadcrumb menu is now a sidebar navigation menu

universe@10 1 /*
universe@10 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
universe@10 3 *
universe@24 4 * Copyright 2018 Mike Becker. All rights reserved.
universe@10 5 *
universe@10 6 * Redistribution and use in source and binary forms, with or without
universe@10 7 * modification, are permitted provided that the following conditions are met:
universe@10 8 *
universe@10 9 * 1. Redistributions of source code must retain the above copyright
universe@10 10 * notice, this list of conditions and the following disclaimer.
universe@10 11 *
universe@10 12 * 2. Redistributions in binary form must reproduce the above copyright
universe@10 13 * notice, this list of conditions and the following disclaimer in the
universe@10 14 * documentation and/or other materials provided with the distribution.
universe@10 15 *
universe@10 16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
universe@10 17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
universe@10 18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
universe@10 19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
universe@10 20 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
universe@10 21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
universe@10 22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
universe@10 23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
universe@10 24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
universe@10 25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
universe@10 26 * POSSIBILITY OF SUCH DAMAGE.
universe@10 27 *
universe@10 28 */
universe@10 29
universe@10 30 html {
universe@47 31 font-family: sans-serif;
universe@52 32 font-size: 11pt;
universe@47 33 background: white;
universe@47 34 color: #1c204e;
universe@47 35 margin: 0;
universe@47 36 padding: 0;
universe@10 37 }
universe@10 38
universe@10 39 body {
universe@47 40 height: 100%;
universe@47 41 margin: 0;
universe@47 42 padding: 0;
universe@26 43 }
universe@26 44
universe@10 45 a {
universe@11 46 color: #3060f8;
universe@10 47 text-decoration: none;
universe@10 48 }
universe@10 49
universe@96 50 #mainMenu {
universe@10 51 width: 100%;
universe@10 52 display: flex;
universe@10 53 flex-flow: row wrap;
universe@45 54 border-image-source: linear-gradient(to right, #606060, rgba(60, 60, 60, .25));
universe@45 55 border-image-slice: 1;
universe@45 56 border-bottom-style: solid;
universe@45 57 border-bottom-width: 1pt;
universe@45 58 }
universe@96 59 #sideMenu {
universe@96 60 display: flex;
universe@96 61 flex-flow: column;
universe@96 62 position: fixed;
universe@96 63 height: 100%;
universe@96 64 width: 20ch;
universe@96 65 border-image-source: linear-gradient(to bottom, #606060, rgba(60, 60, 60, .25));
universe@96 66 border-image-slice: 1;
universe@96 67 border-right-style: solid;
universe@96 68 border-right-width: 1pt;
universe@96 69 }
universe@96 70
universe@96 71 #content-area.sidebar-spacing {
universe@96 72 margin-left: 20ch;
universe@96 73 }
universe@45 74
universe@45 75 #mainMenu {
universe@52 76 font-size: large;
universe@45 77 background: #e0e0e5;
universe@10 78 }
universe@10 79
universe@96 80 #sideMenu {
universe@10 81 background: #f7f7ff;
universe@10 82 }
universe@10 83
universe@96 84 #mainMenu .menuEntry {
universe@10 85 padding: .25em 1em .25em 1em;
universe@28 86 border-right-style: solid;
universe@28 87 border-right-width: 1pt;
universe@28 88 border-right-color: #9095a1;
universe@10 89 }
universe@10 90
universe@10 91 #mainMenu .menuEntry[data-active] {
universe@45 92 background: #d0d0d5;
universe@10 93 }
universe@10 94
universe@96 95 #sideMenu .menuEntry[data-active] {
universe@10 96 background: #e7e7ef
universe@10 97 }
universe@10 98
universe@10 99 #content-area {
universe@10 100 padding: 1em;
universe@10 101 }
universe@23 102
universe@47 103 button, a.button {
universe@47 104 display: inline-block;
universe@47 105 font-size: medium;
universe@47 106 border-style: outset;
universe@47 107 border-width: 2pt;
universe@47 108 border-color: #6060cc;
universe@47 109 color: inherit;
universe@47 110 background: #f0f0f0;
universe@47 111
universe@47 112 padding: .25em .5em .25em .5em;
universe@47 113 cursor: default;
universe@47 114 text-decoration: none;
universe@47 115 }
universe@47 116
universe@47 117 button:hover, a.button:hover {
universe@47 118 background: #f0f0ff;
universe@47 119 }
universe@47 120
universe@47 121 button[type=submit] {
universe@47 122 background: #20a0ff;
universe@47 123 color: white;
universe@47 124 }
universe@47 125
universe@47 126 button[type=submit]:hover {
universe@47 127 background: #1090cf;
universe@47 128 }
universe@47 129
universe@26 130 th {
universe@26 131 text-align: left;
universe@26 132 }
universe@26 133
universe@26 134 table.datatable {
universe@23 135 border-style: solid;
universe@23 136 border-width: 1pt;
universe@80 137 border-color: silver;
universe@23 138 border-collapse: collapse;
universe@23 139 }
universe@23 140
universe@26 141 table.datatable th {
universe@47 142 white-space: nowrap;
universe@23 143 font-weight: bold;
universe@23 144 background: lightsteelblue;
universe@23 145 }
universe@23 146
universe@26 147 table.datatable th, table.datatable td {
universe@23 148 border-style: solid;
universe@23 149 border-width: 1pt;
universe@23 150 border-color: black;
universe@23 151 padding: .4em;
universe@23 152 }
universe@23 153
universe@26 154 table.datatable tr:nth-child(2n) {
universe@51 155 background: #f0ffff;
universe@23 156 }
universe@26 157
universe@47 158 table.formtable {
universe@47 159 border-style: none;
universe@47 160 border-collapse: separate;
universe@47 161 border-spacing: 1em;
universe@47 162 }
universe@47 163
universe@47 164 table.formtable th {
universe@47 165 font-weight: bold;
universe@47 166 text-align: left;
universe@47 167 vertical-align: center;
universe@47 168 white-space: nowrap;
universe@47 169 }
universe@47 170
universe@47 171 table.formtable tbody td > * {
universe@47 172 width: 100%;
universe@47 173 }
universe@47 174
universe@75 175 table.formtable input[type=date] {
universe@75 176 width: auto;
universe@75 177 }
universe@75 178
universe@47 179 table.formtable tfoot td {
universe@47 180 text-align: right;
universe@47 181 }
universe@47 182
universe@47 183 .fullwidth {
universe@47 184 width: 100%;
universe@47 185 }
universe@47 186
universe@47 187 .vtop {
universe@47 188 vertical-align: top;
universe@47 189 }
universe@47 190
universe@26 191 .hcenter {
universe@26 192 text-align: center;
universe@26 193 }
universe@26 194
universe@80 195 .hright {
universe@80 196 text-align: right;
universe@80 197 }
universe@80 198
universe@26 199 .smalltext {
universe@26 200 font-size: smaller;
universe@26 201 }
universe@26 202
universe@26 203 .nowrap {
universe@26 204 white-space: nowrap;
universe@47 205 }
universe@47 206
universe@47 207 .medskip {
universe@47 208 margin-top: .5em;
universe@47 209 }
universe@47 210
universe@47 211 .info-box {
universe@47 212 margin: 2em;
universe@47 213 border-style: dashed;
universe@47 214 border-width: 1pt;
universe@47 215 border-color: deepskyblue;
universe@47 216 padding: 1em;
universe@26 217 }

mercurial