File tree Expand file tree Collapse file tree 2 files changed +10
-22
lines changed Expand file tree Collapse file tree 2 files changed +10
-22
lines changed Original file line number Diff line number Diff line change 1
1
$table-row-height : 48px ;
2
- $table-row-divider : solid 1px $color-divider ;
2
+ $table-row-divider : solid 1px rgba ( 0 , 0 , 0 , .12 ) ;
3
3
$table-row-offset : 1.8 * $unit ;
4
- $table-text-color : rgba (0 , 0 , 0 , 0.541176 );
5
- $table-change-icon-size : 0.8 * $unit ;
6
- $table-change-icon-color : unquote (" rgb(#{$color-primary-dark } )" ) !default ;
4
+ $table-row-highlight : #eee ;
5
+ $table-text-color : #757575 ;
Original file line number Diff line number Diff line change 4
4
.root {
5
5
width : 100% ;
6
6
font-size : $font-size-tiny ;
7
- color : $color -text ;
7
+ color : $table -text-color ;
8
8
text-align : left ;
9
9
tr {
10
10
height : $table-row-height ;
11
11
line-height : $table-row-height ;
12
12
border-bottom : $table-row-divider ;
13
- & :hover {
14
- background-color : $color-divider ;
15
- }
13
+
16
14
}
17
15
th {
18
16
font-weight : $font-weight-bold ;
27
25
}
28
26
29
27
.row {
28
+ transition : background-color $animation-duration $animation-curve-default ;
29
+ & :hover {
30
+ background-color : $table-row-highlight ;
31
+ }
30
32
& :last-child {
31
33
border-color : transparent ;
32
34
}
45
47
}
46
48
47
49
.changed {
48
- td :first-child :before {
49
- position : absolute ;
50
- top : ($table-row-height / 2.5 );
51
- left : ($table-row-height / 10 );
52
- width : $table-change-icon-size ;
53
- height : $table-change-icon-size ;
54
- font-size : 50% ;
55
- line-height : $font-size-small ;
56
- background-color : $table-change-icon-color ;
57
- color : white ;
58
- text-align : center ;
59
- content : " " ;
60
- border-radius : 50% ;
61
- }
50
+ // @TODO: We've to create a style for changed rows.
62
51
}
You can’t perform that action at this time.
0 commit comments