From 096987342e2c5f3ed5a36343df34a56ff6f310d4 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Mon, 17 Sep 2018 13:49:46 +0200 Subject: [PATCH] scss: allow custom title color for toggled categories (#26464) --- static/includes/_categories.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/includes/_categories.scss b/static/includes/_categories.scss index a204e5d..99b294b 100644 --- a/static/includes/_categories.scss +++ b/static/includes/_categories.scss @@ -10,6 +10,7 @@ $category-title-background: white linear-gradient(to right, #A2DEEE 0%, #B8E3EF $category-title-height: 100px !default; $category-toggled-background: #888 !default; $category-toggled-link-hover-color: white !default; +$category-toggled-title-color: white !default; $category-toggled-title-background: $category-toggled-background !default; $category-togglable: true !default; $category-color: #DF017A !default; @@ -53,7 +54,7 @@ $_category_selector_class: if($category-togglable, 'toggled', 'cell'); &.#{$_category_selector_class} { h2:first-child { - color: white; + color: $category-toggled-title-color; background-color: $category-toggled-title-background; background-image: none; } -- 2.18.0