311401d32187eb93a22f7b5847c607846314a82f
[Packages/TYPO3.CMS.git] / typo3 / sysext / t3skin / Resources / Public / Css / structure / element_table.css
1 /* - - - - - - - - - - - - - - - - - - - - -
2 Table
3 - - - - - - - - - - - - - - - - - - - - - */
4
5 th,
6 td {
7 vertical-align: top;
8 }
9
10 /** @deprecated styles */
11 .t3-col-header,
12 .t3-row-header,
13 .tableheader td,
14 table.t3-table-info td {
15 padding: 6px;
16 }
17
18 .t3-row-header span.t3-icon {
19 margin-right: 3px;
20 }
21
22 /** used in the admin tools => DB check **/
23 .t3-overview-list dt {
24 padding: 0px 0px 2px 20px;
25 }
26
27 .t3-overview-list dt img {
28 vertical-align: middle;
29 margin-right: 5px;
30 }
31
32 .t3-overview-list dd {
33 margin: 2px 0 15px 20px;
34 padding-left: 22px;
35 }
36
37 /**
38 * Common style for tables
39 *
40 * <table class="t3-table>
41 * <thead>
42 * <tr>
43 * <th>...</th>
44 * <th>...</th>
45 * </tr>
46 * </thead>
47 * <tbody>
48 * <tr>
49 * <td class="t3-table-tree">Icon</td>
50 * <td>...</td>
51 * </tr>
52 * </tbody>
53 * </table>
54 */
55 table.t3-table {
56 width: 100%;
57 border: none;
58 margin-bottom: 1.5em;
59 }
60
61 table.t3-table th,
62 table.t3-table td {
63 padding: 6px;
64 /** Height of sprite icon */
65 min-height: 16px;
66 }
67
68 /**
69 * This is the special annotation for tree icon columns
70 */
71 table.t3-table td.t3-table-tree {
72 padding-top: 0;
73 padding-bottom: 0;
74
75 /* white space by next column */
76 padding-right: 0;
77 vertical-align: middle;
78 line-height: 28px;
79
80 /* width is expanded by content */
81 width: 16px;
82 white-space: nowrap;
83 }
84
85 table.t3-table tr th:first-child,
86 table.t3-table tr td:first-child {
87 padding-left: 12px;
88 }
89 table.t3-table tr th:last-child,
90 table.t3-table tr td:last-child {
91 padding-right: 12px;
92 }