From 4cc6513f8277439e52af7b1ae3a3501ccb9a0bfb Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 13 Jul 2023 13:55:32 +0200 Subject: [PATCH 01/45] Fix css for protocol checklists [SCI-8788] --- app/assets/stylesheets/steps/components/checklist.scss | 1 + app/assets/stylesheets/tailwind/buttons.css | 8 ++++---- app/javascript/vue/protocol/step_elements/checklist.vue | 8 ++++---- .../vue/protocol/step_elements/checklistItem.vue | 4 ++-- app/javascript/vue/shared/inline_edit.vue | 4 ++-- 5 files changed, 13 insertions(+), 12 deletions(-) diff --git a/app/assets/stylesheets/steps/components/checklist.scss b/app/assets/stylesheets/steps/components/checklist.scss index ca6a609f8..8cbbb4018 100644 --- a/app/assets/stylesheets/steps/components/checklist.scss +++ b/app/assets/stylesheets/steps/components/checklist.scss @@ -16,6 +16,7 @@ } .step-element-header { + .step-element-name { align-items: flex-start; column-gap: .25em; diff --git a/app/assets/stylesheets/tailwind/buttons.css b/app/assets/stylesheets/tailwind/buttons.css index a3e24498f..4177134a7 100644 --- a/app/assets/stylesheets/tailwind/buttons.css +++ b/app/assets/stylesheets/tailwind/buttons.css @@ -4,7 +4,7 @@ } .btn { - @apply relative inline-flex items-center text-sm shrink-0 gap-2 justify-center leading-5 py-2 px-4 rounded border-0 appearance-none whitespace-nowrap cursor-pointer; + @apply relative inline-flex items-center text-sm shrink-0 gap-2 justify-center leading-5 py-2 px-4 rounded border-0 appearance-none whitespace-nowrap cursor-pointer max-h-[40px]; } .btn.icon-btn { @@ -12,7 +12,7 @@ } .btn.btn-lg { - @apply py-2.5 px-[1.125rem] text-base leading-5; + @apply py-2.5 px-[1.125rem] text-base leading-5 max-h-[44px]; } .btn.btn-lg.icon-btn { @@ -20,7 +20,7 @@ } .btn.btn-sm { - @apply py-1.5 px-2.5 text-xs leading-5; + @apply py-1.5 px-2.5 text-xs leading-5 max-h-[36px]; } .btn.btn-sm.icon-btn { @@ -28,7 +28,7 @@ } .btn.btn-xs { - @apply py-0.5 px-2.5 text-xs leading-5; + @apply py-0.5 px-2.5 text-xs leading-5 max-h-[30px]; } .btn.btn-xs.icon-btn { diff --git a/app/javascript/vue/protocol/step_elements/checklist.vue b/app/javascript/vue/protocol/step_elements/checklist.vue index aef366659..52485fa8e 100644 --- a/app/javascript/vue/protocol/step_elements/checklist.vue +++ b/app/javascript/vue/protocol/step_elements/checklist.vue @@ -22,13 +22,13 @@ />
- - -
@@ -63,7 +63,7 @@ />
diff --git a/app/javascript/vue/protocol/step_elements/checklistItem.vue b/app/javascript/vue/protocol/step_elements/checklistItem.vue index c6c6762e1..0e8f54f27 100644 --- a/app/javascript/vue/protocol/step_elements/checklistItem.vue +++ b/app/javascript/vue/protocol/step_elements/checklistItem.vue @@ -39,10 +39,10 @@
- -
diff --git a/app/javascript/vue/shared/inline_edit.vue b/app/javascript/vue/shared/inline_edit.vue index 33fe2c400..bc884a978 100644 --- a/app/javascript/vue/shared/inline_edit.vue +++ b/app/javascript/vue/shared/inline_edit.vue @@ -20,10 +20,10 @@ From b623cf8d042e36e642b8127527ca99971b72cfde Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 13 Jul 2023 14:21:55 +0200 Subject: [PATCH 02/45] Fix canvas styling [SCI-8789] --- app/assets/stylesheets/experiment/canvas.scss | 2 +- app/assets/stylesheets/projects.scss | 12 +++++++++--- app/assets/stylesheets/themes/scinote.scss | 1 + 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/experiment/canvas.scss b/app/assets/stylesheets/experiment/canvas.scss index 18ac2e509..ca034986b 100644 --- a/app/assets/stylesheets/experiment/canvas.scss +++ b/app/assets/stylesheets/experiment/canvas.scss @@ -19,7 +19,7 @@ } .panel-heading { - padding: 10px 15px 4px; + padding: 7px 30px 7px 15px; } .panel-body { diff --git a/app/assets/stylesheets/projects.scss b/app/assets/stylesheets/projects.scss index e4e0b2d39..00bb3c329 100644 --- a/app/assets/stylesheets/projects.scss +++ b/app/assets/stylesheets/projects.scss @@ -184,8 +184,14 @@ path, ._jsPlumb_endpoint { height: 40px; .dropdown { - bottom: 18px; - left: 0; + bottom: 22px; + left: 22px; + + &:hover { + a { + text-decoration: none; + } + } } } @@ -420,7 +426,7 @@ path, ._jsPlumb_endpoint { font-size: $font-size-large; text-transform: uppercase; display: block; - margin-top: 20%; + margin-top: 10%; a { color: $color-emperor; diff --git a/app/assets/stylesheets/themes/scinote.scss b/app/assets/stylesheets/themes/scinote.scss index d847c2610..3621f393f 100644 --- a/app/assets/stylesheets/themes/scinote.scss +++ b/app/assets/stylesheets/themes/scinote.scss @@ -775,6 +775,7 @@ ul.double-line > li { } .panel-heading .dropdown { + background-color: $color-white; bottom: 8px; left: 8px; } From 973d65ca0078f18bd9612990e3a9838277e2fe21 Mon Sep 17 00:00:00 2001 From: wandji20 Date: Wed, 5 Jul 2023 07:30:37 +0100 Subject: [PATCH 03/45] Set blank default date for added_on repository filters [SCI-8744] --- .../filters/repositoryDateTimeValue.vue | 2 +- app/javascript/vue/shared/date_picker.vue | 15 ++++++++++----- app/javascript/vue/shared/date_time_picker.vue | 1 + 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/javascript/vue/repository_filter/filters/repositoryDateTimeValue.vue b/app/javascript/vue/repository_filter/filters/repositoryDateTimeValue.vue index 4947a84ce..4af82b992 100644 --- a/app/javascript/vue/repository_filter/filters/repositoryDateTimeValue.vue +++ b/app/javascript/vue/repository_filter/filters/repositoryDateTimeValue.vue @@ -11,7 +11,7 @@