forked from EVOgeek/Vmeda.Online
		
	MOBILE-2774 tabs: Style badges on tabs
This commit is contained in:
		
							parent
							
								
									60f284f9cd
								
							
						
					
					
						commit
						44caa1fd97
					
				| @ -18,17 +18,25 @@ ion-app.app-root .core-tabs-bar { | |||||||
|         font-size: 1.6rem; |         font-size: 1.6rem; | ||||||
|         border: 0; |         border: 0; | ||||||
|         padding: 0 !important; |         padding: 0 !important; | ||||||
|  |         display: flex; | ||||||
|  |         flex-direction: row; | ||||||
| 
 | 
 | ||||||
|         span { |         span { | ||||||
|             text-overflow: ellipsis; |             text-overflow: ellipsis; | ||||||
|             white-space: nowrap; |             white-space: nowrap; | ||||||
|             overflow: hidden; |             overflow: hidden; | ||||||
|             word-wrap: break-word; |             word-wrap: break-word; | ||||||
|             display: block; |             max-width: 100%; | ||||||
|             width: 100%; |  | ||||||
|             line-height: 1.2em; |             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] { |         &[aria-selected=true] { | ||||||
|             color: $core-top-tabs-color-active !important; |             color: $core-top-tabs-color-active !important; | ||||||
|             border: 0 !important; |             border: 0 !important; | ||||||
|  | |||||||
| @ -84,7 +84,11 @@ $colors: ( | |||||||
|   dark:       $black, |   dark:       $black, | ||||||
|   warning:    $yellow, |   warning:    $yellow, | ||||||
|   success:    $green, |   success:    $green, | ||||||
|   info:       $blue |   info:       $blue, | ||||||
|  |   inverted: ( | ||||||
|  |     base: $white, | ||||||
|  |     contrast: $core-color | ||||||
|  |   ) | ||||||
| ); | ); | ||||||
| 
 | 
 | ||||||
| $text-color:                 $black !default; | $text-color:                 $black !default; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user