-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skins: consolidate all common, platform-specific menu styles in one f…
…ile per platform
- Loading branch information
Showing
16 changed files
with
64 additions
and
233 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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,18 @@ | ||
/* push skin settings Close button to the left so it's not in the same screen | ||
position as the Open button. | ||
fixes lp1795663 "settings panel disappears instantly after opening it in Tango & Deere skin" | ||
*/ | ||
/* push skin settings Close button to the left so it's not in | ||
the same screen position as the Open button. Fixes lp1795663 | ||
"settings panel disappears instantly after opening it in Tango & Deere skin" */ | ||
#SkinSettingsTop { | ||
padding-right: 27px; | ||
} | ||
|
||
|
||
/* Previously necessayr hack to hide the checkmark, otherwise text gets cut off | ||
on the right on Retina screens. This can only be done for macOS | ||
because it cuts off text on the left on KDE | ||
WEffectSelector QAbstractItemView { | ||
margin: 0 0 0 -24px; | ||
/* Previously necessary hack to avoid cut-off effect names with scaled checkbox | ||
on Macs with Retina screens */ | ||
/* WEffectSelector QAbstractItemView { | ||
margin: 0px 0px 0px -27px; | ||
} */ | ||
|
||
/* hide the checkmark just in case the above shows a | ||
partial checkmark on some untested screen | ||
WEffectSelector::indicator { | ||
/* just in case there is a partial checkmark shown on some | ||
untested screen, hide the checkmark */ | ||
/* WEffectSelector::indicator { | ||
border: 0; | ||
} */ |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
/* push skin settings Close button to the left so it's not in the same screen | ||
position as the Open button. | ||
fixes lp1795663 "settings panel disappears instantly after opening it in Tango & Deere skin" | ||
*/ | ||
/* push skin settings Close button to the left so it's not in | ||
the same screen position as the Open button. Fixes lp1795663 | ||
"settings panel disappears instantly after opening it in Tango & Deere skin" */ | ||
#SkinSettingsHeader { | ||
padding-right: 27px; | ||
} | ||
|
||
/* Previously necessary hack around text getting cut off with scaled checkbox on Macs with Retina screens | ||
WEffectSelector QAbstractItemView { | ||
margin: 0px 0px 0px -27px; | ||
/* Previously necessary hack to avoid cut-off effect names with scaled checkbox | ||
on Macs with Retina screens */ | ||
/* WEffectSelector QAbstractItemView { | ||
margin: 0px 0px 0px -27px; | ||
} */ | ||
|
||
/* just in case there is a partial checkmark shown on some untested screen, hide | ||
the checkmark | ||
WEffectSelector::indicator { | ||
/* just in case there is a partial checkmark shown on some | ||
untested screen, hide the checkmark */ | ||
/* WEffectSelector::indicator { | ||
border: 0; | ||
} */ |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
#MainMenu::item { | ||
/* No big deal, just try to make it look like native menus */ | ||
padding: 0.1em 0.3em 0.1em 0.3em; | ||
margin: 0em; | ||
} | ||
#MainMenu QMenu::item { | ||
padding: 0.1em 0.3em 0.2em 0.3em; | ||
/* Text is lef-aligned with checkbox. | ||
- margin-left creates a gap at the left | ||
where we can move the checkbox to. */ | ||
margin: 0em 0em 0em 1.3em; | ||
} | ||
/* Checkbox preceeding menu items */ | ||
#MainMenu QMenu::indicator { | ||
/*width: 1em;*/ | ||
/*height: 1em;*/ | ||
/* Checkbox is left-aligned with text. | ||
- margin-left moves it left into the gap we created. | ||
- small negative margin-right eliminates the tiny checkbox/text margin | ||
which is visible when the row is highlighted. */ | ||
margin: 0em -0.1em 0em -1.3em; | ||
padding: 0.2em 0em 0.2em 0em; | ||
} |
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