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

112 lines
1.9 KiB
SCSS
Raw Normal View History

.my-module-position-container .protocol-content {
margin-left: 2.5rem;
}
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;
flex-wrap: wrap;
column-gap: 1rem;
row-gap: .4rem;
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;
2023-09-18 21:32:53 +08:00
margin: .5rem 0;
2022-04-28 17:13:38 +08:00
&::before,
&::after {
2023-10-09 17:28:18 +08:00
background-image: linear-gradient(to right, var(--sn-sleepy-grey) 20%, rgba(255, 255, 255, 0) 0%);
2023-09-25 18:56:06 +08:00
background-position: top;
2023-10-09 17:28:18 +08:00
background-size: 5px 1px;
2023-09-25 18:56:06 +08:00
background-repeat: repeat-x;
border-bottom: 1px dotted transparent;
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 {
2023-09-25 18:56:06 +08:00
background-image: linear-gradient(to right, $brand-primary 15%, rgba(255, 255, 255, 0) 0%);
2022-04-28 17:13:38 +08:00
}
}
}
2022-07-05 18:49:12 +08:00
.protocol-description {
margin-bottom: 1rem;
padding-left: 2rem;
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);
}
.sci-input-container-v2 {
textarea::placeholder {
color: var(--sn-grey);
}
}
}