diff --git a/src/Gui/Stylesheets/Behave-dark.qss b/src/Gui/Stylesheets/Behave-dark.qss index 03f2c1194c..76ecd5ee8c 100644 --- a/src/Gui/Stylesheets/Behave-dark.qss +++ b/src/Gui/Stylesheets/Behave-dark.qss @@ -181,12 +181,20 @@ QMenu::right-arrow:selected { } QMenu::item { - padding: 2px 16px 2px 26px; /* make room for icon at left */ + padding: 2px 4px; /* make room for icon at left */ border: 1px solid transparent; /* reserve space for selection border */ } QMenu::icon { - margin-left: 2px; + margin-left: 1px; + margin-right: 1px; +} + +QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: #61D29D; + border: 2px #61D29D; + position: absolute; + border-radius: 2px; } QMenu::separator { diff --git a/src/Gui/Stylesheets/Dark-blue.qss b/src/Gui/Stylesheets/Dark-blue.qss index 6045930a2c..15e0e0c273 100644 --- a/src/Gui/Stylesheets/Dark-blue.qss +++ b/src/Gui/Stylesheets/Dark-blue.qss @@ -148,12 +148,20 @@ QMenu::right-arrow:selected { } QMenu::item { - padding: 2px 16px 2px 26px; /* make room for icon at left */ + padding: 2px 4px; /* make room for icon at left */ border: 1px solid transparent; /* reserve space for selection border */ } QMenu::icon { - margin-left: 2px; + margin-left: 1px; + margin-right: 1px; +} + +QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: #5e90fa; + border: 2px #5e90fa; + position: absolute; + border-radius: 2px; } QMenu::separator { diff --git a/src/Gui/Stylesheets/Dark-contrast.qss b/src/Gui/Stylesheets/Dark-contrast.qss index 95b97cf89b..2d0d6dd3f5 100644 --- a/src/Gui/Stylesheets/Dark-contrast.qss +++ b/src/Gui/Stylesheets/Dark-contrast.qss @@ -148,12 +148,20 @@ QMenu::right-arrow:selected { } QMenu::item { - padding: 2px 16px 2px 26px; /* make room for icon at left */ + padding: 2px 4px; /* make room for icon at left */ border: 1px solid transparent; /* reserve space for selection border */ } QMenu::icon { - margin-left: 2px; + margin-left: 1px; + margin-right: 1px; +} + +QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: #2053c0; + border: 2px #2053c0; + position: absolute; + border-radius: 2px; } QMenu::separator { diff --git a/src/Gui/Stylesheets/Dark-green.qss b/src/Gui/Stylesheets/Dark-green.qss index b0d489435e..bab84e98eb 100644 --- a/src/Gui/Stylesheets/Dark-green.qss +++ b/src/Gui/Stylesheets/Dark-green.qss @@ -148,12 +148,20 @@ QMenu::right-arrow:selected { } QMenu::item { - padding: 2px 16px 2px 26px; /* make room for icon at left */ + padding: 2px 4px; /* make room for icon at left */ border: 1px solid transparent; /* reserve space for selection border */ } QMenu::icon { - margin-left: 2px; + margin-left: 1px; + margin-right: 1px; +} + +QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: #94b30f; + border: 2px #94b30f; + position: absolute; + border-radius: 2px; } QMenu::separator { diff --git a/src/Gui/Stylesheets/Dark-orange.qss b/src/Gui/Stylesheets/Dark-orange.qss index ddecfea830..21529d214a 100644 --- a/src/Gui/Stylesheets/Dark-orange.qss +++ b/src/Gui/Stylesheets/Dark-orange.qss @@ -148,12 +148,20 @@ QMenu::right-arrow:selected { } QMenu::item { - padding: 2px 16px 2px 26px; /* make room for icon at left */ + padding: 2px 4px; /* make room for icon at left */ border: 1px solid transparent; /* reserve space for selection border */ } QMenu::icon { - margin-left: 2px; + margin-left: 1px; + margin-right: 1px; +} + +QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: #daa116; + border: 2px #daa116; + position: absolute; + border-radius: 2px; } QMenu::separator { diff --git a/src/Gui/Stylesheets/Darker-blue.qss b/src/Gui/Stylesheets/Darker-blue.qss index 407d781e62..97ee04decb 100644 --- a/src/Gui/Stylesheets/Darker-blue.qss +++ b/src/Gui/Stylesheets/Darker-blue.qss @@ -148,12 +148,20 @@ QMenu::right-arrow:selected { } QMenu::item { - padding: 2px 16px 2px 26px; /* make room for icon at left */ + padding: 2px 4px; /* make room for icon at left */ border: 1px solid transparent; /* reserve space for selection border */ } QMenu::icon { - margin-left: 2px; + margin-left: 1px; + margin-right: 1px; +} + +QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: #2053c0; + border: 2px #2053c0; + position: absolute; + border-radius: 2px; } QMenu::separator { diff --git a/src/Gui/Stylesheets/Darker-green.qss b/src/Gui/Stylesheets/Darker-green.qss index 0bb6608bbb..02f9df0be5 100644 --- a/src/Gui/Stylesheets/Darker-green.qss +++ b/src/Gui/Stylesheets/Darker-green.qss @@ -148,12 +148,20 @@ QMenu::right-arrow:selected { } QMenu::item { - padding: 2px 16px 2px 26px; /* make room for icon at left */ + padding: 2px 4px; /* make room for icon at left */ border: 1px solid transparent; /* reserve space for selection border */ } QMenu::icon { - margin-left: 2px; + margin-left: 1px; + margin-right: 1px; +} + +QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: #74831d; + border: 2px #74831d; + position: absolute; + border-radius: 2px; } QMenu::separator { diff --git a/src/Gui/Stylesheets/Darker-orange.qss b/src/Gui/Stylesheets/Darker-orange.qss index 1134deb704..6cca0e7e7f 100644 --- a/src/Gui/Stylesheets/Darker-orange.qss +++ b/src/Gui/Stylesheets/Darker-orange.qss @@ -148,12 +148,20 @@ QMenu::right-arrow:selected { } QMenu::item { - padding: 2px 16px 2px 26px; /* make room for icon at left */ + padding: 2px 4px; /* make room for icon at left */ border: 1px solid transparent; /* reserve space for selection border */ } QMenu::icon { - margin-left: 2px; + margin-left: 1px; + margin-right: 1px; +} + +QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: #b28416; + border: 2px #b28416; + position: absolute; + border-radius: 2px; } QMenu::separator { diff --git a/src/Gui/Stylesheets/Light-blue.qss b/src/Gui/Stylesheets/Light-blue.qss index be7a592570..2136fdcee3 100644 --- a/src/Gui/Stylesheets/Light-blue.qss +++ b/src/Gui/Stylesheets/Light-blue.qss @@ -148,12 +148,20 @@ QMenu::right-arrow:selected { } QMenu::item { - padding: 2px 16px 2px 26px; /* make room for icon at left */ + padding: 2px 4px; /* make room for icon at left */ border: 1px solid transparent; /* reserve space for selection border */ } QMenu::icon { - margin-left: 2px; + margin-left: 1px; + margin-right: 1px; +} + +QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: #5e90fa; + border: 2px #5e90fa; + position: absolute; + border-radius: 2px; } QMenu::separator { diff --git a/src/Gui/Stylesheets/Light-green.qss b/src/Gui/Stylesheets/Light-green.qss index aa97052ed2..a384a48428 100644 --- a/src/Gui/Stylesheets/Light-green.qss +++ b/src/Gui/Stylesheets/Light-green.qss @@ -148,12 +148,20 @@ QMenu::right-arrow:selected { } QMenu::item { - padding: 2px 16px 2px 26px; /* make room for icon at left */ + padding: 2px 4px; /* make room for icon at left */ border: 1px solid transparent; /* reserve space for selection border */ } QMenu::icon { - margin-left: 2px; + margin-left: 1px; + margin-right: 1px; +} + +QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: #94b30f; + border: 2px #94b30f; + position: absolute; + border-radius: 2px; } QMenu::separator { diff --git a/src/Gui/Stylesheets/Light-orange.qss b/src/Gui/Stylesheets/Light-orange.qss index adbc6f7ee9..65b02d63dd 100644 --- a/src/Gui/Stylesheets/Light-orange.qss +++ b/src/Gui/Stylesheets/Light-orange.qss @@ -148,12 +148,20 @@ QMenu::right-arrow:selected { } QMenu::item { - padding: 2px 16px 2px 26px; /* make room for icon at left */ + padding: 2px 4px; /* make room for icon at left */ border: 1px solid transparent; /* reserve space for selection border */ } QMenu::icon { - margin-left: 2px; + margin-left: 1px; + margin-right: 1px; +} + +QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: #daa116; + border: 2px #daa116; + position: absolute; + border-radius: 2px; } QMenu::separator { diff --git a/src/Gui/Stylesheets/ProDark.qss b/src/Gui/Stylesheets/ProDark.qss index 9fb73fb202..fe1cd94406 100644 --- a/src/Gui/Stylesheets/ProDark.qss +++ b/src/Gui/Stylesheets/ProDark.qss @@ -191,12 +191,20 @@ QMenu::right-arrow:selected { } QMenu::item { - padding: 2px 16px 2px 26px; /* make room for icon at left */ + padding: 2px 4px; /* make room for icon at left */ border: 1px solid transparent; /* reserve space for selection border */ } QMenu::icon { - margin-left: 2px; + margin-left: 1px; + margin-right: 1px; +} + +QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: #557BB6; + border: 2px #557BB6; + position: absolute; + border-radius: 2px; } QMenu::separator {