projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e906f94
)
Roo/bootstrap/NavHeaderbar.js
author
Alan Knowles
<alan@roojs.com>
Tue, 4 Dec 2018 08:25:38 +0000
(16:25 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 4 Dec 2018 08:25:38 +0000
(16:25 +0800)
Roo/bootstrap/NavHeaderbar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NavHeaderbar.js
b/Roo/bootstrap/NavHeaderbar.js
index
a0934f0
..
3f2fc98
100644
(file)
--- a/
Roo/bootstrap/NavHeaderbar.js
+++ b/
Roo/bootstrap/NavHeaderbar.js
@@
-99,6
+99,12
@@
Roo.extend(Roo.bootstrap.NavHeaderbar, Roo.bootstrap.NavSimplebar, {
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 ;