diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-04-09 12:53:07 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-04-09 18:54:02 +0300 |
commit | 7b5c0933c164014590772824261767b03fb62af3 (patch) | |
tree | 1107571d1aa7058799604a19a087cb436e8d7d58 /css | |
parent | 78c0a489ea4888ce25309b4f909c472a794b43cf (diff) |
Fix links style in Talk sidebar in public share auth page
"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 <danxuliu@gmail.com>
Diffstat (limited to 'css')
-rw-r--r-- | css/publicshareauth.scss | 7 |
1 files changed, 7 insertions, 0 deletions
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"] { |