Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision cd670dfa

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID cd670dfafdb3560614634765e2a377946ff1809b
  • Vorgänger ff33b093

Erweiterung und Optimierung less und css fuer Design 4.0

Unterschiede anzeigen:

css/less/tables.less
1
//  ----------------------------------------------------------------------------
1
/* ------------------------------------------------------------- */
2
/* tables (tables.less)                                          */
3
/* ------------------------------------------------------------- */
4

  
5
//----------------------------------------------------------------------------
2 6
//
3
//  TABLES
7
//  tables
4 8
//
5
//  ----------------------------------------------------------------------------
6
//  DESCRIPTION: for all kind of tables in #content
9
//----------------------------------------------------------------------------
10
//  description: for all kind of tables in #content
7 11
//
8
//  CONTENTS:
9
//  - MIXINS
10
//  - TABLE
11
//  - CELLS (TD & TH)
12
//    - Data Format
13
//    - Images within Cells
14
//    - TD
15
//    - TH
16
//    - TR (Table Row)
17
//  - THEAD
18
//  - TBODY
19
//  - TFOOT
20
//  - CAPTION
21
//  - HEADINGS (Print Style)
22
//  - COLGROUP & COLS
23
//    - Dimensions for Table Colums (COL)
24
//  - TABLE LIST
25
//  - TABLE PLAIN
26
//  - TABLE HORIZONTAL
27
//  - TABLE DIALOG
28
//  - TABLE CLASS TEST
29
//  - DIMENSIONS (Classes) FOR TABLES
30
//  - LINKS
31
//  - HEADINGS
32
//  - SUBTOTALS
12
//  contents:
13
//  - mixins
14
//  - table
15
//  - cells (td & th)
16
//    - data format
17
//    - images within cells
18
//    - td
19
//    - th
20
//    - tr (table row)
21
//  - thead
22
//  - tbody
23
//  - tfoot
24
//  - caption
25
//  - headings (print style)
26
//  - colgroup & cols
27
//    - dimensions for table colums (col)
28
//  - table list
29
//  - table plain
30
//  - table horizontal
31
//  - table dialog
32
//  - table class test
33
//  - dimensions (classes) for tables
34
//  - links
35
//  - headings
36
//  - subtotals
33 37
//
34
//  - TABLES in Requirement Specs
35
//  - TABLES with DIVS
36
//  - LIST WITH PARAGRAPHS
37
//  ----------------------------------------------------------------------------
38
//  - tables in requirement specs
39
//  - tables with divs
40
//  - list with paragraphs
41
//----------------------------------------------------------------------------
38 42

  
39 43

  
40
//  --------------------------------------
41
//  TABLE
42
//  --------------------------------------
43 44

  
45
// ----------------------------------------------------------------------------
46
//
47
// TABLE
48
//
49
// ----------------------------------------------------------------------------
50
//
44 51
table {
45
  font-size: @font-size-base ;
52
  //font-size: @font-size-base ;
46 53
  table-layout: auto ;
47 54
  border-spacing: 1px ;
48 55

  
49 56

  
50
  //  --------------------------------------
57
  //--------------------------------------
51 58
  //  CELLS (TD & TH)
52
  //  --------------------------------------
59
  //--------------------------------------
53 60
  td,
54 61
  th {
55 62
    text-align: left ;
56 63
    vertical-align: top ;
57
    font-size: @font-size-smaller ;
64
    //font-size: @font-size-smaller ;
58 65
    font-weight: normal ;
59 66

  
60 67

  
61
    //  --------------
62
    //  Data format
63
    //
68
    // -----------------------
69
    //  data format
70
    // -----------------------
64 71
    &.right             { text-align:      right  !important ; }
65 72
    &.center            { text-align:      center !important ;
66 73
      input             { float:           none   !important ; }
......
73 80
    &.img               { text-align:      center !important ; }
74 81
    &.top               { vertical-align:  top    !important ; }
75 82
    // see also div.longdesc in main.css
76
    // PENDENT: Mixin und Variablen erstellen
83
    // PENDENT: mixin und variablen erstellen
77 84
    &.long-desc,
78 85
    &.long-description,
79 86
    &.longdesc,
80
    &.longdescription {
87
    &.longdescription,
88
    div.description {
81 89
      font-size: 80% ;
82
      color: @t-cell-head-text ;
90
      color: @t-cell-label-text ;
83 91
    }
84 92
    &.highlight { background-color: @t-row-zebra-bg-highlight ; }
85
    //  --------------
86
    //  Images within Cells
87
    //
93

  
94

  
95
		// -----------------------
96
		//  HEADINGS (WITHIN TD & TH)
97
		// -----------------------
98
		// PENDENT: ueberpruefen
99
    h3,
100
    h4 {
101
      margin: 0 !important ;
102
      padding: 0.8em 0 0.2em 0 !important ;
103
    }
104
    h4 {
105
        //font-weight: normal ;
106
    }
107

  
108
		// -----------------------
109
		//  LINKS (WITHIN TD & TH)
110
		// -----------------------
111
		&> a {
112
			display: block ;
113
		}
114

  
115
    // -----------------------
116
    //  images within cells
117
    // -----------------------
88 118
    img {
89 119
      display:        inline ;
90 120
      vertical-align: top    ;
......
94 124
    &~a img,
95 125
    &~img { float:    right  ; }
96 126

  
97

  
98
    //  --------------
99
    //  Description & labels within cells
100
    //
127
    // -----------------------
128
    //  description & labels within cells
129
    // -----------------------
101 130
    div.description {
102
      font-size: 90% ;
103
      color:     @t-cell-head-text ;
131
//      font-size: 90% ;
132
//      color:     @t-cell-label-text ;
104 133
      float:     none ;
105 134
      clear:     both ;
106 135
    }
......
110 139
    }
111 140

  
112 141
    span {
113
      // simulates TH in horizontal tables
142
      // simulates th in horizontal tables
114 143
      &.label {
115 144
        display:              block ;
116 145
        padding:              0 0 0.5em 0 ;
117
        color:                @brand-data-label-color ;
146
        color:                @t-cell-th-text-color ;
118 147
      }
119 148
      &.below {
120 149
        //clear: both ;
......
134 163
      }
135 164
    }
136 165

  
166
    // -----------------------
167
    //  form element within cells
168
    // -----------------------
137 169

  
170
    // if a .below class follows directly after a td/th
171
    & + input.below {
172
    	margin: 0 !important;
173
    }
138 174

  
139
    //  --------------
140
    //  Form Element within Cells
141
    //
142 175
    input,
143 176
    select {
144 177
      //float: left ;
......
147 180
        clear: left ;
148 181
        float: none ;
149 182
        overflow: hidden ;
150
        margin: 0.3em 0 0 0 !important ;
183
        // PENDENT: anschauen! vor allem button customer information -> Lieferadresse
184
        margin: 0.3em 0 0 0 ;
185
        //margin: 0 0 0 0 !important ;
151 186
      }
152 187
    }
188
    
153 189
    textarea {
154 190
      margin: -0.14em -0.0em ;
155 191
    }
......
158 194
  //  /th, td
159 195

  
160 196

  
161
  //  --------------
162
  //  TH (Table Header Cells)
163
  //
197
  //--------------------------------------
198
  //  TH (TABLE HEADER CELLS)
199
  //--------------------------------------
164 200
  th {
165 201
    white-space: normal !important ;
166 202
  }
167 203

  
168
  //  --------------
169
  //  TD (Table Data)
170
  //
204
  //--------------------------------------
205
  //  TD (TABLE DATA)
206
  //--------------------------------------
171 207
  td {
172
    color: @gray-mediumdark;
208
    color: @t-cell-text-color;
173 209
  }
174 210

  
175 211

  
176
  //  --------------
177
  //  TR
178
  //
212
  //--------------------------------------
213
  //  TR (TABLE ROW)
214
  //--------------------------------------
179 215
  tr {
180
    //  if header-cell is in the same row as a caption-header-cell (TH.CAPTION)
216
    //  if header-cell is in the same row as a caption-header-cell (th.caption)
181 217
    &.header-caption th {
182 218
      vertical-align: bottom ;
183 219
    }
184 220
    &.separator {
185
      // Standard separator is below
221
      // standard separator is below
186 222
      th, td {
187 223
        padding-bottom: 3.0em ;
188 224
      }
......
198 234
        }
199 235
      }
200 236
    }
237

  
238
		// -----------------------
239
		//  SUB-TOTALS
240
		// -----------------------
241
    //  PENDENT: ggf. obsolete
242
    &.total-sub {
243
      height: 2.0em ;
244

  
245
      td {
246
        border-top: 1px solid @table-border-color ;
247
        border-bottom: 2px solid @table-border-color ;
248
        font-weight: bold ;
249
        color: @t-cell-text-color ;
250
      }
251
    }
252

  
253
		// -----------------------
254
		//  HEADINGS (alternativ version [print style])
255
		// -----------------------
256
		// PENDENT: ueberpruefen
257
		&.heading th {
258
			font-size: 120% ;
259
			border-top: 1px @table-border-color solid ;
260
		}
261

  
262

  
263
  } // /tr
264

  
265

  
266

  
267
  //--------------------------------------
268
  //  CAPTION
269
  //--------------------------------------
270

  
271
  //  this must be placed here
272
  //  otherwise th.caption will be overridden if placed above
273
  caption,
274
  th.caption {
275
    .mx-h3-caption ; //   mixin
276
    white-space:       nowrap ;
277
    //  addition with smaller font-size
278
    small { font-size : @font-size-small ; }
201 279
  }
202 280

  
203 281

  
204
  //  --------------------------------------
282

  
283
  //--------------------------------------
205 284
  //  THEAD
206
  //  --------------------------------------
285
  //--------------------------------------
207 286
  thead {
208 287
    th {
209
      .mx-thead-th ; //  Mixin
288
      .mx-thead-th ; //  mixin
210 289

  
211 290
      a {
212 291
        img {
......
219 298
  }
220 299

  
221 300

  
222
  //  --------------------------------------
301
  //--------------------------------------
223 302
  //  TBODY
224
  //  --------------------------------------
303
  //--------------------------------------
225 304

  
226 305
  tbody {
227 306
    tr {
228
      //  common cells within TBODY
307
      //  common cells within tbody
229 308
      td {  }
230 309
      th {  }
231 310
    }
232 311
  }
233 312

  
234 313

  
235
  //  --------------------------------------
314
  //--------------------------------------
236 315
  //  TFOOT
237
  //  --------------------------------------
316
  //--------------------------------------
238 317
  tfoot {
239 318
    tr {
240 319
      th,
......
251 330
        font-weight: normal ;
252 331
        color: @t-cell-foot-text ;
253 332
       }
254
      //  if more than one row in TFOOT first row has other properties
333
      //  if more than one row in tfoot first row has other properties
255 334
      &:first {
256 335
        td,
257 336
        th { border-top: @table-border-color 2px solid ; }
......
265 344
        }
266 345
      }
267 346
    } //  /tr
268
    // This is just for expecption (eg. form in price-rules)
347
    // this is just for expecption (eg. form in price-rules)
269 348
    // tfoot.blank
270 349
    &.blank {
271 350
      tr {
......
279 358
        }
280 359
      }
281 360
    } // /tfoot.blank
282
  } //  /TFOOT
283

  
284

  
285
  //  --------------------------------------
286
  //  CAPTION
287
  //  --------------------------------------
288

  
289
  //  this must be placed here
290
  //  otherwise th.caption will be overridden if placed above
291
  caption,
292
  th.caption {
293
    background-color:  @table-caption-bg ;
294
    white-space:       nowrap ;
295
    .mx-h3-caption ; //   Mixin
296
    //  Addition with smaller font-size
297
    small { font-size : @font-size-small ; }
298
    margin: 0.1em 0 0.4em 0 ;
299
  }
300

  
361
  } //  /tfoot
301 362

  
302
  //  --------------------------------------
303
  //  HEADINGS
304
  //  --------------------------------------
305

  
306
  //  alternativ Version (Print style)
307
  tr.heading th {
308
    font-size: 120% ;
309
    border-top: 1px @table-border-color solid ;
310
  }
311 363

  
312 364

  
313
  //  --------------------------------------
365
  //--------------------------------------
314 366
  //  COLGROUP & COLS
315
  //  --------------------------------------
367
  //--------------------------------------
316 368

  
317 369
  colgroup {
318 370

  
319
    //  Table Columns
371
    //  table columns
320 372
    //  only for background-color and width
321
    //   PENDENT: funktioniert Text-Ausrichtung?
373
    //  PENDENT: funktioniert text-ausrichtung?
322 374
    col {
323 375
      &.right     { text-align: right  ; }
324 376
      &.center    { text-align: center ; }
325 377
      &.long-desc { font-size:  70%    ; }
326 378

  
327
      //  --------------
328
      //  Width of Columns (Dimensions)
329
      //
379
      // -----------------------
380
      //  width of columns (dimensions)
381
      // -----------------------
330 382
      &.wi-smallest    { width: (@tcol-wi-smallest    ) ; }
331 383
      &.wi-verysmall   { width: (@tcol-wi-verysmall   ) ; }
332 384
      &.wi-small       { width: (@tcol-wi-small       ) ; }
......
341 393

  
342 394
  }
343 395

  
344
  //  --------------------------------------
345
  //  TABLE LIST (vertical)
346
  //  --------------------------------------
347
  //  Table with Zebra Effect
348
  //  This table has at least a THEAD and a TBODY
349
  //  Optional a TFOOT for Totals
350
  &.tbl-list {
351
    border-spacing:       1px ;
352
    border-collapse:      collapse ;
353
    margin:               0 0 1.0em 0 ;
354

  
355
    & > caption { margin: 0.1em 0 0.0em 0 ; }
356
    td,
357
    th {
358
      padding:            0.2em 0.4em ;
359
      white-space:        normal ;
360
      vertical-align:     middle ;
361
    }
362
    th {  }
363
    td {  }
364

  
365
    // space left from window border
366
    & > thead > tr th:first-child,
367
    & > tbody > tr th:first-child,
368
    & > tfoot > tr td:first-child {
369
        padding-left:     0.8em !important ;
370
    }
371
    thead {
372
      tr {
373
        height:           2.2em ;
374
        th {
375
          .mx-thead-th ; // Mixin
376
          &.nowrap { white-space: nowrap  !important ; }
377

  
378
          & > a {
379
            display: block ;
380
            //margin-top: -2px ;
381
            &:link,
382
            &:visited {
383
              color: @t-cell-head-text-accent ;
384
              text-decoration: none ;
385
            }
386
            &:hover {
387
              color: @t-cell-head-text-accent ;
388
              text-decoration: underline ;
389
            }
390
            &:active,
391
            &:focus {
392
              color: @t-cell-head-text-accent ;
393
              text-decoration: underline ;
394
            }
395
          } // /a
396
        } // /th
397
      } // tr
398
      &.links-condensed {
399
        tr th a { display: inline ; }
400
      }
401
    } // /thead
402

  
403
    tbody {
404
      border-bottom:       @table-border-color 1px solid ;
405
      // zebra effect
406
      tr:nth-child(odd){   background-color:   @t-row-zebra-bg-odd  ; }
407
      tr:nth-child(even){  background-color:   @t-row-zebra-bg-even ; }
408
      // PENDENT: funktioniert nicht
409
      & > tr:last-child > td {
410
        border-bottom:   1px @table-border-color solid !important ;
411
        //padding-left:    0.8em !important;
412
      }
413
      tr:hover {            background-color:   @t-row-zebra-bg-hover ; }
414
      tr.listrow_error {    background-color:   @brand-error-bg !important          ; }
415
      td {
416
        color: @brand-darkest ;
417
      }
418
    } // /tbody
419

  
420
    tfoot {
421
      tr {
422
        th,
423
        td { }
424
      }
425
    } // /tfoot
426

  
427
  } // /.tbl-list
428

  
429

  
430 396

  
431 397

  
432
  //  --------------------------------------
433
  //  TABLE PLAIN
434
  //  --------------------------------------
435

  
436
  //  Simple Table without Zebra Effect
437

  
438
  &.tbl-list-plain,
439
  &.tbl-plain {
440
    caption,
441
    th.caption { font-size: 80% !important ; }
398
  //--------------------------------------
399
  //  STANDARD KIVITENDO TABLES
400
  //--------------------------------------
442 401

  
443
    thead,
444
    tbody {
445
      th,
446
      td { padding: 3px 0.3em 4px 0.3em !important ; }
447
    }
448
    thead {
449
      th {
450
        .mx-thead-th ; // mixin
451
      }
452
    }
402
  &.tbl-horizontal,
403
  &.tbl-plain,
404
  &.tbl-list {
405
    margin-bottom: 0.6em ;
406
    border-collapse: collapse ;
407
    border: none ;
453 408

  
454
    tr {
455
      th,
456
      td { padding: 0.3em inherit 0.3em 0.3em ; }
457
      td { }
458
      th { }
459
    }
460
    // kompakt
461
    &.condensed {
462
      caption { padding-left: 0 ; }
463
      td, th {
464
        padding-right: 7px ;
465
        padding-left:  1px ;
466
      }
467
    }
468
    // liniert
469
    &.lined {
470
      tr {
471
        border-bottom: 1px @table-border-color solid ;
472
        & > th,
473
        & > th {
474
          vertical-align: middle !important ;
475
        }
409
    tr td {
410
      &>span {
411
        padding: 0.3em 0.3em 0.6em 0.3em ;
476 412
      }
477 413
    }
478

  
479
  } // /.tbl-plain
480

  
481

  
482
  &.tbl-list-plain {
483
    thead th {
484
      border-top:    1px @table-border-color solid !important ;
485
      border-bottom: 1px @table-border-color solid ;
486
      font-weight:   bold ;
487
    }
488
    tbody {
489
      td,
490
      th { border-bottom: 1px @table-border-color solid ; }
491
    }
492
  }// /.tbl-list-plain
493

  
414
  }
494 415

  
495 416

  
496 417

  
497
  //  --------------------------------------
418
  //--------------------------------------
498 419
  //  TABLE HORIZONTAL
499
  //  --------------------------------------
420
  //--------------------------------------
500 421

  
501 422
  &.tbl-horizontal {
502 423

  
......
508 429
      padding-bottom: 0.2em ;
509 430
      padding-left: 0.3em ;
510 431

  
511
      // Adjust Form Elements in this table type
432
      // adjust form elements in this table type
512 433
      &>input[type="checkbox"],
513 434
      &>input[type="radio"] {
514 435
        margin: 0.2em 0.3em 0 0 !important ;
......
516 437
      &>input,
517 438
      &>select {
518 439
        margin: -0.3em 1px 0 0 ;
519
        // if there are further form elements within a table cell separated with a Linebreak BR
440
        // if there are further form elements within a table cell separated with a linebreak br
520 441
        &.addition { margin-top: 0.3em !important ; }
521 442
      }
522 443

  
523
      // In some cases labels can be placed within the same cell as the form element
444
      // in some cases labels can be placed within the same cell as the form element
524 445
      // best is to have it above the element
525
      // PENDENT: Plazierung in LESS-Dateien
446
      // PENDENT: plazierung in less-dateien, ggf. ueberfluessig
526 447
      .label-above {
527 448
        display: block ;
528 449
        clear: both ;
529 450
        overflow: hidden ;
530
        margin-top: -0.5em ; // PENDENT: ansehen
531
        //height: 1.8em ; // PENDENT: besser loesen, gefaellt mir nicht
451
        margin-top: -0.5em ; // pendent: ansehen
452
        //height: 1.8em ; // pendent: besser loesen, gefaellt mir nicht
532 453
      }
533 454
      &.single-col {
534 455
        padding-top: 0 ;
535 456
        padding-bottom: 0 ;
536 457
      }
458
      
459
      // form labels within table cells
460
      label {
461
      	//color: @t-cell-th-text-color ;
462
      	//cursor: pointer ;
463
      }
464
      
537 465
    } // /td /th
538 466

  
539 467
    th {
540
      color: @brand-data-label-color ;
541
      vertical-align: top ;
468
      color: @t-cell-th-text-color ;
469
      //vertical-align: top ;
542 470
      & > a {
543 471
        &:link,
544 472
        &:visited {
......
559 487
    td {
560 488
      // 2nd to x column with plain data
561 489
      // no form elements inside the cell
562
      color: @t-cell-data-text;
490
      //color: @t-cell-data-text;
563 491
      &.data {
564
        padding: 0.4363em 0.3em 0.4363em 0.3em ;
492
        //padding: 0.4363em 0.3em 0.4363em @padding-databoxes-left ;
565 493
      }
566 494

  
567 495
      & > span {
......
579 507

  
580 508
        &.data,
581 509
        &.plain-data {
582
          padding:        0.1em 0.3em 0.1em 0.2em ;
510
          //padding:        0.1em 0.3em 0.1em @padding-databoxes-left ;
583 511
          margin-top:    -0.2em ;
584 512
          display:        block ;
585 513
        }
586 514
        &.label {
515
        	color:					@t-cell-th-text-color ;
587 516
          padding:        0 0.3em 0.5em 0 !important ;
588
          display:        block ;
517
          //display:        block ;
589 518
        }
590 519
        &.button-inline {
591 520
          margin:         0 !important ;
......
603 532
          }
604 533
        }
605 534

  
606
        // Special Select-Element
535
        // special select-element
607 536
        &.customer_vendor_picker {
608
          padding-left:   0 !important ;
537
          padding:   			0 !important ;
538
          margin:					0 !important ;
609 539
          display:        inline-block ;
610 540
        }
611 541
        &.project_picker {
612 542
          margin:        -0.3em 0 0 0 ;
613 543
        }
614
        // Switch form element
544
        // switch form element
615 545
        &.switch-form-element {
616 546
          padding:        0 !important ;
617 547
          margin:        -0.3em 1px 0 0 !important ;
......
619 549
      } // / > span
620 550

  
621 551
      &>div.data { padding: 0.1363em 0 ; }
622
      // PENDENT: braucht es das?
623
      // PENDENT: span nicht td
552
      // pendent: braucht es das?
553
      // pendent: span nicht td
624 554
      .plus1 {
625 555
        display: inline-block ;
626 556
        padding: 0 ;
......
636 566
      &>span.wi-small-wide { margin: 0 24px 0 0 ; display: block ; }
637 567
    }
638 568

  
639
    // Exception: Thead in horizontal table
569
    // exception: thead in horizontal table
570
    // Caption!
640 571
    thead th {
641
      padding: 0.5em 0.4em 0.5em 0.3em ;
642
      font-weight: bold ;
643
      color: @t-cell-head-text ;
572
//      padding: 0.5em 0.4em 0.5em 0.3em ;
573
//      font-weight: normal ;
574
//      font-size: @h3-size ;
575
//      color: @brand-heading-color ; 
576
			.mx-h3-caption ;
644 577
      border: none ;
645 578
    }
646 579

  
647 580

  
648
    // Zebra effect
649
    // PENDENT: Klasse .zebra wahrscheinlich kaum eingsetzt
581
    // zebra effect
582
    // pendent: klasse .zebra hier wahrscheinlich kaum eingsetzt
650 583
    &.zebra {
651 584
      tbody {
652 585
        tr:nth-child(odd){
653
          background-color: @gray-lighter ;
654
          th { background-color: #fff ; }
586
          background-color: @t-row-zebra-bg-odd ;
587
          th { background-color: @t-row-zebra-bg-odd  ; }
655 588
        }
656 589
        tr:nth-child(even){
657
          background-color: @gray-verylight ;
658
          th { background-color: #fff ; }
590
          background-color: @t-row-zebra-bg-even ;
591
          th { background-color: @t-row-zebra-bg-even ; }
659 592
        }
660 593
      }
661 594
    } // /.zebra
......
665 598
      border-collapse: collapse ;
666 599
      tbody {
667 600
        tr {
668
          background-color: #F3F3F3 ;
601
          background-color: @table-bg-accent ;
669 602
          //th { background-color: #fff ; }
670 603
          td, th {
671
            border-color: @table-border-color ;
672
            border-width: 1px ;
673
            border-style: solid ;
674
            padding: 0.3em 0.6em ;
604
            border-color: 	@table-border-color ;
605
            border-width: 	1px ;
606
            border-style: 	solid ;
607
            padding: 				0.3em 0.6em ;
675 608
          }
676 609
        }
677
      }
678
    } // /.zebra
610
      } // /tbody
611
    } // /.checkered
612

  
613
		//PENDENT: ueberpruefen
614
		&.expanded {
615
			th.caption { padding-top: 1.2em ; padding-bottom: 0.6em ; }
616
		}
679 617

  
680 618
  } // /.tbl-horizontal
681 619

  
682 620

  
683 621

  
684
  //  --------------------------------------
685
  //  STANDARD KIVITENDO TABLES
686
  //  --------------------------------------
687
  &.tbl-horizontal,
688
  &.tbl-plain,
689
  &.tbl-list {
690
    margin-bottom: 0.6em ;
691
    border-collapse: collapse ;
692
    border: none ;
693 622

  
694
    tr td {
695
      &>span {
696
        padding: 0.3em 0.3em 0.6em 0.3em ;
623
  //--------------------------------------
624
  //  TABLE PLAIN
625
  //--------------------------------------
626
  //  simple table without zebra effect
627

  
628
  &.tbl-list-plain,
629
  &.tbl-plain {
630
    caption,
631
    th.caption { font-size: 80% !important ; }
632

  
633
    thead,
634
    tbody {
635
      th,
636
      td { padding: 3px 0.3em 4px 0.3em !important ; }
637
    }
638
    thead {
639
      th {
640
        .mx-thead-th ; // mixin
697 641
      }
698 642
    }
699
  }
700

  
701
  &.tbl-horizontal.expanded {
702
    th.caption { padding-top: 1.2em ; padding-bottom: 0.6em ; }
703
  }
704 643

  
644
    tr {
645
      th,
646
      td { padding: 0.3em inherit 0.3em 0.3em ; }
647
      td { }
648
      th { }
649
    }
650
    // kompakt
651
    &.condensed {
652
      caption { padding-left: 0 ; }
653
      td, th {
654
        padding-right: 7px ;
655
        padding-left:  1px ;
656
      }
657
    }
658
    // liniert
659
    &.lined {
660
      tr {
661
        border-bottom: 1px @table-border-color solid ;
662
        & > th,
663
        & > th {
664
          vertical-align: middle !important ;
665
        }
666
      }
667
    }
705 668

  
669
  } // /.tbl-plain
706 670

  
707
  //  --------------------------------------
708
  //  TABLE DIALOG
709
  //  --------------------------------------
710 671

  
711
  //  Table within DIV-Dialogs
712
  &.tbl-dialog {
713
    th,
714
    td {
715
      background-color: @gray-verylight ;
672
  &.tbl-list-plain {
673
    thead th {
674
      border-top:    1px @table-border-color solid !important ;
675
      border-bottom: 1px @table-border-color solid ;
676
      font-weight:   bold ;
716 677
    }
717
    th {
718
      color: @t-cell-head-text ;
719
      font-size: @font-size-base ;
720
      vertical-align: top ;
678
    tbody {
679
      td,
680
      th { border-bottom: 1px @table-border-color solid ; }
721 681
    }
722
  }
723

  
724

  
725
  //  --------------------------------------
726
  //  CLEAR-TABLE WITH NO FLOATING
727
  //  --------------------------------------
728
  &.clear {
729
    float: none ;
730
    clear: both ;
731
  }
682
  }// /.tbl-list-plain
732 683

  
733 684

  
734
  //  --------------------------------------
735
  //  DIMENSIONS (Classes) FOR TABLES
736
  //  --------------------------------------
737 685

  
738
  &.width-full,
739
  &.full-width,
740
  &.wi-full { width: 100% ; }
686
  //--------------------------------------
687
  //  TABLE LIST (VERTICAL)
688
  //--------------------------------------
689
  //  table with zebra effect
690
  //  this table has at least a thead and a tbody
691
  //  optional a tfoot for totals
692
  &.tbl-list {
693
    border-spacing:       1px ;
694
    border-collapse:      collapse ;
695
    margin:               0 0 1.0em 0 ;
741 696

  
742
  //  moderate width with padding on the right side
743
  &.width-moderate,
744
  &.moderate-width,
745
  &.wi-moderate {
746
    width: auto ;
697
    & > caption { margin: 0.1em 0 0.0em 0 ; }
747 698
    td,
748 699
    th {
749
      // PENDENT: vielleicht in Pixeln angeben, statt in EMs (siehe tbl-plain)
750
      padding-left: 0.6em ;
751
      padding-right: 1.2em ;
700
      padding:            0.2em 0.4em ;
701
      white-space:        normal ;
702
      vertical-align:     middle ;
752 703
    }
753
  }
754

  
755

  
756
  &.wi-smallest    { width: @tcol-wi-smallest     ; }
757
  &.wi-verysmall   { width: @tcol-wi-verysmall    ; }
758
  &.wi-small       { width: @tcol-wi-small        ; }
759
  &.wi-mediumsmall { width: @tcol-wi-mediumsmall  ; }
760
  &.wi-normal      { width: @tcol-wi-normal       ; }
761
  &.wi-lightwide   { width: @tcol-wi-lightwide    ; }
762
  &.wi-wide        { width: @tcol-wi-wide         ; }
763
  &.wi-wider       { width: @tcol-wi-wider        ; }
764
  &.wi-verywide    { width: @tcol-wi-verywide     ; }
765

  
766

  
767

  
768
  &.wi-small-small           { width: @tcol-wi-small + @tcol-wi-small ; }
769
  &.wi-small-mediumsmall     { width: @tcol-wi-small + @tcol-wi-mediumsmall ; }
770
  &.wi-small-normal          { width: @tcol-wi-small + @tcol-wi-normal ; }
771
  &.wi-small-lightwide       { width: @tcol-wi-small + @tcol-wi-lightwide ; }
772
  // PENDENT: noch genauer anschauen, sollte eigentlich nur für horizontale Tabellen vorgesehen sein
773
  &.wi-small-wide            { width: @tcol-wi-small + @tcol-wi-wide + ( @diff-input-select )  ; }
774
  //&.wi-small-wide            { width: 460px ; }
775
  &.wi-small-wider           { width: @tcol-wi-small + @tcol-wi-wider ; }
776
  &.wi-small-verywide        { width: @tcol-wi-small + @tcol-wi-verywide ; }
704
    th {  }
705
    td {  }
777 706

  
778
  &.wi-mediumsmall-small       { width: @tcol-wi-mediumsmall + @tcol-wi-lightwide ; }
779
  &.wi-mediumsmall-mediumsmall { width: @tcol-wi-mediumsmall + @tcol-wi-mediumsmall ; }
780
  &.wi-mediumsmall-normal      { width: @tcol-wi-mediumsmall + @tcol-wi-normal ; }
781
  &.wi-mediumsmall-lightwide   { width: @tcol-wi-mediumsmall + @tcol-wi-lightwide ; }
782
  &.wi-mediumsmall-wide        { width: @tcol-wi-mediumsmall + @tcol-wi-wide ; }
783
  &.wi-mediumsmall-wider       { width: @tcol-wi-mediumsmall + @tcol-wi-wider ; }
784
  &.wi-mediumsmall-verywide    { width: @tcol-wi-mediumsmall + @tcol-wi-verywide ; }
707
    // space left from window border
708
    & > thead > tr th:first-child,
709
    & > tbody > tr th:first-child,
710
    & > tfoot > tr td:first-child {
711
        padding-left:     0.8em !important ;
712
    }
713
    
714
    thead {
715
    	display: table-header-group;
716
    	
717
      tr {
718
        height:	2.2em ;
719
        th {
720
          .mx-thead-th ; // mixin
721
          &.nowrap { white-space: nowrap !important ; }
785 722

  
786
  &.wi-normal-small       { width: @tcol-wi-normal + @tcol-wi-small ; }
787
  &.wi-normal-mediumsmall { width: @tcol-wi-normal + @tcol-wi-mediumsmall ; }
788
  &.wi-normal-normal      { width: @tcol-wi-normal + @tcol-wi-normal ; }
789
  &.wi-normal-lightwide   { width: @tcol-wi-normal + @tcol-wi-lightwide ; }
790
  &.wi-normal-wide        { width: @tcol-wi-normal + @tcol-wi-wide ; }
791
  &.wi-normal-wider       { width: @tcol-wi-normal + @tcol-wi-wider ; }
792
  &.wi-normal-verywide    { width: @tcol-wi-normal + @tcol-wi-verywide ; }
723
          & > a {
724
            display: block ;
725
            &:link,
726
            &:visited {
727
              color: @t-cell-head-text-accent ;
728
              text-decoration: none ;
729
            }
730
            &:hover {
731
              color: @t-cell-head-text-accent ;
732
              text-decoration: underline ;
733
            }
734
            &:active,
735
            &:focus {
736
              color: @t-cell-head-text-accent ;
737
              text-decoration: underline ;
738
            }
739
          } // /a
740
          label {
741
              color: @t-cell-head-text-accent ;
742
              //text-decoration: none ;
743
							&:hover {
744
								//color: @t-cell-head-text-accent ;
745
								text-decoration: underline ;
746
							}
747
          }
748
        } // /th
749
      } // tr
750
      &.links-condensed {
751
        tr th a { display: inline ; }
752
      }
753
    } // /thead
793 754

  
794
  &.wi-lightwide-small       { width: @tcol-wi-lightwide + @tcol-wi-small ; }
795
  &.wi-lightwide-mediumsmall { width: @tcol-wi-lightwide + @tcol-wi-mediumsmall ; }
796
  &.wi-lightwide-normal      { width: @tcol-wi-lightwide + @tcol-wi-normal ; }
797
  &.wi-lightwide-lightwide   { width: @tcol-wi-lightwide + @tcol-wi-lightwide ; }
798
  &.wi-lightwide-wide        { width: @tcol-wi-lightwide + @tcol-wi-wide ; }
799
  &.wi-lightwide-wider       { width: @tcol-wi-lightwide + @tcol-wi-wider ; }
800
  &.wi-lightwide-verywide    { width: @tcol-wi-lightwide + @tcol-wi-verywide ; }
755
    tbody {
756
      border-bottom:				@table-border-color 1px solid ;
757
      display:					table-row-group;
801 758

  
759
      // zebra effect
760
      tr:nth-child(odd){		background-color:   @t-row-zebra-bg-odd  ; }
761
      tr:nth-child(even){		background-color:   @t-row-zebra-bg-even ; }
762
      // pendent: funktioniert nicht
763
      & > tr:last-child > td {
764
        border-bottom:			1px @table-border-color solid !important ;
765
        //padding-left:			0.8em !important;
766
      }
767
      tr:hover {            background-color:   @t-row-zebra-bg-hover ; }
768
      tr.listrow_error {    background-color:   @brand-error-bg !important ; }
769
      
770
      td, th {
771
        color: @table-list-zebra-text-color ;
772
				a, 
773
				a:link, 
774
				a:visited {
775
					color: @table-list-zebra-link-color ;
776
				}
777
      }
778
    } // /tbody
802 779

  
780
    tfoot {
781
    	display: table-footer-group;
782
    	
783
      tr {
784
        th,
785
        td { }
786
      }
787
    } // /tfoot
803 788

  
789
  } // /.tbl-list
804 790

  
805
  //  --------------------------------------
806
  //  LINKS (within TD & TH)
807
  //  --------------------------------------
808 791

  
809
  td > a,
810
  th > a {
811
    display: block ;
812
  }
813 792

  
814 793

  
815 794

  
816
  //  --------------------------------------
817
  //  HEADINGS (within TD & TH)
818
  //  --------------------------------------
795
  //--------------------------------------
796
  //  TABLE DIALOG
797
  //--------------------------------------
819 798

  
820
  td,
821
  th {
822
    h3,
823
    h4 {
824
      margin: 0 !important ;
825
      padding: 0.8em 0 0.2em 0 !important ;
799
  //  table within div-dialogs
800
  &.tbl-dialog {
801
    th,
802
    td {
803
      background-color: @gray-verylight ;
826 804
    }
827
    h4 {
828
        //font-weight: normal ;
805
    th {
806
      color: @t-cell-head-text ;
807
      font-size: @font-size-base ;
808
      vertical-align: top ;
829 809
    }
830 810
  }
831 811

  
832 812

  
833

  
834

  
835
  //  --------------------------------------
836
  //  SUB-TOTALS
837
  //  --------------------------------------
838

  
839
  tr {
840

  
841
    //  PENDENT: ggf. OBSOLETE
842
    &.total-sub {
843
      height: 2.0em ;
844

  
845
      td {
846
        border-top: 1px solid @table-border-color ;
847
        border-bottom: 2px solid @table-border-color ;
848
        font-weight: bold ;
849
        color: @t-cell-text-color ;
850
      }
851
    }
852

  
853
  } //  /tr
813
  //--------------------------------------
814
  //  CLEAR-TABLE WITH NO FLOATING
815
  //--------------------------------------
816
  &.clear {
817
    float: none ;
818
    clear: both ;
819
  }
854 820

  
855 821

  
856 822

  
857
  //  --------------------------------------
823
  //--------------------------------------
858 824
  //  TABLE CLASS TEST
859
  //  --------------------------------------
860
  //  Use this class for reviewing your Table HTML
825
  //--------------------------------------
826
  //  use this class for reviewing your table html
861 827

  
862 828
  &.test,
863 829
  &.test-plain {
864
    //border: 1px @table-border-color solid ;
865
    //background-color: #BFD2AD ;
866 830

  
867 831
    th {
868
      background-color: #B3B3B3 ;
832
      background-color: #b3b3b3 ;
869 833
      color: @t-cell-text-color ;
870 834
      font-weight: normal ;
871 835

  
872 836
      &.caption {
873
        background-color: #B3B3B3 ;
837
        background-color: #b3b3b3 ;
874 838
      }
875 839
    }
876 840
    td {
877
      background-color: #CFCDD2 ;
841
      background-color: #cfcdd2 ;
878 842

  
879 843
      &.longdesc,
880 844
      &.longdescription,
......
885 849
    }
886 850

  
887 851
    table {
888
      border: 1px #0000FF solid ;
852
      border: 1px #0000ff solid ;
889 853
      border-collapse: collapse ;
890 854

  
891 855
      td, th {
892
        border: 1px #C20D18 dotted !important ;
856
        border: 1px #c20d18 dotted !important ;
893 857
      }
894 858
    }
895 859

  
......
897 861

  
898 862
  &.test {
899 863
    //border: 1px @table-border-color solid ;
900
    //background-color: #BFD2AD ;
864
    //background-color: #bfd2ad ;
901 865

  
902 866
    th {
903
      border: 1px @gray-mediumdark solid !important ;
904
      background-color: #B3B3B3 ;
867
      border: 1px @gray-dark solid !important ;
868
      background-color: #b3b3b3 ;
905 869
      color: #000 ;
906 870
      font-weight: normal ;
907 871

  
......
912 876
    }
913 877
    td {
914 878
      border: 1px #000 solid ;
915
      background-color: #CFCDD2 ;
879
      background-color: #cfcdd2 ;
916 880

  
917 881
      &.longdesc,
918 882
      &.longdescription,
......
923 887
    }
924 888

  
925 889
    table {
926
      border: 2px #0000FF solid ;
890
      border: 2px #0000ff solid ;
927 891
      border-collapse: collapse ;
928 892

  
929 893
      td, th {
930
        border: 1px #C20D18 dotted !important ;
894
        border: 1px #c20d18 dotted !important ;
931 895
      }
932 896
    }
933 897

  
934 898
  } // /.test
935 899

  
936 900

  
937

  
938 901
}
939 902
//  /table
940 903

  
941 904

  
942
//
943
// **********************************
944
// TABLE & COLs DIMENSIONS
945
// **********************************
905

  
906
//--------------------------------------
907
// TABLE & COLS DIMENSIONS
908
//--------------------------------------
946 909

  
947 910
table,
948 911
table colgroup col {
......
957 920
  &.wi-wider       { width: @tcol-wi-wider        ; }
958 921
  &.wi-verywide    { width: @tcol-wi-verywide     ; }
959 922

  
960

  
961

  
962
  &.wi-small-small             { width: @tcol-wi-small-small ; }
963
  &.wi-small-mediumsmall       { width: @tcol-wi-small-mediumsmall ; }
964
  &.wi-small-normal            { width: @tcol-wi-small-normal ; }
965
  &.wi-small-lightwide         { width: @tcol-wi-small-lightwide ; }
966
  // PENDENT: noch genauer anschauen, sollte eigentlich nur für horizontale Tabellen vorgesehen sein
967
  &.wi-small-wide              { width: ( @tcol-wi-small-wide )  ; }
923
  &.wi-small-small           { width: @tcol-wi-small + @tcol-wi-small ; }
924
  &.wi-small-mediumsmall     { width: @tcol-wi-small + @tcol-wi-mediumsmall ; }
925
  &.wi-small-normal          { width: @tcol-wi-small + @tcol-wi-normal ; }
926
  &.wi-small-lightwide       { width: @tcol-wi-small + @tcol-wi-lightwide ; }
927
  // pendent: noch genauer anschauen, sollte eigentlich nur für horizontale tabellen vorgesehen sein
928
  &.wi-small-wide            { width: @tcol-wi-small + @tcol-wi-wide + ( @diff-input-select )  ; }
968 929
  //&.wi-small-wide            { width: 460px ; }
969
  &.wi-small-wider             { width: @tcol-wi-small-wider ; }
970
  &.wi-small-verywide          { width: @tcol-wi-small-verywide ; }
971

  
972
  &.wi-mediumsmall-small       { width: @tcol-wi-mediumsmall-lightwide ; }
973
  &.wi-mediumsmall-mediumsmall { width: @tcol-wi-mediumsmall-mediumsmall ; }
974
  &.wi-mediumsmall-normal      { width: @tcol-wi-mediumsmall-normal ; }
975
  &.wi-mediumsmall-lightwide   { width: @tcol-wi-mediumsmall-lightwide ; }
976
  &.wi-mediumsmall-wide        { width: @tcol-wi-mediumsmall-wide ; }
977
  &.wi-mediumsmall-wider       { width: @tcol-wi-mediumsmall-wider ; }
978
  &.wi-mediumsmall-verywide    { width: @tcol-wi-mediumsmall-verywide ; }
979

  
980
  &.wi-normal-small            { width: @tcol-wi-normal-small ; }
981
  &.wi-normal-mediumsmall      { width: @tcol-wi-normal-mediumsmall ; }
982
  &.wi-normal-normal           { width: @tcol-wi-normal-normal ; }
983
  &.wi-normal-lightwide        { width: @tcol-wi-normal-lightwide ; }
984
  &.wi-normal-wide             { width: @tcol-wi-normal-wide ; }
985
  &.wi-normal-wider            { width: @tcol-wi-normal-wider ; }
986
  &.wi-normal-verywide         { width: @tcol-wi-normal-verywide ; }
987

  
988
  &.wi-lightwide-small         { width: @tcol-wi-lightwide-small ; }
989
  &.wi-lightwide-mediumsmall   { width: @tcol-wi-lightwide-mediumsmall ; }
990
  &.wi-lightwide-normal        { width: @tcol-wi-lightwide-normal ; }
991
  &.wi-lightwide-lightwide     { width: @tcol-wi-lightwide-lightwide ; }
992
  &.wi-lightwide-wide          { width: @tcol-wi-lightwide-wide ; }
993
  &.wi-lightwide-wider         { width: @tcol-wi-lightwide-wider ; }
994
  &.wi-lightwide-verywide      { width: @tcol-wi-lightwide-verywide ; }
995

  
996
}
997

  
998

  
999

  
930
  &.wi-small-wider           { width: @tcol-wi-small + @tcol-wi-wider ; }
931
  &.wi-small-verywide        { width: @tcol-wi-small + @tcol-wi-verywide ; }
1000 932

  
933
  &.wi-mediumsmall-small       { width: @tcol-wi-mediumsmall + @tcol-wi-lightwide ; }
934
  &.wi-mediumsmall-mediumsmall { width: @tcol-wi-mediumsmall + @tcol-wi-mediumsmall ; }
935
  &.wi-mediumsmall-normal      { width: @tcol-wi-mediumsmall + @tcol-wi-normal ; }
936
  &.wi-mediumsmall-lightwide   { width: @tcol-wi-mediumsmall + @tcol-wi-lightwide ; }
937
  &.wi-mediumsmall-wide        { width: @tcol-wi-mediumsmall + @tcol-wi-wide ; }
938
  &.wi-mediumsmall-wider       { width: @tcol-wi-mediumsmall + @tcol-wi-wider ; }
939
  &.wi-mediumsmall-verywide    { width: @tcol-wi-mediumsmall + @tcol-wi-verywide ; }
1001 940

  
941
  &.wi-normal-small       { width: @tcol-wi-normal + @tcol-wi-small ; }
942
  &.wi-normal-mediumsmall { width: @tcol-wi-normal + @tcol-wi-mediumsmall ; }
943
  &.wi-normal-normal      { width: @tcol-wi-normal + @tcol-wi-normal ; }
944
  &.wi-normal-lightwide   { width: @tcol-wi-normal + @tcol-wi-lightwide ; }
945
  &.wi-normal-wide        { width: @tcol-wi-normal + @tcol-wi-wide ; }
946
  &.wi-normal-wider       { width: @tcol-wi-normal + @tcol-wi-wider ; }
947
  &.wi-normal-verywide    { width: @tcol-wi-normal + @tcol-wi-verywide ; }
1002 948

  
949
  &.wi-lightwide-small       { width: @tcol-wi-lightwide + @tcol-wi-small ; }
950
  &.wi-lightwide-mediumsmall { width: @tcol-wi-lightwide + @tcol-wi-mediumsmall ; }
951
  &.wi-lightwide-normal      { width: @tcol-wi-lightwide + @tcol-wi-normal ; }
952
  &.wi-lightwide-lightwide   { width: @tcol-wi-lightwide + @tcol-wi-lightwide ; }
953
  &.wi-lightwide-wide        { width: @tcol-wi-lightwide + @tcol-wi-wide ; }
954
  &.wi-lightwide-wider       { width: @tcol-wi-lightwide + @tcol-wi-wider ; }
955
  &.wi-lightwide-verywide    { width: @tcol-wi-lightwide + @tcol-wi-verywide ; }
1003 956

  
957
}
1004 958

  
959
table {
960
  &.width-full,
961
  &.full-width,
962
  &.wi-full { width: 100% ; }
1005 963

  
964
  //  moderate width with padding on the right side
965
  &.width-moderate,
966
  &.moderate-width,
967
  &.wi-moderate {
968
    width: auto ;
969
    td,
970
    th {
971
      // PENDENT: vielleicht in pixeln angeben, statt in ems (siehe tbl-plain)
972
      padding-left: 0.6em ;
973
      padding-right: 1.2em ;
974
    }
975
  }
976
}
1006 977

  
1007 978

  
1008
//  --------------------------------------
1009
//  LIST-TABLES in Wrappers
1010
//  --------------------------------------
1011 979

  
980
//--------------------------------------
981
//  LIST-TABLES IN WRAPPERS
982
//--------------------------------------
983
// creates a border on the left & right side of the table
1012 984
div.wrapper,
1013 985
div.cols {
1014 986
  table.tbl-list tr {
......
1017 989
  }
1018 990
}
1019 991

  
992
//--------------------------------------
993
//  LIST-TABLES NOT IN WRAPPERS
994
//--------------------------------------
995
#content .ui-tabs-panel > table.tbl-list caption {
996
	//margin-left: @margin-from-panel-left - 0.2em ;
997
	margin-left: 0.3em ; 
998
}
1020 999

  
1021 1000

  
1022 1001

  
1023

  
1024

  
1002
// --------------------------------------
1003
// SORT SYMBOLS
1004
// --------------------------------------
1025 1005

  
1026 1006
span.sort {
1027 1007
  display: inline-block ;
......
1064 1044

  
1065 1045

  
1066 1046

  
1067
// --------------------------------------
1068
// SPECIFIX TABLES
1069
// --------------------------------------
1070

  
1047
//--------------------------------------
1048
// SPECIFIX TABLES (#REPORT_TABLE)
1049
//--------------------------------------
1050
// Ueberpruefen
1071 1051
table#report_table_id.tbl-list {
1072 1052
  & > tbody > tr > td { vertical-align: top ; }
1073 1053
}
1074 1054

  
1075 1055

  
1076 1056

  
1057
//  Benutzerdefinierte Tabellen-Angaben 
1058
//  Diese uebersteuern alle Anweisungen aus tables.less 
1059
//  Es dürfen nur Tabellen mit Zusatzklassen oder mit IDs uebersteuert werden. 
1060
//  Uebersteuern Sie nur wenige, bestehende Elemente, um ein einheitliches 
1061
//  Design zu gewaehrleisten 
1062
//  Diese Datei wird am Schluss von tables.less includiert. 
1063

  
1064
table{
1065

  
1066
    //  Zusatzklasse zur Tabelle (Beispiel) 
1067
    //  Betreff: xyz 
1068
    //  Autor: hanspeter.schlaepfer@revamp-it.ch 
1069
    &.meine-tabellen-klasse {
1070

  
1071
    }
1072

  
1073
    //  Tabelle mit spezieller ID (Beispiel) 
1074
    //  Betreff: xyz 
1075
    //  Autor: hanspeter.schlaepfer@revamp-it.ch 
1076
    &#meine-spezielle-tabelle {
1077

  
1078
    }
1079

  
1080

  
1081
    //  Tabelle mit Konten-Uebersicht (Kontoplan) 
1082
    //  Betreff: Kontoplan 
1083
    //  Autor: hanspeter.schlaepfer@revamp-it.ch 
1084
    &#konten-plan {
1085
        tbody tr{
1086
            td:first-child {
1087
                text-align: right !important;
1088
            }
1089
            &.heading td {
1090
                font-size: @font-size-large;
1091
                border-top: 1px #999 solid;
1092
            }
1093
        }
1094
        tr:first-child {
1095
             &.heading td {
1096
                border: none;
1097
            }
1098
        }
1099
    }
1100

  
1101

  
1102
// PENDENT: genauer anschauen
1103

  
1104
  &#eurtable {
1105
    border-collapse: collapse;
1106
    width: 100%;
1107
  }
1108

  
1109
  tr.category {
1110
    //  background set via jquery 
1111
  }
1112

  
1113
  tr.chart {
1114
    border: 0;
1115
  }
1116

  
1117
  td.chartname {
1118
    padding-left: 50px;
1119
  }
1120

  
1121
  tr.chartrow {
1122
    font-size: 75%;
1123
  }
1124

  
1125
  .guv_row_background {
1126
    background:#f0f0f0;
1127
  }
1128

  
1129
  .tr_error {
1130
    background-color: #ffc9c9;
1131
  }
1132

  
1133

  
1134
}
1135

  
1136

  

Auch abrufbar als: Unified diff