gtk-theme-clearcodes

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

commit
0f643fffa0bd03cf64b53aa2bf69bf7ecc2b12cc
parent
c500132112b07cdf5e115e97dd2edcc216bba065
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-05-13 07:19
buttons: rm focus styling

the border is sufficient
the hover/focus/active/checked mix is a mess already

Diffstat

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

1 files changed, 3 insertions, 8 deletions


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

@@ -19,21 +19,17 @@ button.flat {
   19    19 }
   20    20 
   21    21 button:hover,
   22    -1 button:focus,
   23    -1 scale:hover slider,
   24    -1 scale:focus slider {
   -1    22 scale:hover slider {
   25    23     background-color: mix(@button_bg_color, @button_fg_color, 0.1);
   26    24     color: @button_fg_color;
   27    25 }
   28    26 
   29    -1 button.suggested-action:hover,
   30    -1 button.suggested-action:focus {
   -1    27 button.suggested-action:hover {
   31    28     background-color: mix(@selected_bg_color, @selected_fg_color, 0.1);
   32    29     color: @selected_fg_color;
   33    30 }
   34    31 
   35    32 button.flat:hover,
   36    -1 button.flat:focus,
   37    33 button.flat:active,
   38    34 button.flat:checked {
   39    35     border-color: @border_color;
@@ -67,8 +63,7 @@ button.circular {
   67    63 button.link {
   68    64     color: @focus_color;
   69    65 }
   70    -1 button.link:hover,
   71    -1 button.link:focus {
   -1    66 button.link:hover {
   72    67     color: mix(@focus_color, @fg_color, 0.2);
   73    68 }
   74    69 button.link:active {