scinote-web/app/assets/stylesheets/steps/components/checklist.scss

43 lines
766 B
SCSS
Raw Normal View History

2022-06-09 20:40:45 +08:00
// scss-lint:disable SelectorDepth
// scss-lint:disable NestingDepth
2022-06-09 20:40:45 +08:00
.step-checklist-items {
.step-element-header {
.step-element-name {
align-items: flex-start;
column-gap: .5em;
display: grid;
font-weight: normal;
grid-template-columns: max-content auto;
.step-checklist-text {
width: 100%;
}
&.done .step-checklist-text {
text-decoration: line-through;
}
&:hover.done .step-checklist-text {
text-decoration: none;
}
}
}
2022-06-21 17:32:27 +08:00
.step-checklist-add-item {
margin-left: 9px;
}
.step-checklist-item-ghost {
border: 1px solid $brand-primary;
}
2022-06-09 20:40:45 +08:00
.sci-checkbox-container {
margin: 10px 0;
2022-06-09 20:40:45 +08:00
&.disabled {
pointer-events: none;
}
}
}