From 5e7d3f1564785859b5b9dd009c118bacd0f82459 Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Fri, 23 Jun 2023 15:01:04 +0200 Subject: [PATCH] CSS fixes [SCI-8731] --- app/assets/stylesheets/access_permissions/access_modal.scss | 1 - app/assets/stylesheets/dashboard/create_task_modal.scss | 2 +- app/assets/stylesheets/experiment/table.scss | 6 +++--- app/assets/stylesheets/shared/assets.scss | 2 +- app/assets/stylesheets/themes/scinote.scss | 4 ++-- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/access_permissions/access_modal.scss b/app/assets/stylesheets/access_permissions/access_modal.scss index 36e62cc72..63013571e 100644 --- a/app/assets/stylesheets/access_permissions/access_modal.scss +++ b/app/assets/stylesheets/access_permissions/access_modal.scss @@ -104,7 +104,6 @@ .group-members-button { cursor: pointer; - margin-left: .5em; } .group-members-content { diff --git a/app/assets/stylesheets/dashboard/create_task_modal.scss b/app/assets/stylesheets/dashboard/create_task_modal.scss index d991b428e..3870d7268 100644 --- a/app/assets/stylesheets/dashboard/create_task_modal.scss +++ b/app/assets/stylesheets/dashboard/create_task_modal.scss @@ -57,7 +57,7 @@ height: 0; left: 46px; position: absolute; - top: 36px; + top: 38px; width: 0; } diff --git a/app/assets/stylesheets/experiment/table.scss b/app/assets/stylesheets/experiment/table.scss index c8092fd59..2de9d6e70 100644 --- a/app/assets/stylesheets/experiment/table.scss +++ b/app/assets/stylesheets/experiment/table.scss @@ -441,10 +441,10 @@ .unseen-comments { align-items: center; - background-color: $brand-complementary; - border: 2px solid $color-white; + background-color: var(--sn-science-blue); + border: 1px solid $color-white; border-radius: 50%; - color: $color-black; + color: var(--sn-white); display: flex; font-weight: bold; font-size: 11px; diff --git a/app/assets/stylesheets/shared/assets.scss b/app/assets/stylesheets/shared/assets.scss index e2925b5f8..5af942ce1 100644 --- a/app/assets/stylesheets/shared/assets.scss +++ b/app/assets/stylesheets/shared/assets.scss @@ -91,7 +91,7 @@ .fas { font-size: 100px; - line-height: 160px; + height: 240px; } } diff --git a/app/assets/stylesheets/themes/scinote.scss b/app/assets/stylesheets/themes/scinote.scss index 8052b0361..d847c2610 100644 --- a/app/assets/stylesheets/themes/scinote.scss +++ b/app/assets/stylesheets/themes/scinote.scss @@ -153,9 +153,9 @@ body { .badge { background-color: var(--sn-science-blue); - border-radius: 50% !important; + border-radius: 8px; font-size: 11px; - border-radius: 5px; + min-width: 16px; } .badge-indicator,