From 90aadc3912d9aff3b3a6dd1ed2bc83680f6bdc1d Mon Sep 17 00:00:00 2001 From: Daniele Alessandra Date: Wed, 4 Dec 2024 20:54:34 +0100 Subject: [PATCH] Moved css snippet to debug.scss --- assets/css/admin/debug.css | 2 +- assets/scss/admin/debug.scss | 7 +++++++ templates/debug.php | 9 --------- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/assets/css/admin/debug.css b/assets/css/admin/debug.css index 84d9404f..7561b1d0 100644 --- a/assets/css/admin/debug.css +++ b/assets/css/admin/debug.css @@ -1 +1 @@ -label.fs-tag,span.fs-tag{background:#ffba00;border-radius:3px;color:#fff;display:inline-block;font-size:11px;line-height:11px;padding:5px;vertical-align:baseline}label.fs-tag.fs-warn,span.fs-tag.fs-warn{background:#ffba00}label.fs-tag.fs-info,span.fs-tag.fs-info{background:#00a0d2}label.fs-tag.fs-success,span.fs-tag.fs-success{background:#46b450}label.fs-tag.fs-error,span.fs-tag.fs-error{background:#dc3232}.fs-switch-label{font-size:20px;line-height:31px;margin:0 5px}#fs_log_book table{font-family:Consolas,Monaco,monospace;font-size:12px}#fs_log_book table th{color:#ccc}#fs_log_book table tr{background:#232525}#fs_log_book table tr.alternate{background:#2b2b2b}#fs_log_book table tr td.fs-col--logger{color:#5a7435}#fs_log_book table tr td.fs-col--type{color:#ffc861}#fs_log_book table tr td.fs-col--function{color:#a7b7b1;font-weight:700}#fs_log_book table tr td.fs-col--message,#fs_log_book table tr td.fs-col--message a{color:#9a73ac!important}#fs_log_book table tr td.fs-col--file{color:#d07922}#fs_log_book table tr td.fs-col--timestamp{color:#6596be} \ No newline at end of file +label.fs-tag,span.fs-tag{background:#ffba00;border-radius:3px;color:#fff;display:inline-block;font-size:11px;line-height:11px;padding:5px;vertical-align:baseline}label.fs-tag.fs-warn,span.fs-tag.fs-warn{background:#ffba00}label.fs-tag.fs-info,span.fs-tag.fs-info{background:#00a0d2}label.fs-tag.fs-success,span.fs-tag.fs-success{background:#46b450}label.fs-tag.fs-error,span.fs-tag.fs-error{background:#dc3232}.fs-switch-label{font-size:20px;line-height:31px;margin:0 5px}.fs-debug-table-toggle-button{background:transparent;border:none;cursor:pointer;font-size:1.2em}#fs_log_book table{font-family:Consolas,Monaco,monospace;font-size:12px}#fs_log_book table th{color:#ccc}#fs_log_book table tr{background:#232525}#fs_log_book table tr.alternate{background:#2b2b2b}#fs_log_book table tr td.fs-col--logger{color:#5a7435}#fs_log_book table tr td.fs-col--type{color:#ffc861}#fs_log_book table tr td.fs-col--function{color:#a7b7b1;font-weight:700}#fs_log_book table tr td.fs-col--message,#fs_log_book table tr td.fs-col--message a{color:#9a73ac!important}#fs_log_book table tr td.fs-col--file{color:#d07922}#fs_log_book table tr td.fs-col--timestamp{color:#6596be} \ No newline at end of file diff --git a/assets/scss/admin/debug.scss b/assets/scss/admin/debug.scss index e2abdce5..bf8236bf 100644 --- a/assets/scss/admin/debug.scss +++ b/assets/scss/admin/debug.scss @@ -8,6 +8,13 @@ margin: 0 5px; } +.fs-debug-table-toggle-button { + font-size: 1.2em; + cursor: pointer; + background: transparent; + border: none; +} + #fs_log_book { table { font-family: Consolas,Monaco,monospace; diff --git a/templates/debug.php b/templates/debug.php index 45d7c32b..9dc392b1 100644 --- a/templates/debug.php +++ b/templates/debug.php @@ -952,12 +952,3 @@ class="dashicons dashicons-download"> -