Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

css: Use classname instead of span selector for todo checkboxes.

evykassirer8427b6f74401
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index ed17cbc1a64..6b864e94d86 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -995,21 +995,21 @@
.todo-widget {
& label.checkbox {
& input[type="checkbox"] {
- ~ span {
+ ~ .custom-checkbox {
border-color: hsl(185deg 40% 45%);
opacity: 0.7;
}
- &:hover ~ span {
+ &:hover ~ .custom-checkbox {
background-color: hsl(185deg 20% 20%);
border-color: hsl(185deg 40% 35%);
}
- &:checked ~ span {
+ &:checked ~ .custom-checkbox {
background-color: hsl(185deg 40% 45%);
}
- &:focus ~ span {
+ &:focus ~ .custom-checkbox {
outline-color: hsl(0deg 0% 100% / 0%);
}
}