support new themes
This commit is contained in:
parent
c8e4349753
commit
74753ebb60
1 changed files with 6 additions and 4 deletions
|
@ -5,7 +5,7 @@ Ox.load.UI = function(options, callback) {
|
||||||
options = Ox.extend({
|
options = Ox.extend({
|
||||||
hideScreen: true,
|
hideScreen: true,
|
||||||
showScreen: false,
|
showScreen: false,
|
||||||
theme: 'classic'
|
theme: 'oxlight'
|
||||||
}, options);
|
}, options);
|
||||||
|
|
||||||
var browsers = [
|
var browsers = [
|
||||||
|
@ -66,7 +66,7 @@ Ox.load.UI = function(options, callback) {
|
||||||
|
|
||||||
Ox.documentReady(function() {
|
Ox.documentReady(function() {
|
||||||
Ox.$('body').addClass(
|
Ox.$('body').addClass(
|
||||||
'OxTheme' + Ox.toTitleCase(options.theme || 'classic')
|
'OxTheme' + Ox.toTitleCase(options.theme || 'oxlight')
|
||||||
);
|
);
|
||||||
options.showScreen && showScreen();
|
options.showScreen && showScreen();
|
||||||
});
|
});
|
||||||
|
@ -96,8 +96,10 @@ Ox.load.UI = function(options, callback) {
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
padding: '4px',
|
padding: '4px',
|
||||||
background: 'rgb(' + (
|
background: 'rgb(' + (
|
||||||
options.theme == 'classic' ? '240, 240, 240' : '16, 16, 16')
|
options.theme == 'oxlight' ? '240, 240, 240'
|
||||||
+ ')',
|
: options.theme == 'oxmedium' ? '144, 144, 144'
|
||||||
|
: '16, 16, 16'
|
||||||
|
) + ')',
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
zIndex: 1000
|
zIndex: 1000
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue