From 24ceb12acec3f3beab3b871ba6e6ef9062b5b3d8 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Wed, 11 Dec 2024 07:53:06 -0600 Subject: [PATCH] Set exhibit-card-overlay-bg variable See https://github.com/projectblacklight/spotlight/pull/3321 --- app/assets/stylesheets/base.scss | 1 - app/assets/stylesheets/modules/spotlight_overrides.scss | 4 ++++ app/assets/stylesheets/sul_variables.scss | 2 -- app/assets/stylesheets/variables.scss | 6 ------ 4 files changed, 4 insertions(+), 9 deletions(-) delete mode 100644 app/assets/stylesheets/sul_variables.scss delete mode 100644 app/assets/stylesheets/variables.scss diff --git a/app/assets/stylesheets/base.scss b/app/assets/stylesheets/base.scss index f239a4771..91d5b17dc 100644 --- a/app/assets/stylesheets/base.scss +++ b/app/assets/stylesheets/base.scss @@ -1,5 +1,4 @@ @import "bootstrap-slider/dist/css/bootstrap-slider"; -@import "variables"; @import "modules/blacklight_heatmaps"; @import "modules/openseadragon"; @import "blacklight-frontend/app/assets/stylesheets/blacklight/blacklight"; diff --git a/app/assets/stylesheets/modules/spotlight_overrides.scss b/app/assets/stylesheets/modules/spotlight_overrides.scss index db44ff490..e009e9b9a 100644 --- a/app/assets/stylesheets/modules/spotlight_overrides.scss +++ b/app/assets/stylesheets/modules/spotlight_overrides.scss @@ -216,3 +216,7 @@ h5, z-index: 1; } } + +.card-img-overlay { + --exhibit-card-overlay-bg: rgba(var(--stanford-fog-light), 0.9); +} diff --git a/app/assets/stylesheets/sul_variables.scss b/app/assets/stylesheets/sul_variables.scss deleted file mode 100644 index 95f929ff3..000000000 --- a/app/assets/stylesheets/sul_variables.scss +++ /dev/null @@ -1,2 +0,0 @@ -// Colors -$fog-light-90: #f4f4f4e6; diff --git a/app/assets/stylesheets/variables.scss b/app/assets/stylesheets/variables.scss deleted file mode 100644 index 485f1077f..000000000 --- a/app/assets/stylesheets/variables.scss +++ /dev/null @@ -1,6 +0,0 @@ -// Bootstrap and other variable type overrides. For things that are dependent on -// Bootstrap variables, see local_variables.scss - -@import "sul_variables"; - -$exhibit-card-bg: $fog-light-90;