In at-commerce theme i found mistake in CSS3 markup in top and bottom color for buttons. Below gradient for Firefox is not equal to Webkit's, it should be 180deg, instead -90deg. I can override it with my CSS but want to save setting functionality to choose top and bottom color for buttons.
Also i suggest -o-linear-gradient(top, #A2D3E9, #7ABEDF); to add.
So, what is the better way to override possible mistakes in core theme while saving settings?

input[type="submit"] {
border: 1px solid #F3F3F3;
color: #333;
background-color: #F3F3F3;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F3F3F3), to(#AAA));
background-image: -moz-linear-gradient(-90deg, #F3F3F3, #AAA);
background-image: linear-gradient(-90deg, #F3F3F3, #AAA);
-ms-filter: "progid:dXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr='#f3f3f3', endcolorstr='#aaa')";
filter: progid:dXImageTransform.Microsoft.gradient(enabled='true',startcolorstr=#f3f3f3,endcolorstr=#aaa,GradientType=0);
}

Comments

Jeff Burnz’s picture

Project: AdaptiveTheme » AT Commerce
Version: 7.x-3.1 » 7.x-3.x-dev
Component: CSS/HTML » Code

Just hack AT Commerce, since this is a bug I will fix it so the next release will have the fixed code.

Thanks for the bug report!

joomlerrostov’s picture

I also suggest a complete way: http://css-tricks.com/how-to-deal-with-vendor-prefixes/ How To Deal With Vendor Prefixes, Published December 26, 2012 by Chris Coyier

assume we need integrate js solution or remake all css with Prefixr