Referring to the the card-view example in inoic’s doc:
I’m trying to have different style for main tabs without changing the secondary tab’s style.
For example, when I use:
<ion-view title="Test">
<ion-tabs class="tabs-striped tabs-top tabs-background-positive tabs-light">
<ion-tab title="Home" icon-on="ion-ios7-filing" icon-off="ion-ios7-filing-outline" >
<ion-content class="has-header" dir="rtl">
<div class="list card">
<div class="item item-avatar">
<img src="test.jpg">
<h2>test</h2>
<p>test </p>
<p>test</p>
</div>
<div class="item item-body">
<p>
<div ng-bind-html="doc.documentContent"></div>
</p>
</div>
<div class="item tabs tabs-icon-left">
<a class="tab-item" href="#">
<i class="icon ion-chatbox"></i>
chat
</a>
<a class="tab-item" href="#">
<i class="icon ion-share"></i>
reply
</a>
</div>
</div>
</ion-content>
</ion-tab>
<ion-tab title="About" icon-on="ion-paperclip" icon-off="ion-paperclip-outline">
<!-- Tab 2 content -->
</ion-tab>
</ion-tabs>
Both tabs change to tabs-positive since my top level ion-tabs is using tabs-background-positive.