How to disable hover from table?

0
Hi, I am using table in my application with background color. I am unable to remove/disable hover effect from table. Before Run: How to remove/disable hover effect from table?
asked
2 answers
0

Hello Samarth,

You can override the below mentioned css class in custom scss file.

.mx-datagrid table tbody tr.selected td 

answered
0
// -- remove styling from Listviews
.mx-listview>ul>li {
    -webkit-transition: all .3s 0s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all .3s 0s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all .3s 0s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all .3s 0s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: initial;
    padding: 0;
    border-width: 0;
    border-style: solid;
    border-color: rgba(0,0,1,0.0);
    background-color: inherit;
    &:last-child{
    border-bottom: 0px;
    }
}
.mx-listview>ul>li.selected:hover{
    background-color: inherit;
}
.mx-listview.mx-listview-clickable>ul>li{
    color: inherit;
}
.mx-listview li:nth-child(2n+1){
    background-color: inherit;
}

.mx-listview>ul>li:hover, .mx-listview>ul>li:focus, .mx-listview>ul>li:active{
    background-color: inherit;
}

not sure if this helps, if you have a table in a listview

answered