MOBILE-2774 tabs: Style badges on tabs
parent
60f284f9cd
commit
44caa1fd97
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue