Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 00462921

Von Hans P. Schlaepfer vor mehr als 3 Jahren hinzugefügt

  • ID 0046292193d3f50604eb6ce0c97269cb1566e392
  • Vorgänger 349b5f5c
  • Nachfolger e7f0ef77

css/less -> Geaenderte & Neue Less-Dateien

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
12
//  contents:
10 13
//  - TABLE
11 14
//  - CELLS (TD & TH)
12
//    - Data Format
13
//    - Images within Cells
15
//    - Data format
16
//    - Headings (within TD & TH)
17
//    - Links (within TD & TH)
18
//    - Images within cells
19
//    - Description & labels within cells
14 20
//    - TD
15 21
//    - 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
22
//    - TR (Table row)
23
//  - thead
24
//  - tbody
25
//  - tfoot
26
//  - caption
27
//  - headings (print style)
28
//  - colgroup & cols
29
//    - dimensions for table colums (col)
30
//  - table list
31
//  - table plain
32
//  - table horizontal
33
//  - table dialog
34
//  - table class test
35
//  - dimensions (classes) for tables
36
//  - links
37
//  - headings
38
//  - subtotals
33 39
//
34
//  - TABLES in Requirement Specs
35
//  - TABLES with DIVS
36
//  - LIST WITH PARAGRAPHS
37
//  ----------------------------------------------------------------------------
40
//  - tables in requirement specs
41
//  - tables with divs
42
//  - list with paragraphs
43
//----------------------------------------------------------------------------
38 44

  
39 45

  
40
//  --------------------------------------
41
//  TABLE
42
//  --------------------------------------
43 46

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

  
49 58

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

  
60 69

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

  
96

  
97
    // -----------------------
98
    //  Headings (within TD & TH)
99
    // -----------------------
100
    // PENDENT: ueberpruefen
101
    h3,
102
    h4 {
103
      margin: 0 !important ;
104
      padding: 0.8em 0 0.2em 0 !important ;
105
    }
106

  
107
    // -----------------------
108
    //  Links (within TD & TH)
109
    // -----------------------
110
    &> a { display: block ; }
111

  
112
    // -----------------------
113
    //  Images Within Cells
114
    // -----------------------
88 115
    img {
89 116
      display:        inline ;
90 117
      vertical-align: top    ;
......
94 121
    &~a img,
95 122
    &~img { float:    right  ; }
96 123

  
97

  
98
    //  --------------
99
    //  Description & labels within cells
100
    //
124
    // -----------------------
125
    //  Description & Labels Within Cells
126
    // -----------------------
101 127
    div.description {
102
      font-size: 90% ;
103
      color:     @t-cell-head-text ;
104 128
      float:     none ;
105 129
      clear:     both ;
106 130
    }
......
110 134
    }
111 135

  
112 136
    span {
113
      // simulates TH in horizontal tables
137
      // simulates th in horizontal tables
114 138
      &.label {
115 139
        display:              block ;
116 140
        padding:              0 0 0.5em 0 ;
117
        color:                @brand-data-label-color ;
141
        color:                @t-cell-th-text-color ;
118 142
      }
119 143
      &.below {
120 144
        //clear: both ;
......
134 158
      }
135 159
    }
136 160

  
161
    // -----------------------
162
    //  Form Element Within Cells
163
    // -----------------------
137 164

  
165
    // if a .below class follows directly after a td/th
166
    & + input.below {
167
      margin: 0 !important;
168
    }
138 169

  
139
    //  --------------
140
    //  Form Element within Cells
141
    //
142 170
    input,
143 171
    select {
144 172
      //float: left ;
......
147 175
        clear: left ;
148 176
        float: none ;
149 177
        overflow: hidden ;
150
        margin: 0.3em 0 0 0 !important ;
178
        // PENDENT: anschauen! vor allem button customer information -> Lieferadresse
179
        margin: 0.3em 0 0 0 ;
151 180
      }
152 181
    }
182

  
153 183
    textarea {
154 184
      margin: -0.14em -0.0em ;
155 185
    }
......
158 188
  //  /th, td
159 189

  
160 190

  
161
  //  --------------
162
  //  TH (Table Header Cells)
163
  //
191
  //--------------------------------------
192
  //  TH (TABLE HEADER CELLS)
193
  //--------------------------------------
164 194
  th {
165 195
    white-space: normal !important ;
166 196
  }
167 197

  
168
  //  --------------
169
  //  TD (Table Data)
170
  //
198
  //--------------------------------------
199
  //  TD (TABLE DATA)
200
  //--------------------------------------
171 201
  td {
172
    color: @gray-mediumdark;
202
    color: @t-cell-text-color;
173 203
  }
174 204

  
175 205

  
176
  //  --------------
177
  //  TR
178
  //
206
  //--------------------------------------
207
  //  TR (TABLE ROW)
208
  //--------------------------------------
179 209
  tr {
180
    //  if header-cell is in the same row as a caption-header-cell (TH.CAPTION)
210
    //  if header-cell is in the same row as a caption-header-cell (th.caption)
181 211
    &.header-caption th {
182 212
      vertical-align: bottom ;
183 213
    }
184 214
    &.separator {
185
      // Standard separator is below
215
      // standard separator is below
186 216
      th, td {
187 217
        padding-bottom: 3.0em ;
188 218
      }
......
198 228
        }
199 229
      }
200 230
    }
231

  
232
    // -----------------------
233
    //  SUB-TOTALS
234
    // -----------------------
235
    //  PENDENT: ggf. obsolete
236
    &.total-sub {
237
      height: 2.0em ;
238

  
239
      td {
240
        border-top: 1px solid @table-border-color ;
241
        border-bottom: 2px solid @table-border-color ;
242
        font-weight: bold ;
243
        color: @t-cell-text-color ;
244
      }
245
    }
246

  
247
    // -----------------------
248
    //  HEADINGS (alternativ version [print style])
249
    // -----------------------
250
    // PENDENT: ueberpruefen
251
    &.heading th {
252
      font-size: 120% ;
253
      border-top: 1px @table-border-color solid ;
254
    }
255

  
256

  
257
  } // /tr
258

  
259

  
260

  
261
  //--------------------------------------
262
  //  CAPTION
263
  //--------------------------------------
264

  
265
  //  this must be placed here
266
  //  otherwise th.caption will be overridden if placed above
267
  caption,
268
  th.caption {
269
    .mx-h3-caption ; //   mixin
270
    white-space:       nowrap ;
271
    //  addition with smaller font-size
272
    small { font-size : @font-size-small ; }
201 273
  }
202 274

  
203 275

  
204
  //  --------------------------------------
276

  
277
  //--------------------------------------
205 278
  //  THEAD
206
  //  --------------------------------------
279
  //--------------------------------------
207 280
  thead {
208 281
    th {
209
      .mx-thead-th ; //  Mixin
282
      .mx-thead-th ; //  mixin
210 283

  
211 284
      a {
212 285
        img {
......
219 292
  }
220 293

  
221 294

  
222
  //  --------------------------------------
295
  //--------------------------------------
223 296
  //  TBODY
224
  //  --------------------------------------
297
  //--------------------------------------
225 298

  
226 299
  tbody {
227 300
    tr {
228
      //  common cells within TBODY
301
      //  common cells within tbody
229 302
      td {  }
230 303
      th {  }
231 304
    }
232 305
  }
233 306

  
234 307

  
235
  //  --------------------------------------
308
  //--------------------------------------
236 309
  //  TFOOT
237
  //  --------------------------------------
310
  //--------------------------------------
238 311
  tfoot {
239 312
    tr {
240 313
      th,
......
242 315
        vertical-align: middle ;
243 316
        border-bottom: @table-border-color 2px solid ;
244 317
        height: 1.8em ;
318
        padding-top: 0.6em !important;
319
        padding-bottom: 0.6em !important;
245 320
      }
246 321
      td {
247 322
        font-weight: bold ;
......
251 326
        font-weight: normal ;
252 327
        color: @t-cell-foot-text ;
253 328
       }
254
      //  if more than one row in TFOOT first row has other properties
329
      //  if more than one row in tfoot first row has other properties
255 330
      &:first {
256 331
        td,
257 332
        th { border-top: @table-border-color 2px solid ; }
......
265 340
        }
266 341
      }
267 342
    } //  /tr
268
    // This is just for expecption (eg. form in price-rules)
343
    // this is just for expecption (eg. form in price-rules)
269 344
    // tfoot.blank
270 345
    &.blank {
271 346
      tr {
......
279 354
        }
280 355
      }
281 356
    } // /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
  }
357
  } //  /tfoot
300 358

  
301 359

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

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

  
312

  
313
  //  --------------------------------------
361
  //--------------------------------------
314 362
  //  COLGROUP & COLS
315
  //  --------------------------------------
363
  //--------------------------------------
316 364

  
317 365
  colgroup {
318 366

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

  
327
      //  --------------
328
      //  Width of Columns (Dimensions)
329
      //
375
      // -----------------------
376
      //  width of columns (dimensions)
377
      // -----------------------
330 378
      &.wi-smallest    { width: (@tcol-wi-smallest    ) ; }
331 379
      &.wi-verysmall   { width: (@tcol-wi-verysmall   ) ; }
332 380
      &.wi-small       { width: (@tcol-wi-small       ) ; }
......
341 389

  
342 390
  }
343 391

  
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 392

  
430 393

  
431 394

  
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 ; }
395
  //--------------------------------------
396
  //  STANDARD KIVITENDO TABLES
397
  //--------------------------------------
442 398

  
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
    }
399
  &.tbl-horizontal,
400
  &.tbl-plain,
401
  &.tbl-list,
402
  &.tbl-list-plain {
403
    margin-bottom: 0.6em ;
404
    border-collapse: collapse ;
405
    border: none ;
453 406

  
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
        }
407
    tr td {
408
      &>span {
409
        //padding: 0.3em 0.3em 0.6em 0.3em ;
410
        padding: 0.3em 0.3em 0.6em 0 ;
476 411
      }
477 412
    }
413
  }
478 414

  
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 415

  
494 416

  
495 417

  
496 418

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

  
501 423
  &.tbl-horizontal {
502 424

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

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

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

  
460
      // form labels within table cells
461
      label {
462
        //color: @t-cell-th-text-color ;
463
        //cursor: pointer ;
464
      }
465

  
537 466
    } // /td /th
538 467

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

  
567 496
      & > span {
......
579 508

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

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

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

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

  
647 581

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

  
680
  } // /.tbl-horizontal
681

  
611
      } // /tbody
612
    } // /.checkered
682 613

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

  
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 ;
619
  } // /.tbl-horizontal
693 620

  
694
    tr td {
695
      &>span {
696
        padding: 0.3em 0.3em 0.6em 0.3em ;
697
      }
698
    }
699
  }
700 621

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

  
705 623

  
706 624

  
707
  //  --------------------------------------
708
  //  TABLE DIALOG
709
  //  --------------------------------------
625
  //--------------------------------------
626
  //  LIST TABLES
627
  //--------------------------------------
710 628

  
711
  //  Table within DIV-Dialogs
712
  &.tbl-dialog {
713
    th,
714
    td {
715
      background-color: @gray-verylight ;
716
    }
717
    th {
718
      color: @t-cell-head-text ;
719
      font-size: @font-size-base ;
720
      vertical-align: top ;
629
  &.tbl-plain,
630
  &.tbl-list,
631
  &.tbl-list-plain {
632
    tbody td a {
633
      display: inline-block !important ;
721 634
    }
722 635
  }
723 636

  
724 637

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

  
733 639

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

  
738
  &.width-full,
739
  &.full-width,
740
  &.wi-full { width: 100% ; }
641
  //--------------------------------------
642
  //  TABLE LIST (VERTICAL)
643
  //--------------------------------------
644
  //  table with zebra effect
645
  //  this table has at least a thead and a tbody
646
  //  optional a tfoot for totals
647
  &.tbl-list {
648
    border-spacing:       1px ;
649
    border-collapse:      collapse ;
650
    margin:               0 0 1.0em 0 ;
741 651

  
742
  //  moderate width with padding on the right side
743
  &.width-moderate,
744
  &.moderate-width,
745
  &.wi-moderate {
746
    width: auto ;
652
    & > caption { margin: 0.1em 0 0.0em 0 ; }
747 653
    td,
748 654
    th {
749
      // PENDENT: vielleicht in Pixeln angeben, statt in EMs (siehe tbl-plain)
750
      padding-left: 0.6em ;
751
      padding-right: 1.2em ;
655
      padding:            0.2em 0.4em ;
656
      white-space:        normal ;
657
      vertical-align:     middle ;
752 658
    }
753
  }
659
    th {  }
660
    td {  }
754 661

  
662
    // space left from window border
663
    & > thead > tr th:first-child,
664
    & > tbody > tr th:first-child,
665
    & > tfoot > tr td:first-child {
666
        padding-left:     0.8em !important ;
667
    }
755 668

  
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     ; }
669
    thead {
670
      display: table-header-group;
765 671

  
672
      tr {
673
        height:  2.2em ;
674
        th {
675
          .mx-thead-th ; // mixin
676
          &.nowrap { white-space: nowrap !important ; }
766 677

  
678
          & > a {
679
            display: block ;
680
            &:link,
681
            &:visited {
682
              color:              @t-cell-head-text-accent ;
683
              text-decoration:    none ;
684
            }
685
            &:hover {
686
              color:              @t-cell-head-text-accent ;
687
              text-decoration:    underline ;
688
            }
689
            &:active,
690
            &:focus {
691
              color:              @t-cell-head-text-accent ;
692
              text-decoration:    underline ;
693
            }
694
          } // /a
695
          label {
696
              color:              @t-cell-head-text-accent ;
697
              //text-decoration:  none ;
698
              &:hover {
699
                //color:          @t-cell-head-text-accent ;
700
                text-decoration:  underline ;
701
              }
702
          }
703
        } // /th
704
      } // tr
705
      &.links-condensed {
706
        tr th a { display: inline ; }
707
      }
708
    } // /thead
767 709

  
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 ; }
710
    tbody {
711
      border-bottom:        @table-border-color 1px solid ;
712
      display:              table-row-group;
777 713

  
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 ; }
714
      // zebra effect
715
      tr:nth-child(odd) {   background-color:   @t-row-zebra-bg-odd  ; }
716
      tr:nth-child(even){   background-color:   @t-row-zebra-bg-even ; }
717
      // pendent: funktioniert nicht
718
      & > tr:last-child > td {
719
        border-bottom:      1px @table-border-color solid !important ;
720
        //padding-left:     0.8em !important;
721
      }
722
      tr:hover {            background-color:   @t-row-zebra-bg-hover ; }
723
      tr.listrow_error {    background-color:   @brand-error-bg !important ; }
785 724

  
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 ; }
725
      td, th {
726
        color:              @table-list-zebra-text-color ;
727
        a,
728
        a:link,
729
        a:visited { color:  @table-list-zebra-link-color ;
730
        }
731
      }
732
    } // /tbody
793 733

  
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 ; }
734
    tfoot {
735
      display: table-footer-group;
801 736

  
737
      tr {
738
        th,
739
        td { }
740
      }
741
    } // /tfoot
802 742

  
743
  } // /.tbl-list
803 744

  
804 745

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

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

  
814 748

  
749
  //--------------------------------------
750
  //  TABLE PLAIN
751
  //--------------------------------------
752
  //  simple table without zebra effect
815 753

  
816
  //  --------------------------------------
817
  //  HEADINGS (within TD & TH)
818
  //  --------------------------------------
754
  &.tbl-list-plain,
755
  &.tbl-plain {
756
    caption,
757
    th.caption {
758
      font-size:  120% !important ;
759
      margin:     0;
760
      padding:    0.6em 0 0.2em 0;
761
    }
819 762

  
820
  td,
821
  th {
822
    h3,
823
    h4 {
824
      margin: 0 !important ;
825
      padding: 0.8em 0 0.2em 0 !important ;
763
    thead,
764
    tbody {
765
      th,
766
      td { padding: 3px 0.3em 4px 0.3em !important ; }
826 767
    }
827
    h4 {
828
        //font-weight: normal ;
768
    thead {
769
      th {
770
        .mx-thead-th ; // mixin
771
      }
829 772
    }
830
  }
831 773

  
774
    tr {
775
      th,
776
      td { padding: 0.3em inherit 0.3em 0.3em ; }
777
      td { }
778
      th { }
779
    }
780
    // kompakt
781
    &.condensed {
782
      caption { padding-left: 0 ; }
783
      td, th {
784
        padding: 0.1em 7px 0.1em 1px ;
785
      }
786
    }
787
    // liniert
788
    &.lined {
789
      tr {
790
        border-bottom: 1px @table-border-color solid ;
791
        & > th,
792
        & > th {
793
          vertical-align: middle !important ;
794
        }
795
      }
796
    }
832 797

  
798
  } // /.tbl-plain
833 799

  
834 800

  
835
  //  --------------------------------------
836
  //  SUB-TOTALS
837
  //  --------------------------------------
801
  &.tbl-list-plain {
802
    thead th {
803
      border-top:    1px @table-border-color solid !important ;
804
      border-bottom: 1px @table-border-color solid ;
805
      font-weight:   bold ;
806
    }
807
    tbody {
808
      td,
809
      th { border-bottom: 1px @table-border-color solid ; }
810
    }
811
  }// /.tbl-list-plain
838 812

  
839
  tr {
840 813

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

  
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
      }
815

  
816

  
817
  //--------------------------------------
818
  //  TABLE DIALOG
819
  //--------------------------------------
820

  
821
  //  table within div-dialogs
822
  &.tbl-dialog {
823
    th,
824
    td {
825
      background-color: @gray-verylight ;
851 826
    }
827
    th {
828
      color: @t-cell-head-text ;
829
      font-size: @font-size-base ;
830
      vertical-align: top ;
831
    }
832
  }
852 833

  
853
  } //  /tr
834

  
835
  //--------------------------------------
836
  //  CLEAR-TABLE WITH NO FLOATING
837
  //--------------------------------------
838
  &.clear {
839
    float: none ;
840
    clear: both ;
841
  }
854 842

  
855 843

  
856 844

  
857
  //  --------------------------------------
845
  //--------------------------------------
858 846
  //  TABLE CLASS TEST
859
  //  --------------------------------------
860
  //  Use this class for reviewing your Table HTML
847
  //--------------------------------------
848
  //  use this class for reviewing your table html
861 849

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

  
867 853
    th {
868
      background-color: #B3B3B3 ;
854
      background-color: #b3b3b3 ;
869 855
      color: @t-cell-text-color ;
870 856
      font-weight: normal ;
871 857

  
872 858
      &.caption {
873
        background-color: #B3B3B3 ;
859
        background-color: #b3b3b3 ;
874 860
      }
875 861
    }
876 862
    td {
877
      background-color: #CFCDD2 ;
863
      background-color: #cfcdd2 ;
878 864

  
879 865
      &.longdesc,
880 866
      &.longdescription,
......
885 871
    }
886 872

  
887 873
    table {
888
      border: 1px #0000FF solid ;
874
      border: 1px #0000ff solid ;
889 875
      border-collapse: collapse ;
890 876

  
891 877
      td, th {
892
        border: 1px #C20D18 dotted !important ;
878
        border: 1px #c20d18 dotted !important ;
893 879
      }
894 880
    }
895 881

  
......
897 883

  
898 884
  &.test {
899 885
    //border: 1px @table-border-color solid ;
900
    //background-color: #BFD2AD ;
886
    //background-color: #bfd2ad ;
901 887

  
902 888
    th {
903
      border: 1px @gray-mediumdark solid !important ;
904
      background-color: #B3B3B3 ;
889
      border: 1px @gray-dark solid !important ;
890
      background-color: #b3b3b3 ;
905 891
      color: #000 ;
906 892
      font-weight: normal ;
907 893

  
......
912 898
    }
913 899
    td {
914 900
      border: 1px #000 solid ;
915
      background-color: #CFCDD2 ;
901
      background-color: #cfcdd2 ;
916 902

  
917 903
      &.longdesc,
918 904
      &.longdescription,
......
923 909
    }
924 910

  
925 911
    table {
926
      border: 2px #0000FF solid ;
912
      border: 2px #0000ff solid ;
927 913
      border-collapse: collapse ;
928 914

  
929 915
      td, th {
930
        border: 1px #C20D18 dotted !important ;
916
        border: 1px #c20d18 dotted !important ;
931 917
      }
932 918
    }
933 919

  
934 920
  } // /.test
935 921

  
936 922

  
937

  
938 923
}
939 924
//  /table
940 925

  
941 926

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

  
928
//--------------------------------------
929
// TABLE & COLS DIMENSIONS
930
//--------------------------------------
946 931

  
947 932
table,
948 933
table colgroup col {
......
957 942
  &.wi-wider       { width: @tcol-wi-wider        ; }
958 943
  &.wi-verywide    { width: @tcol-wi-verywide     ; }
959 944

  
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 )  ; }
945
  &.wi-small-small           { width: @tcol-wi-small + @tcol-wi-small ; }
946
  &.wi-small-mediumsmall     { width: @tcol-wi-small + @tcol-wi-mediumsmall ; }
947
  &.wi-small-normal          { width: @tcol-wi-small + @tcol-wi-normal ; }
948
  &.wi-small-lightwide       { width: @tcol-wi-small + @tcol-wi-lightwide ; }
949
  // pendent: noch genauer anschauen, sollte eigentlich nur für horizontale tabellen vorgesehen sein
950
  &.wi-small-wide            { width: @tcol-wi-small + @tcol-wi-wide + ( @diff-input-select )  ; }
968 951
  //&.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

  
952
  &.wi-small-wider           { width: @tcol-wi-small + @tcol-wi-wider ; }
953
  &.wi-small-verywide        { width: @tcol-wi-small + @tcol-wi-verywide ; }
1000 954

  
955
  &.wi-mediumsmall-small       { width: @tcol-wi-mediumsmall + @tcol-wi-lightwide ; }
956
  &.wi-mediumsmall-mediumsmall { width: @tcol-wi-mediumsmall + @tcol-wi-mediumsmall ; }
957
  &.wi-mediumsmall-normal      { width: @tcol-wi-mediumsmall + @tcol-wi-normal ; }
958
  &.wi-mediumsmall-lightwide   { width: @tcol-wi-mediumsmall + @tcol-wi-lightwide ; }
959
  &.wi-mediumsmall-wide        { width: @tcol-wi-mediumsmall + @tcol-wi-wide ; }
960
  &.wi-mediumsmall-wider       { width: @tcol-wi-mediumsmall + @tcol-wi-wider ; }
961
  &.wi-mediumsmall-verywide    { width: @tcol-wi-mediumsmall + @tcol-wi-verywide ; }
1001 962

  
963
  &.wi-normal-small       { width: @tcol-wi-normal + @tcol-wi-small ; }
964
  &.wi-normal-mediumsmall { width: @tcol-wi-normal + @tcol-wi-mediumsmall ; }
965
  &.wi-normal-normal      { width: @tcol-wi-normal + @tcol-wi-normal ; }
966
  &.wi-normal-lightwide   { width: @tcol-wi-normal + @tcol-wi-lightwide ; }
967
  &.wi-normal-wide        { width: @tcol-wi-normal + @tcol-wi-wide ; }
968
  &.wi-normal-wider       { width: @tcol-wi-normal + @tcol-wi-wider ; }
969
  &.wi-normal-verywide    { width: @tcol-wi-normal + @tcol-wi-verywide ; }
1002 970

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

  
979
}
1004 980

  
981
table {
982
  &.width-full,
983
  &.full-width,
984
  &.wi-full { width: 100% ; }
1005 985

  
986
  //  moderate width with padding on the right side
987
  &.width-moderate,
988
  &.moderate-width,
989
  &.wi-moderate {
990
    width: auto ;
991
    td,
992
    th {
993
      // PENDENT: vielleicht in pixeln angeben, statt in ems (siehe tbl-plain)
994
      padding-left: 0.6em ;
995
      padding-right: 1.2em ;
996
    }
997
  }
998
}
1006 999

  
1007 1000

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

  
1002
//--------------------------------------
1003
//  LIST-TABLES IN WRAPPERS
1004
//--------------------------------------
1005
// creates a border on the left & right side of the table
1012 1006
div.wrapper,
1013 1007
div.cols {
1014 1008
  table.tbl-list tr {
......
1017 1011
  }
1018 1012
}
1019 1013

  
1014
//--------------------------------------
1015
//  LIST-TABLES NOT IN WRAPPERS
1016
//--------------------------------------
1017
#content .ui-tabs-panel > table.tbl-list caption {
1018
  //margin-left: @margin-from-panel-left - 0.2em ;
1019
  margin-left: 0.3em ;
1020
}
1021
#content {
1022
  .ui-tabs-panel > table.tbl-list caption {
1023
    //margin-left: @margin-from-panel-left - 0.2em ;
1024
    margin-left: 0.3em ;
1025
  }
1020 1026

  
1027
  & > table.tbl-plain,
1028
  & > table.tbl-list-plain {
1029
    margin-top: 1.0em ;
1030
  }
1031
}
1021 1032

  
1022 1033

  
1023

  
1024

  
1034
// --------------------------------------
1035
// SORT SYMBOLS
1036
// --------------------------------------
1025 1037

  
1026 1038
span.sort {
1027 1039
  display: inline-block ;
1028 1040
  height: 100% ;
1041
  vertical-align: top;
1042
  padding-top: 6px;
1029 1043
}
1030 1044
span.sort_symbol {
1031 1045
  display: inline-block ;
1032 1046
  width: 10px ;
1033 1047
  padding: 0 ;
1034
  margin: 0 ;
1048
  margin: 0 10px 0 0 ;
1035 1049
  a {
1036 1050
    display: block ;
1037 1051
    width: 8px ;
......
1054 1068
      border-left:   1px @table-border-color solid ;
1055 1069
    }
1056 1070
    &.active {
1057
       background-color: #000000 ;
1071
       //background-color: #000000 ;
1058 1072
       color: #ffffff ;
1059 1073
    }
1074
    &:link,
1075
    &:visited{
1076
      color: @brand-light ;
1077
    }
1060 1078
  }
1061 1079
}
1062 1080

  
......
1064 1082

  
1065 1083

  
1066 1084

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

  
1085
//--------------------------------------
1086
// SPECIFIX TABLES (#REPORT_TABLE)
1087
//--------------------------------------
1088
// Ueberpruefen
1071 1089
table#report_table_id.tbl-list {
1072 1090
  & > tbody > tr > td { vertical-align: top ; }
1073 1091
}
1074 1092

  
1075 1093

  
1076 1094

  
1095
//  Benutzerdefinierte Tabellen-Angaben
1096
//  Diese uebersteuern alle Anweisungen aus tables.less
1097
//  Es dürfen nur Tabellen mit Zusatzklassen oder mit IDs uebersteuert werden.
1098
//  Uebersteuern Sie nur wenige, bestehende Elemente, um ein einheitliches
1099
//  Design zu gewaehrleisten
1100
//  Diese Datei wird am Schluss von tables.less includiert.
1101

  
1102
table{
1103

  
1104
    //  Zusatzklasse zur Tabelle (Beispiel)
1105
    //  Betreff: xyz
1106
    //  Autor: hanspeter.schlaepfer@revamp-it.ch
1107
    &.meine-tabellen-klasse {
1108

  
1109
    }
1110

  
1111
    //  Tabelle mit spezieller ID (Beispiel)
1112
    //  Betreff: xyz
1113
    //  Autor: hanspeter.schlaepfer@revamp-it.ch
1114
    &#meine-spezielle-tabelle {
1115

  
1116
    }
1117

  
1118

  
1119
    //  Tabelle mit Konten-Uebersicht (Kontoplan)
1120
    //  Betreff: Kontoplan
1121
    //  Autor: hanspeter.schlaepfer@revamp-it.ch
1122
    &#konten-plan {
1123
        tbody tr{
1124
            td:first-child {
1125
                text-align: right !important;
1126
            }
1127
            &.heading td {
1128
                font-size: @font-size-large;
1129
                border-top: 1px #999 solid;
1130
            }
1131
        }
1132
        tr:first-child {
1133
             &.heading td {
1134
                border: none;
1135
            }
1136
        }
... Dieser Diff wurde abgeschnitten, weil er die maximale Anzahl anzuzeigender Zeilen überschreitet.

Auch abrufbar als: Unified diff