1 /* ------------------------------------------------------------- */
2 /* MAIN PROPERTIES (main.less) */
3 /* ------------------------------------------------------------- */
6 // ----------------------------------------------------------------------------
8 // MAIN (MAIN PROPERTIES)
10 // ----------------------------------------------------------------------------
14 // - GENERAL FONT SIZES
20 // - OTHER STANDARD HTML-ELEMENTS (SELECTORS)
24 // - Dimensions for DIVs & SPANs
26 // - Info-Container (description & instructions)
27 // - Labels & Values (SPAN)
28 // - Centered Elements
33 // - Wrapping & text flow
34 // - Visibility, Height utility classes
39 // - Paragraph within Wrapper
40 // - Horizontal Scroll
42 // - Plus & Minus / Positive & Negative
44 // - SPECIALIZED PROPERTIES (REDUNANT)
46 // - Bank transactions
49 // ----------------------------------------------------------------------------
54 // --------------------------------------
56 // --------------------------------------
64 font-size: @font-size-smaller ;
69 font-size: @font-size-smaller ;
77 // --------------------------------------
79 // --------------------------------------
81 // -----------------------
83 // -----------------------
92 // PENDENT: SIEHE AUCH .LISTTOP
95 z-index: @zindex-h1; //hps:12
98 color: @base-h1-color ;
99 background-color: @base-h1-bg;
100 padding: @h1-padding;
101 border-top: @base-h1-border-top;
103 #content .wrapper h1{
104 color: @headings-color;
106 margin: @margin-from-wrapper ;
109 color: @base-h1-color ;
110 background-color: @base-h1-bg ;
111 padding: @h1-padding;
115 // -----------------------
117 // -----------------------
119 color: @headings-color;
120 font-size: @h2-size ;
122 letter-spacing: 0.14em;
128 padding: 0.6em 0.2em ;
129 margin: 0.6em 0 0 0 ;
133 padding: 0 0.2em 0.6em 0.2em ;
134 margin: @margin-from-wrapper ;
138 padding: 2.0em 0.2em 0.6em 0.2em ;
142 &:first-child{ padding-top: 0 ; }
144 } // /#content /.admin
146 h2.confirm { color: @headings-color-confirm ; }
147 h2.error { color: @headings-color-error ; }
150 // -----------------------
152 // -----------------------
153 // (e.g. Customer Name, Article Name)
154 // PENDENT: in verschiedenen Templates einfuegen
156 padding: 0.6em 0 0 0 !important;
157 font-size: @h2-size ;
158 color: @headings-color-accent ;
160 color: @headings-color ;
164 .wrapper > h2.record-title{
165 margin: 0em 1em 1em 0.2em !important;
167 .ui-tabs-panel > h2.record-title{
168 margin: 1em 1em 0.2em @margin-left-from-content !important;
169 padding: 0.8em 0 0 0.1em !important;
173 // -----------------------
175 // -----------------------
176 // see also mixin .mx-h3-caption and caption in table.less
178 .mx-h3-caption ; // Mixin
180 margin: 0.6em 0 0.4em 0 !important;
184 color: @headings-color ;
186 margin: 0.8em 0 0.4em 0 ;
188 #content .wrapper h3 {
190 &:first-child { margin-top: 0 ; }
192 #content table.tbl-horizontal > tbody > tr > th > h3,
193 #content table.tbl-horizontal > tbody > tr > td > h3 { margin-top: 0.2em !important; }
200 // --------------------------------------
202 // --------------------------------------
205 text-decoration: @link-decoration;
206 font-weight: @link-weight;
213 color: @link-hover-color;
214 text-decoration: @link-hover-decoration;
218 // PENDENT: some of them obsolete
223 background-color:transparent;
227 background-color: DarkGreen;
228 color: white !important;
232 background-color:#FF8000;
236 background-color:#FF0000;
241 // -------------------
243 // see file buttons.less
251 // --------------------------------------
252 // OTHER STANDARD HTML-ELEMENTS (SELECTORS)
253 // --------------------------------------
255 // -----------------------
257 // -----------------------
260 font-size: @font-size-base ;
263 font-size: @font-size-small ;
268 list-style: circle outside;
272 padding: 0 0 0 -0.6em ;
278 // -----------------------
280 // -----------------------
282 background-color: @base-standard; // same as table border
284 height: 2px; // same as table border
292 // --------------------------------------
294 // --------------------------------------
296 // -----------------------
297 // Dimensions for DIVs & SPANs
298 // -----------------------
302 &.wi-smallest { width: @div-wi-smallest ; } // 2.0em
303 &.wi-verysmall { width: @div-wi-verysmall ; } // 4.0em
304 &.wi-small { width: @div-wi-small ; } // 8.8em
305 &.wi-mediumsmall { width: @div-wi-mediumsmall ; } // 8.8em
306 &.wi-normal { width: @div-wi-normal ; } // 12.0em
307 &.wi-lightwide { width: @div-wi-lightwide ; } // 12.0em
308 &.wi-wide { width: @div-wi-wide ; } // 18.0em
309 &.wi-wider { width: @div-wi-wider ; } // 24.0em
310 &.wi-verywide { width: @div-wi-verywide ; } // 36.0em
313 // -----------------------
315 // -----------------------
316 // (see also TD.longdesc etc.)
317 div.long-description,
321 font-size: @font-size-smaller ;
324 font-size: @font-size-smaller ;
332 li { font-size: @font-size-smaller ; }
336 // -----------------------
337 // Info-Container (description & instructions)
338 // -----------------------
340 // Small info-boxes for the user
344 padding: 0 0 0.6em 0 ;
347 &.wi-verysmall { width: @div-wi-verysmall ; }
348 &.wi-small { width: @div-wi-small ; }
349 &.wi-mediumsmall { width: @div-wi-mediumsmall ; }
350 &.wi-normal { width: @div-wi-normal ; }
351 &.wi-wide { width: @div-wi-wide ; }
352 &.wi-lightwide { width: @div-wi-lightwide ; }
353 &.wi-wider { width: @div-wi-wider ; }
354 &.wi-verywide { width: @div-wi-verywide ; }
359 // Big info boxes for the user, same as cols
360 // PENDENT: Mixin fuer Padding, Margin etc. anlegen
362 background-color: @instructionbox-bg;
363 border: @instructionbox-border;
364 border-radius: @contentbox-radius ;
366 .mx-contentbox-properties ;
373 // -----------------------
374 // Labels & Values (SPAN)
375 // -----------------------
377 //color: @base-data-label-color ;
378 font-size: @font-size-smaller ;
380 //margin: 0 0.3em 0 0 ; // PENDENT: gehoert nicht hierher
384 //margin: 0 2.6em 0 0 ; // PENDENT: anschauen, margin-top seltsam
387 // -----------------------
389 // -----------------------
396 // -----------------------
398 // -----------------------
399 // PENDENT: Neue Loesung
403 //color: @base-data-label-color ;
405 //&.wi-mediumsmall{ width: 13.6em; } // PENDENT!
411 width: 20em !important ;
416 // -----------------------
418 // -----------------------
419 // PENDENT: wozu? genügt nicht PRE?
420 // /templates/webpages/am/edit_templates.html
422 border: 1px solid blue;
427 // -----------------------
429 // -----------------------
434 // -----------------------
435 // Wrapping & text flow
436 // -----------------------
438 // can be used to wrap text in a pre element
440 white-space: pre-wrap;
443 // -----------------------
444 // Visibility, Height utility classes
445 // -----------------------
455 // --------------------------------------
457 // --------------------------------------
459 // Wrapper for columns & horizontal tables
462 margin: @contentbox-margin ;
463 padding: 0 0 1.0em 0 ;
466 border: 1px transparent solid ; // for nice alignment with folded/toggled wrapper
469 .wrapper { margin-left: 0 !important ; }
471 &.test { background-color: #FFE67C ; }
474 .tbl-plain { float: left ; }
476 & > table.tbl-horizontal:last-child{
481 // -----------------------
483 // -----------------------
485 display: inline-block !important ;
487 & > table.tbl-horizontal,
492 // -----------------------
494 // -----------------------
495 // must be placed on the first position in .wrapper
496 // PENDENT: Plazierung
507 //display: inline-block;
512 background-repeat: no-repeat;
513 background-position: 50% 50%;
515 &.max { background-position-x: 99% ; }
516 &.min { background-image: url(../../image/toggle-down.png); }
517 &.max { background-image: url(../../image/toggle-left.png); }
526 border: @controlpanel-border ;
531 // -----------------------
533 // -----------------------
538 background-color: #FFD7BA;
539 border: 1px #6CF solid;
541 &.wi-small { width: @div-wi-small ; }
542 &.wi-mediumsmall { width: @div-wi-mediumsmall; }
543 &.wi-normal { width: @div-wi-normal ; }
544 &.wi-wide { width: @div-wi-wide ; }
545 &.wi-lightwide { width: @div-wi-lightwide ; }
546 &.wi-wider { width: @div-wi-wider ; }
547 &.wi-verywide { width: @div-wi-verywide ; }
556 // -----------------------
557 // Paragraph within Wrapper
558 // -----------------------
562 font-size: @font-size-smaller ;
564 //color: @gray-darker ;
565 padding-bottom: 1.0em ;
570 // --------------------------------------
571 // wrapper / classes to override scroll
573 // E.g. used for tables / image preview
574 // --------------------------------------
576 .horizontal-scroll-wrapper {
577 overflow-x: auto !important;
581 overflow: scroll !important;;
584 // --------------------------------------
585 // wrapper to align input-/control-panels
586 // next to each other, so that they are
587 // using the same height
588 // --------------------------------------
591 display: flex !important;
596 // --------------------------------------
598 // --------------------------------------
600 // -----------------------
601 // Plus & Minus / Positive & negative
602 // -----------------------
612 .plus0 { color: @base-negative !important; }
615 .plus1 { color: @base-positive !important; }
618 // PENDENT: wo eingesetzt?
619 span.unbalanced_ledger {
620 background-color: @base-warning-bg;
624 // -----------------------
626 // -----------------------
628 // /templates/webpages/requirement_spec_text_block/_text_block.html
629 // /templates/webpages/requirement_spec_item/_section_header.html
632 color: @gray-standard;
640 // --------------------------------------
641 // SPECIALIZED PROPERTIES (REDUNANT)
642 // --------------------------------------
644 // -----------------------
646 // -----------------------
647 // /templates/webpages/is/form_header.html
648 // /templates/webpages/ar/form_header.html
653 // /templates/webpages/is/form_header.html
654 // /templates/webpages/ar/form_header.html
655 .customer_dunning_level {
657 height: auto !important; // override: table td > span.data (forms.less)
659 // dunning invoice list
660 // /templates/webpages/dunning/show_invoices.html
661 #dunning_invoice_list .direct_debit td,
662 #dunning_invoice_list .direct_debit a {
663 color: @gray-standard;
666 // -----------------------
668 // -----------------------
669 // /templates/webpages/bank_transactions/tabs/automatic.html
670 #bank_transactions_proposals .invoice_number_highlight a,
671 #bank_transactions_proposals span.invoice_number_highlight {
672 background-color: @color-green-strong;
676 // --------------------------------------
678 // --------------------------------------
679 // make vertical Space between to elements
688 // --------------------------------------
689 // DEPRACETED STUFF (BUT WILL IT BE AVAILABLE FOR A LONGER TIME?)
690 // --------------------------------------
692 // PENDENT: Programmmaesig loesen, vor allem primitive Ueberschriften und "Not records Found"-Meldungen wandeln
694 &>p { margin: 0.6em 2.0em 1.0em 0.7em }
696 margin: 0.6em 2.0em 1.0em 1.0em