mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-20 01:03:27 +02:00
Resolve "Merge the best from 7.40 branch"
This commit is contained in:
116
SabrehavenOTClient/data/styles/20-topmenu.otui
Normal file
116
SabrehavenOTClient/data/styles/20-topmenu.otui
Normal file
@@ -0,0 +1,116 @@
|
||||
TopButton < UIButton
|
||||
size: 26 26
|
||||
image-source: /images/ui/button_top
|
||||
image-clip: 0 0 26 26
|
||||
image-border: 3
|
||||
image-color: #ffffffff
|
||||
icon-color: #ffffffff
|
||||
|
||||
$on:
|
||||
image-source: /images/ui/button_top_blink
|
||||
|
||||
$hover !disabled:
|
||||
image-color: #ffffff99
|
||||
image-clip: 26 0 26 26
|
||||
|
||||
$pressed:
|
||||
image-clip: 52 0 26 26
|
||||
|
||||
$disabled:
|
||||
image-color: #ffffff44
|
||||
icon-color: #ffffff44
|
||||
|
||||
TopToggleButton < UIButton
|
||||
size: 26 26
|
||||
image-source: /images/ui/button_top
|
||||
image-clip: 0 0 26 26
|
||||
image-color: #ffffffff
|
||||
image-border: 3
|
||||
icon-color: #ffffffff
|
||||
|
||||
$hover !disabled:
|
||||
image-color: #ffffff99
|
||||
image-clip: 26 0 26 26
|
||||
|
||||
$pressed:
|
||||
image-clip: 52 0 26 26
|
||||
|
||||
$disabled:
|
||||
image-color: #ffffff44
|
||||
icon-color: #ffffff44
|
||||
|
||||
TopMenuButtonsPanel < Panel
|
||||
layout:
|
||||
type: horizontalBox
|
||||
spacing: 4
|
||||
fit-children: true
|
||||
padding: 6 4
|
||||
|
||||
TopMenuPanel < Panel
|
||||
height: 36
|
||||
image-source: /images/ui/panel_top
|
||||
image-repeated: true
|
||||
focusable: false
|
||||
|
||||
TopMenuFrameCounterLabel < Label
|
||||
font: verdana-11px-rounded
|
||||
color: white
|
||||
margin-top: 4
|
||||
margin-left: 5
|
||||
|
||||
TopMenuPingLabel < Label
|
||||
font: verdana-11px-rounded
|
||||
|
||||
TopMenu < TopMenuPanel
|
||||
id: topMenu
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
||||
TopMenuButtonsPanel
|
||||
id: leftButtonsPanel
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.left: parent.left
|
||||
|
||||
TopMenuButtonsPanel
|
||||
id: leftGameButtonsPanel
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.left: prev.right
|
||||
visible: false
|
||||
|
||||
TopMenuFrameCounterLabel
|
||||
id: fpsLabel
|
||||
text-auto-resize: true
|
||||
anchors.top: parent.top
|
||||
anchors.left: leftGameButtonsPanel.right
|
||||
|
||||
TopMenuPingLabel
|
||||
color: white
|
||||
id: pingLabel
|
||||
text-auto-resize: true
|
||||
anchors.top: fpsLabel.bottom
|
||||
anchors.left: fpsLabel.left
|
||||
|
||||
Label
|
||||
id: onlineLabel
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
font: verdana-11px-antialised
|
||||
text-align: center
|
||||
text-auto-resize: true
|
||||
|
||||
TopMenuButtonsPanel
|
||||
id: rightButtonsPanel
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.right: parent.right
|
||||
|
||||
TopMenuButtonsPanel
|
||||
id: rightGameButtonsPanel
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.right: prev.left
|
||||
visible: false
|
Reference in New Issue
Block a user