From cb50e33409b307631554c8aba829712a0ffb462a Mon Sep 17 00:00:00 2001 From: Markus Opolka Date: Wed, 5 Mar 2025 15:27:05 +0100 Subject: [PATCH] Fix doc module markdown table rows in light mode - Replaced the gradient mixin with a simple color for odd rows. This fixes and markdown table rows in light mode and - since there are very gradients in general - it makes the overall look more uniform. See https://github.com/Icinga/icingaweb2/issues/5320 (cherry picked from commit 6c8453062f48fa203fb2d9dc3b8b051ede2669f6) --- modules/doc/public/css/module.less | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/modules/doc/public/css/module.less b/modules/doc/public/css/module.less index 007c5c515..05e3ae475 100644 --- a/modules/doc/public/css/module.less +++ b/modules/doc/public/css/module.less @@ -1,17 +1,5 @@ /*! Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */ -// Mixins - -.gradient(@a: @gray-lighter; @b: @gray-lightest) { - background: @a; - background: -webkit-gradient(linear, left top, left bottom, from(@a), to(@b)); - background: -webkit-linear-gradient(top, @a, @b); - background: -moz-linear-gradient(top, @a, @b); - background: -ms-linear-gradient(top, @a, @b); - background: -o-linear-gradient(top, @a, @b); - background: linear-gradient(to bottom, @a, @b); -} - // General styles code { @@ -84,7 +72,7 @@ table { } tbody > tr:nth-child(odd) { - .gradient() + background: @gray-light; } tbody > tr:nth-child(even) {