From d5276fdb60621de9e315f1e786ad3ff18067d2c7 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 4 May 2021 09:56:28 -0400 Subject: [PATCH] [frio] Harmonize link preview display with black/dark accented themes --- view/theme/frio/scheme/black.css | 9 +++++++++ view/theme/frio/scheme/dark.css | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/view/theme/frio/scheme/black.css b/view/theme/frio/scheme/black.css index e19c722458..e6026b4de8 100644 --- a/view/theme/frio/scheme/black.css +++ b/view/theme/frio/scheme/black.css @@ -385,3 +385,12 @@ input[type="text"].tt-input { .textcomplete-item.active > a { background-color: $nav_icon_hover_color !important; } + +#preview_profile-jot-text, .comment-edit-form .preview { + background-color: $nav_bg; + border-width: 1px; +} + +textarea#profile-jot-text:focus + #preview_profile-jot-text, textarea.comment-edit-text:focus + .comment-edit-form .preview { + border-color: $link_color; +} diff --git a/view/theme/frio/scheme/dark.css b/view/theme/frio/scheme/dark.css index 6f38a5190f..5f7690d9c9 100644 --- a/view/theme/frio/scheme/dark.css +++ b/view/theme/frio/scheme/dark.css @@ -345,3 +345,12 @@ input[type="text"].tt-input { .textcomplete-item.active > a { background-color: $nav_icon_hover_color !important; } + +#preview_profile-jot-text, .comment-edit-form .preview { + background-color: $nav_bg; + border-width: 1px; +} + +textarea#profile-jot-text:focus + #preview_profile-jot-text, textarea.comment-edit-text:focus + .comment-edit-form .preview { + border-color: $link_color; +}