src/main/webapp/lightpit.css

Wed, 13 May 2020 18:45:28 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 13 May 2020 18:45:28 +0200
changeset 43
9abf0bf44c7b
parent 39
e722861558bb
child 45
cc7f082c5ef3
permissions
-rw-r--r--

renames some crappy constants

10
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 /*
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3 *
24
8137ec335416 updates copyright header
Mike Becker <universe@uap-core.de>
parents: 23
diff changeset
4 * Copyright 2018 Mike Becker. All rights reserved.
10
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5 *
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 * Redistribution and use in source and binary forms, with or without
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7 * modification, are permitted provided that the following conditions are met:
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
8 *
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9 * 1. Redistributions of source code must retain the above copyright
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10 * notice, this list of conditions and the following disclaimer.
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
11 *
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
12 * 2. Redistributions in binary form must reproduce the above copyright
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
13 * notice, this list of conditions and the following disclaimer in the
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
14 * documentation and/or other materials provided with the distribution.
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
15 *
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
20 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
26 * POSSIBILITY OF SUCH DAMAGE.
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
27 *
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
28 */
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
29
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
30 html {
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
31 background: #f8f8f8;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
32 }
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
33
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
34 body {
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
35 background: white;
26
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
36 font-family: serif;
10
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
37
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
38 border-color: #505050;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
39 border-style: solid;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
40 border-width: 1pt;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
41
18
a94b172c3a93 user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents: 11
diff changeset
42 color: #1c202e;
10
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
43 }
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
44
26
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
45 h1, h2, h3, h4, #mainMenu, #subMenu {
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
46 font-family: sans-serif;
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
47 }
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
48
10
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
49 a {
11
737ab27e37b3 implements simple request mapper
Mike Becker <universe@uap-core.de>
parents: 10
diff changeset
50 color: #3060f8;
10
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
51 text-decoration: none;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
52 }
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
53
23
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
54 #mainMenu {
10
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
55 width: 100%;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
56 display: flex;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
57 flex-flow: row wrap;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
58 background: #f0f0f5;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
59 }
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
60
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
61 #subMenu {
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
62 background: #f7f7ff;
39
e722861558bb fixes minor issues that were reported by default inspection
Mike Becker <universe@uap-core.de>
parents: 29
diff changeset
63 border-image-source: linear-gradient(to right, #606060, rgba(60, 60, 60, .25));
10
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
64 border-image-slice: 1;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
65 border-top-style: solid;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
66 border-top-width: 1pt;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
67 border-bottom-style: solid;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
68 border-bottom-width: 1pt;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
69 }
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
70
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
71 .menuEntry {
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
72 padding: .25em 1em .25em 1em;
28
cfc3d11884ad smaller main menu with better main menu buttons
Mike Becker <universe@uap-core.de>
parents: 26
diff changeset
73 border-right-style: solid;
cfc3d11884ad smaller main menu with better main menu buttons
Mike Becker <universe@uap-core.de>
parents: 26
diff changeset
74 border-right-width: 1pt;
cfc3d11884ad smaller main menu with better main menu buttons
Mike Becker <universe@uap-core.de>
parents: 26
diff changeset
75 border-right-color: #9095a1;
10
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
76 }
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
77
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
78 #mainMenu .menuEntry[data-active] {
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
79 background: #e0e0e5;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
80 }
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
81
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
82 #subMenu .menuEntry[data-active] {
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
83 background: #e7e7ef
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
84 }
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
85
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
86 #content-area {
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
87 padding: 1em;
89e3e6e28b69 implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
88 }
23
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
89
26
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
90 th {
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
91 text-align: left;
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
92 }
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
93
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
94 table.datatable {
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
95 width: 100%;
23
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
96 border-style: solid;
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
97 border-width: 1pt;
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
98 border-color: black;
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
99 border-collapse: collapse;
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
100 }
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
101
26
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
102 table.datatable th {
23
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
103 font-weight: bold;
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
104 background: lightsteelblue;
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
105 }
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
106
26
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
107 table.datatable th, table.datatable td {
23
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
108 border-style: solid;
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
109 border-width: 1pt;
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
110 border-color: black;
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
111 padding: .4em;
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
112 }
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
113
26
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
114 table.datatable tr:nth-child(2n) {
23
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
115 background: lightblue;
a7d3e5921cce global table style
Mike Becker <universe@uap-core.de>
parents: 18
diff changeset
116 }
26
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
117
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
118 .hcenter {
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
119 text-align: center;
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
120 }
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
121
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
122 .smalltext {
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
123 font-size: smaller;
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
124 }
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
125
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
126 .nowrap {
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
127 white-space: nowrap;
65d5a0ca49ae Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents: 24
diff changeset
128 }

mercurial