mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 22:29:44 +08:00
56 lines
915 B
SCSS
56 lines
915 B
SCSS
/* Bar docked to bottom used for primary app navigation */
|
|
.tabs {
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.tabs-inner {
|
|
display: -webkit-box;
|
|
display: box;
|
|
height: 100%;
|
|
list-style: none;
|
|
-webkit-box-orient: horizontal;
|
|
box-orient: horizontal;
|
|
}
|
|
|
|
/* Navigational tab */
|
|
.tab-item {
|
|
height: 100%;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
-webkit-box-flex: 1;
|
|
box-flex: 1;
|
|
|
|
a {
|
|
text-decoration: none;
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
/* Active state for tab */
|
|
.tab-item.active, .tab-item:active {
|
|
//box-shadow: inset 0 0 1px rgba(0, 0, 0, .12);
|
|
background-color: rgba(0,0,0,0.2);
|
|
}
|
|
|
|
/* Icon for tab */
|
|
.tab-item i {
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Label for tab */
|
|
.tab-label {
|
|
margin-top: 1px;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
}
|