diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss index c15c631a04..381d3837a3 100644 --- a/gtk/resources/theme/Adwaita/_common.scss +++ b/gtk/resources/theme/Adwaita/_common.scss @@ -1230,9 +1230,11 @@ $asset_suffix: if($variant=='dark', '-dark', ''); } } - - -GtkCheckButton.text-button:selected { background-color: transparent; } +GtkCheckButton.text-button, GtkRadioButton.text-button { + // this is for a nice focus on check and radios text + padding: 1px; + outline-offset: 0; +} /************ * GtkScale * diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css b/gtk/resources/theme/Adwaita/gtk-contained-dark.css index 98658fb331..4e6b2a3171 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css @@ -1576,8 +1576,9 @@ GtkPopover .button.radio:hover { GtkPopover .button.radio:hover:active:backdrop { color: #c9cbc9; } -GtkCheckButton.text-button:selected { - background-color: transparent; } +GtkCheckButton.text-button, GtkRadioButton.text-button { + padding: 1px; + outline-offset: 0; } /************ * GtkScale * diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css index ffcd77360d..a6b1a52d38 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained.css +++ b/gtk/resources/theme/Adwaita/gtk-contained.css @@ -1575,8 +1575,9 @@ GtkPopover .button.radio:hover { GtkPopover .button.radio:hover:active:backdrop { color: #54595a; } -GtkCheckButton.text-button:selected { - background-color: transparent; } +GtkCheckButton.text-button, GtkRadioButton.text-button { + padding: 1px; + outline-offset: 0; } /************ * GtkScale *