From 278cf0bd918d923fcd5906f4afb35bfbdf36c6f0 Mon Sep 17 00:00:00 2001 From: MarcSkovMadsen Date: Wed, 15 Nov 2023 06:07:31 +0000 Subject: [PATCH 1/2] fix FileDownload embed style --- panel/theme/css/fast.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/panel/theme/css/fast.css b/panel/theme/css/fast.css index a7f12390d8..7be91d5b43 100644 --- a/panel/theme/css/fast.css +++ b/panel/theme/css/fast.css @@ -473,6 +473,11 @@ input[type='file']:active { ); } +.bk-btn a { + text-decoration: none; + color: inherit; +} + :host(.solid) .bk-btn.bk-btn-default { background-color: var(--neutral-fill-rest); color: var(--neutral-foreground-rest); From d01368c4802c72f39d47a1a8255bc17937e507ff Mon Sep 17 00:00:00 2001 From: MarcSkovMadsen Date: Wed, 15 Nov 2023 06:22:21 +0000 Subject: [PATCH 2/2] fix fast FileDownload embed=True --- panel/theme/css/fast.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/panel/theme/css/fast.css b/panel/theme/css/fast.css index 7be91d5b43..c67899a281 100644 --- a/panel/theme/css/fast.css +++ b/panel/theme/css/fast.css @@ -476,6 +476,12 @@ input[type='file']:active { .bk-btn a { text-decoration: none; color: inherit; + background-color: inherit; +} + +:host(.solid) .bk-btn.bk-btn-default a, +:host(.outline) .bk-btn.bk-btn-default a { + background-color: inherit; } :host(.solid) .bk-btn.bk-btn-default {