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