src/main/webapp/lightpit.css

Sat, 22 Jul 2023 15:07:23 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 22 Jul 2023 15:07:23 +0200
changeset 283
ea6181255423
parent 268
ca5501d851fa
permissions
-rw-r--r--

fix missing input types in CSS file

universe@10 1 /*
universe@10 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
universe@10 3 *
universe@180 4 * Copyright 2021 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@211 30 @font-face {
universe@211 31 font-family: LightPIT;
universe@211 32 src: url('fonts/MPLUS1p-Thin.ttf');
universe@211 33 font-weight: 100;
universe@211 34 }
universe@211 35
universe@211 36 @font-face {
universe@211 37 font-family: LightPIT;
universe@211 38 src: url('fonts/MPLUS1p-Light.ttf');
universe@211 39 font-weight: 300;
universe@211 40 }
universe@211 41
universe@211 42 @font-face {
universe@211 43 font-family: LightPIT;
universe@211 44 src: url('fonts/MPLUS1p-Regular.ttf');
universe@211 45 font-weight: 400;
universe@211 46 }
universe@211 47
universe@211 48 @font-face {
universe@211 49 font-family: LightPIT;
universe@211 50 src: url('fonts/MPLUS1p-Medium.ttf');
universe@211 51 font-weight: 500;
universe@211 52 }
universe@211 53
universe@211 54 @font-face {
universe@211 55 font-family: LightPIT;
universe@211 56 src: url('fonts/MPLUS1p-Bold.ttf');
universe@211 57 font-weight: 700;
universe@211 58 }
universe@211 59
universe@10 60 html {
universe@211 61 font-family: LightPIT,sans-serif;
universe@52 62 font-size: 11pt;
universe@47 63 background: white;
universe@47 64 color: #1c204e;
universe@47 65 margin: 0;
universe@47 66 padding: 0;
universe@217 67 height: 100vh;
universe@10 68 }
universe@10 69
universe@10 70 body {
universe@47 71 height: 100%;
universe@47 72 margin: 0;
universe@47 73 padding: 0;
universe@26 74 }
universe@26 75
universe@268 76 h2 {
universe@268 77 margin: 0.75em 0;
universe@268 78 }
universe@268 79
universe@268 80 h3 {
universe@268 81 margin: 0.25em 0;
universe@268 82 }
universe@268 83
universe@213 84 textarea, input, button, select {
universe@213 85 font-family: inherit;
universe@213 86 font-size: inherit;
universe@213 87 }
universe@213 88
universe@10 89 a {
universe@207 90 cursor: pointer;
universe@11 91 color: #3060f8;
universe@10 92 text-decoration: none;
universe@10 93 }
universe@10 94
universe@217 95 #body-area {
universe@217 96 display: grid;
universe@219 97 grid-template-columns: min-content auto;
universe@217 98 grid-template-rows: max-content 1fr;
universe@217 99 height: 100%;
universe@217 100 }
universe@217 101
universe@96 102 #mainMenu {
universe@217 103 grid-row: 1;
universe@217 104 grid-column: 1 / span 2;
universe@10 105 width: 100%;
universe@10 106 display: flex;
universe@10 107 flex-flow: row wrap;
universe@45 108 border-image-source: linear-gradient(to right, #606060, rgba(60, 60, 60, .25));
universe@45 109 border-image-slice: 1;
universe@45 110 border-bottom-style: solid;
universe@172 111 border-bottom-width: thin;
universe@217 112 font-size: 1.2rem;
universe@217 113 background: #e0e0e5;
universe@45 114 }
universe@98 115
universe@96 116 #sideMenu {
universe@217 117 grid-row: 2;
universe@217 118 grid-column: 1;
universe@223 119 min-width: 15vw;
universe@96 120 display: flex;
universe@96 121 flex-flow: column;
universe@109 122 color: #3060f8;
universe@96 123 border-image-source: linear-gradient(to bottom, #606060, rgba(60, 60, 60, .25));
universe@96 124 border-image-slice: 1;
universe@96 125 border-right-style: solid;
universe@172 126 border-right-width: thin;
universe@10 127 background: #f7f7ff;
universe@10 128 }
universe@10 129
universe@219 130 #sideMenuFiller {
universe@219 131 grid-row: 2;
universe@219 132 grid-column: 1;
universe@219 133 }
universe@219 134
universe@96 135 #mainMenu .menuEntry {
universe@10 136 padding: .25em 1em .25em 1em;
universe@28 137 border-right-style: solid;
universe@172 138 border-right-width: thin;
universe@28 139 border-right-color: #9095a1;
universe@10 140 }
universe@10 141
universe@97 142 #sideMenu .menuEntry {
universe@219 143 white-space: nowrap;
universe@220 144 padding-right: 2em;
universe@97 145 padding-top: .25em;
universe@97 146 padding-bottom: .25em;
universe@97 147 border-bottom-style: solid;
universe@172 148 border-bottom-width: thin;
universe@97 149 border-bottom-color: #d7d7df;
universe@97 150 }
universe@97 151
universe@10 152 #mainMenu .menuEntry[data-active] {
universe@45 153 background: #d0d0d5;
universe@10 154 }
universe@10 155
universe@96 156 #sideMenu .menuEntry[data-active] {
universe@10 157 background: #e7e7ef
universe@10 158 }
universe@10 159
universe@97 160 #sideMenu .level-0 {
universe@220 161 padding-left: .75em;
universe@97 162 }
universe@97 163
universe@97 164 #sideMenu .level-1 {
universe@220 165 padding-left: 1.25em;
universe@97 166 }
universe@97 167
universe@97 168 #sideMenu .level-2 {
universe@220 169 padding-left: 2.5em;
universe@97 170 }
universe@97 171
universe@10 172 #content-area {
universe@217 173 grid-row: 2;
universe@217 174 grid-column: 2;
universe@217 175 padding: 1.5em;
universe@10 176 }
universe@23 177
universe@47 178 button, a.button {
universe@47 179 display: inline-block;
universe@47 180 font-size: medium;
universe@103 181 border-style: solid;
universe@172 182 border-width: thin;
universe@103 183 border-color: #606060;
universe@47 184 color: inherit;
universe@47 185 background: #f0f0f0;
universe@47 186
universe@47 187 padding: .25em .5em .25em .5em;
universe@47 188 cursor: default;
universe@47 189 text-decoration: none;
universe@266 190 text-align: center;
universe@222 191 font-variant-caps: small-caps;
universe@47 192 }
universe@47 193
universe@47 194 button:hover, a.button:hover {
universe@47 195 background: #f0f0ff;
universe@47 196 }
universe@47 197
universe@266 198 button[data-toggle], a.button[data-toggle] {
universe@266 199 border-color: #1040a0;
universe@266 200 background: #d0d0d5;
universe@266 201 }
universe@266 202
universe@146 203 button[type=submit], a.button.submit {
universe@47 204 background: #20a0ff;
universe@47 205 color: white;
universe@47 206 }
universe@47 207
universe@146 208 button[type=submit]:hover, a.button.submit:hover {
universe@47 209 background: #1090cf;
universe@47 210 }
universe@47 211
universe@26 212 th {
universe@26 213 text-align: left;
universe@26 214 }
universe@26 215
universe@26 216 table.datatable {
universe@23 217 border-style: solid;
universe@172 218 border-width: thin;
universe@80 219 border-color: silver;
universe@23 220 border-collapse: collapse;
universe@23 221 }
universe@23 222
universe@26 223 table.datatable th {
universe@47 224 white-space: nowrap;
universe@23 225 font-weight: bold;
universe@103 226 background: #f7f7ff;
universe@23 227 }
universe@23 228
universe@26 229 table.datatable th, table.datatable td {
universe@23 230 border-style: solid;
universe@172 231 border-width: thin;
universe@103 232 border-color: lightgray;
universe@23 233 padding: .4em;
universe@23 234 }
universe@23 235
universe@26 236 table.datatable tr:nth-child(2n) {
universe@103 237 background: #faffff;
universe@23 238 }
universe@26 239
universe@47 240 table.formtable {
universe@47 241 border-style: none;
universe@47 242 border-collapse: separate;
universe@47 243 border-spacing: 1em;
universe@47 244 }
universe@47 245
universe@47 246 table.formtable th {
universe@47 247 font-weight: bold;
universe@47 248 text-align: left;
universe@47 249 vertical-align: center;
universe@47 250 white-space: nowrap;
universe@47 251 }
universe@47 252
universe@47 253 table.formtable tbody td > * {
universe@209 254 margin: 0;
universe@124 255 box-sizing: border-box;
universe@47 256 }
universe@47 257
universe@230 258 table.formtable input[type=text],
universe@283 259 table.formtable input[type=url],
universe@283 260 table.formtable input[type=email],
universe@230 261 table.formtable input[type=number],
universe@230 262 table.formtable select,
universe@230 263 table.formtable textarea {
universe@230 264 width: 100%;
universe@230 265 }
universe@230 266
universe@47 267 table.formtable tfoot td {
universe@47 268 text-align: right;
universe@47 269 }
universe@47 270
universe@47 271 .fullwidth {
universe@47 272 width: 100%;
universe@47 273 }
universe@47 274
universe@47 275 .vtop {
universe@47 276 vertical-align: top;
universe@47 277 }
universe@47 278
universe@26 279 .hcenter {
universe@26 280 text-align: center;
universe@26 281 }
universe@26 282
universe@80 283 .hright {
universe@80 284 text-align: right;
universe@80 285 }
universe@80 286
universe@26 287 .smalltext {
universe@26 288 font-size: smaller;
universe@26 289 }
universe@26 290
universe@26 291 .nowrap {
universe@26 292 white-space: nowrap;
universe@47 293 }
universe@47 294
universe@47 295 .medskip {
universe@47 296 margin-top: .5em;
universe@47 297 }
universe@47 298
universe@101 299 .info-box, .error-box, .warn-box {
universe@209 300 margin: 1.5em;
universe@47 301 border-style: dashed;
universe@172 302 border-width: thin;
universe@47 303 border-color: deepskyblue;
universe@47 304 padding: 1em;
universe@101 305 }
universe@101 306
universe@101 307 .error-box {
universe@209 308 border-style: outset;
universe@101 309 border-color: red;
universe@209 310 background: lightcoral;
universe@101 311 }
universe@101 312
universe@101 313 .warn-box {
universe@209 314 border-style: outset;
universe@101 315 border-color: gold;
universe@209 316 background: lightgoldenrodyellow;
universe@101 317 }
universe@101 318
universe@101 319 .table {
universe@101 320 display: table;
universe@101 321 border-spacing: .5em;
universe@101 322 margin: -.5em;
universe@101 323 }
universe@101 324
universe@101 325 .row {
universe@101 326 display: table-row;
universe@101 327 }
universe@101 328
universe@101 329 .caption {
universe@101 330 font-weight: bold;
universe@101 331 }
universe@101 332
universe@101 333 .row > div {
universe@101 334 display: table-cell;
universe@101 335 }
universe@162 336
universe@162 337 /* MARKDOWN STYLES */
universe@162 338
universe@162 339 div.markdown-styled p:first-child {
universe@162 340 margin-top: 0;
universe@162 341 }
universe@162 342
universe@162 343 div.markdown-styled table {
universe@162 344 border-collapse: collapse;
universe@162 345 }
universe@162 346
universe@162 347 div.markdown-styled td,
universe@162 348 div.markdown-styled th {
universe@162 349 padding: 0.25em;
universe@162 350 border-style: solid;
universe@162 351 border-color: darkgray;
universe@172 352 border-width: thin;
universe@162 353 }

mercurial