forked from ankitects/anki
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add stylesheet for QMenu (ankitects#2122)
* Give QMenu cursor: pointer * Darken border colors in dark theme * Refactor cursor: pointer event filter * Add QMenu stylesheet * Remove min-width for QMenu item * Add QMenuBar styles with increased height for touchscreen users and more visible highlight color. * Fix type * Revert "Add QMenuBar styles" This reverts commit 6ae405a. * Remove strong border from QMenu checkbox style * Keep highlight color consistent * Adjust highlight-bg * Increase horizontal padding and adjust checkbox margin * Introduce border-faint var and make default border brighter in dark mode * Fix 1px move on hover and make highlight color more subtle * Remove win10 styles because the properties are set in the other stylesheets anyway. * Fix bottom border of QMenuBar not showing underneath entries * Remove unused import * Make border-faint one shade darker in light theme
- Loading branch information
1 parent
3d47c95
commit dc67ed9
Showing
5 changed files
with
89 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters