Rev 448 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
448 | daniel-mar | 1 | /* |
2 | * OIDplus 2.0 |
||
3 | * Copyright 2020 Daniel Marschall, ViaThinkSoft |
||
4 | * |
||
5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
||
6 | * you may not use this file except in compliance with the License. |
||
7 | * You may obtain a copy of the License at |
||
8 | * |
||
9 | * http://www.apache.org/licenses/LICENSE-2.0 |
||
10 | * |
||
11 | * Unless required by applicable law or agreed to in writing, software |
||
12 | * distributed under the License is distributed on an "AS IS" BASIS, |
||
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||
14 | * See the License for the specific language governing permissions and |
||
15 | * limitations under the License. |
||
16 | */ |
||
17 | |||
18 | /************************************************************************************* |
||
19 | ** ATTENTION: ** |
||
20 | ************************************************************************************* |
||
21 | ** Please do NOT edit this file, since a software update will override ** |
||
22 | ** your changes. ** |
||
23 | ** To do changes to the design, you have following possibilities: ** |
||
24 | ** - If you just want to change colors, then the color plugin in the admin area ** |
||
25 | ** could an option for you. ** |
||
26 | ** - Create userdata/styles/oidplus_add.css (it will be placed after this file), ** |
||
27 | ** and use the "!important" statements to override style definitions. ** |
||
28 | ** - You can completely REPLACE oidplus_base.css by ** |
||
29 | ** creating userdata/styles/oidplus_base.css . This is very dangerous, because ** |
||
30 | ** you need to regularly check if the official oidplus_base.css gets changed or ** |
||
31 | ** extended, and you need to apply the changes according to the master file. ** |
||
32 | *************************************************************************************/ |
||
451 | daniel-mar | 33 | |
34 | /* Logo */ |
||
448 | daniel-mar | 35 | |
451 | daniel-mar | 36 | @media only screen and (min-width: 801px) { |
37 | /* Desktop */ |
||
38 | #system_title_logo { |
||
39 | background-image: url(logo.png); |
||
40 | background-position: left; |
||
41 | background-repeat: no-repeat; |
||
42 | background-size: 45px 45px; |
||
43 | position:absolute; |
||
44 | top:0px; |
||
45 | left:0px; |
||
46 | width:50px; |
||
47 | height:50px; |
||
48 | margin-left:5px; |
||
49 | } |
||
50 | |||
51 | #system_title_1 { |
||
52 | padding-left: 50px; |
||
53 | } |
||
54 | |||
55 | #system_title_2 { |
||
56 | padding-left: 50px; |
||
57 | } |
||
58 | } |
||
59 | |||
60 | /* Link colors */ |
||
61 | |||
448 | daniel-mar | 62 | a:link { |
63 | color:#FF5500; |
||
64 | } |
||
65 | |||
66 | a:visited { |
||
67 | color:#CC5500; |
||
68 | } |
||
69 | |||
70 | a:hover { |
||
71 | color:#FFAA00; |
||
72 | } |
||
73 | |||
451 | daniel-mar | 74 | /* Basic stuff */ |
75 | |||
448 | daniel-mar | 76 | @media print { |
77 | /* Printing */ |
||
78 | .ui-layout-west, .ui-layout-resizer { |
||
79 | display:none !important; |
||
80 | } |
||
81 | .ui-layout-center { |
||
82 | left:0px !important; |
||
83 | width:100% !important; |
||
84 | } |
||
85 | #oidtree, .ui-layout-center { |
||
86 | position:relative !important; |
||
87 | width:100% !important; |
||
88 | top: 0 !important; |
||
89 | |||
90 | } |
||
91 | #content_window { |
||
92 | top: 0 !important; |
||
93 | } |
||
94 | } |
||
95 | |||
96 | @media only screen and (max-width: 800px) { |
||
97 | /* Mobile */ |
||
98 | .ui-layout-west, .ui-layout-resizer { |
||
99 | display:none !important; |
||
100 | } |
||
101 | .ui-layout-center { |
||
102 | left:0px !important; |
||
103 | width:100% !important; |
||
104 | } |
||
105 | #oidtree, .ui-layout-center { |
||
106 | position:relative !important; |
||
107 | width:100% !important; |
||
108 | padding-right:10px !important; |
||
109 | top: 0 !important; |
||
110 | padding-bottom:80px !important; /* because iPhone Safari bar at the bottom */ |
||
111 | /* Attention: If you incrase .lng_flag.margin, then you need to increase this, too */ |
||
112 | } |
||
113 | #content_window { |
||
114 | top: 0 !important; |
||
115 | background:#fbfbfb; |
||
116 | } |
||
117 | #frames { |
||
118 | display:flex; |
||
119 | flex-direction:column; |
||
120 | align-items: flex-start; |
||
121 | } |
||
122 | #system_title_bar { |
||
123 | order:0; |
||
124 | flex:none; |
||
125 | } |
||
126 | #oidtree { |
||
127 | order:1; |
||
128 | flex:none; |
||
129 | background:url(stripes2.gif); |
||
130 | } |
||
131 | #content_window { |
||
132 | order:2; |
||
133 | flex:none; |
||
134 | } |
||
135 | #system_title_text { |
||
136 | overflow-x:scroll; /* TODO: at computer browser, you see a scroll bar */ |
||
137 | } |
||
138 | } |
||
139 | |||
140 | @media only screen and (min-width: 801px) { |
||
141 | /* Desktop */ |
||
142 | #system_title_menu { |
||
143 | display:none !important; |
||
144 | } |
||
145 | } |
||
146 | |||
147 | #system_title_bar { |
||
148 | width:100% !important; |
||
149 | position:relative !important; |
||
150 | white-space: nowrap; |
||
151 | } |
||
152 | |||
153 | body, #frames { |
||
154 | width:100%; |
||
155 | height:100%; |
||
156 | } |
||
157 | |||
158 | .wrap { |
||
159 | overflow-x: auto; |
||
160 | margin: 0 auto; |
||
161 | width:100%; |
||
162 | } |
||
163 | |||
164 | .gray_footer_font { |
||
165 | color:#808080; |
||
166 | font-size:0.9em; |
||
167 | } |
||
168 | |||
169 | label.padding_label { |
||
170 | font-weight: normal !important; |
||
171 | display: inline-block; |
||
172 | clear: left; |
||
173 | width: 100px; |
||
174 | text-align: right; |
||
175 | padding-top: 3px; |
||
176 | margin-right: 8px; |
||
177 | } |
||
178 | |||
179 | .box { |
||
180 | width:auto !important; |
||
181 | padding:20px; |
||
182 | background-color:#fff; |
||
183 | border:1px solid #ccc; |
||
184 | border-radius:5px; |
||
185 | margin-top:10px; |
||
186 | } |
||
187 | #titleedit { |
||
188 | width:100%; |
||
189 | } |
||
190 | #system_title_1 { |
||
191 | color:#111; |
||
192 | margin-left:5px; |
||
193 | } |
||
194 | #system_title_2 { |
||
195 | color:#833; |
||
196 | font-size:2em; |
||
197 | margin-left:5px; |
||
198 | } |
||
199 | |||
200 | /* Mobile menu button */ |
||
201 | |||
202 | #bar1, #bar2, #bar3 { |
||
203 | width: 27px; |
||
204 | height: 5px; |
||
205 | background-color: #FFA500; |
||
206 | margin: 6px 0; |
||
207 | transition: 0.4s; |
||
208 | margin-left:14px; |
||
209 | } |
||
210 | |||
211 | #system_title_menu.active { |
||
212 | background-color: #FFA500; |
||
213 | } |
||
214 | |||
215 | .active #bar1 { |
||
216 | -webkit-transform: rotate(-45deg) translate(-7.5px, 7.5px); |
||
217 | transform: rotate(-45deg) translate(-7.5px, 7.5px); |
||
218 | background-color: #000; |
||
219 | } |
||
220 | |||
221 | .active #bar2 { |
||
222 | opacity: 0; |
||
223 | background-color: #000; |
||
224 | } |
||
225 | |||
226 | .active #bar3 { |
||
227 | -webkit-transform: rotate(45deg) translate(-8px, -8px); |
||
228 | transform: rotate(45deg) translate(-8px, -8px); |
||
229 | background-color: #000; |
||
230 | } |
||
231 | |||
232 | .hover #bar1, .hover #bar2, .hover #bar3 { |
||
233 | background-color:#fff; |
||
234 | } |
||
235 | |||
236 | #system_title_menu { |
||
237 | width:55px; |
||
238 | height:55px; |
||
239 | padding-top:8px; |
||
240 | text-decoration: none; |
||
241 | font-size: 19px; |
||
242 | display: none; /* will be set to 'block' by JavaScript */ |
||
243 | background-color: #000; |
||
244 | float:left; |
||
245 | cursor: pointer; |
||
246 | } |
||
247 | |||
248 | /* Title bar */ |
||
249 | |||
250 | #system_title_bar { |
||
251 | line-height:1.75em; |
||
252 | |||
253 | height:55px !important; |
||
254 | |||
255 | font-weight:bolder; |
||
256 | float:left; |
||
257 | border-bottom:1px; |
||
258 | |||
259 | width:100%; /* required for NoScript */ |
||
260 | padding-left:5px;/* required for NoScript */ |
||
261 | padding-right:5px;/* required for NoScript */ |
||
262 | |||
263 | padding-left:0px; |
||
264 | margin-left:0px; |
||
265 | |||
266 | display:block; |
||
267 | |||
268 | background:url(stripes.gif); |
||
269 | |||
270 | overflow:hidden; |
||
271 | } |
||
272 | #system_title_bar a { |
||
273 | text-decoration:none; |
||
274 | } |
||
275 | |||
276 | /* OID-Tree */ |
||
277 | |||
278 | .jstree-clicked { |
||
279 | background:#FFD5AA !important; |
||
280 | } |
||
281 | |||
282 | .jstree-anchor:hover { |
||
283 | background:#FFE4CA; |
||
284 | } |
||
285 | |||
286 | @media only screen and (max-width: 800px) { |
||
287 | /* Mobile */ |
||
288 | |||
289 | #content_window { |
||
290 | padding-left:16px; |
||
291 | padding-top:0px; |
||
292 | } |
||
293 | |||
294 | } |
||
295 | @media only screen and (min-width: 801px) { |
||
296 | /* Desktop */ |
||
297 | |||
298 | #oidtree { |
||
299 | position:absolute; |
||
300 | left:0px; |
||
301 | bottom:0px; |
||
302 | top:55px; /* required for NoScript */ |
||
303 | width:400px; /* required for NoScript */ |
||
304 | padding-top:5px; |
||
305 | white-space:nowrap; /* required for NoScript */ |
||
306 | overflow:scroll; /* required for NoScript */ |
||
307 | padding-bottom:10px !important; |
||
308 | background:url(stripes2.gif); |
||
309 | } |
||
310 | |||
311 | #content_window { |
||
312 | position:absolute; |
||
313 | left:400px; |
||
314 | right:0px; |
||
315 | bottom:0px; |
||
316 | top:55px; /* required for NoScript */ |
||
317 | padding-left:20px; |
||
318 | padding-right:20px; |
||
319 | background:#fbfbfb; |
||
320 | } |
||
321 | } |
||
322 | |||
323 | #oidtree { |
||
324 | padding-top:5px !important; |
||
325 | padding-left:5px;/* required for NoScript */ |
||
326 | padding-right:5px;/* required for NoScript */ |
||
327 | } |
||
328 | |||
329 | html { |
||
330 | margin:0; |
||
331 | padding:0; |
||
332 | height:100%; |
||
333 | font-family:"Helvetica"; |
||
334 | } |
||
335 | body { |
||
336 | margin:0px; |
||
337 | padding:0px; |
||
338 | height:100%; |
||
339 | /* Bootstrap adds "Helvetica Neue",Helvetica at the beginning which causes bold font in IE11+Win10 */ |
||
340 | font-family:"Arial","sans-serif" !important; |
||
341 | } |
||
342 | |||
343 | @media only screen and (min-width: 801px) { |
||
344 | /* Desktop */ |
||
345 | body { |
||
346 | overflow:hidden; |
||
347 | } |
||
348 | .borderbox { |
||
349 | border:1px solid silver; |
||
350 | } |
||
351 | } |
||
352 | |||
353 | .borderbox { |
||
354 | overflow:auto; |
||
355 | } |
||
356 | |||
357 | h1 { |
||
358 | font-size:2.2em; |
||
359 | } |
||
360 | h2 { |
||
361 | font-size:1.6em !important; |
||
362 | } |
||
363 | h3 { |
||
364 | font-size:1.5em !important; |
||
365 | } |
||
366 | |||
367 | textarea,input[type="text"],input[type="password"],select { |
||
368 | /* for dark themes, this looks better */ |
||
369 | /*background:transparent;*/ |
||
370 | background: #F0F0F0; |
||
371 | border: #AAAAAA 1px solid; |
||
372 | } |
||
373 | |||
374 | input[type=button], input[type=submit], input[type=reset], |
||
375 | input[type=button]:link, input[type=submit]:link, input[type=reset]:link, |
||
376 | input[type=button]:visited, input[type=submit]:visited, input[type=reset]:visited, |
||
377 | input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover { |
||
378 | border: 1px solid #a2a2a2; |
||
379 | padding-top:2px; |
||
380 | padding-bottom:2px; |
||
381 | padding-left:7px; |
||
382 | padding-right:7px; |
||
383 | text-decoration:none; |
||
384 | background: #ffffff; |
||
385 | /*color: #0066CC;*/ |
||
386 | } |
||
387 | input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover { |
||
388 | background: #FFE4CA; |
||
389 | } |
||
390 | .hand, input[type=button], input[type=submit], input[type=reset] { |
||
391 | cursor: pointer; |
||
392 | } |
||
393 | |||
394 | /** |
||
395 | * Splitter / uiLayout |
||
396 | */ |
||
397 | .ui-layout-pane { /* all 'panes' */ |
||
398 | border: 1px solid #BBB; |
||
399 | } |
||
400 | .ui-layout-pane-center { /* content body */ |
||
401 | padding: 0; |
||
402 | margin: 0; |
||
403 | } |
||
404 | .ui-layout-pane-west { /* west pane */ |
||
405 | padding: 0 10px; |
||
406 | background-color: #f9f9f9 !important; |
||
407 | overflow: auto; |
||
408 | } |
||
409 | .ui-layout-resizer { /* all 'resizer-bars' */ |
||
410 | background: #DDD; |
||
411 | top:55px !important; /* DM 13.03.2019 */ |
||
412 | } |
||
413 | .ui-layout-resizer-open:hover { /* mouse-over */ |
||
414 | background: #9D9; |
||
415 | } |
||
416 | .ui-layout-resizer-north:hover { |
||
417 | background: #DDD; |
||
418 | } |
||
419 | .ui-layout-resizer-north { |
||
420 | z-index:10 !important; /* DM 13.03.2019 */ |
||
421 | } |
||
422 | .ui-layout-toggler { /* all 'toggler-buttons' */ |
||
423 | background: #AAA; |
||
424 | } |
||
425 | .ui-layout-toggler-closed { /* closed toggler-button */ |
||
426 | background: #CCC; |
||
427 | border-bottom: 1px solid #BBB; |
||
428 | } |
||
429 | .ui-layout-toggler .content { /* toggler-text */ |
||
430 | font-size: 14px; |
||
431 | font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; |
||
432 | font-weight: bold; |
||
433 | } |
||
434 | .ui-layout-toggler:hover { /* mouse-over */ |
||
435 | background: #DCA; |
||
436 | } |
||
437 | .ui-layout-toggler:hover .content { /* mouse-over */ |
||
438 | color: #009; |
||
439 | } |
||
440 | |||
441 | /* masks are usually transparent - make them visible (must 'override' default) */ |
||
442 | .ui-layout-mask { |
||
443 | background: #C00 !important; |
||
444 | opacity: .20 !important; |
||
445 | filter: alpha(opacity=20) !important; |
||
446 | } |
||
447 | |||
448 | /* Language box */ |
||
449 | |||
450 | @media only screen and (min-width: 801px) { |
||
451 | /* Desktop */ |
||
452 | |||
453 | #languageBox { |
||
454 | position:absolute; |
||
455 | right:420px; |
||
456 | top:15px; |
||
457 | } |
||
458 | |||
459 | } |
||
460 | |||
461 | @media only screen and (max-width: 800px) { |
||
462 | /* Mobile */ |
||
463 | |||
464 | .lng_flag { |
||
465 | margin: 10px; |
||
466 | } |
||
467 | |||
468 | } |
||
469 | |||
470 | .lng_flag { |
||
471 | cursor: pointer; |
||
472 | border: 1px solid #000 !important; |
||
473 | height: 20px; |
||
474 | } |
||
475 | |||
476 | .lang_flag_bg { |
||
477 | /* to avoid that the stripes shine through a ghost image */ |
||
478 | background:#f0f0f0; |
||
479 | } |
||
480 | |||
481 | .picture_ghost { |
||
482 | opacity: 0.4; |
||
483 | } |
||
484 | |||
485 | /* Goto box */ |
||
486 | |||
487 | @media only screen and (max-width: 800px) { |
||
488 | /* Mobile */ |
||
489 | |||
490 | #gotobox { |
||
491 | /*max-width:350px;*/ |
||
492 | width:75%; |
||
493 | } |
||
494 | |||
495 | .mobilehidden { |
||
496 | display:none !important; |
||
497 | } |
||
498 | |||
499 | } |
||
500 | |||
501 | @media only screen and (min-width: 801px) { |
||
502 | /* Desktop */ |
||
503 | |||
504 | #gotobox { |
||
505 | position:absolute; |
||
506 | right:10px; |
||
507 | top:10px; |
||
508 | width:30%; |
||
509 | max-width:400px; |
||
510 | } |
||
511 | |||
512 | } |
||
513 | |||
514 | #gotoedit { |
||
515 | /* |
||
516 | font-style:italic; |
||
517 | font-weight:bolder; |
||
518 | */ |
||
519 | } |
||
520 | |||
521 | #gotobox { |
||
522 | display: none; /* will be set to 'block' by JavaScript */ |
||
523 | |||
524 | line-height:1.75em; |
||
525 | |||
526 | height:55px !important; |
||
527 | |||
528 | float:left; |
||
529 | border-bottom:1px; |
||
530 | |||
531 | width:100%; /* required for NoScript */ |
||
532 | padding-left:5px;/* required for NoScript */ |
||
533 | padding-right:5px;/* required for NoScript */ |
||
534 | |||
535 | padding-left:0px; |
||
536 | margin-left:0px; |
||
537 | } |
||
538 | |||
539 | #gotobox input[type="text"] { |
||
540 | width:calc(100% - 45px); |
||
541 | } |
||
542 | |||
543 | #gotobox input[type="button"] { |
||
544 | width:40px; |
||
545 | } |
||
546 | |||
547 | /* Logbook severities (shared between plugins ra099, ra200, admin600) */ |
||
548 | |||
549 | .severity_0 { |
||
550 | /* Undefined */ |
||
551 | } |
||
552 | |||
553 | .severity_1 { |
||
554 | /* Success */ |
||
555 | color: DarkGreen; |
||
556 | } |
||
557 | |||
558 | .severity_2 { |
||
559 | /* Informational */ |
||
560 | color: CornflowerBlue; |
||
561 | } |
||
562 | |||
563 | .severity_3 { |
||
564 | /* Warning */ |
||
565 | color: DarkGoldenRod; |
||
566 | } |
||
567 | |||
568 | .severity_4 { |
||
569 | /* Error */ |
||
570 | color: DarkRed; |
||
571 | } |
||
572 | |||
573 | .severity_5 { |
||
574 | /* Critical */ |
||
575 | color: DarkMagenta; |
||
576 | } |
||
577 | |||
578 | /* Tabs */ |
||
579 | |||
580 | .tab-content { |
||
581 | color: #000; |
||
582 | background-color: #f5f5f5; |
||
583 | padding : 15px; |
||
584 | } |
||
585 | |||
586 | .nav-link.active { |
||
587 | color: #000; |
||
588 | font-weight: bold; |
||
589 | background-color: #eeeeee !important; |
||
590 | border-radius: 0; |
||
591 | } |
||
592 | |||
593 | /* Let Bootstrap 4 look like Bootstrap 3 (more or less) */ |
||
594 | /* see https://www.geeksforgeeks.org/difference-between-bootstrap-3-and-bootstrap-4/ */ |
||
595 | |||
596 | .container { |
||
597 | max-width: unset !important; |
||
598 | } |
||
599 | |||
600 | body { |
||
601 | font-size:14px; |
||
602 | } |
||
603 | |||
604 | h1, h2, h3 { |
||
605 | margin-top: 20px; |
||
606 | margin-bottom: 10px; |
||
607 | } |