Commit 4bffb6af authored by Benjamin Otte's avatar Benjamin Otte

Adwaita: Make :active button gradient have 3 stops

Just add a 3rd stop in the place where the gradients for the other
states have a 3rd stop. When running transitions between states, this
avoids cross-fades and instead uses the much faster gradient
transitioning code.
parent 0fef59b4
......@@ -243,6 +243,7 @@
border-color: if($c!=$bg_color, _border_color($c), $borders_color);
background-image: linear-gradient(to bottom,
darken($c,9%),
darken($c,6.6%) 40%,
darken($c,5%));
@include _button_text_shadow($tc,darken($c,10%));
@include _shadows(inset 0 1px transparentize(black, 0.93),
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment