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

Actually that line is commented out. I think it was my mistake trying ot make sense of that line. The other simple gradients are just simple CSS3 gradients.
Thank you for trying to help me anyway.

On Sat, Aug 17, 2013 at 8:01 PM, Dennis <dennisonic gmail com> wrote:
Actually it's from line 242: 

On Sat, Aug 17, 2013 at 7:59 PM, Dennis <dennisonic gmail com> wrote:

On Sat, Aug 17, 2013 at 7:04 PM, Jasper St. Pierre <jstpierre mecheye net> wrote:
You should use the standard linear-gradient CSS feature, not -webkit-gradient.

However, as far as I can tell, that's invalid syntax, as there's only one item allowed in a from() _expression_. This might be a recent restriction, in which case everything after the first comma would simply be ignored. In which case, as both colors are the same, it should be equivalent to:

    background-color: #f07746;

Where did these CSS lines come from?

On Sat, Aug 17, 2013 at 1:53 PM, Dennis <dennisonic gmail com> wrote:

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));

gtk-list mailing list
gtk-list gnome org


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