1
0
Fork 0
forked from 0x2620/oxjs

update css (collapse panel extras, video editor bars, video find element)

This commit is contained in:
rlx 2011-11-03 12:14:18 +00:00
commit b056a22172
3 changed files with 80 additions and 63 deletions

View file

@ -1150,7 +1150,7 @@ Ox.VideoPlayer = function(options, self) {
};
} else if (element == 'find') {
css = {
width: Math.min(216, self.width) + 'px'
width: Math.min(216, self.width) + 'px' // 128 + 4 * 16 + 24
};
} else if (element == 'loadingIcon') {
css = {
@ -1825,12 +1825,12 @@ Ox.VideoPlayer = function(options, self) {
});
setSize(self.$spaceBottom, getCSS('spaceBottom'), animate);
setSize(self.$find, getCSS('find'), animate, function() {
var width = Math.min(128, self.width - 88);
var width = Math.min(128, self.width - 88); // 4 * 16 + 24
self.$findInput.options({
width: width
});
self.$findInput.children('input').css({
width: (width - 6) + 'px',
width: (width - 12) + 'px',
});
});
setSize(self.$volume, getCSS('volume'), animate, function() {