From 0c11d562a5ce8d91ed22e440ef5d3248a6b04ca7 Mon Sep 17 00:00:00 2001 From: yyutong <1037662939@qq.com> Date: Thu, 29 Oct 2020 13:20:19 +0800 Subject: [PATCH] update ui --- .../java/seedu/address/ui/PieChartWindow.java | 1 + src/main/resources/images/statistics.png | Bin 0 -> 3425 bytes src/main/resources/view/DarkTheme.css | 24 +++++++++--------- src/main/resources/view/PieChartWindow.fxml | 4 +-- 4 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 src/main/resources/images/statistics.png diff --git a/src/main/java/seedu/address/ui/PieChartWindow.java b/src/main/java/seedu/address/ui/PieChartWindow.java index ca9cc5d93e0..2bc412f9ad1 100644 --- a/src/main/java/seedu/address/ui/PieChartWindow.java +++ b/src/main/java/seedu/address/ui/PieChartWindow.java @@ -79,6 +79,7 @@ public void setStats() { PIECHART.setTitle("Statistics of Expense Book"); PIECHART.setClockwise(false); PIECHART.setLabelsVisible(true); + } } diff --git a/src/main/resources/images/statistics.png b/src/main/resources/images/statistics.png new file mode 100644 index 0000000000000000000000000000000000000000..f5dbc64f00718cc98a124c86273716f23e1c386c GIT binary patch literal 3425 zcmV-n4W9CeP)%%;sp`6P_f$0+RY*I( z?e1?~^qQrl@o>2JZRgX25w}>g;rThz=6oWA5$dp_eU{e5;A!7{W1Tyt5v9@n*>{I6R(kq|4Kp zhTPsa;28-=n*7uW4MNCz&xj`>EFt%wW%k^kr~xaB_08S;*?m+VSB=T#{-Kcj^L^$A|*1cYQQiT38y%LLslCktBsgm;JTl z4Grb6mK0}Oj(7H9@SW^l?g*oM(AH)Dk3+FCvl{B-Tv#MEuLlcLaDea*GwMrqS^Z{Q z7gf0h9-<=%$CR7LBJWdm*pT>`^z6$5fkzXLAp0K$ip)-{1l%$o!=%?IG#*P>LSC*3 z6uDO&;Dre=Z5}OfcqYP9kvAJg#=WXeI81;7J|kfXxoTt_R)c5?gQu6DF4*c|`B-h7S|zk&sVJSTOea?dTbi4fN^R zi5O5$SjaJl=r<2%Q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DarkTheme.css index 660b0dbcb1d..2d965e3e2d2 100644 --- a/src/main/resources/view/DarkTheme.css +++ b/src/main/resources/view/DarkTheme.css @@ -101,11 +101,11 @@ } .list-cell:filled:even { - -fx-background-color: #3c3e3f; + -fx-background-color: #1A5276; } .list-cell:filled:odd { - -fx-background-color: #515658; + -fx-background-color: derive(#1A5276, 20%); } .list-cell:filled:selected { @@ -138,13 +138,13 @@ } .pane-with-border { - -fx-background-color: derive(#1d1d1d, 20%); - -fx-border-color: derive(#1d1d1d, 10%); + -fx-background-color: derive(#1A5276, 20%); + -fx-border-color: derive(#1A5276, 10%); -fx-border-top-width: 1px; } .status-bar { - -fx-background-color: derive(#1d1d1d, 30%); + -fx-background-color: derive(#1A5276, 20%); } .result-display { @@ -186,7 +186,7 @@ } .context-menu { - -fx-background-color: derive(#1d1d1d, 50%); + -fx-background-color: derive(#1A5276, 50%); } .context-menu .label { @@ -194,7 +194,7 @@ } .menu-bar { - -fx-background-color: derive(#1d1d1d, 20%); + -fx-background-color: derive(#1A5276, 20%); } .menu-bar .label { @@ -283,11 +283,11 @@ } .scroll-bar { - -fx-background-color: derive(#1d1d1d, 20%); + -fx-background-color: derive(#1A5276, 20%); } .scroll-bar .thumb { - -fx-background-color: derive(#1d1d1d, 50%); + -fx-background-color: derive(#1A5276, 50%); -fx-background-insets: 3; } @@ -319,9 +319,9 @@ } #commandTextField { - -fx-background-color: transparent #383838 transparent #383838; + -fx-background-color: #1A5276; -fx-background-insets: 0; - -fx-border-color: #383838 #383838 #ffffff #383838; + -fx-border-color: #1A5276; -fx-border-insets: 0; -fx-border-width: 1; -fx-font-family: "Segoe UI Light"; @@ -334,7 +334,7 @@ } #resultDisplay .content { - -fx-background-color: transparent, #383838, transparent, #383838; + -fx-background-color: #1A5276; -fx-background-radius: 0; } diff --git a/src/main/resources/view/PieChartWindow.fxml b/src/main/resources/view/PieChartWindow.fxml index b9cdcbc112c..e8068bfcfdd 100644 --- a/src/main/resources/view/PieChartWindow.fxml +++ b/src/main/resources/view/PieChartWindow.fxml @@ -8,9 +8,9 @@ - + - +