fix: visually disable/remove interactive elements in non-editable sheets

This commit is contained in:
Johannes Loher 2022-11-03 23:39:49 +01:00
parent a71a388fbf
commit 2023019d3a
6 changed files with 27 additions and 3 deletions

View file

@ -7,11 +7,29 @@
@use "../../utils/mixins";
.ds4-check {
background: transparent;
border: none;
cursor: pointer;
display: flex;
font-family: inherit;
font-size: inherit;
justify-content: space-between;
line-height: inherit;
margin: 0;
&:focus {
box-shadow: none;
}
&:hover {
@include mixins.foundry-highlight-text-shadow;
box-shadow: none;
}
&[disabled] {
cursor: auto;
&:hover {
text-shadow: none;
}
}
}