From 210f2e8efec60c60e792865974c7f4c8062f989d Mon Sep 17 00:00:00 2001 From: Hanming Zhu Date: Fri, 3 Apr 2020 08:04:04 +0800 Subject: [PATCH] feat: stylise help window --- src/main/resources/view/Default.css | 17 +++++++ src/main/resources/view/HelpWindow.fxml | 63 ++++++++++++++----------- 2 files changed, 52 insertions(+), 28 deletions(-) diff --git a/src/main/resources/view/Default.css b/src/main/resources/view/Default.css index 328b2656837..40c79451c98 100644 --- a/src/main/resources/view/Default.css +++ b/src/main/resources/view/Default.css @@ -265,3 +265,20 @@ -fx-padding: 5 0 5 20; -fx-text-fill: #FFFFFF; } + +/** Help Window **/ +.helpCopyButton { + -fx-padding: 5 5 5 5; + -fx-border-width: 1 1 1 1; + -fx-border-color: #6842E4 #6842E4 #6842E4 #6842E4; + -fx-border-radius: 2; + -fx-background-radius: 2; + -fx-background-color: transparent; + -fx-text-fill: #6842E4; +} + +.helpCopyButton:hover { + -fx-cursor: hand; + -fx-background-color: #6842E4; + -fx-text-fill: #FFFFFF; +} diff --git a/src/main/resources/view/HelpWindow.fxml b/src/main/resources/view/HelpWindow.fxml index fa0fb54d9f4..c534476eafb 100644 --- a/src/main/resources/view/HelpWindow.fxml +++ b/src/main/resources/view/HelpWindow.fxml @@ -1,5 +1,6 @@ + @@ -8,32 +9,38 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +