57 lines
1.1 KiB
SCSS

@import "./../variables";
.widget-todo-list-wrapper {
padding: 0;
margin: 0;
}
#widget-todo-list {
padding: 0;
min-width: 400px;
}
.widget-todo-item:hover {
background-color: $gray-900;
}
.widget-todo-title-wrapper {
gap: 1rem;
}
.widget-todo-title {
min-width: 150px;
}
.widget-todo-title-area svg {
width: 24px
}
// Moved outside .widget-todo-list-wrapper because dragula
// renders a shadow element outside of the widget-todo-list-wrapper
.widget-todo-item {
padding: .8rem 2rem .8rem .8rem;
list-style: none;
&:hover {
background-color: $gray-100;
}
.checkbox {
margin-left: 1rem;
}
i, svg {
font-size: 12px;
cursor: move;
height: 1rem
}
}
html[data-bs-theme="dark"] .widget-todo-item:hover {
background-color: $gray-800;
}
html[data-bs-theme="dark"] .widget-todo-item {
background-color: $gray-900;
color: $gray-100;
&:hover {
background-color: $gray-800;
}
}
html[data-bs-theme="dark"] .widget-todo-title-area svg {
fill: $gray-100;
}