some non-webkit css
This commit is contained in:
parent
689daa37db
commit
7e352f9ac4
2 changed files with 7 additions and 4 deletions
|
@ -36,6 +36,7 @@ oml.ui.gridView = function() {
|
||||||
backgroundImage: '-webkit-linear-gradient(top, ' + color.slice(0, 2).map(function(rgba) {
|
backgroundImage: '-webkit-linear-gradient(top, ' + color.slice(0, 2).map(function(rgba) {
|
||||||
return 'rgba(' + rgba.join(', ') + ')';
|
return 'rgba(' + rgba.join(', ') + ')';
|
||||||
}).join(', ') + ')',
|
}).join(', ') + ')',
|
||||||
|
MozTransform: 'rotate(45deg)',
|
||||||
WebkitTransform: 'rotate(45deg)'
|
WebkitTransform: 'rotate(45deg)'
|
||||||
})
|
})
|
||||||
.html(
|
.html(
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
oml.ui.statusIcon = function(user, index) {
|
oml.ui.statusIcon = function(user, index) {
|
||||||
|
|
||||||
// FIXME: not only '-webkit'
|
|
||||||
|
|
||||||
var status = getStatus(user),
|
var status = getStatus(user),
|
||||||
that = Ox.Element({
|
that = Ox.Element({
|
||||||
tooltip: Ox._({
|
tooltip: Ox._({
|
||||||
|
@ -65,10 +63,14 @@ oml.ui.statusIcon = function(user, index) {
|
||||||
transferring: 'Transferring'
|
transferring: 'Transferring'
|
||||||
}[status])
|
}[status])
|
||||||
}).css({
|
}).css({
|
||||||
background: '-webkit-linear-gradient(bottom, ' + color + ')',
|
background: '-moz-linear-gradient(bottom, ' + color + ')'
|
||||||
|
}).css({
|
||||||
|
background: '-webkit-linear-gradient(bottom, ' + color + ')'
|
||||||
});
|
});
|
||||||
that.find('div').css({
|
that.find('div').css({
|
||||||
background: '-webkit-linear-gradient(top, ' + color + ')',
|
background: '-moz-linear-gradient(top, ' + color + ')'
|
||||||
|
}).css({
|
||||||
|
background: '-webkit-linear-gradient(top, ' + color + ')'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue