mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
css: Use SCSS nesting for button.task*.
This commit is contained in:
@@ -58,22 +58,24 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button.task {
|
button {
|
||||||
height: 20px;
|
&.task {
|
||||||
width: 20px;
|
height: 20px;
|
||||||
background-color: transparent;
|
width: 20px;
|
||||||
border-color: hsl(156, 28%, 70%);
|
background-color: transparent;
|
||||||
margin-right: 4px;
|
border-color: hsl(156, 28%, 70%);
|
||||||
border-radius: 3px;
|
margin-right: 4px;
|
||||||
}
|
border-radius: 3px;
|
||||||
|
|
||||||
button.task:hover {
|
&:hover {
|
||||||
border: 1px solid hsl(194, 60%, 40%);
|
border: 1px solid hsl(194, 60%, 40%);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
button.task-completed {
|
&.task-completed {
|
||||||
border-color: hsl(157, 18%, 77%);
|
border-color: hsl(157, 18%, 77%);
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
img.task-completed {
|
img.task-completed {
|
||||||
|
|||||||
Reference in New Issue
Block a user