blob: 4c45eb2684018671ec9caaa8566b37935b7df559 [file] [log] [blame]
Hao Zhuad4ea392020-08-10 01:24:50 -04001/*!
2 * lightable v0.0.1
3 * Copyright 2020 Hao Zhu
4 * Licensed under MIT (https://github.com/haozhu233/kableExtra/blob/master/LICENSE)
5 */
6
7.lightable-minimal {
8 border-collapse: separate;
9 border-spacing: 16px 1px;
10 width: 100%;
11}
12
13.lightable-minimal thead tr th {
14 border-bottom: 2px solid black;
15 empty-cells: hide;
16}
17
18.lightable-minimal tbody tr:first-child td {
19 padding-top: 0.5em;
20}
21
22.lightable-minimal.lightable-hover tr:hover {
23 background-color: #f5f5f5;
24}
25
26.lightable-minimal.lightable-striped tr:nth-child(even) {
27 background-color: #f5f5f5;
28}
29
30.lightable-classic {
31 border-top: 2px solid #111111;
32 border-bottom: 2px solid #111111;
33 width: 100%;
34}
35
36.lightable-classic thead tr:last-child th {
37 border-bottom: 1px solid #111111;
38}
39
40.lightable-classic.lightable-hover tr:hover {
41 background-color: #f5f5f5;
42}
43
44.lightable-classic.lightable-striped tr:nth-child(even) {
45 background-color: #f5f5f5;
46}
47
48.lightable-material {
49 min-width: 100%;
50 white-space: nowrap;
51 table-layout: fixed;
52 font-family: Roboto, sans-serif;
53 border: 1px solid #EEE;
54 border-collapse: collapse;
55}
56
57.lightable-material th {
58 padding: 0.8em;
59 background-color: #f5f5f5;
60}
61
62.lightable-material td {
63 padding: 0.8em;
64 border-top: 1px solid #eeeeee;
65}
66
67.lightable-material.lightable-hover tr:hover {
68 background-color: #f5f5f5;
69}
70
71.lightable-material.lightable-striped tr:nth-child(even) {
72 background-color: #f5f5f5;
73}
74
75.lightable-material.lightable-striped td {
76 border: 0px;
77}
78
79.lightable-material.lightable-striped thead tr:last-child th {
80 border-bottom: 1px solid #ddd;
81}