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 11$table-row-height : 48px ;
2- $table-row-divider : solid 1px $color-divider ;
2+ $table-row-divider : solid 1px rgba ( 0 , 0 , 0 , .12 ) ;
33$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 44.root {
55 width : 100% ;
66 font-size : $font-size-tiny ;
7- color : $color -text ;
7+ color : $table -text-color ;
88 text-align : left ;
99 tr {
1010 height : $table-row-height ;
1111 line-height : $table-row-height ;
1212 border-bottom : $table-row-divider ;
13- & :hover {
14- background-color : $color-divider ;
15- }
13+
1614 }
1715 th {
1816 font-weight : $font-weight-bold ;
2725}
2826
2927.row {
28+ transition : background-color $animation-duration $animation-curve-default ;
29+ & :hover {
30+ background-color : $table-row-highlight ;
31+ }
3032 & :last-child {
3133 border-color : transparent ;
3234 }
4547}
4648
4749.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.
6251}
You can’t perform that action at this time.
0 commit comments