cfg.cls += this.inverse ? ' navbar-inverse navbar-dark bg-dark' : ' navbar-default';
+ if (['light','white'].indexOf(this.weight) > -1) {
+ cfg.cls += ['light','white'].indexOf(this.weight) > -1 ? ' navbar-light' : ' navbar-dark';
+ }
+ cfg.cls += ' bg-' + this.weight;
+
+
if (['fixed-top','fixed-bottom','static-top'].indexOf(this.position)>-1) {
cfg.cls += ' navbar-' + this.position + ' ' + this.position ;
};
if (Roo.bootstrap.version == 4) {
if (['nav','pills'].indexOf(this.type) != -1) {
- cfg.cls = ' nav-' + this.type;
+ cfg.cls = ' navbar-' + this.type;
}
} else {
if (['tabs','pills'].indexOf(this.type) != -1) {