CKEditor: Styleanpassungen für kivi Integration
[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: Verdana, Arial, Helvetica, 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   font-family: Verdana, Arial, Helvetica;
334   color: #000000;
335 }
336 .checkbox, .radio {
337   font-family: Verdana, Arial, Helvetica;
338   color: #778899;
339 }
340 .plus0 {
341   /* font color for negative numbers */
342   color: red;
343 }
344 .plus1 {
345   color: green;
346 }
347 h2.confirm {
348   color: blue;
349 }
350 h2.error {
351   color: red;
352 }
353 fieldset {
354   margin-top: 15px;
355   color: black;
356   font-weight: bolder;
357 }
358 .filecontent {
359   border: 1px solid blue;
360   padding-left: 2px;
361   padding-right: 2px;
362 }
363 label {
364   cursor: pointer;
365   vertical-align: top;
366 }
367 .unbalanced_ledger {
368   background-color: #ffa0a0;
369 }
370 .flash_message_error {
371   background-color: #FFD6D6;
372   border: 1px solid #AE0014;
373   margin-top: 5px;
374   margin-bottom: 5px;
375   padding: 5px;
376 }
377 .flash_message_ok {
378   background-color: #ADFFB6;
379   border: 1px solid #007F0F;
380   margin-top: 5px;
381   margin-bottom: 5px;
382   padding: 5px;
383 }
384 .flash_message_warning {
385   background-color: #FFE8C7;
386   border: 1px solid #FF6600;
387   margin-top: 5px;
388   margin-bottom: 5px;
389   padding: 5px;
390 }
391 .flash_message_info {
392   background-color: #DCF2FF;
393   border: 1px solid #4690FF;
394   margin-top: 5px;
395   margin-bottom: 5px;
396   padding: 5px;
397 }
398
399 .flash_title {
400   font-weight: bold;
401 }
402
403 .dimmed-text {
404   color: #ccc;
405   font-style: italic;
406 }
407
408 .link_separator {
409   margin-left: 6px;
410   margin-right: 6px;
411 }
412
413 .chart_picker,
414 .part_picker {
415   display: inline-block;
416 }
417 .chart_picker:before,
418 .part_picker:before {
419   display: inline-block;
420   vertical-align: middle;
421   height: 100%;
422 }
423 .customer-vendor-picker-undefined,
424 .chartpicker-undefined,
425 .projectpicker-undefined,
426 .partpicker-undefined {
427   color: red;
428   font-style: italic;
429 }
430
431 div.part_picker_part,
432 div.chart_picker_chart {
433   padding: 5px;
434   margin: 5px;
435   border: 1px;
436   border-color: darkgray;
437   border-style: solid;
438   -webkit-border-radius: 4px;
439   -moz-border-radius: 4px;
440   border-radius: 4px;
441   background-color: white;
442   cursor: pointer;
443 }
444 div.part_picker_part:hover,
445 div.chart_picker_chart:hover {
446   color: #FE5F14;
447 }
448
449 div.cpc_block,
450 div.ppp_block {
451   overflow:hidden;
452   float:left;
453   width: 350px;
454 }
455 span.cpc_popup_button,
456 span.ppp_popup_button {
457   display: inline-block;
458   vertical-align: middle;
459   margin-left: -24px;
460   height: 20px;
461   width: 20px;
462   cursor: pointer;
463   background: url("../../image/search.svg") no-repeat center right;
464   background-size: contain;
465 }
466 span.chart_picker input,
467 span.part_picker input {
468   padding-right: 20px;
469   box-sizing: padding-box;
470   -moz-box-sizing: padding-box;
471   -webkit-box-sizing: padding-box;
472 }
473 span.chart_picker,
474 span.part_picker {
475   white-space: nowrap;
476 }
477 div.ppp_block span.ppp_block_number,
478 div.cpc_block span.cpc_block_number
479 {
480   float:left;
481 }
482 div.ppp_block span.ppp_block_description {
483   float:right;
484   margin-left:1em;
485   font-weight:bold;
486 }
487 div.cpc_block span.cpc_block_description {
488   float:left;
489   margin-left:1em;
490   font-weight:bold;
491 }
492 div.ppp_line span.ppp_block_description,
493 div.cpc_line span.cpc_block_description
494 {
495   margin-left:1em;
496   font-weight:bold;
497 }
498 div.cpc_block span.cpc_block_balance {
499   float:right;
500 }
501 div.cpc_block span.cpc_line_balance {
502   display:none;
503 }
504 div.cpc_line span.cpc_block_second_row {
505   display:none;
506 }
507 div.cpc_block span.cpc_block_second_row {
508 }
509 span.toggle_selected {
510   font-weight: bold;
511 }
512 .dunned_invoice {
513   font-weight: bold;
514   color: #f00;
515 }
516 .customer_dunning_level {
517   font-weight: bold;
518 }
519
520 #expand_all, .expand {
521     cursor: pointer;
522     display: block;
523     max-width: 16px;
524     max-height: 16px;
525 }
526
527 /* Bank transactions */
528 #bank_transactions_proposals .invoice_number_highlight a,
529 #bank_transactions_proposals span.invoice_number_highlight {
530   background-color: #006400;
531   color: #FFFFFF;
532 }
533
534 /* actionbar styling */
535 div.layout-actionbar {
536   background-color: white;
537 }
538
539 div.layout-actionbar div.layout-actionbar-link,
540 div.layout-actionbar div.layout-actionbar-submit,
541 div.layout-actionbar div.layout-actionbar-scriptbutton,
542 div.layout-actionbar div.layout-actionbar-link:focus,
543 div.layout-actionbar div.layout-actionbar-submit:focus,
544 div.layout-actionbar div.layout-actionbar-scriptbutton:focus {
545   border-color: darkgray;
546   background-color: whitesmoke;
547 }
548
549 div.layout-actionbar div.layout-actionbar-link:hover,
550 div.layout-actionbar div.layout-actionbar-submit:hover,
551 div.layout-actionbar div.layout-actionbar-scriptbutton:hover {
552   color: #FE5F14;
553 }
554
555 div.layout-actionbar div.layout-actionbar-action-disabled,
556 div.layout-actionbar div.layout-actionbar-action-disabled:hover {
557   color: gray;
558   background-color: whitesmoke;
559   border-color: lightgray;
560 }
561
562 div.layout-actionbar-combobox div.layout-actionbar-combobox-head span {
563   border-color: darkgray;
564   background-color: whitesmoke;
565 }
566
567 div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:hover {
568   color: #FE5F14;
569 }
570
571 div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:after {
572   border-color: black transparent;
573 }
574
575 div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:hover:after {
576   color: #FE5F14;
577   border-color: #FE5F14 transparent;
578 }
579 div.layout-actionbar .layout-actionbar-default-action {
580   font-weight: bold;
581 }
582
583 /* Admin section: the menu itself doesn't occupy space. So make room
584    at the top of the div covering the whole admin area. */
585 body > div.admin {
586   padding-top: 24px;
587 }
588
589 /* cke editor */
590 .cke_top {
591   padding: 0 !important;
592 }
593 .cke_toolgroup {
594   margin-bottom: 0 !important;
595   margin-top: 0 !important;
596 }
597 .cke_button {
598   padding: 0px; 6px !important;
599 }