Summary Files Commits Branches @commit @diff @stats
path: root / dist / spectre.css
diff options
context:
space:
mode:
1 files changed, 15 insertions, 2 deletions
-rw-r--r--dist/spectre.css17
diff --git a/dist/spectre.css b/dist/spectre.css
index f7f9913..1c42b04 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -578,7 +578,7 @@ pre code {
}
.btn {
-webkit-appearance: none;
- background: transparent;
+ background: #fff;
border: .1rem solid #5764c6;
border-radius: .3rem;
color: #5764c6;
@@ -858,7 +858,9 @@ textarea.form-input {
border-color: #9f9f9f;
}
.form-checkbox input:checked + .form-icon,
-.form-radio input:checked + .form-icon {
+.form-radio input:checked + .form-icon,
+.form-checkbox input:indeterminate + .form-icon,
+.form-radio input:indeterminate + .form-icon {
background: #5764c6;
border-color: #5764c6;
}
@@ -882,6 +884,17 @@ textarea.form-input {
transform: rotate(45deg);
width: .6rem;
}
+.form-checkbox input:indeterminate + .form-icon::after {
+ background: #fff;
+ content: "";
+ height: .2rem;
+ left: 50%;
+ margin-left: -.4rem;
+ margin-top: -.1rem;
+ position: absolute;
+ top: 50%;
+ width: .8rem;
+}
.form-radio .form-icon {
border-radius: .7rem;
}