Skip to content

Commit

Permalink
Non-selectable options in dropdowns should not be interactable #3521
Browse files Browse the repository at this point in the history
  • Loading branch information
alansemenov committed Apr 4, 2024
1 parent 4c2d7ec commit a2ddef0
Showing 1 changed file with 28 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,27 +71,37 @@
&.selected {
color: #d3d3d3;
}
}

.slick-row .slick-cell-checkboxsel {
overflow: visible;

label {
display: block;
width: 100%;
height: 100%;
min-width: 16px;
min-height: 16px;
margin: 0;
background: url("../../../../../images/box-unchecked.gif") center no-repeat;
}

input[type="checkbox"] {
display: none;
.slick-cell {
&.readonly {
pointer-events: none;
}
}

&.selected label {
background: url("../../../../../images/box-checked.gif") center no-repeat;
.slick-cell-checkboxsel {
overflow: visible;

label {
display: block;
width: 100%;
height: 100%;
min-width: 16px;
min-height: 16px;
margin: 0;
background: url("../../../../../images/box-unchecked.gif") center no-repeat;
}

input[type="checkbox"] {
display: none;
}

&.selected label {
background: url("../../../../../images/box-checked.gif") center no-repeat;
}

&.readonly label {
opacity: 0.5;
}
}
}
}
Expand Down

0 comments on commit a2ddef0

Please sign in to comment.