Removed hardcoded GSH endpoint from signalr server list updater, moved direct connect button to the right of the server list, added a slight gradient to buttons so their not totally flat.

This commit is contained in:
2024-03-17 11:29:39 -05:00
parent 80d1fa865c
commit 67c52c84a1
4 changed files with 30 additions and 17 deletions

View File

@@ -80,15 +80,15 @@ class W3DHub
padding_bottom: 8,
border_thickness: 2,
border_color: Gosu::Color::NONE,
background: 0xff_0074e0,
background: 0xff_0074e0..0xff_0052c0,
hover: {
color: 0xff_f2f2f2,
background: 0xff_004c94,
background: 0xff_0052c0..0xff_0030a0,
border_color: 0xff_0074e0
},
active: {
color: 0xff_aaaaaa,
background: 0xff_005aad,
background: 0xff_0030a0..0xff_0052c0,
border_color: 0xff_0074e0
}
},
@@ -151,7 +151,18 @@ class W3DHub
MenuItem: {
width: 1.0,
text_left: :left,
margin: 0
margin: 0,
border_color: Gosu::Color::NONE,
background: 0xff_0074e0,
hover: {
color: 0xff_f2f2f2,
background: 0xff_0052c0,
border_color: Gosu::Color::NONE
},
active: {
background: 0xff_0030a0,
border_color: Gosu::Color::NONE
}
}
}
end