Some browsers don't properly support tri-state checkboxes, so create our own control to handle true/false/null. Fixes #2848

This commit is contained in:
Murtuza Zabuawala
2017-11-21 17:22:25 +00:00
committed by Dave Page
parent b284572afe
commit 930dd8af1f
4 changed files with 157 additions and 29 deletions

View File

@@ -1399,3 +1399,31 @@ body {
font-size: 8px;
color: #888888;
}
/* CSS for custom checkbox editor in SlickGrid */
.multi-checkbox .check {
display: inline-block;
vertical-align: top;
width: 15px;
height: 15px;
border: 1px solid #333;
margin: 3px;
text-align: center;
line-height: 15px;
}
.multi-checkbox .check.unchecked {
background: #fff;
}
.multi-checkbox .check.partial {
background: #cccccc;
}
.multi-checkbox .check.checked:after {
content: "\2713";
}
.multi-checkbox .check.partial:after {
content: "\fe56";
}