From 027a4b85f69a66961e4abb24af285e26ab4366b2 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Mon, 7 Mar 2011 22:49:03 +0000 Subject: [PATCH] add images, fix css --- build/css/ox.ui.css | 2 +- build/js/ox.ui.js | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/build/css/ox.ui.css b/build/css/ox.ui.css index 9fd6d6ef..f79a54f0 100644 --- a/build/css/ox.ui.css +++ b/build/css/ox.ui.css @@ -1500,7 +1500,7 @@ Video .OxVideoPlayer > .OxBar .OxButton, .OxVideoPlayer > .OxBar .OxInput, .OxVideoPlayer > .OxBar .OxLabel { - padding: 0; + //padding: 0; -moz-border-radius: 0; -webkit-border-radius: 0; } diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index ee49fbdc..aef69a40 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -35,6 +35,10 @@ requires vertical: ['top', 'bottom', 'left', 'right'] }, getImagePath: function(filename) { + // fixme: not the best idea to do this here + if (filename == 'symbolPlay.svg') { + filename = 'symbolRight.svg'; + } return Ox.UI.PATH + filename.split('.').pop() + '/ox.ui.' + Ox.UI.theme() + '/' + filename; }, @@ -13713,7 +13717,6 @@ requires } lines = Math.ceil(self.options.duration / size.timeline[1].width); height = getHeight(); - //Ox.print('lines', lines, getHeight(), self.options.height, (scrollbarIsVisible && getHeight() <= self.options.height) ? 'scroll' : 'auto') self.$editor.css({ overflowY: (scrollbarIsVisible && height <= self.options.height) ? 'scroll' : 'auto' }); @@ -14012,7 +14015,7 @@ requires .appendTo(that); if (self.options.type == 'play') { - // fixme: $buttonPlay etc. + // fixme: $buttonPlay etc. ? self.$playButton = new Ox.Button({ id: self.options.id + 'Play', title: [