0d685385d7c05ad02345d8e299170c4aefdb05f9
[Packages/TYPO3.CMS.git] / typo3 / sysext / t3skin / Resources / Public / Css / visual / element_table.css
1 /* - - - - - - - - - - - - - - - - - - - - -
2 Table
3 - - - - - - - - - - - - - - - - - - - - - */
4
5 /** @deprecated styles */
6 .t3-row-header {
7 background-color: #666;
8 color: #fff;
9 }
10
11 .t3-row-header a,
12 .t3-row-header a:hover {
13 color: #fff;
14 }
15
16 .t3-col-header {
17 background-color: #585858;
18 color: #fff;
19 }
20
21 /** used for any table where a table is used for displaying information (and thus, there is air to breathe) **/
22 table.t3-table-info {
23 background: #ffffff;
24 border: 1px solid #cccccc;
25 }
26
27 /**
28 * Common style for tables
29 */
30 table.t3-table {
31 backgorund-color: #fff;
32 border: none;
33 border: 1px solid #d7d7d7;
34 }
35
36 /** Allow <thead><td> only for edge cases - please use <thead><th> */
37 table.t3-table thead th,
38 table.t3-table thead td {
39 background-color: #666;
40 color: #fff;
41 }
42 table.t3-table thead th a,
43 table.t3-table thead td a {
44 color: #fff;
45 text-decoration: underline;
46 }
47
48 table.t3-table tbody tr:nth-child(odd) td {
49 background-color: #f7f7f7;
50 }
51 table.t3-table tbody tr:nth-child(even) td {
52 background-color: #fff;
53 }
54
55 table.t3-table tbody tr:hover td {
56 background-color: #efefef;
57 -webkit-transition: background-color 100ms linear;
58 -moz-transition: background-color 100ms linear;
59 -o-transition: background-color 100ms linear;
60 -ms-transition: background-color 100ms linear;
61 transition: background-color 100ms linear;
62 }
63
64 table.t3-table tbody td a {
65 text-decoration: underline;
66 }