mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
.tab-active
This commit is contained in:
@ -12,8 +12,8 @@ import {IonicComponent} from 'ionic2/config/component'
|
||||
<div class="toolbar tab-bar toolbar-ios toolbar-bottom">
|
||||
<div class="tab-bar-container">
|
||||
<a *for="#tab of tabs"
|
||||
class="tab-bar-item tab-active"
|
||||
[class.active]="tab.isSelected"
|
||||
class="tab-bar-item"
|
||||
[class.tab-active]="tab.isSelected"
|
||||
(^click)="onClickTabItem($event, tab)">
|
||||
<icon class="tab-bar-item-icon ion-home"></icon>
|
||||
<span class="tab-bar-item-text">{{tab.title}}</span>
|
||||
|
@ -77,6 +77,6 @@ $tab-bar-item-min-width: 100px !default;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.tab-bar-item.active {
|
||||
.tab-bar-item.tab-active {
|
||||
color: red;
|
||||
}
|
||||
|
Reference in New Issue
Block a user