MOBILE-2774 tabs: Style badges on tabs

main
Pau Ferrer Ocaña 2018-12-03 16:28:48 +01:00
parent 60f284f9cd
commit 44caa1fd97
2 changed files with 15 additions and 3 deletions

View File

@ -18,17 +18,25 @@ ion-app.app-root .core-tabs-bar {
font-size: 1.6rem;
border: 0;
padding: 0 !important;
display: flex;
flex-direction: row;
span {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
word-wrap: break-word;
display: block;
width: 100%;
max-width: 100%;
line-height: 1.2em;
}
ion-badge.tab-badge {
position: relative;
@include position(auto, auto, auto, auto);
@include margin(null, null, null, 5px);
}
&[aria-selected=true] {
color: $core-top-tabs-color-active !important;
border: 0 !important;

View File

@ -84,7 +84,11 @@ $colors: (
dark: $black,
warning: $yellow,
success: $green,
info: $blue
info: $blue,
inverted: (
base: $white,
contrast: $core-color
)
);
$text-color: $black !default;