Created custom buttons. #story[1301]
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
-fx-graphic: url("/visualiser/images/arrow.png");
|
||||
}
|
||||
|
||||
|
||||
#nextButton {
|
||||
-fx-background-image: url("/visualiser/images/ArrowRoundRight.png");
|
||||
-fx-background-size: 60px;
|
||||
@@ -64,6 +65,7 @@
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#nextButton:pressed {
|
||||
-fx-background-image: url("/visualiser/images/ArrowRoundRightClicked.png");
|
||||
-fx-background-size: 60px;
|
||||
@@ -101,3 +103,217 @@
|
||||
-fx-border-width: 3;
|
||||
}
|
||||
|
||||
/* Title menu buttons */
|
||||
#hostAGameBtn {
|
||||
-fx-background-image: url("/visualiser/images/hostAGameBtn.png");
|
||||
-fx-background-size: 150px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#hostAGameBtn:pressed {
|
||||
-fx-background-image: url("/visualiser/images/hostAGameBtnPressed.png");
|
||||
-fx-background-size: 150px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#btnJoin {
|
||||
-fx-background-image: url("/visualiser/images/joinAGameBtn.png");
|
||||
-fx-background-size: 150px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#btnJoin:pressed {
|
||||
-fx-background-image: url("/visualiser/images/joinAGameBtnPressed.png");
|
||||
-fx-background-size: 150px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#tutorialButton {
|
||||
-fx-background-image: url("/visualiser/images/howToPlayBtn.png");
|
||||
-fx-background-size: 150px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#tutorialButton:pressed {
|
||||
-fx-background-image: url("/visualiser/images/howToPlayBtnPressed.png");
|
||||
-fx-background-size: 150px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#controlsBtn {
|
||||
-fx-background-image: url("/visualiser/images/controlsBtn.png");
|
||||
-fx-background-size: 150px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#controlsBtn:pressed {
|
||||
-fx-background-image: url("/visualiser/images/controlsBtnPressed.png");
|
||||
-fx-background-size: 150px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
/* host game lobby buttons */
|
||||
|
||||
#hostGameBtn {
|
||||
-fx-background-image: url("/visualiser/images/startGameBtn.png");
|
||||
-fx-background-size: 150px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#hostGameBtn:pressed {
|
||||
-fx-background-image: url("/visualiser/images/startGameBtnPressed.png");
|
||||
-fx-background-size: 150px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#mainMenuBtn {
|
||||
-fx-background-image: url("/visualiser/images/mainMenuBtn.png");
|
||||
-fx-background-size: 115px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
#mainMenuBtn:pressed {
|
||||
-fx-background-image: url("/visualiser/images/mainMenuBtnPressed.png");
|
||||
-fx-background-size: 115px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
/* match browsing lobby buttons */
|
||||
|
||||
#addBtn {
|
||||
-fx-background-image: url("/visualiser/images/addBtn.png");
|
||||
-fx-background-size: 115px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#addBtn:pressed {
|
||||
-fx-background-image: url("/visualiser/images/addBtnPressed.png");
|
||||
-fx-background-size: 115px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#refreshBtn {
|
||||
-fx-background-image: url("/visualiser/images/refreshBtn.png");
|
||||
-fx-background-size: 115px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#refreshBtn:pressed {
|
||||
-fx-background-image: url("/visualiser/images/refreshBtnPressed.png");
|
||||
-fx-background-size: 115px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#refreshBtn {
|
||||
-fx-background-image: url("/visualiser/images/refreshBtn.png");
|
||||
-fx-background-size: 115px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#joinGameBtn {
|
||||
-fx-background-image: url("/visualiser/images/participateBtn.png");
|
||||
-fx-background-size: 115px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#joinGameBtn:pressed {
|
||||
-fx-background-image: url("/visualiser/images/participateBtnPressed.png");
|
||||
-fx-background-size: 115px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#spectateButton {
|
||||
-fx-background-image: url("/visualiser/images/spectateBtn.png");
|
||||
-fx-background-size: 115px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#spectateButton:pressed {
|
||||
-fx-background-image: url("/visualiser/images/spectateBtnPressed.png");
|
||||
-fx-background-size: 115px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
/* in-game lobby buttons */
|
||||
|
||||
#quitBtn {
|
||||
-fx-background-image: url("/visualiser/images/quitBtn.png");
|
||||
-fx-background-size: 115px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
#quitBtn:pressed {
|
||||
-fx-background-image: url("/visualiser/images/quitBtnPressed.png");
|
||||
-fx-background-size: 115px;
|
||||
-fx-background-repeat: no-repeat;
|
||||
-fx-background-position: center center;
|
||||
-fx-focus-color: transparent;
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
Reference in New Issue
Block a user