From 507cfe3ea01681371d9ee63a74c45fb21be822e2 Mon Sep 17 00:00:00 2001 From: Clayton Groeneveld Date: Sat, 27 Apr 2019 01:06:41 -0500 Subject: [PATCH] UI: Fix theme issues with vis/lock checkboxes --- UI/data/themes/Acri.qss | 14 ++++++++++++++ UI/data/themes/Dark.qss | 2 ++ UI/data/themes/Rachni.qss | 12 ++++++++++++ UI/data/themes/System.qss | 2 ++ 4 files changed, 30 insertions(+) diff --git a/UI/data/themes/Acri.qss b/UI/data/themes/Acri.qss index ab452ec78..25d4f297d 100644 --- a/UI/data/themes/Acri.qss +++ b/UI/data/themes/Acri.qss @@ -932,6 +932,13 @@ OBSBasicSettings { LockedCheckBox { outline: none; + background: transparent; + padding: 0px; +} + +LockedCheckBox::indicator { + width: 16px; + height: 16px; } LockedCheckBox::indicator:checked { @@ -954,6 +961,13 @@ LockedCheckBox::indicator:unchecked:hover { VisibilityCheckBox { outline: none; + background: transparent; + padding: 0px; +} + +VisibilityCheckBox::indicator { + width: 16px; + height: 16px; } VisibilityCheckBox::indicator:checked { diff --git a/UI/data/themes/Dark.qss b/UI/data/themes/Dark.qss index cc78feda0..08f4ea1e4 100644 --- a/UI/data/themes/Dark.qss +++ b/UI/data/themes/Dark.qss @@ -722,6 +722,7 @@ OBSBasicSettings { LockedCheckBox { outline: none; + background: transparent; } LockedCheckBox::indicator:checked { @@ -736,6 +737,7 @@ LockedCheckBox::indicator:unchecked { VisibilityCheckBox { outline: none; + background: transparent; } VisibilityCheckBox::indicator:checked { diff --git a/UI/data/themes/Rachni.qss b/UI/data/themes/Rachni.qss index 5ccd1e9c6..3794d2599 100644 --- a/UI/data/themes/Rachni.qss +++ b/UI/data/themes/Rachni.qss @@ -1288,6 +1288,12 @@ OBSBasicSettings { LockedCheckBox { outline: none; + background: transparent; +} + +LockedCheckBox::indicator { + width: 16px; + height: 16px; } LockedCheckBox::indicator:checked { @@ -1310,6 +1316,12 @@ LockedCheckBox::indicator:unchecked:hover { VisibilityCheckBox { outline: none; + background: transparent; +} + +VisibilityCheckBox::indicator { + width: 16px; + height: 16px; } VisibilityCheckBox::indicator:checked { diff --git a/UI/data/themes/System.qss b/UI/data/themes/System.qss index 192c7ce09..d9eff8c34 100644 --- a/UI/data/themes/System.qss +++ b/UI/data/themes/System.qss @@ -166,6 +166,7 @@ OBSBasicSettings { LockedCheckBox { outline: none; + background: transparent; } LockedCheckBox::indicator:checked { @@ -180,6 +181,7 @@ LockedCheckBox::indicator:unchecked { VisibilityCheckBox { outline: none; + background: transparent; } VisibilityCheckBox::indicator:checked { -- GitLab