gtk-theme-clearcodes

gtk3 theme with a focus on code simplicity
git clone https://git.ce9e.org/gtk-theme-clearcodes.git

commit
46b94ccba2d269c71f3f9680d8c201a1e0e5657c
parent
120c1ce91bfbe12dfdcb14222475d5dd9ac97f70
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2022-06-23 08:48
avoid changing border width on focus in linked buttons/entries

another attempt at 88d3d97

Diffstat

M gtk-3.0/widgets/button.css 8 +++-----

1 files changed, 3 insertions, 5 deletions


diff --git a/gtk-3.0/widgets/button.css b/gtk-3.0/widgets/button.css

@@ -90,7 +90,7 @@ button.link > label {
   90    90 }
   91    91 .linked:not(.vertical) > :focus + button,
   92    92 .linked:not(.vertical) > :focus + entry {
   93    -1     border-left: 0;
   -1    93     border-left-color: @focus_color;
   94    94 }
   95    95 
   96    96 .linked.vertical > button:first-child,
@@ -111,13 +111,11 @@ button.link > label {
  111   111 }
  112   112 .linked.vertical > :focus + button,
  113   113 .linked.vertical > :focus + entry {
  114    -1     border-top: 0;
   -1   114     border-top-color: @focus_color;
  115   115 }
  116   116 
  117   117 .linked > button:last-child,
  118    -1 .linked > entry:last-child,
  119    -1 .linked > button:focus,
  120    -1 .linked > entry:focus {
   -1   118 .linked > entry:last-child {
  121   119     border-width: 1px;
  122   120 }
  123   121