diff gtk-4.4/gtk.scss @ 113:3a790d4649eb default tip

Fix GTK4/Adwaita outline and background issues * Views are now used in popovers but shouldn't have "normal" view background colour * Flat buttons should be flat, not bordered/outlines * Spinbuttons in lists don't need outlines on their buttons
author IBBoard <dev@ibboard.co.uk>
date Sun, 01 May 2022 11:34:31 +0100
parents 374207f64e2f
children
line wrap: on
line diff
--- a/gtk-4.4/gtk.scss	Sun May 01 11:32:36 2022 +0100
+++ b/gtk-4.4/gtk.scss	Sun May 01 11:34:31 2022 +0100
@@ -366,7 +366,11 @@
   }
 }
 
-list, list-row, list-row.button  {
+popover .view {
+  background-color: transparent;
+}
+
+list:not(.view), list-row, list-row.button  {
   background-color: darken($text_input_color, 6%);
   &:backdrop, &:backdrop:hover {
     color: $backdrop_text_color;
@@ -605,6 +609,11 @@
 }
 
 button {
+  &.flat {
+    // FIXME: Not changing the outline!
+    outline-width: 0;
+    outline-color: transparent;
+  }
   &.suggested-action {
     @include button(normal, $selected_bg_color, white);
     &.flat {
@@ -648,6 +657,10 @@
   }
 }
 
+list spinbutton button.image-button:not(.toggle) {
+    outline-width: 0;
+}
+
 popover.background {
   .csd & {
     $_popover_border: if($variant=='light', transparentize(black, 0.6), transparentize(black, 0.25));