563bda962c4ab2c27a830e0738c4d8f7ae8f251d
[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   display: inline-block;
414 }
415 .chart_picker:before,
416 .part_picker:before {
417   display: inline-block;
418   vertical-align: middle;
419   height: 100%;
420 }
421 .kivi-validator-invalid,
422 .customer-vendor-picker-undefined,
423 .chartpicker-undefined,
424 .projectpicker-undefined,
425 .partpicker-undefined {
426   color: red;
427   font-style: italic;
428 }
429
430 div.part_picker_part,
431 div.chart_picker_chart {
432   padding: 5px;
433   margin: 5px;
434   border: 1px;
435   border-color: darkgray;
436   border-style: solid;
437   -webkit-border-radius: 4px;
438   -moz-border-radius: 4px;
439   border-radius: 4px;
440   background-color: white;
441   cursor: pointer;
442 }
443 div.part_picker_part:hover,
444 div.chart_picker_chart:hover {
445   color: #FE5F14;
446 }
447
448 div.cpc_block,
449 div.ppp_block {
450   overflow:hidden;
451   float:left;
452   width: 350px;
453 }
454 span.cpc_popup_button,
455 span.ppp_popup_button {
456   display: inline-block;
457   vertical-align: middle;
458   margin-left: -24px;
459   height: 20px;
460   width: 20px;
461   cursor: pointer;
462   background: url("../../image/search.svg") no-repeat center right;
463   background-size: contain;
464 }
465 span.chart_picker input,
466 span.part_picker input {
467   padding-right: 20px;
468   box-sizing: padding-box;
469   -moz-box-sizing: padding-box;
470   -webkit-box-sizing: padding-box;
471 }
472 span.chart_picker,
473 span.part_picker {
474   white-space: nowrap;
475 }
476 div.ppp_block span.ppp_block_number,
477 div.cpc_block span.cpc_block_number
478 {
479   float:left;
480 }
481 div.ppp_block span.ppp_block_ean {
482   float:left;
483   margin-left:1em;
484 }
485 div.ppp_block span.ppp_block_description {
486   float:right;
487   margin-left:1em;
488   font-weight:bold;
489 }
490 div.cpc_block span.cpc_block_description {
491   float:left;
492   margin-left:1em;
493   font-weight:bold;
494 }
495 div.ppp_line span.ppp_block_number,
496 div.ppp_line span.ppp_block_ean {
497   float:left;
498   margin-left:1em;
499 }
500 div.ppp_line span.ppp_block_description,
501 div.cpc_line span.cpc_block_description
502 {
503   margin-left:1em;
504   font-weight:bold;
505 }
506 div.cpc_block span.cpc_block_balance {
507   float:right;
508 }
509 div.cpc_block span.cpc_line_balance {
510   display:none;
511 }
512 div.cpc_line span.cpc_block_second_row {
513   display:none;
514 }
515 div.cpc_block span.cpc_block_second_row {
516 }
517 span.toggle_selected {
518   font-weight: bold;
519 }
520 .dunned_invoice {
521   font-weight: bold;
522   color: #f00;
523 }
524 .customer_dunning_level {
525   font-weight: bold;
526 }
527
528 #expand_all, .expand {
529     cursor: pointer;
530     display: block;
531     max-width: 16px;
532     max-height: 16px;
533 }
534 #update_from_master {
535     cursor: pointer;
536     display: block;
537     max-width: 16px;
538     max-height: 16px;
539 }
540 #update_from_master:hover {
541     background: #ddd;
542 }
543
544 /* Bank transactions */
545 #bank_transactions_proposals .invoice_number_highlight a,
546 #bank_transactions_proposals span.invoice_number_highlight {
547   background-color: #006400;
548   color: #FFFFFF;
549 }
550
551 /* actionbar styling */
552 div.layout-actionbar {
553   background-color: white;
554 }
555
556 div.layout-actionbar div.layout-actionbar-link,
557 div.layout-actionbar div.layout-actionbar-submit,
558 div.layout-actionbar div.layout-actionbar-scriptbutton,
559 div.layout-actionbar div.layout-actionbar-link:focus,
560 div.layout-actionbar div.layout-actionbar-submit:focus,
561 div.layout-actionbar div.layout-actionbar-scriptbutton:focus {
562   border-color: darkgray;
563   background-color: whitesmoke;
564 }
565
566 div.layout-actionbar div.layout-actionbar-link:hover,
567 div.layout-actionbar div.layout-actionbar-submit:hover,
568 div.layout-actionbar div.layout-actionbar-scriptbutton:hover {
569   color: #FE5F14;
570 }
571
572 div.layout-actionbar div.layout-actionbar-action-disabled,
573 div.layout-actionbar div.layout-actionbar-action-disabled:hover {
574   color: gray;
575   background-color: whitesmoke;
576   border-color: lightgray;
577 }
578
579 div.layout-actionbar-combobox div.layout-actionbar-combobox-head span {
580   border-color: darkgray;
581   background-color: whitesmoke;
582 }
583
584 div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:hover {
585   color: #FE5F14;
586 }
587
588 div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:after {
589   border-color: black transparent;
590 }
591
592 div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:hover:after {
593   color: #FE5F14;
594   border-color: #FE5F14 transparent;
595 }
596 div.layout-actionbar .layout-actionbar-default-action {
597   font-weight: bold;
598 }
599
600 /* Admin section: the menu itself doesn't occupy space. So make room
601    at the top of the div covering the whole admin area. */
602 body > div.admin {
603   padding-top: 24px;
604 }
605
606 /* cke editor */
607 .cke_top {
608   padding: 0 !important;
609 }
610 .cke_toolgroup {
611   margin-bottom: 0 !important;
612   margin-top: 0 !important;
613 }
614 .cke_button {
615   padding: 0px; 6px !important;
616 }
617
618 /* selects with text filters */
619 div.filtered_select input, div.filtered_select select {
620   display: block;
621 }
622
623 div.filtered_select input {
624   background-image: url(../../image/glass14x14.png);
625   background-repeat: no-repeat;
626   background-position: 2px 2px;
627   border-radius: 0px;
628   border: solid #a0a0a0 1px;
629   border-bottom: none;
630   padding: 0px;
631   padding-left: 20px;
632   margin: 0;
633   width: 500px;
634 }
635
636 div.filtered_select select {
637   width: 522px;
638 }