Rev 471 | 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 |
||
511 | daniel-mar | 3 | * Copyright 2019 - 2021 Daniel Marschall, ViaThinkSoft |
448 | daniel-mar | 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 { |
||
452 | daniel-mar | 39 | background-image: url(logo_anim.gif); |
451 | daniel-mar | 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; |
||
471 | daniel-mar | 116 | color:#000; |
448 | daniel-mar | 117 | } |
118 | #frames { |
||
119 | display:flex; |
||
120 | flex-direction:column; |
||
121 | align-items: flex-start; |
||
122 | } |
||
123 | #system_title_bar { |
||
124 | order:0; |
||
125 | flex:none; |
||
126 | } |
||
127 | #oidtree { |
||
128 | order:1; |
||
129 | flex:none; |
||
471 | daniel-mar | 130 | |
131 | /* https://stripesgenerator.com/ */ |
||
132 | background-image: linear-gradient(0deg, #ffffff 25%, #f4f4f4 25%, #f4f4f4 50%, #ffffff 50%, #ffffff 75%, #f4f4f4 75%, #f4f4f4 100%); |
||
133 | background-size: 4.00px 4.00px; |
||
134 | |||
448 | daniel-mar | 135 | } |
136 | #content_window { |
||
137 | order:2; |
||
138 | flex:none; |
||
139 | } |
||
140 | #system_title_text { |
||
141 | overflow-x:scroll; /* TODO: at computer browser, you see a scroll bar */ |
||
142 | } |
||
143 | } |
||
144 | |||
145 | @media only screen and (min-width: 801px) { |
||
146 | /* Desktop */ |
||
147 | #system_title_menu { |
||
148 | display:none !important; |
||
149 | } |
||
150 | } |
||
151 | |||
152 | #system_title_bar { |
||
153 | width:100% !important; |
||
154 | position:relative !important; |
||
155 | white-space: nowrap; |
||
156 | } |
||
157 | |||
158 | body, #frames { |
||
159 | width:100%; |
||
160 | height:100%; |
||
161 | } |
||
162 | |||
163 | .wrap { |
||
164 | overflow-x: auto; |
||
165 | margin: 0 auto; |
||
166 | width:100%; |
||
167 | } |
||
168 | |||
169 | .gray_footer_font { |
||
170 | color:#808080; |
||
171 | font-size:0.9em; |
||
172 | } |
||
173 | |||
174 | label.padding_label { |
||
175 | font-weight: normal !important; |
||
176 | display: inline-block; |
||
177 | clear: left; |
||
178 | width: 100px; |
||
179 | text-align: right; |
||
180 | padding-top: 3px; |
||
181 | margin-right: 8px; |
||
182 | } |
||
183 | |||
184 | .box { |
||
185 | width:auto !important; |
||
186 | padding:20px; |
||
187 | background-color:#fff; |
||
471 | daniel-mar | 188 | color:#000; |
448 | daniel-mar | 189 | border:1px solid #ccc; |
190 | border-radius:5px; |
||
191 | margin-top:10px; |
||
192 | } |
||
193 | #titleedit { |
||
194 | width:100%; |
||
195 | } |
||
196 | #system_title_1 { |
||
197 | color:#111; |
||
198 | margin-left:5px; |
||
199 | } |
||
200 | #system_title_2 { |
||
201 | color:#833; |
||
202 | font-size:2em; |
||
203 | margin-left:5px; |
||
204 | } |
||
205 | |||
206 | /* Mobile menu button */ |
||
207 | |||
208 | #bar1, #bar2, #bar3 { |
||
209 | width: 27px; |
||
210 | height: 5px; |
||
211 | background-color: #FFA500; |
||
212 | margin: 6px 0; |
||
213 | transition: 0.4s; |
||
214 | margin-left:14px; |
||
215 | } |
||
216 | |||
217 | #system_title_menu.active { |
||
218 | background-color: #FFA500; |
||
219 | } |
||
220 | |||
221 | .active #bar1 { |
||
222 | -webkit-transform: rotate(-45deg) translate(-7.5px, 7.5px); |
||
223 | transform: rotate(-45deg) translate(-7.5px, 7.5px); |
||
224 | background-color: #000; |
||
225 | } |
||
226 | |||
227 | .active #bar2 { |
||
228 | opacity: 0; |
||
229 | background-color: #000; |
||
230 | } |
||
231 | |||
232 | .active #bar3 { |
||
233 | -webkit-transform: rotate(45deg) translate(-8px, -8px); |
||
234 | transform: rotate(45deg) translate(-8px, -8px); |
||
235 | background-color: #000; |
||
236 | } |
||
237 | |||
238 | .hover #bar1, .hover #bar2, .hover #bar3 { |
||
239 | background-color:#fff; |
||
240 | } |
||
241 | |||
242 | #system_title_menu { |
||
243 | width:55px; |
||
244 | height:55px; |
||
245 | padding-top:8px; |
||
246 | text-decoration: none; |
||
247 | font-size: 19px; |
||
248 | display: none; /* will be set to 'block' by JavaScript */ |
||
249 | background-color: #000; |
||
250 | float:left; |
||
251 | cursor: pointer; |
||
252 | } |
||
253 | |||
254 | /* Title bar */ |
||
255 | |||
256 | #system_title_bar { |
||
257 | line-height:1.75em; |
||
258 | |||
259 | height:55px !important; |
||
260 | |||
261 | font-weight:bolder; |
||
262 | float:left; |
||
263 | border-bottom:1px; |
||
264 | |||
265 | width:100%; /* required for NoScript */ |
||
266 | padding-left:5px;/* required for NoScript */ |
||
267 | padding-right:5px;/* required for NoScript */ |
||
268 | |||
269 | padding-left:0px; |
||
270 | margin-left:0px; |
||
271 | |||
272 | display:block; |
||
273 | |||
471 | daniel-mar | 274 | /* https://stripesgenerator.com/ */ |
275 | background-image: linear-gradient(0deg, #ffffff 25%, #d4d4d4 25%, #d4d4d4 50%, #ffffff 50%, #ffffff 75%, #d4d4d4 75%, #d4d4d4 100%); |
||
276 | background-size: 4.00px 4.00px; |
||
277 | |||
278 | color:#000; |
||
448 | daniel-mar | 279 | |
280 | overflow:hidden; |
||
281 | } |
||
282 | #system_title_bar a { |
||
283 | text-decoration:none; |
||
284 | } |
||
285 | |||
286 | /* OID-Tree */ |
||
287 | |||
288 | .jstree-clicked { |
||
289 | background:#FFD5AA !important; |
||
471 | daniel-mar | 290 | color:#000; |
448 | daniel-mar | 291 | } |
292 | |||
293 | .jstree-anchor:hover { |
||
294 | background:#FFE4CA; |
||
471 | daniel-mar | 295 | color:#000; |
448 | daniel-mar | 296 | } |
297 | |||
298 | @media only screen and (max-width: 800px) { |
||
299 | /* Mobile */ |
||
300 | |||
301 | #content_window { |
||
302 | padding-left:16px; |
||
303 | padding-top:0px; |
||
304 | } |
||
305 | |||
306 | } |
||
307 | @media only screen and (min-width: 801px) { |
||
308 | /* Desktop */ |
||
309 | |||
310 | #oidtree { |
||
311 | position:absolute; |
||
312 | left:0px; |
||
313 | bottom:0px; |
||
314 | top:55px; /* required for NoScript */ |
||
315 | width:400px; /* required for NoScript */ |
||
316 | padding-top:5px; |
||
317 | white-space:nowrap; /* required for NoScript */ |
||
318 | overflow:scroll; /* required for NoScript */ |
||
319 | padding-bottom:10px !important; |
||
471 | daniel-mar | 320 | |
321 | /* https://stripesgenerator.com/ */ |
||
322 | background-image: linear-gradient(0deg, #ffffff 25%, #f4f4f4 25%, #f4f4f4 50%, #ffffff 50%, #ffffff 75%, #f4f4f4 75%, #f4f4f4 100%); |
||
323 | background-size: 4.00px 4.00px; |
||
448 | daniel-mar | 324 | } |
325 | |||
326 | #content_window { |
||
327 | position:absolute; |
||
328 | left:400px; |
||
329 | right:0px; |
||
330 | bottom:0px; |
||
331 | top:55px; /* required for NoScript */ |
||
332 | padding-left:20px; |
||
333 | padding-right:20px; |
||
334 | background:#fbfbfb; |
||
471 | daniel-mar | 335 | color:#000; |
448 | daniel-mar | 336 | } |
337 | } |
||
338 | |||
339 | #oidtree { |
||
340 | padding-top:5px !important; |
||
341 | padding-left:5px;/* required for NoScript */ |
||
342 | padding-right:5px;/* required for NoScript */ |
||
343 | } |
||
344 | |||
345 | html { |
||
346 | margin:0; |
||
347 | padding:0; |
||
348 | height:100%; |
||
349 | font-family:"Helvetica"; |
||
350 | } |
||
351 | body { |
||
352 | margin:0px; |
||
353 | padding:0px; |
||
354 | height:100%; |
||
355 | /* Bootstrap adds "Helvetica Neue",Helvetica at the beginning which causes bold font in IE11+Win10 */ |
||
356 | font-family:"Arial","sans-serif" !important; |
||
357 | } |
||
358 | |||
359 | @media only screen and (min-width: 801px) { |
||
360 | /* Desktop */ |
||
361 | body { |
||
362 | overflow:hidden; |
||
363 | } |
||
364 | .borderbox { |
||
365 | border:1px solid silver; |
||
366 | } |
||
367 | } |
||
368 | |||
369 | .borderbox { |
||
370 | overflow:auto; |
||
371 | } |
||
372 | |||
373 | h1 { |
||
374 | font-size:2.2em; |
||
375 | } |
||
376 | h2 { |
||
377 | font-size:1.6em !important; |
||
378 | } |
||
379 | h3 { |
||
380 | font-size:1.5em !important; |
||
381 | } |
||
382 | |||
383 | textarea,input[type="text"],input[type="password"],select { |
||
384 | /* for dark themes, this looks better */ |
||
385 | /*background:transparent;*/ |
||
386 | background: #F0F0F0; |
||
387 | border: #AAAAAA 1px solid; |
||
471 | daniel-mar | 388 | color:#000; |
448 | daniel-mar | 389 | } |
390 | |||
391 | input[type=button], input[type=submit], input[type=reset], |
||
392 | input[type=button]:link, input[type=submit]:link, input[type=reset]:link, |
||
393 | input[type=button]:visited, input[type=submit]:visited, input[type=reset]:visited, |
||
394 | input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover { |
||
395 | border: 1px solid #a2a2a2; |
||
396 | padding-top:2px; |
||
397 | padding-bottom:2px; |
||
398 | padding-left:7px; |
||
399 | padding-right:7px; |
||
400 | text-decoration:none; |
||
401 | background: #ffffff; |
||
402 | /*color: #0066CC;*/ |
||
471 | daniel-mar | 403 | color:#000; |
448 | daniel-mar | 404 | } |
405 | input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover { |
||
406 | background: #FFE4CA; |
||
471 | daniel-mar | 407 | color:#000; |
448 | daniel-mar | 408 | } |
409 | .hand, input[type=button], input[type=submit], input[type=reset] { |
||
410 | cursor: pointer; |
||
471 | daniel-mar | 411 | color:#000; |
448 | daniel-mar | 412 | } |
413 | |||
414 | /** |
||
415 | * Splitter / uiLayout |
||
416 | */ |
||
417 | .ui-layout-pane { /* all 'panes' */ |
||
418 | border: 1px solid #BBB; |
||
419 | } |
||
420 | .ui-layout-pane-center { /* content body */ |
||
421 | padding: 0; |
||
422 | margin: 0; |
||
423 | } |
||
424 | .ui-layout-pane-west { /* west pane */ |
||
425 | padding: 0 10px; |
||
426 | background-color: #f9f9f9 !important; |
||
427 | overflow: auto; |
||
428 | } |
||
429 | .ui-layout-resizer { /* all 'resizer-bars' */ |
||
430 | background: #DDD; |
||
471 | daniel-mar | 431 | color:#000; |
448 | daniel-mar | 432 | top:55px !important; /* DM 13.03.2019 */ |
433 | } |
||
434 | .ui-layout-resizer-open:hover { /* mouse-over */ |
||
435 | background: #9D9; |
||
471 | daniel-mar | 436 | color:#000; |
448 | daniel-mar | 437 | } |
438 | .ui-layout-resizer-north:hover { |
||
439 | background: #DDD; |
||
471 | daniel-mar | 440 | color:#000; |
448 | daniel-mar | 441 | } |
442 | .ui-layout-resizer-north { |
||
443 | z-index:10 !important; /* DM 13.03.2019 */ |
||
444 | } |
||
445 | .ui-layout-toggler { /* all 'toggler-buttons' */ |
||
446 | background: #AAA; |
||
471 | daniel-mar | 447 | color:#000; |
448 | } |
||
448 | daniel-mar | 449 | .ui-layout-toggler-closed { /* closed toggler-button */ |
450 | background: #CCC; |
||
471 | daniel-mar | 451 | color:#000; |
448 | daniel-mar | 452 | border-bottom: 1px solid #BBB; |
453 | } |
||
454 | .ui-layout-toggler .content { /* toggler-text */ |
||
455 | font-size: 14px; |
||
456 | font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; |
||
457 | font-weight: bold; |
||
458 | } |
||
459 | .ui-layout-toggler:hover { /* mouse-over */ |
||
460 | background: #DCA; |
||
471 | daniel-mar | 461 | color:#000; |
448 | daniel-mar | 462 | } |
463 | .ui-layout-toggler:hover .content { /* mouse-over */ |
||
464 | color: #009; |
||
465 | } |
||
466 | |||
467 | /* masks are usually transparent - make them visible (must 'override' default) */ |
||
468 | .ui-layout-mask { |
||
469 | background: #C00 !important; |
||
471 | daniel-mar | 470 | color:#000; |
448 | daniel-mar | 471 | opacity: .20 !important; |
472 | filter: alpha(opacity=20) !important; |
||
473 | } |
||
474 | |||
475 | /* Language box */ |
||
476 | |||
477 | @media only screen and (min-width: 801px) { |
||
478 | /* Desktop */ |
||
479 | |||
480 | #languageBox { |
||
481 | position:absolute; |
||
482 | right:420px; |
||
483 | top:15px; |
||
484 | } |
||
485 | |||
486 | } |
||
487 | |||
488 | @media only screen and (max-width: 800px) { |
||
489 | /* Mobile */ |
||
490 | |||
471 | daniel-mar | 491 | #languageBox { |
448 | daniel-mar | 492 | margin: 10px; |
493 | } |
||
471 | daniel-mar | 494 | |
495 | .lang_flag_bg { |
||
496 | margin-right: 10px; |
||
497 | } |
||
448 | daniel-mar | 498 | |
499 | } |
||
500 | |||
501 | .lng_flag { |
||
502 | cursor: pointer; |
||
503 | border: 1px solid #000 !important; |
||
504 | height: 20px; |
||
471 | daniel-mar | 505 | margin: 0px; |
448 | daniel-mar | 506 | } |
507 | |||
508 | .lang_flag_bg { |
||
509 | /* to avoid that the stripes shine through a ghost image */ |
||
471 | daniel-mar | 510 | background:#fff; |
511 | color:#000; |
||
512 | display: inline-block; |
||
448 | daniel-mar | 513 | } |
514 | |||
515 | .picture_ghost { |
||
516 | opacity: 0.4; |
||
517 | } |
||
518 | |||
519 | /* Goto box */ |
||
520 | |||
521 | @media only screen and (max-width: 800px) { |
||
522 | /* Mobile */ |
||
523 | |||
524 | #gotobox { |
||
525 | /*max-width:350px;*/ |
||
526 | width:75%; |
||
527 | } |
||
528 | |||
529 | .mobilehidden { |
||
530 | display:none !important; |
||
531 | } |
||
532 | |||
533 | } |
||
534 | |||
535 | @media only screen and (min-width: 801px) { |
||
536 | /* Desktop */ |
||
537 | |||
538 | #gotobox { |
||
539 | position:absolute; |
||
540 | right:10px; |
||
541 | top:10px; |
||
542 | width:30%; |
||
543 | max-width:400px; |
||
544 | } |
||
545 | |||
546 | } |
||
547 | |||
548 | #gotoedit { |
||
549 | /* |
||
550 | font-style:italic; |
||
551 | font-weight:bolder; |
||
552 | */ |
||
553 | } |
||
554 | |||
555 | #gotobox { |
||
556 | display: none; /* will be set to 'block' by JavaScript */ |
||
557 | |||
558 | line-height:1.75em; |
||
559 | |||
560 | height:55px !important; |
||
561 | |||
562 | float:left; |
||
563 | border-bottom:1px; |
||
564 | |||
565 | width:100%; /* required for NoScript */ |
||
566 | padding-left:5px;/* required for NoScript */ |
||
567 | padding-right:5px;/* required for NoScript */ |
||
568 | |||
569 | padding-left:0px; |
||
570 | margin-left:0px; |
||
571 | } |
||
572 | |||
573 | #gotobox input[type="text"] { |
||
574 | width:calc(100% - 45px); |
||
575 | } |
||
576 | |||
577 | #gotobox input[type="button"] { |
||
578 | width:40px; |
||
579 | } |
||
580 | |||
581 | /* Logbook severities (shared between plugins ra099, ra200, admin600) */ |
||
582 | |||
583 | .severity_0 { |
||
584 | /* Undefined */ |
||
585 | } |
||
586 | |||
587 | .severity_1 { |
||
588 | /* Success */ |
||
589 | color: DarkGreen; |
||
590 | } |
||
591 | |||
592 | .severity_2 { |
||
593 | /* Informational */ |
||
594 | color: CornflowerBlue; |
||
595 | } |
||
596 | |||
597 | .severity_3 { |
||
598 | /* Warning */ |
||
599 | color: DarkGoldenRod; |
||
600 | } |
||
601 | |||
602 | .severity_4 { |
||
603 | /* Error */ |
||
604 | color: DarkRed; |
||
605 | } |
||
606 | |||
607 | .severity_5 { |
||
608 | /* Critical */ |
||
609 | color: DarkMagenta; |
||
610 | } |
||
611 | |||
612 | /* Tabs */ |
||
613 | |||
614 | .tab-content { |
||
615 | color: #000; |
||
616 | background-color: #f5f5f5; |
||
617 | padding : 15px; |
||
618 | } |
||
619 | |||
620 | .nav-link.active { |
||
621 | color: #000; |
||
622 | font-weight: bold; |
||
623 | background-color: #eeeeee !important; |
||
624 | border-radius: 0; |
||
625 | } |
||
626 | |||
627 | /* Let Bootstrap 4 look like Bootstrap 3 (more or less) */ |
||
628 | /* see https://www.geeksforgeeks.org/difference-between-bootstrap-3-and-bootstrap-4/ */ |
||
629 | |||
630 | .container { |
||
631 | max-width: unset !important; |
||
632 | } |
||
633 | |||
634 | body { |
||
635 | font-size:14px; |
||
636 | } |
||
637 | |||
638 | h1, h2, h3 { |
||
639 | margin-top: 20px; |
||
640 | margin-bottom: 10px; |
||
641 | } |