iOS tab icon updates

This commit is contained in:
Adam Bradley
2015-07-21 15:58:44 -05:00
parent 4a3f213f32
commit d74d5591e1
3 changed files with 16 additions and 7 deletions

View File

@ -25,6 +25,10 @@ $tab-bar-ios-height: 50px !default;
min-height: $tab-bar-ios-item-font-size + 1;
}
.has-title-only .tab-button-text {
font-size: $tab-bar-ios-item-font-size + 2;
}
.tab-button-icon {
font-size: $tab-bar-ios-item-icon-size;
height: $tab-bar-ios-item-icon-size;

View File

@ -14,11 +14,6 @@ $tab-bar-md-item-font-size: 1.4rem !default;
box-shadow: none;
border-radius: 0;
white-space: normal;
}
.tab-button-text {
white-space: normal;
}
}

View File

@ -85,6 +85,11 @@ button.tab-button {
.tab-button-icon {
order: 10;
}
.tab-button-icon {
margin-top: 2px;
margin-bottom: 0;
}
}
[tab-bar-icons="left"] > .tab-bar-container button.tab-button {
@ -92,7 +97,7 @@ button.tab-button {
.tab-button-icon {
text-align: right;
padding-right: 5px;
padding-right: 8px;
}
}
@ -102,7 +107,7 @@ button.tab-button {
.tab-button-icon {
order: 10;
text-align: left;
padding-left: 5px;
padding-left: 8px;
}
}
@ -125,6 +130,11 @@ button.tab-button {
display: block;
}
.has-title-only,
.has-title-only .tab-button-text {
white-space: normal;
}
button.tab-button[aria-selected="true"] {
// Default color is primary
color: get-color(primary, base);