summaryrefslogtreecommitdiff
path: root/www/lib/ionic/scss/_tabs.scss
diff options
context:
space:
mode:
Diffstat (limited to 'www/lib/ionic/scss/_tabs.scss')
-rw-r--r--www/lib/ionic/scss/_tabs.scss27
1 files changed, 26 insertions, 1 deletions
diff --git a/www/lib/ionic/scss/_tabs.scss b/www/lib/ionic/scss/_tabs.scss
index 79c2489a..a99a9d96 100644
--- a/www/lib/ionic/scss/_tabs.scss
+++ b/www/lib/ionic/scss/_tabs.scss
@@ -318,6 +318,30 @@ ion-tabs {
transition: color .2s ease;
}
}
+ &:not(.tabs-icon-left):not(.tabs-icon-top){
+ .tab-item{
+ &.tab-item-active,
+ &.active,
+ &.activated {
+ .tab-title, i{
+ display:block;
+ margin-top: -$tabs-striped-border-width + 1px;
+ }
+ }
+ }
+ }
+ &.tabs-icon-left{
+ .tab-item{
+ margin-top: 1px;
+ &.tab-item-active,
+ &.active,
+ &.activated {
+ .tab-title, i {
+ margin-top: -0.1em;
+ }
+ }
+ }
+ }
}
}
@@ -398,7 +422,7 @@ ion-tabs {
.tabs-icon-right > .tabs .tab-item {
font-size: $tabs-text-font-size-side-icon;
- .icon {
+ .icon, .tab-title {
display: inline-block;
vertical-align: top;
margin-top: -.1em;
@@ -494,3 +518,4 @@ ion-tabs {
cursor: default;
pointer-events: none;
}
+