Hi All,
I need to style the top bar and background of specific groups of states (e.g. header bar will be one colour when not logged in, a different colour when logged and a different one in another section etc.). I would probably solve this issue adding custom body classes to define specific groups on css e.g.
.not-logged .bar {
background: red;
}
.not-logged .pane {
background-image: url(path/to/image);
}
.logged .bar {
background: blue;
}
.logged .pane {
background-image: url(path/to/another/image);
}
.logged .config-section .pane {background-image: url(path/to/yet/another/image);
}
So, I was wondering if this could be achieved with ionic/angular as well (it’s probably an angular question more than an ionic one). But I’m asking it here just to see if this solution is ok or if there is a more intelligent way of achieving this.
I hope that makes sense and someone can shed some light on this…