Fixed some UI bugs, and redesigned some UI elements.

- Changed class structure (added dialogs, cells folder)
- Changed font to Baloo as it has better font height
- Figured out a way to change the font color of max player slider thumb
- Added cursor effect when mouse hover on any button
- Fixed drop shadow bug for lobby view player cell
- Moved drop shadow effect from player cell controller to css

#story[1245]
This commit is contained in:
Haoming Yin
2017-09-09 15:00:32 +12:00
parent cf4f8813d2
commit 1516e817b7
21 changed files with 170 additions and 124 deletions
@@ -0,0 +1,30 @@
#serverListCell {
-fx-background-color: -fx-pp-front-color;
-fx-effect: -fx-pp-dropshadow-light;
}
#serverListCell:hover {
-fx-effect: -fx-pp-dropshadow-dark;
}
#serverCellVBox {
-fx-background-color: -fx-pp-background-color;
}
#serverConnButton {
-fx-background-color: -fx-pp-theme-color;
-fx-font-size: 14px;
-fx-text-fill: -fx-pp-light-text-color;
}
#serverName, #serverPlayerCount, #mapName {
-fx-text-fill: -fx-pp-dark-text-color;
}
#serverName {
-fx-font-size: 20px;
}
#serverPlayerCount, #mapName {
-fx-font-size:14px;
}