29 | | example to be updated... |
| 29 | |
| 30 | {{{ |
| 31 | |
| 32 | Example definition of a table: |
| 33 | |
| 34 | #!table |
| 35 | |
| 36 | @table table1: |
| 37 | |
| 38 | .table1 table, th, td { |
| 39 | border: 1px solid black; |
| 40 | } |
| 41 | |
| 42 | .table1 tbody tr:nth-child(even){ |
| 43 | background-color:#444; |
| 44 | color:yellow; |
| 45 | } |
| 46 | |
| 47 | |
| 48 | @css heading: |
| 49 | font-weight: bold; |
| 50 | text-align: center; |
| 51 | |
| 52 | @column task |
| 53 | @column details |
| 54 | @column status |
| 55 | |
| 56 | @row (@heading) |
| 57 | @task: Task |
| 58 | @details: Details |
| 59 | @status: Status |
| 60 | |
| 61 | @task: Task 1 |
| 62 | @details: Details of Task 1. |
| 63 | @status: Complete |
| 64 | |
| 65 | |
| 66 | @task: Task 2 |
| 67 | @details: Details of Task 2. We should be highlighted correctly using tr:nth-child(even) |
| 68 | @status: Complete |
| 69 | |
| 70 | |
| 71 | @task: Task 3 |
| 72 | @details: Details of Task 3. |
| 73 | @status: Complete |
| 74 | |
| 75 | |
| 76 | @task: Task 4 |
| 77 | @details: Details of Task 4. We should be highlighted correctly using tr:nth-child(even) |
| 78 | @status: Complete |
| 79 | |
| 80 | @task: Task 5 |
| 81 | @details: Details of Task 5. |
| 82 | @status: Complete |
| 83 | |
| 84 | @task: Task 6 |
| 85 | @details: Details of Task 6. We should be highlighted correctly using tr:nth-child(even) |
| 86 | @status: Complete |
| 87 | |
| 88 | @task: Task 7 |
| 89 | @details: Details of Task 7. |
| 90 | @status: Complete |
| 91 | |
| 92 | }}} |