From 11ece208ef91a67674a450a7801d07cbf1dcfe16 Mon Sep 17 00:00:00 2001 From: guerler Date: Wed, 13 Oct 2021 23:18:02 -0400 Subject: [PATCH] Use paused state background for info alerts --- client/src/style/scss/dataset.scss | 2 +- client/src/style/scss/overrides.scss | 4 ++++ client/src/style/scss/theme/blue.scss | 3 +-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/client/src/style/scss/dataset.scss b/client/src/style/scss/dataset.scss index bb195270d72..3bd1768e70a 100644 --- a/client/src/style/scss/dataset.scss +++ b/client/src/style/scss/dataset.scss @@ -132,7 +132,7 @@ } &.state-paused { - background: $state-paused-bg; + background: $state-info-bg; .state-icon { &:before { content: fa-content($fa-var-pause); diff --git a/client/src/style/scss/overrides.scss b/client/src/style/scss/overrides.scss index 637584c2382..41f3f3b71e8 100644 --- a/client/src/style/scss/overrides.scss +++ b/client/src/style/scss/overrides.scss @@ -162,6 +162,10 @@ table.info_data_table th:nth-child(1) { border-color: transparent; } +.alert-info { + background: $state-info-bg !important; +} + // increase visibility of dropdown menu section headers .dropdown-header { font-size: 1rem; diff --git a/client/src/style/scss/theme/blue.scss b/client/src/style/scss/theme/blue.scss index 89defbd4183..3e0c3282cbf 100644 --- a/client/src/style/scss/theme/blue.scss +++ b/client/src/style/scss/theme/blue.scss @@ -72,7 +72,7 @@ $state-danger-bg: theme-color-level("danger", $alert-bg-level); $state-danger-border: theme-color-level("danger", $alert-border-level); $state-info-text: theme-color-level("info", $alert-color-level); -$state-info-bg: theme-color-level("info", $alert-bg-level); +$state-info-bg: lighten($brand-info, 50%); $state-info-border: theme-color-level("info", $alert-border-level); $state-success-text: theme-color-level("success", $alert-color-level); @@ -145,7 +145,6 @@ $table-border-color: transparent; // Additional state colors $state-default-bg: $gray-200; $state-default-border: $border-color; -$state-paused-bg: lighten($brand-info, 50%); $state-running-bg: lighten($brand-warning, 40%); $state-running-border: $border-color;