built-in themes were not work correctly
This commit is contained in:
parent
69f78feafb
commit
4a8041ced5
@ -62,29 +62,26 @@ TreeStyleTabThemeManager.prototype = {
|
|||||||
var styles = [];
|
var styles = [];
|
||||||
switch (aStyle)
|
switch (aStyle)
|
||||||
{
|
{
|
||||||
case 'default':
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'plain':
|
||||||
case 'flat':
|
case 'flat':
|
||||||
styles.push(BASE+'square/base.css');
|
|
||||||
styles.push(BASE+'square/dropshadow.css');
|
|
||||||
styles.push(BASE+'platform-styled.css');
|
|
||||||
styles.push(BASE+'square/platform.css');
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'mixed':
|
case 'mixed':
|
||||||
styles.push(BASE+'square/base.css');
|
styles.push(BASE+'square/base.css');
|
||||||
styles.push(BASE+'square/mixed.css');
|
if (aStyle != 'plain') {
|
||||||
styles.push(BASE+'square/tab-surface.css');
|
styles.push(BASE+'square/mixed.css');
|
||||||
styles.push(BASE+'square/dropshadow.css');
|
styles.push(BASE+'square/tab-surface.css');
|
||||||
|
}
|
||||||
|
if (aStyle != 'flat')
|
||||||
|
styles.push(BASE+'square/dropshadow.css');
|
||||||
styles.push(BASE+'platform-styled.css');
|
styles.push(BASE+'platform-styled.css');
|
||||||
styles.push(BASE+'square/platform.css');
|
styles.push(BASE+'square/platform.css');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'vertigo':
|
case 'vertigo':
|
||||||
styles.push(BASE+'skin/square/square.css');
|
styles.push(BASE+'square/base.css');
|
||||||
styles.push(BASE+'skin/square/vertigo.css');
|
styles.push(BASE+'square/vertigo.css');
|
||||||
styles.push(BASE+'platform-styled.css');
|
styles.push(BASE+'platform-styled.css');
|
||||||
styles.push(BASE+'square/platform.css');
|
styles.push(BASE+'square/platform.css');
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user