/** * Tabs * * A navigation bar with any number of tab items supported. */ .tabs { font-size: 16px; position: fixed; bottom: 0; width: 100%; height: $tabs-height; z-index: 5; @include box-orient(horizontal); display: -webkit-box; display: box; border-top-width: 1px; border-style: solid; @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); } } .tabs-top { top: $bar-height; } .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; font-weight: 400; font-family: $light-sans-font-family; font-size: 10px; color: inherit; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; opacity: 0.7; .active, &:active { //box-shadow: inset 0 0 10px rgba(0, 0, 0, .12); } i { font-size: 32px; } } /* Navigational tab */ /* 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); opacity: 1; &.tab-item-default { color: $brand-default; } &.tab-item-secondary { color: $brand-secondary; } &.tab-item-primary { color: $brand-primary; } &.tab-item-success { color: $brand-success; } &.tab-item-danger { color: $brand-danger; } &.tab-item-warning { color: $brand-warning; } &.tab-item-dark { color: $brand-dark; } } /* Icon for tab */ .tab-item i { display: block; margin: 1px auto -3px auto; } /* Label for tab */ .tab-label { margin-top: 1px; color: #fff; font-weight: bold; font-size: 10px; }