scinote-web/app/assets/stylesheets/my_modules/protocol.scss

103 lines
1.6 KiB
SCSS
Raw Normal View History

.my-module-position-container .protocol-content {
2023-09-11 18:03:17 +08:00
margin-left: 3rem;
}
2022-04-28 17:13:38 +08:00
.task-protocol {
2022-07-05 18:49:12 +08:00
.protocol-step-actions {
2023-06-15 21:12:51 +08:00
align-items: center;
display: flex;
2022-07-05 18:49:12 +08:00
margin-left: -6px;
padding-left: 1em;
2022-07-05 18:49:12 +08:00
}
.protocol-buttons-group {
2023-08-09 17:01:20 +08:00
align-items: center;
display: flex;
2023-09-11 18:03:17 +08:00
gap: 1rem;
2022-07-05 18:49:12 +08:00
}
.portocol-header-left-part {
2023-06-15 21:12:51 +08:00
align-items: center;
2022-07-05 18:49:12 +08:00
display: flex;
a:first-of-type:focus {
outline: none;
}
.task-section-caret {
padding-right: .25em;
}
.status-info {
2023-09-11 18:03:17 +08:00
display: flex;
height: 24px;
}
2022-07-05 18:49:12 +08:00
}
2022-04-28 17:13:38 +08:00
.insert-step {
align-items: center;
2023-06-15 21:12:51 +08:00
color: var(--sn-blue);
2022-04-28 17:13:38 +08:00
cursor: pointer;
display: flex;
&::before,
&::after {
2023-09-11 18:03:17 +08:00
border-bottom: 1px dashed var(--sn-light-grey);
2022-04-26 20:20:50 +08:00
content: "";
2022-04-28 17:13:38 +08:00
display: inline-block;
flex-grow: 1;
2023-08-09 17:01:20 +08:00
height: 0;
2022-04-28 17:13:38 +08:00
}
2023-06-15 21:12:51 +08:00
.sn-icon-new-task {
2022-04-28 17:13:38 +08:00
margin: 0 .5em;
}
&:hover {
color: $brand-primary;
&::before,
&::after {
background-color: $brand-primary;
}
}
}
2022-07-05 18:49:12 +08:00
.protocol-description {
margin-bottom: 2em;
2023-06-22 17:55:23 +08:00
padding-left: 2.5rem;
}
.protocol-steps {
padding-left: .75em;
2022-07-05 18:49:12 +08:00
}
2022-07-15 20:58:06 +08:00
.empty-protocol-description {
color: $color-silver-chalice;
}
2022-07-05 18:49:12 +08:00
.protocol-options-dropdown {
a {
cursor: pointer;
&.disabled {
cursor: default;
pointer-events: none;
}
}
}
2022-04-26 20:20:50 +08:00
}
.share-task-modal {
.share-link-copy {
border-radius: 0 4px 4px 0;
}
.shareable-link-error {
color: var(--sn-coral);
}
.shareable-link-disclaimer {
color: var(--sn-grey);
}
}