From 7b5c0933c164014590772824261767b03fb62af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Tue, 9 Apr 2019 11:53:07 +0200 Subject: Fix links style in Talk sidebar in public share auth page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "guest.css" overrides the default style of links set in "style.scss" (core), which causes links in the public share auth page to be white and with a stronger weight. Due to this, the rules from "style.scss" need to be restored for links in the Talk sidebar to get the proper appearance. Note that, unlike in other restored rules, in this case it is not enough to use "#talk-sidebar" as the main selector; "#body-login #talk-sidebar" needs to be used in this case. Signed-off-by: Daniel Calviño Sánchez --- css/publicshareauth.scss | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'css/publicshareauth.scss') diff --git a/css/publicshareauth.scss b/css/publicshareauth.scss index 84e3294c3..bc9e9f2e3 100644 --- a/css/publicshareauth.scss +++ b/css/publicshareauth.scss @@ -254,6 +254,13 @@ input#request-password-button:disabled ~ .icon { padding-right: 34px; } +/* Restore rules from style.scss (core) overriden by guest.css for the + * sidebar */ +#body-login #talk-sidebar a { + color: var(--color-main-text); + font-weight: inherit; +} + /* Unset conflicting rules from publicshareauth.css (core) for the sidebar */ #talk-sidebar input[type="submit"], #talk-sidebar input.icon-confirm[type="submit"] { -- cgit v1.2.3