translating -gtk-gradient to -webkit-gradient -- GTK3 Themes


I am in the process of converting some GTK+3 theme widgets into browser/webkit CSS -- in order to create a CSS theme to make desktop HTML5 apps integrate nicely with the desktop.

How can/should I translate the below gradient into a browser compatible gradient?  -webkit-gradient for example.

.button.default {
  background-image: -gtk-gradient (linear, left top, left bottom,
                                   from (#f07746, 1.16 , #f2f1f0, 0.3),
                                   to (#f07746, 0.84 , #f2f1f0, 0.3));

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]