Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
:before {
background-color: transparent;
}
}
&:before {
width: calc(100% - 30px);
}
}
}
}
}
&.clickable {
&:not(.is-open):hover {
> td > div:first-of-type {
cursor: pointer;
background-color: ${colors.grey};
}
& + tr {
div:not(.collapse-body) table tr:before {
background-color: transparent;
}
}
}
}
&.is-open {
> td {
div:not(.collapse-body) {
table tr:hover {
cursor: pointer;
background-color: ${colors.grey};
}
}
}
}
td:last-child {
text-align: right;
}
&.relation-row {
background: linear-gradient(
135deg,
rgba(28, 93, 231, 0.05),
rgba(239, 243, 253, 0)
);
}
&.clickable {
&:hover {
cursor: pointer;
background-color: ${colors.grey};
& + tr {
&::before {
background-color: transparent;
}
}
}
}
`;
export default StyledListRow;