From f8435541116e5e3d3007a45f77a8ae53fa1af0f6 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/modules/spotlight_overrides.scss | 4 ++++ app/assets/stylesheets/sul_variables.scss | 1 - app/assets/stylesheets/variables.scss | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/modules/spotlight_overrides.scss b/app/assets/stylesheets/modules/spotlight_overrides.scss index ab7d242ee..0f9722171 100644 --- a/app/assets/stylesheets/modules/spotlight_overrides.scss +++ b/app/assets/stylesheets/modules/spotlight_overrides.scss @@ -288,3 +288,7 @@ h5, .image-masthead .searchtips-link { text-transform: none !important; } + +.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 index 600385d2d..33f4e6dd6 100644 --- a/app/assets/stylesheets/sul_variables.scss +++ b/app/assets/stylesheets/sul_variables.scss @@ -7,7 +7,6 @@ $dark-gray: #777777; $white: #fff; $fog: #dad7cb; $fog-light: #f4f4f4; -$fog-light-90: #f4f4f4e6; //Variables $sul-btn-secondary-color: #f2f1eb; diff --git a/app/assets/stylesheets/variables.scss b/app/assets/stylesheets/variables.scss index b240e92b0..0c1fd63cc 100644 --- a/app/assets/stylesheets/variables.scss +++ b/app/assets/stylesheets/variables.scss @@ -5,9 +5,6 @@ $gray-base: #000; -$exhibit-card-bg: $fog-light-90; -$exhibit-card-border: $fog-light-90; - $navbar-dark-color: lighten($gray-base, 86%); $navbar-default-bg: $fog-light;