From 66e865cb8486626e8fd2bff87f20f1f698b7043b Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Mon, 1 Apr 2019 11:55:10 +0200 Subject: [PATCH] Tweak the link preview in the message composer in full vibrancy mode (fixes #670) --- css/dark-mode.css | 2 +- css/vibrancy.css | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/css/dark-mode.css b/css/dark-mode.css index 427cdc2fa..14ed521b0 100644 --- a/css/dark-mode.css +++ b/css/dark-mode.css @@ -691,7 +691,7 @@ html.dark-mode ._29ey { } html.dark-mode .fbNubFlyoutAttachments, html.dark-mode .chatAttachmentShelf { - background: var(--container-color) !important; + background: var(--container-color); color: var(--base-seventy); } html.dark-mode .chatAttachmentShelf { diff --git a/css/vibrancy.css b/css/vibrancy.css index f22d4afa9..9834821ed 100644 --- a/css/vibrancy.css +++ b/css/vibrancy.css @@ -204,4 +204,16 @@ html.full-vibrancy ._6e38 { filter: brightness(0.66); } +/* Message composer: link preview */ +html.full-vibrancy .chatAttachmentShelf, +html.full-vibrancy .fbNubFlyoutAttachments, +html.full-vibrancy.dark-mode .chatAttachmentShelf, +html.full-vibrancy.dark-mode .fbNubFlyoutAttachments { + background: transparent !important; +} +html.full-vibrancy .chatAttachmentShelf, +html.full-vibrancy.dark-mode .chatAttachmentShelf { + border-top-color: rgba(0, 0, 0, 0.1); +} + /* -- BLOCK END: full-window vibrancy -- */