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({
|
||||
hideScreen: true,
|
||||
showScreen: false,
|
||||
theme: 'classic'
|
||||
theme: 'oxlight'
|
||||
}, options);
|
||||
|
||||
var browsers = [
|
||||
|
@ -66,7 +66,7 @@ Ox.load.UI = function(options, callback) {
|
|||
|
||||
Ox.documentReady(function() {
|
||||
Ox.$('body').addClass(
|
||||
'OxTheme' + Ox.toTitleCase(options.theme || 'classic')
|
||||
'OxTheme' + Ox.toTitleCase(options.theme || 'oxlight')
|
||||
);
|
||||
options.showScreen && showScreen();
|
||||
});
|
||||
|
@ -96,8 +96,10 @@ Ox.load.UI = function(options, callback) {
|
|||
bottom: 0,
|
||||
padding: '4px',
|
||||
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,
|
||||
zIndex: 1000
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue