blob: 69965354aa638ba5726508264a23f7215daf8ecd (
plain)
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
|
@import 'sortable-base.scss';
.sortable {
--stripe-color: #e4e4e4;
--th-color: #fff;
--th-bg: #808080;
--td-color: #000;
--td-on-stripe-color: #000;
border-spacing: 0;
tbody {
tr {
&:nth-child(odd) {
background-color: var(--stripe-color);
color: var(--td-on-stripe-color);
}
}
}
th {
background: var(--th-bg);
color: var(--th-color);
font-weight: normal;
text-align: left;
text-transform: capitalize;
vertical-align: baseline;
white-space: nowrap;
}
td {
color: var(--td-color);
}
td,
th {
padding: 10px;
&:first-child {
border-top-left-radius: 4px;
}
&:last-child {
border-top-right-radius: 4px;
}
}
}
|