From 5514bdf4877f72b9b9d73ed6f30ff7d38bb69e46 Mon Sep 17 00:00:00 2001 From: Maxime Steinhausser Date: Fri, 3 Jun 2022 09:47:22 +0200 Subject: [PATCH] [WebProfilerBundle] Fix dark theme selected line highlight color & reuse css vars --- .../Resources/views/Profiler/profiler.css.twig | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig index e5a731cf19ca..db21abf886c8 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig @@ -39,6 +39,7 @@ --highlight-default: #222222; --highlight-keyword: #a71d5d; --highlight-string: #183691; + --highlight-selected-line: rgba(255, 255, 153, 0.5); --base-0: #fff; --base-1: #f5f5f5; --base-2: #e0e0e0; @@ -80,6 +81,7 @@ --highlight-default: var(--base-6); --highlight-keyword: #ff413c; --highlight-string: #70a6fd; + --highlight-selected-line: rgba(14, 14, 14, 0.5); --base-0: #2e3136; --base-1: #444; --base-2: #666; @@ -1091,15 +1093,15 @@ table.logs .metadata { padding: 0; } #collector-content .sf-validator .trace li.selected { - background: rgba(255, 255, 153, 0.5); + background: var(--highlight-selected-line); } {# Messenger panel ========================================================================= #} #collector-content .message-bus .trace { - border: 1px solid #DDD; - background: #FFF; + border: var(--border); + background: var(--base-0); padding: 10px; margin: 0.5em 0; overflow: auto; @@ -1112,7 +1114,7 @@ table.logs .metadata { padding: 0; } #collector-content .message-bus .trace li.selected { - background: rgba(255, 255, 153, 0.5); + background: var(--highlight-selected-line); } {# Dump panel pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy