mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
58 lines
931 B
SCSS
58 lines
931 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;
|
|
@include box-orient(horizontal);
|
|
}
|
|
|
|
/* Navigational tab */
|
|
.tab-item {
|
|
height: 100%;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
|
|
@include box-flex(1);
|
|
|
|
// Required to force box elements to be the same size;
|
|
width: 0;
|
|
|
|
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;
|
|
}
|