fixing paths in Ox.UI

This commit is contained in:
rolux 2011-04-25 14:03:49 +02:00
parent 60ca706912
commit fd58906e04
13 changed files with 23 additions and 23 deletions

View file

@ -320,16 +320,16 @@ Scrollbars
background: -webkit-gradient(linear, left top, right top, from(rgb(224, 224, 224)), to(rgb(192, 192, 192)));
}
.OxThemeClassic ::-webkit-scrollbar-button:horizontal:decrement {
background: url(../png/ox.ui.classic/scrollbarHorizontalDecrement.png);
background: url(../png/Ox.UI.classic/scrollbarHorizontalDecrement.png);
}
.OxThemeClassic ::-webkit-scrollbar-button:horizontal:increment {
background: url(../png/ox.ui.classic/scrollbarHorizontalIncrement.png);
background: url(../png/Ox.UI.classic/scrollbarHorizontalIncrement.png);
}
.OxThemeClassic ::-webkit-scrollbar-button:vertical:decrement {
background: url(../png/ox.ui.classic/scrollbarVerticalDecrement.png);
background: url(../png/Ox.UI.classic/scrollbarVerticalDecrement.png);
}
.OxThemeClassic ::-webkit-scrollbar-button:vertical:increment {
background: url(../png/ox.ui.classic/scrollbarVerticalIncrement.png);
background: url(../png/Ox.UI.classic/scrollbarVerticalIncrement.png);
}
.OxThemeClassic ::-webkit-scrollbar-corner {
border-right: 1px solid rgb(176, 176, 176);

View file

@ -329,16 +329,16 @@ Scrollbars
background: -webkit-gradient(linear, left top, right top, from(rgb(96, 96, 96)), to(rgb(64, 64, 64)));
}
.OxThemeModern ::-webkit-scrollbar-button:horizontal:decrement {
background: url(../png/ox.ui.modern/scrollbarHorizontalDecrement.png);
background: url(../png/Ox.UI.modern/scrollbarHorizontalDecrement.png);
}
.OxThemeModern ::-webkit-scrollbar-button:horizontal:increment {
background: url(../png/ox.ui.modern/scrollbarHorizontalIncrement.png);
background: url(../png/Ox.UI.modern/scrollbarHorizontalIncrement.png);
}
.OxThemeModern ::-webkit-scrollbar-button:vertical:decrement {
background: url(../png/ox.ui.modern/scrollbarVerticalDecrement.png);
background: url(../png/Ox.UI.modern/scrollbarVerticalDecrement.png);
}
.OxThemeModern ::-webkit-scrollbar-button:vertical:increment {
background: url(../png/ox.ui.modern/scrollbarVerticalIncrement.png);
background: url(../png/Ox.UI.modern/scrollbarVerticalIncrement.png);
}
.OxThemeModern ::-webkit-scrollbar-corner {
border-right: 1px solid rgb(48, 48, 48);

View file

@ -35,7 +35,7 @@ Ox.Theme = function(theme) {
var $this = $(this);
$this.attr({
src: $this.attr('src')
.replace('ox.ui.' + currentTheme, 'ox.ui.' + theme)
.replace('Ox.UI.' + currentTheme, 'Ox.UI.' + theme)
});
});
}

View file

@ -21,7 +21,7 @@ Ox.IconItem = function(options, self) {
height: self.options.size * 1.5,
lineLength: self.options.size == 64 ? 15 : 23,
lines: self.options.size == 64 ? 4 : 5,
url: Ox.UI.PATH + '/png/ox.ui/transparent.png',
url: Ox.PATH + '/png/Ox.UI/transparent.png',
width: self.options.size
});
self.title = formatText(self.options.title, self.lines - 1, self.lineLength);

View file

@ -48,7 +48,7 @@ Ox.ListMap = function(options, self) {
return $('<img>')
.attr({
// fixme: not the right place to do these
src: Ox.UI.PATH + 'svg/ox.map/' + (value || 'NTHH') + '.' + (value == 'RE' ? 'png' : 'svg')
src: Ox.PATH + 'svg/ox.map/' + (value || 'NTHH') + '.' + (value == 'RE' ? 'png' : 'svg')
})
.load(function() {
$(this).css({

View file

@ -46,7 +46,7 @@ Ox.MapImage = function(options, self) {
Ox.forEach(self.markers, function(markers, k) {
if (markers.length) {
self.src += '&markers=icon:' + 'http://dev.pan.do:8000' +
Ox.UI.PATH + 'png/ox.map/marker' +
Ox.PATH + 'png/ox.map/marker' +
Ox.toTitleCase(self.options['markerColor' + Ox.toTitleCase(k)]) +
'.png|' + markers.join('|')
}

View file

@ -77,7 +77,7 @@ Ox.MapMarker = function(options) {
cursor: that.place.editing ? 'move' : 'pointer',
draggable: that.place.editing,
icon: new google.maps.MarkerImage(
Ox.UI.PATH + 'png/ox.map/marker' +
Ox.PATH + 'png/ox.map/marker' +
(that.place.id[0] == '_' ? 'Result' : '') +
(that.place.editing ? 'Editing' : (
that.place.selected ? 'Selected' : ''

View file

@ -17,7 +17,7 @@ Ox.MapRectangleMarker = function(options, self) {
cursor: that.position + '-resize',
draggable: true,
icon: new google.maps.MarkerImage(
Ox.UI.PATH + 'png/ox.map/markerResize.png',
Ox.PATH + 'png/ox.map/markerResize.png',
new google.maps.Size(16, 16),
new google.maps.Point(0, 0),
new google.maps.Point(8, 8)

View file

@ -102,7 +102,7 @@ Ox.load.UI = function(options, callback) {
}).join(' ');
div.addClass('OxError');
browsers.forEach(function(browser) {
browser.src = Ox.PATH + 'png/ox.ui/browser' + browser.name + '128.png';
browser.src = Ox.PATH + 'png/Ox.UI/browser' + browser.name + '128.png';
Ox.loadFile(browser.src, function() {
++counter == browsers.length && showIcons();
});

View file

@ -58,7 +58,7 @@ Ox.BlockTimeline = function(options, self) {
self.$markerPosition = $('<img>')
.addClass('OxMarkerPosition')
.attr({
src: Ox.UI.PATH + 'png/ox.ui/videoMarkerPlay.png'
src: Ox.PATH + 'png/Ox.UI/videoMarkerPlay.png'
})
.css({
position: 'absolute',
@ -75,7 +75,7 @@ Ox.BlockTimeline = function(options, self) {
self.$markerPoint[i] = $('<img>')
.addClass('OxMarkerPoint' + titleCase)
.attr({
src: Ox.UI.PATH + 'png/ox.ui/videoMarker' + titleCase + '.png'
src: Ox.PATH + 'png/Ox.UI/videoMarker' + titleCase + '.png'
})
.appendTo(that.$element);
setMarkerPoint(i);

View file

@ -62,7 +62,7 @@ Ox.LargeTimeline = function(options, self) {
self.$cuts[i] = $('<img>')
.addClass('OxCut')
.attr({
src: Ox.UI.PATH + 'png/ox.ui/videoMarkerCut.png'
src: Ox.PATH + 'png/Ox.UI/videoMarkerCut.png'
})
.css({
left: (v * self.fps) + 'px'
@ -73,7 +73,7 @@ Ox.LargeTimeline = function(options, self) {
self.$markerPosition = $('<img>')
.addClass('OxMarkerPosition')
.attr({
src: Ox.UI.PATH + 'png/ox.ui/videoMarkerPlay.png'
src: Ox.PATH + 'png/Ox.UI/videoMarkerPlay.png'
})
.appendTo(that.$element);
setMarker();
@ -82,7 +82,7 @@ Ox.LargeTimeline = function(options, self) {
self.$markerPoint[i] = $('<img>')
.addClass('OxMarkerPoint' + v)
.attr({
src: Ox.UI.PATH + 'png/ox.ui/videoMarker' + v + '.png'
src: Ox.PATH + 'png/Ox.UI/videoMarker' + v + '.png'
})
.appendTo(self.$timeline);
setMarkerPoint(i);

View file

@ -60,7 +60,7 @@ Ox.SmallTimeline = function(options, self) {
self.$markerPosition = $('<img>')
.addClass('OxMarkerPosition')
.attr({
src: Ox.UI.PATH + 'png/ox.ui/videoMarkerPlay.png'
src: Ox.PATH + 'png/Ox.UI/videoMarkerPlay.png'
})
.css({
position: 'absolute',
@ -77,7 +77,7 @@ Ox.SmallTimeline = function(options, self) {
self.$markerPoint[i] = $('<img>')
.addClass('OxMarkerPoint' + titleCase)
.attr({
src: Ox.UI.PATH + 'png/ox.ui/videoMarker' + titleCase + '.png'
src: Ox.PATH + 'png/Ox.UI/videoMarker' + titleCase + '.png'
})
.appendTo(that.$element);
setMarkerPoint(i);

View file

@ -92,7 +92,7 @@ Ox.VideoEditorPlayer = function(options, self) {
self.$markerPoint[point][edge] = $('<img>')
.addClass('OxMarkerPoint OxMarker' + titleCase)
.attr({
src: Ox.UI.PATH + 'png/ox.ui/videoMarker' + titleCase + '.png'
src: Ox.PATH + 'png/Ox.UI/videoMarker' + titleCase + '.png'
})
.hide()
.appendTo(that.$element);