Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / css / kivitendo / main.css
1 /* Stylesheet for kivitendo * Name:kivitendo.css
2
3 Color table
4 -----------
5
6 Background:    #EBEBEB burlywood
7 Links:         #006400 DarkGreen
8 Link-hover     #FE5F14 Orange / #FFFFE0 lightyellow
9 Titles, BG/VG: #79B61B Mid-green FFFFFF White
10 Tabcolor:      #CAFFA3
11 */
12
13
14 body {
15   background-color: #FFFFFF;
16   color: #000000;
17   font-family: sans-serif;
18   font-size: 80%;
19 }
20
21 /* Input elements */
22 input,
23 textarea,
24 select,
25 div.cke_textarea_inline {
26   -moz-border-radius: 0;
27   -webkit-border-radius: 0;
28   -khtml-border-radius: 0;
29   background-color: white;
30   border: 1px;
31   border-color: darkgray lightgray lightgray;
32   border-radius: 0;
33   border-style: solid;
34   outline: none;
35   padding: 1px;
36 }
37
38 input[type="text"], input[type="password"]
39 textarea,
40 select {
41   -moz-appearance: none;
42   -webkit-appearance: none;
43   -o-appearance: none;
44 }
45
46 select {
47   appearance : none;
48   background: white url('../../image/select-down.png') no-repeat scroll right center;
49   padding: 0 14px 0 0;
50 }
51
52 input:focus,
53 textarea:focus,
54 select:focus,
55 div.cke_textarea_inline:focus {
56   background-color: #ffffa0;
57   border: 1px solid #fe5f14;
58 }
59
60 input[type="button"],
61 input[type="submit"],
62 button {
63   background-color: whitesmoke;
64   border: 1px;
65   border-color: darkgray;
66   border-style: solid;
67   padding: 0px 4px;
68 }
69
70 input[type="button"]:focus,
71 input[type="submit"]:focus,
72 button:focus {
73   background-color: #ffffa0;
74   border-color: #fe5f14;
75 }
76
77 button:hover:enabled,
78 input[type="button"]:hover:enabled,
79 input[type="submit"]:hover:enabled {
80   color: #fe5f14;
81 }
82
83 /* The look of links */
84 a {
85   padding: 0 0.2em;
86   text-decoration: none;
87 }
88 A:link, A:visited, A:active {
89   color: #000000;
90   border-bottom: thin solid #FE5F14;
91 }
92 a:hover {
93   color: #FE5F14;
94   background-color: whitesmoke;
95 }
96 a.selected:hover {
97   color:#EBEBEB;
98 }
99 a.nomobile {
100   background-color:transparent;
101   border:none;
102 }
103 a.green {
104   background-color: DarkGreen;
105   color: white !important;
106   border:none;
107 }
108 a.orange {
109   background-color:#FF8000;
110   border:none;
111 }
112 a.red {
113   background-color:#FF0000;
114   border:none;
115 }
116
117 table {
118   font-size: 90% !important;
119   table-layout: auto;
120   border-spacing: 0.3em;
121 }
122
123 hr {
124   background-color: #006400;
125   border: none;
126   color: #79B61B;
127   height: 2px;
128 }
129
130 tr.rule-before th, tr.rule-before td {
131   padding-top: 2px;
132   border-top: 2px solid #EBEBEB;
133 }
134
135 td {
136   color: #000000;
137   font-weight: normal;
138 }
139 th {
140   color: #000000;
141   font-weight: bold;
142 }
143 /* login and admin */
144 a.no-underlined-links, a.no-underlined-links:visited, a.no-underlined-links:hover {
145   text-decoration: none !important;
146   background-color:transparent !important;
147   border:none;
148 }
149 a.no-underlined-links:hover {
150   background: none;
151 }
152 body.login {
153   background-color: #FFFFE0;
154   color: #000000;
155 }
156 .login h1 {
157   text-align: center;
158   font-size: 150%;
159 }
160 table.login {
161   background-color: #FFFFE0;
162   padding: 20px;
163   width: 500px;
164 }
165 td.login {
166   text-align: center;
167 }
168 th.login {
169   text-align: right;
170 }
171 .admin h1 {
172   background-color: #fe5f14;
173   text-color: #ffffff;
174 }
175 body.menu {
176   color: #000000;
177 }
178 /* Warnings */
179 .message_error_login {
180   color: #000000;
181   border: 1px solid #8b0000;
182   background-color: #ffcccc;
183   padding: 3px;
184 }
185 .message_ok {
186   padding: 5px;
187   background-color: #ADFFB6;
188   color: black;
189   font-weight: bolder;
190   text-align: center;
191   border-style: solid;
192   border-width: thin;
193 }
194 .message_error {
195   padding: 5px;
196   background-color: #CC0000;
197   color: white;
198   font-weight: bolder;
199   text-align: center;
200   border-style: solid;
201   border-width: thin;
202 }
203 .message_hint {
204   padding: 0.5em;
205   background-color: #FFEE66;
206   color: black;
207   font-weight: bolder;
208   text-align: center;
209   border-style: solid;
210   border-width: thin;
211 }
212 .message_error_label {
213   padding: 0.5em;
214   background-color: #E00000;
215   color: white;
216   font-weight: normal;
217   text-align: left;
218   border-style: solid;
219   border-width: thin;
220 }
221 /* Headings */
222 .listtop, h1 {
223   background-color: #006400;
224   text-align: left;
225   padding: 0.5em;
226   color: #FFFFFF;
227   font-size:100%;
228   font-weight: bolder;
229   border-style: none;
230   border-width: thin;
231   -moz-border-radius:0.4em; /* Firefox */
232   -webkit-border-radius:0.4em; /* Safari, Chrome */
233   -khtml-border-radius:0.4em; /* Konqueror */
234   border-radius:0.4em; /* CSS3 */
235   behavior:url(border-radius.htc);
236 }
237
238 .listheading, #content h2 {
239   padding: 0.2em;
240   background-color: #EBEBEB;
241   color: #006400;
242   font-size: 95%;
243   font-weight: bolder;
244   text-align: left;
245   border-style: none;
246 }
247
248 .accountlistheading {
249   padding: 0.3em;
250   color: #006400;
251   font-weight: bold;
252   text-align: left;
253   background-color: #EBEBEB;
254 }
255 .subsubheading {
256   color: #000000;
257   font-weight: bolder;
258   text-decoration: underline;
259 }
260 .optionen {
261   border: dashed;
262   border-width: 1px;
263   background: #FFFFE0;
264 }
265 .listrow1, .listrow:nth-child(even) {
266   background-color: #FFFFFF;
267   color: black;
268   vertical-align: top;
269 }
270 .listrow0, .listrow:nth-child(odd) {
271   background-color: #FFFF99;
272   color: black;
273   vertical-align: top;
274 }
275 .listrow_error1, .listrow_error:nth-child(even) {
276   background-color: #F6CECE;
277   color: black;
278   vertical-align: top;
279 }
280 .listrow_error0, .listrow_error:nth-child(odd) {
281   background-color: #F5A9A9;
282   color: black;
283   vertical-align: top;
284 }
285 .listrowempty {
286   background-color: #FFFFFF;
287   color: black;
288   vertical-align: top;
289 }
290 .listsubtotal {
291   background-color: rgb(236,233,216);
292   color: black;
293   font-weight: bolder;
294 }
295 .listtotal, .listtotal td {
296   background-color: rgb(236,233,216);
297   color: black;
298   font-weight: bolder;
299 }
300 /* Verkaufsbericht */
301 .listmainsortheader {
302   background-color: rgb(236,233,216);
303   color: red;
304   font-weight: bolder;
305   padding-left: 10px;
306   padding-top: 0px;
307 }
308 .listmainsortsubtotal {
309   background-color: rgb(236,233,216);
310   color: red;
311   font-weight: bolder;
312   padding-left: 10px;
313 }
314 .listsubsortheader {
315   background-color: rgb(236,233,216);
316   color: green;
317   font-weight: bolder;
318   padding-left: 20px
319 }
320 .listsubsortsubtotal {
321   background-color: rgb(236,233,216);
322   color: green;
323   font-weight: bolder;
324   padding-left: 20px
325 }
326 .listsortdescription {
327   background-color: rgb(236,233,216);
328   color: black;
329   font-weight: normal;
330   padding-left: 30px
331 }
332 .submit {
333   color: #000000;
334 }
335 .checkbox, .radio {
336   color: #778899;
337 }
338 .plus0 {
339   /* font color for negative numbers */
340   color: red;
341 }
342 .plus1 {
343   color: green;
344 }
345 h2.confirm {
346   color: blue;
347 }
348 h2.error {
349   color: red;
350 }
351 fieldset {
352   margin-top: 15px;
353   color: black;
354   font-weight: bolder;
355 }
356 .filecontent {
357   border: 1px solid blue;
358   padding-left: 2px;
359   padding-right: 2px;
360 }
361 label {
362   cursor: pointer;
363   vertical-align: top;
364 }
365 .unbalanced_ledger {
366   background-color: #ffa0a0;
367 }
368 .flash_message_error {
369   background-color: #FFD6D6;
370   border: 1px solid #AE0014;
371   margin-top: 5px;
372   margin-bottom: 5px;
373   padding: 5px;
374 }
375 .flash_message_ok {
376   background-color: #ADFFB6;
377   border: 1px solid #007F0F;
378   margin-top: 5px;
379   margin-bottom: 5px;
380   padding: 5px;
381 }
382 .flash_message_warning {
383   background-color: #FFE8C7;
384   border: 1px solid #FF6600;
385   margin-top: 5px;
386   margin-bottom: 5px;
387   padding: 5px;
388 }
389 .flash_message_info {
390   background-color: #DCF2FF;
391   border: 1px solid #4690FF;
392   margin-top: 5px;
393   margin-bottom: 5px;
394   padding: 5px;
395 }
396
397 .flash_title {
398   font-weight: bold;
399 }
400
401 .dimmed-text {
402   color: #ccc;
403   font-style: italic;
404 }
405
406 .link_separator {
407   margin-left: 6px;
408   margin-right: 6px;
409 }
410
411 .chart_picker,
412 .part_picker,
413 .project_picker,
414   display: inline-block;
415 }
416 .chart_picker:before,
417 .part_picker:before,
418 .project_picker:before {
419   display: inline-block;
420   vertical-align: middle;
421   height: 100%;
422 }
423 .kivi-validator-invalid,
424 .customer-vendor-picker-undefined,
425 .chartpicker-undefined,
426 .projectpicker-undefined,
427 .partpicker-undefined {
428   color: red;
429   font-style: italic;
430 }
431
432 div.project_picker_project,
433 div.part_picker_part,
434 div.chart_picker_chart {
435   padding: 5px;
436   margin: 5px;
437   border: 1px;
438   border-color: darkgray;
439   border-style: solid;
440   -webkit-border-radius: 4px;
441   -moz-border-radius: 4px;
442   border-radius: 4px;
443   background-color: white;
444   cursor: pointer;
445 }
446 div.project_picker_project:hover,
447 div.part_picker_part:hover,
448 div.chart_picker_chart:hover {
449   color: #FE5F14;
450 }
451
452 div.cpc_block,
453 div.ppp_block {
454   overflow:hidden;
455   float:left;
456   width: 350px;
457 }
458 span.cpc_popup_button,
459 span.ppp_popup_button {
460   display: inline-block;
461   vertical-align: middle;
462   margin-left: -24px;
463   height: 20px;
464   width: 20px;
465   cursor: pointer;
466   background: url("../../image/search.svg") no-repeat center right;
467   background-size: contain;
468 }
469 span.chart_picker input,
470 span.part_picker input,
471 span.project_picker input {
472   padding-right: 20px;
473   box-sizing: padding-box;
474   -moz-box-sizing: padding-box;
475   -webkit-box-sizing: padding-box;
476 }
477 span.chart_picker,
478 span.part_picker,
479 span.project_picker {
480   white-space: nowrap;
481 }
482 div.ppp_block span.ppp_block_number,
483 div.cpc_block span.cpc_block_number
484 {
485   float:left;
486 }
487 div.ppp_block span.ppp_block_ean {
488   float:left;
489   margin-left:1em;
490 }
491 div.ppp_block span.ppp_block_description {
492   float:right;
493   margin-left:1em;
494   font-weight:bold;
495 }
496 div.cpc_block span.cpc_block_description {
497   float:left;
498   margin-left:1em;
499   font-weight:bold;
500 }
501 div.ppp_line span.ppp_block_number,
502 div.ppp_line span.ppp_block_ean {
503   float:left;
504   margin-left:1em;
505 }
506 div.ppp_line span.ppp_block_description,
507 div.cpc_line span.cpc_block_description
508 {
509   margin-left:1em;
510   font-weight:bold;
511 }
512 div.cpc_block span.cpc_block_balance {
513   float:right;
514 }
515 div.cpc_block span.cpc_line_balance {
516   display:none;
517 }
518 div.cpc_line span.cpc_block_second_row {
519   display:none;
520 }
521 div.cpc_block span.cpc_block_second_row {
522 }
523 span.toggle_selected {
524   font-weight: bold;
525 }
526 .dunned_invoice {
527   font-weight: bold;
528   color: #f00;
529 }
530 .customer_dunning_level {
531   font-weight: bold;
532 }
533
534 #expand_all, .expand {
535     cursor: pointer;
536     display: block;
537     max-width: 16px;
538     max-height: 16px;
539 }
540 #update_from_master {
541     cursor: pointer;
542     display: block;
543     max-width: 16px;
544     max-height: 16px;
545 }
546 #update_from_master:hover {
547     background: #ddd;
548 }
549
550 /* Bank transactions */
551 #bank_transactions_proposals .invoice_number_highlight a,
552 #bank_transactions_proposals span.invoice_number_highlight {
553   background-color: #006400;
554   color: #FFFFFF;
555 }
556
557 /* actionbar styling */
558 div.layout-actionbar {
559   background-color: white;
560 }
561
562 div.layout-actionbar div.layout-actionbar-link,
563 div.layout-actionbar div.layout-actionbar-submit,
564 div.layout-actionbar div.layout-actionbar-scriptbutton,
565 div.layout-actionbar div.layout-actionbar-link:focus,
566 div.layout-actionbar div.layout-actionbar-submit:focus,
567 div.layout-actionbar div.layout-actionbar-scriptbutton:focus {
568   border-color: darkgray;
569   background-color: whitesmoke;
570 }
571
572 div.layout-actionbar div.layout-actionbar-link:hover,
573 div.layout-actionbar div.layout-actionbar-submit:hover,
574 div.layout-actionbar div.layout-actionbar-scriptbutton:hover {
575   color: #FE5F14;
576 }
577
578 div.layout-actionbar div.layout-actionbar-action-disabled,
579 div.layout-actionbar div.layout-actionbar-action-disabled:hover {
580   color: gray;
581   background-color: whitesmoke;
582   border-color: lightgray;
583 }
584
585 div.layout-actionbar-combobox div.layout-actionbar-combobox-head span {
586   border-color: darkgray;
587   background-color: whitesmoke;
588 }
589
590 div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:hover {
591   color: #FE5F14;
592 }
593
594 div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:after {
595   border-color: black transparent;
596 }
597
598 div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:hover:after {
599   color: #FE5F14;
600   border-color: #FE5F14 transparent;
601 }
602 div.layout-actionbar .layout-actionbar-default-action {
603   font-weight: bold;
604 }
605
606 /* Admin section: the menu itself doesn't occupy space. So make room
607    at the top of the div covering the whole admin area. */
608 body > div.admin {
609   padding-top: 24px;
610 }
611
612 /* cke editor */
613 .cke_top {
614   padding: 0 !important;
615 }
616 .cke_toolgroup {
617   margin-bottom: 0 !important;
618   margin-top: 0 !important;
619 }
620 .cke_button {
621   padding: 0px; 6px !important;
622 }
623
624 /* selects with text filters */
625 div.filtered_select input, div.filtered_select select {
626   display: block;
627 }
628
629 div.filtered_select input {
630   background-image: url(../../image/glass14x14.png);
631   background-repeat: no-repeat;
632   background-position: 2px 2px;
633   border-radius: 0px;
634   border: solid #a0a0a0 1px;
635   border-bottom: none;
636   padding: 0px;
637   padding-left: 20px;
638   margin: 0;
639   width: 500px;
640 }
641
642 div.filtered_select select {
643   width: 522px;
644 }