Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary dir-dependent CSS rules, and add a missing CSS variable (PR 11077 follow-up) #12807

Merged
merged 1 commit into from
Jan 3, 2021

Conversation

Snuffleupagus
Copy link
Collaborator

With the updated default viewer UI, a couple of dir-dependent CSS rules have now become redundant since identical rules are being specified for both LTR and RTL mode.

Furthermore, there's also some unnecessary re-defining of the toolbarButton/secondaryToolbarButton-icon related CSS rules.

Finally, for the toggle-buttons there's a particular styling applied to the :hover:active state, however the color wasn't defined with CSS variables.

…ariable (PR 11077 follow-up)

With the updated default viewer UI, a couple of `dir`-dependent CSS rules have now become redundant since *identical* rules are being specified for both LTR and RTL mode.

Furthermore, there's also some unnecessary re-defining of the `toolbarButton`/`secondaryToolbarButton`-icon related CSS rules.

Finally, for the toggle-buttons there's a particular styling applied to the `:hover:active` state, however the color wasn't defined with CSS variables.
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

pdfjsbot commented Jan 3, 2021

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/917f628048d2c3b/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jan 3, 2021

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/917f628048d2c3b/output.txt

Total script time: 4.08 mins

Published

@timvandermeij timvandermeij merged commit 187542d into mozilla:master Jan 3, 2021
@timvandermeij
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants