Subversion Repositories oidplus

Rev

Rev 767 | Rev 1014 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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