mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
change interface style, add top menu
This commit is contained in:
@@ -22,3 +22,30 @@ Button < UIButton
|
||||
state.disabled:
|
||||
color: #999999
|
||||
background-color: #ffffff88
|
||||
|
||||
TopButton < UIButton
|
||||
background-color: white
|
||||
size: 26 25
|
||||
text-translate: 0 0
|
||||
border-image:
|
||||
source: /core_ui/images/top_button.png
|
||||
size: 26 25
|
||||
border: 3
|
||||
|
||||
state.hover:
|
||||
border-image:
|
||||
source: /core_ui/images/top_button.png
|
||||
size: 26 25
|
||||
offset: 26 0
|
||||
border: 3
|
||||
|
||||
state.pressed:
|
||||
text-translate: 1 1
|
||||
border-image:
|
||||
source: /core_ui/images/top_button.png
|
||||
size: 26 25
|
||||
offset: 52 0
|
||||
border: 3
|
||||
|
||||
state.disabled:
|
||||
background-color: #ffffff66
|
@@ -1,10 +1,16 @@
|
||||
Panel < UIWidget
|
||||
phantom: true
|
||||
|
||||
FlatPanel < Panel
|
||||
border-image:
|
||||
source: /core_ui/images/panel_flat.png
|
||||
border: 4
|
||||
|
||||
TopPanel < Panel
|
||||
height: 34
|
||||
border-image:
|
||||
source: /core_ui/images/top_panel.png
|
||||
border-bottom: 3
|
||||
|
||||
RoundedPanel < Panel
|
||||
background-color: #ffffffdd
|
||||
|
@@ -3,3 +3,4 @@ HorizontalSeparator < UIWidget
|
||||
source: /core_ui/images/horizontal_separator.png
|
||||
border.top: 2
|
||||
height: 2
|
||||
phantom: true
|
||||
|
Reference in New Issue
Block a user