-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtable.css
More file actions
74 lines (65 loc) · 1.76 KB
/
table.css
File metadata and controls
74 lines (65 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.table-scroll {
display: block;
width: fit-content;
max-width: 100%;
margin: 1em 0;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
border: 1.5px solid var(--Colors-Stroke-Default);
border-radius: var(--UI-Radius-radius-s, 8px);
background: var(--Colors-Backgrounds-Main-Top);
}
.table {
min-width: 100%;
width: max-content;
border-collapse: separate;
border-spacing: 0;
background: var(--Colors-Backgrounds-Main-Top);
color: var(--Colors-Text-Body-Default);
font-family: var(--body-family);
}
.table th,
.table td {
min-height: 53px;
padding: var(--UI-Spacing-spacing-xs, 6px) calc(var(--UI-Spacing-spacing-mxs, 12px) + var(--UI-Spacing-spacing-xs, 6px));
text-align: left;
vertical-align: middle;
border-bottom: 1.5px solid var(--Colors-Stroke-Lighter);
white-space: nowrap;
}
.table th {
font-family: var(--body-family);
font-size: var(--Fonts-Body-Default-xs, 14px);
line-height: 140%;
letter-spacing: -0.21px;
color: var(--Colors-Text-Body-Strong);
font-style: normal;
font-weight: 600;
-webkit-font-smoothing: antialiased;
text-transform: capitalize;
}
.table td {
font-family: var(--body-family);
font-size: var(--Fonts-Body-Default-sm, 15px);
font-style: normal;
font-weight: 400;
line-height: 135%;
letter-spacing: -0.15px;
color: var(--Colors-Text-Body-Default);
}
.table thead th {
border-bottom-color: var(--Colors-Stroke-Lighter);
}
.table tbody tr:last-child th,
.table tbody tr:last-child td {
border-bottom: none;
}
.table thead tr:first-child th:first-child {
border-top-left-radius: calc(var(--UI-Radius-radius-s, 8px) - 1px);
}
.table thead tr:first-child th:last-child {
border-top-right-radius: calc(var(--UI-Radius-radius-s, 8px) - 1px);
}
.table code {
white-space: nowrap;
}