mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +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="toolbar tab-bar toolbar-ios toolbar-bottom">
|
||||||
<div class="tab-bar-container">
|
<div class="tab-bar-container">
|
||||||
<a *for="#tab of tabs"
|
<a *for="#tab of tabs"
|
||||||
class="tab-bar-item tab-active"
|
class="tab-bar-item"
|
||||||
[class.active]="tab.isSelected"
|
[class.tab-active]="tab.isSelected"
|
||||||
(^click)="onClickTabItem($event, tab)">
|
(^click)="onClickTabItem($event, tab)">
|
||||||
<icon class="tab-bar-item-icon ion-home"></icon>
|
<icon class="tab-bar-item-icon ion-home"></icon>
|
||||||
<span class="tab-bar-item-text">{{tab.title}}</span>
|
<span class="tab-bar-item-text">{{tab.title}}</span>
|
||||||
|
@ -77,6 +77,6 @@ $tab-bar-item-min-width: 100px !default;
|
|||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-bar-item.active {
|
.tab-bar-item.tab-active {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user