diff --git a/app/assets/stylesheets/my_modules/protocol.scss b/app/assets/stylesheets/my_modules/protocol.scss index 7f638efd9..c0d14a5aa 100644 --- a/app/assets/stylesheets/my_modules/protocol.scss +++ b/app/assets/stylesheets/my_modules/protocol.scss @@ -64,6 +64,9 @@ padding-left: .75em; } + .empty-protocol-description { + color: $color-silver-chalice; + } .protocol-options-dropdown { a { diff --git a/app/assets/stylesheets/shared_styles/elements/checkboxes.scss b/app/assets/stylesheets/shared_styles/elements/checkboxes.scss index b5c189811..57e598982 100644 --- a/app/assets/stylesheets/shared_styles/elements/checkboxes.scss +++ b/app/assets/stylesheets/shared_styles/elements/checkboxes.scss @@ -28,6 +28,8 @@ input[type="checkbox"].sci-checkbox { height: var(--sci-checkbox-size); margin-left: calc(var(--sci-checkbox-size) * -1); position: absolute; + right: 0; + top: 0; width: var(--sci-checkbox-size); &::before { diff --git a/app/assets/stylesheets/steps/components/checklist.scss b/app/assets/stylesheets/steps/components/checklist.scss index ee339e878..ebc00162e 100644 --- a/app/assets/stylesheets/steps/components/checklist.scss +++ b/app/assets/stylesheets/steps/components/checklist.scss @@ -37,6 +37,15 @@ } } + .sci-checkbox-view-mode { + align-self: center; + background-color: $color-black; + border-radius: 50%; + height: 4px; + margin-right: .5em; + width: 4px; + } + .step-checklist-add-item { margin-left: 12px; @@ -50,10 +59,17 @@ } .sci-checkbox-container { - margin: 16px 0; + margin: 12px 0; &.disabled { pointer-events: none; } } } + +.step-checklist-container { + .empty-checklist-element { + color: $color-silver-chalice; + margin-left: 3em; + } +} diff --git a/app/assets/stylesheets/steps/components/table.scss b/app/assets/stylesheets/steps/components/table.scss index 0404aa6a0..42f56940d 100644 --- a/app/assets/stylesheets/steps/components/table.scss +++ b/app/assets/stylesheets/steps/components/table.scss @@ -45,7 +45,7 @@ color: $color-black; } - &.view { + &.view:not(.locked) { &:hover { background-color: $color-concrete; diff --git a/app/assets/stylesheets/steps/components/text.scss b/app/assets/stylesheets/steps/components/text.scss index 8f393b680..719a4dcba 100644 --- a/app/assets/stylesheets/steps/components/text.scss +++ b/app/assets/stylesheets/steps/components/text.scss @@ -10,6 +10,10 @@ flex: 0; } + .empty-text-element { + color: $color-silver-chalice; + } + .buttons-container { background: linear-gradient( 90deg, @@ -36,7 +40,7 @@ position: absolute; } - &:hover:not(.edit) { + &:hover:not(.edit):not(.locked) { background: $color-concrete; .buttons-container { diff --git a/app/javascript/vue/protocol/container.vue b/app/javascript/vue/protocol/container.vue index b5371a85f..622b99479 100644 --- a/app/javascript/vue/protocol/container.vue +++ b/app/javascript/vue/protocol/container.vue @@ -62,7 +62,9 @@ @update="updateDescription" /> -