/** * Tabs * * A navigation bar with any number of tab items supported. */ .tabs { font-size: 16px; position: fixed; bottom: 0; width: 100%; height: $tabs-height; @include box-orient(horizontal); display: -webkit-box; display: box; @include tab-style($tabs-default-bg, $tabs-default-border-color, $gray-dark); &.tabs-default { @include tab-style($tabs-default-bg, $tabs-default-border-color, $gray-dark); } &.tabs-secondary { @include tab-style($tabs-secondary-bg, $tabs-secondary-border-color, $gray-dark); } &.tabs-primary { @include tab-style($tabs-primary-bg, $tabs-primary-border-color, $white); } &.tabs-success { @include tab-style($tabs-success-bg, $tabs-success-border-color, $white); } &.tabs-info { @include tab-style($tabs-info-bg, $tabs-info-border-color, $white); } &.tabs-warning { @include tab-style($tabs-warning-bg, $tabs-warning-border-color, $white); } &.tabs-danger { @include tab-style($tabs-danger-bg, $tabs-danger-border-color, $white); } &.tabs-dark { @include tab-style($tabs-danger-bg, $tabs-danger-border-color, $white); } } .tab-item { font-weight: 200; font-family: $light-sans-font-family; color: inherit; //line-height: $tabs-height; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; .active, &:active { //box-shadow: inset 0 0 10px rgba(0, 0, 0, .12); } i { font-size: 25px; } } /* Navigational tab */ .tab-item { display: block; // Required to force box elements to be the same size; width: 0; height: 100%; @include box-flex(1); box-sizing: border-box; text-align: center; text-decoration: none; } /* 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; color: #fff; font-weight: bold; font-size: 10px; }