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

104 lines
1.6 KiB
SCSS
Raw Normal View History

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-06-15 21:12:51 +08:00
column-gap: .5rem;
2022-07-05 18:49:12 +08:00
display: grid;
grid-template-columns: auto auto auto;
}
.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-label {
margin: 2px 0 0;
}
.status-info {
padding-left: 4px;
}
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-06-15 21:12:51 +08:00
background-color: 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-06-15 21:12:51 +08:00
height: 1px;
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-08-04 17:06:25 +08:00
.tinymce-wrapper {
width: 100%;
.tox-tinymce {
flex-grow: 1;
}
2022-08-04 17:06:25 +08:00
}
.tinymce-container {
display: flex;
width: 100%;
.tiny-mce-editor {
flex-basis: 100%;
max-width: 100%;
}
}
2022-04-26 20:20:50 +08:00
}