Skip to content

Commit

Permalink
District onHover fixes for UI feedback on hover
Browse files Browse the repository at this point in the history
Fixes for safari browser

District onHover fixes for UI feedback on hover

Achieved consistent UI across chrome and safari
  • Loading branch information
AnirudhSriram authored and jeremyphilemon committed Mar 29, 2020
1 parent bd65bd1 commit 44817c3
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -572,10 +572,11 @@ table {

tbody {
color: $gray;

tr {
transition: background 0.1s ease-in-out;
cursor: pointer;
background: $light;

&:hover {
background: $gray-hover;
Expand All @@ -593,31 +594,34 @@ table {
}

& > tr:nth-child(odd) {
background: $light;

&:hover {
background: $gray-hover;
}
// &:nth-child(odd) {
// background: $white ;
// }
}

&:nth-child(odd) {
background: $white !important;
& > tr:nth-child() {
&:hover{
background: $gray-hover ;
}
}

&:nth-child(even) {
background-color: $light;


&:nth-child(odd){
&.spacer {
background: transparent !important;
}

}

td {
padding: 0.25rem;
font-size: 0.9rem;
border-radius: 5px;
text-align: right;

.deltas {
margin-right: 0.25rem;
font-size: 11px !important;
Expand All @@ -631,6 +635,7 @@ table {
}
}


td:first-child {
text-align: left;
max-width: 7.5rem;
Expand Down

0 comments on commit 44817c3

Please sign in to comment.