mirror of
https://github.com/Chalarangelo/mini.css.git
synced 2025-08-31 01:29:46 +02:00
Fixed a minor bug with checkboxes and radios
Should now be able to use :disabled, as well as [disabled].
This commit is contained in:
7
dist/mini-default.css
vendored
7
dist/mini-default.css
vendored
@@ -944,11 +944,14 @@ input[type="file"] {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.input-group [type="checkbox"][disabled] + label, .input-group [type="radio"][disabled] + label {
|
||||
.input-group [type="checkbox"][disabled] + label, .input-group [type="radio"][disabled] + label,
|
||||
.input-group [type="checkbox"]:disabled + label, .input-group [type="radio"]:disabled + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.input-group [type="checkbox"][disabled] + label:before, .input-group [type="checkbox"][disabled] + label:after, .input-group [type="radio"][disabled] + label:before, .input-group [type="radio"][disabled] + label:after {
|
||||
.input-group [type="checkbox"][disabled] + label:before, .input-group [type="checkbox"][disabled] + label:after, .input-group [type="radio"][disabled] + label:before, .input-group [type="radio"][disabled] + label:after,
|
||||
.input-group [type="checkbox"]:disabled + label:before,
|
||||
.input-group [type="checkbox"]:disabled + label:after, .input-group [type="radio"]:disabled + label:before, .input-group [type="radio"]:disabled + label:after {
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
|
2
dist/mini-default.min.css
vendored
2
dist/mini-default.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user