mirror of
				https://github.com/edubart/otclient.git
				synced 2025-11-04 04:36:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			63 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
MarketTabBar < TabBar
 | 
						|
MarketTabBarPanel < TabBarPanel
 | 
						|
MarketTabBarButton < TabBarButton
 | 
						|
  size: 20 25
 | 
						|
  font: verdana-11px-rounded
 | 
						|
  text-offset: 0 2
 | 
						|
 | 
						|
  $!first:
 | 
						|
    anchors.left: prev.right
 | 
						|
    margin-left: 0
 | 
						|
 | 
						|
  $hover !checked:
 | 
						|
    image-clip: 0 20 20 20
 | 
						|
    color: white
 | 
						|
 | 
						|
  $disabled:
 | 
						|
    image-color: #ffffff66
 | 
						|
    icon-color: #888888
 | 
						|
 | 
						|
  $checked:
 | 
						|
    image-clip: 0 20 20 20
 | 
						|
    color: #ffffff
 | 
						|
 | 
						|
  $on !checked:
 | 
						|
    color: #f55e5e
 | 
						|
 | 
						|
MarketRightTabBar < TabBar
 | 
						|
MarketRightTabBarPanel < TabBarPanel
 | 
						|
// TODO: inherit style from TabBarButton and adjust it
 | 
						|
// anchors.left: none  did not seem to work for me
 | 
						|
MarketRightTabBarButton < UIButton
 | 
						|
  size: 20 25
 | 
						|
  font: verdana-11px-rounded
 | 
						|
  text-offset: 0 2
 | 
						|
  image-source: /images/ui/tabbutton_square
 | 
						|
  image-color: white
 | 
						|
  image-clip: 0 0 20 20
 | 
						|
  image-border: 3
 | 
						|
  icon-color: white
 | 
						|
  color: #aaaaaa
 | 
						|
  anchors.top: parent.top
 | 
						|
  padding: 5
 | 
						|
 | 
						|
  anchors.right: prev.left
 | 
						|
 | 
						|
  $first:
 | 
						|
    anchors.right: parent.right
 | 
						|
 | 
						|
  $hover !checked:
 | 
						|
    image-clip: 0 20 20 20
 | 
						|
    color: white
 | 
						|
 | 
						|
  $disabled:
 | 
						|
    image-color: #ffffff66
 | 
						|
    icon-color: #888888
 | 
						|
 | 
						|
  $checked:
 | 
						|
    image-clip: 0 20 20 20
 | 
						|
    color: #ffffff
 | 
						|
 | 
						|
  $on !checked:
 | 
						|
    color: #f55e5e
 |