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