mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 20:43:26 +02:00
reorganize modules
This commit is contained in:
51
modules/core_styles/styles/buttons.otui
Normal file
51
modules/core_styles/styles/buttons.otui
Normal file
@@ -0,0 +1,51 @@
|
||||
Button < UIButton
|
||||
font: verdana-11px-antialised
|
||||
background-color: white
|
||||
color: #f0ad4dff
|
||||
size: 106 24
|
||||
text-translate: 0 0
|
||||
border-image:
|
||||
source: /core_styles/images/button.png
|
||||
border: 5
|
||||
|
||||
state.hover:
|
||||
border-image:
|
||||
source: /core_styles/images/button_hover.png
|
||||
border: 5
|
||||
|
||||
state.pressed:
|
||||
text-translate: 1 1
|
||||
border-image:
|
||||
source: /core_styles/images/button_down.png
|
||||
border: 5
|
||||
|
||||
state.disabled:
|
||||
color: #999999
|
||||
background-color: #ffffff88
|
||||
|
||||
TopButton < UIButton
|
||||
background-color: white
|
||||
size: 26 25
|
||||
text-translate: 0 0
|
||||
border-image:
|
||||
source: /core_styles/images/top_button.png
|
||||
size: 26 25
|
||||
border: 3
|
||||
|
||||
state.hover:
|
||||
border-image:
|
||||
source: /core_styles/images/top_button.png
|
||||
size: 26 25
|
||||
offset: 26 0
|
||||
border: 3
|
||||
|
||||
state.pressed:
|
||||
text-translate: 1 1
|
||||
border-image:
|
||||
source: /core_styles/images/top_button.png
|
||||
size: 26 25
|
||||
offset: 52 0
|
||||
border: 3
|
||||
|
||||
state.disabled:
|
||||
background-color: #ffffff66
|
Reference in New Issue
Block a user