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

Add approximation to current SecureDrop theme #3

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

gonzalo-bulnes
Copy link
Owner

This PR is an exploration into the theming capabilities of the QWizard class.

I don't find it easy to work with... internal elements are not easy to identify for targeting, and some QSS properties behave unexpectedly.

Example of unexpected stylesheet behavior >p>For example, when setting margins, a background color, and a border at the top level of the wizard, the background (red in the image below) extends beyond the borders (yellow in the image below). The `#AAA` element is the `QWizard` in this example. 🙁

A screenshot showing a background color that extends beyond the borders of a widget.

Anyhow, this is the result of a time-boxed exercise.

Screenshot of a SecureDrop-themed wizard, showing enabled buttons.

Screenshot of a SecureDrop-themed wizard, showing a disabled button and some form fields.

The spacing is difficult to render in a QWizard,
and the stylesheets are intentionally left without class names :(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant