Sun, 08 Apr 2018 16:41:02 +0200
removes caching of main menu
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 | 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 | 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; |
26
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
59 | font-size: larger; |
10
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 | |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
62 | #subMenu { |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
63 | background: #f7f7ff; |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
64 | |
11
737ab27e37b3
implements simple request mapper
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
65 | border-image: 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
|
66 | border-image-slice: 1; |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
67 | border-top-style: solid; |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
68 | border-top-width: 1pt; |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
69 | border-bottom-style: solid; |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
70 | border-bottom-width: 1pt; |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
71 | } |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
72 | |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
73 | .menuEntry { |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
74 | padding: .25em 1em .25em 1em; |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
75 | } |
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 | #mainMenu .menuEntry[data-active] { |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
78 | background: #e0e0e5; |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
79 | } |
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 | #subMenu .menuEntry[data-active] { |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
82 | background: #e7e7ef |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
83 | } |
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 | #content-area { |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
86 | padding: 1em; |
89e3e6e28b69
implements automatic menu generation from module information
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
87 | } |
23 | 88 | |
26
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
89 | th { |
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
90 | text-align: left; |
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
91 | } |
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 | table.datatable { |
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
94 | width: 100%; |
23 | 95 | border-style: solid; |
96 | border-width: 1pt; | |
97 | border-color: black; | |
98 | border-collapse: collapse; | |
99 | } | |
100 | ||
26
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
101 | table.datatable th { |
23 | 102 | font-weight: bold; |
103 | background: lightsteelblue; | |
104 | } | |
105 | ||
26
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
106 | table.datatable th, table.datatable td { |
23 | 107 | border-style: solid; |
108 | border-width: 1pt; | |
109 | border-color: black; | |
110 | padding: .4em; | |
111 | } | |
112 | ||
26
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
113 | table.datatable tr:nth-child(2n) { |
23 | 114 | background: lightblue; |
115 | } | |
26
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
116 | |
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
117 | .hcenter { |
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
118 | text-align: center; |
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
119 | } |
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 | .smalltext { |
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
122 | font-size: smaller; |
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
123 | } |
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 | .nowrap { |
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
126 | white-space: nowrap; |
65d5a0ca49ae
Module names and descriptions + some more styling
Mike Becker <universe@uap-core.de>
parents:
24
diff
changeset
|
127 | } |