forked from react-toolbox/react-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy paththeme.scss
More file actions
56 lines (52 loc) · 975 Bytes
/
theme.scss
File metadata and controls
56 lines (52 loc) · 975 Bytes
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
@import "../colors";
@import "../globals";
@import "../mixins";
@import "./config";
.table {
width: 100%;
font-size: $font-size-tiny;
color: $table-text-color;
text-align: left;
tr {
height: $table-row-height;
line-height: $table-row-height;
border-bottom: $table-row-divider;
}
th {
font-weight: $font-weight-bold;
&:first-letter {
text-transform: capitalize;
}
}
th, td {
position: relative;
padding: 0 $table-row-offset;
&.selectable {
width: 1.8 * $unit;
padding-right: 0;
> * {
margin: 0;
}
}
}
}
.row {
transition: background-color $animation-duration $animation-curve-default;
&:last-child {
border-color: transparent;
}
> td {
> input {
display: block;
width: 100%;
background-color: transparent;
border: 0;
}
}
}
.selected, .row:hover {
background-color: $table-row-highlight;
}
.editable > * {
cursor: pointer;
}