Skip to content

Commit

Permalink
fix(tabs-item-hide): only hide tab nav items
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoslin committed Apr 21, 2014
1 parent af2302e commit a7eb521
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions scss/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,11 @@
}
}

.tabs-item-hide,
.tabs-item-hide > .tabs {
.tabs-item-hide > .tabs,
.tabs.tabs-item-hide {
display: none;
}

/* Allow parent element to have tabs-top */
/* If you change this, change platform.scss as well */
.tabs.tabs-icon-top > .tab-item,
.tabs.tabs-icon-bottom > .tab-item,
.tabs-icon-top > .tabs .tab-item,
.tabs-icon-bottom > .tabs .tab-item {
font-size: $tabs-text-font-size-side-icon;
Expand All @@ -146,8 +142,6 @@
font-size: $tabs-icon-size;
}

.tabs.tabs-icon-left > .tab-item,
.tabs.tabs-icon-right > .tab-item,
.tabs-icon-left > .tabs .tab-item,
.tabs-icon-right > .tabs .tab-item {
font-size: $tabs-text-font-size-side-icon;
Expand All @@ -163,18 +157,15 @@
}
}

.tabs-icon-left > .tabs > .tab-item .icon,
.tabs.tabs-icon-left > .tab-item .icon {
.tabs-icon-left .tab-item .icon {
padding-right: 3px;
}

.tabs-icon-right > .tabs > .tab-item .icon,
.tabs.tabs-icon-right > .tab-item .icon {
.tabs-icon-right .tab-item .icon {
padding-left: 3px;
}

.tabs-icon-only > .tabs > .tab-item .icon,
.tabs.tabs-icon-only > .tab-item .icon {
.tabs-icon-only .icon {
line-height: inherit;
}

Expand Down

0 comments on commit a7eb521

Please sign in to comment.