scinote-web/app/assets/stylesheets/shared/content/checklist.scss

60 lines
1.1 KiB
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-checklist-item {
padding-left: 5px;
}
2022-06-09 20:40:45 +08:00
.step-element-header {
2022-06-09 20:40:45 +08:00
.step-element-name {
align-items: flex-start;
column-gap: .25em;
2022-06-09 20:40:45 +08:00
display: grid;
font-weight: normal;
grid-template-columns: max-content auto;
.step-checklist-text {
display: inline-block;
2022-08-02 16:18:25 +08:00
margin-top: -.1em;
position: relative;
width: fit-content;
2022-06-09 20:40:45 +08:00
}
&:hover.done .step-checklist-text {
text-decoration: none;
}
}
}
2022-07-15 20:58:06 +08:00
.sci-checkbox-view-mode {
2022-08-02 16:18:25 +08:00
align-self: flex-start;
2022-07-15 20:58:06 +08:00
background-color: $color-black;
border-radius: 50%;
height: 4px;
margin-right: .5em;
margin-top: .4em;
2022-07-15 20:58:06 +08:00
width: 4px;
}
2022-06-21 17:32:27 +08:00
.step-checklist-add-item {
margin-left: 1.925rem;
.fas {
margin-right: .5em;
}
2022-06-21 17:32:27 +08:00
}
.step-checklist-item-ghost {
border: 1px solid $brand-primary;
}
}
2022-07-15 20:58:06 +08:00
.step-checklist-container {
.empty-checklist-element {
color: $color-silver-chalice;
margin-left: 3em;
}
}