From 7357829741e933cec185f154626c91b711498732 Mon Sep 17 00:00:00 2001 From: jncharon Date: Sat, 23 Apr 2016 23:42:28 +0200 Subject: [PATCH] Fix in the background color of the dialog boxes --- main/ui/src/main/resources/css/linux_theme.css | 4 ++-- main/ui/src/main/resources/css/mac_theme.css | 4 ++-- main/ui/src/main/resources/css/win_theme.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/main/ui/src/main/resources/css/linux_theme.css b/main/ui/src/main/resources/css/linux_theme.css index 277bc2440..e9f40d05a 100644 --- a/main/ui/src/main/resources/css/linux_theme.css +++ b/main/ui/src/main/resources/css/linux_theme.css @@ -450,7 +450,7 @@ ******************************************************************************/ .dialog-pane { - -fx-background-color: -fx-background; + -fx-background-color: COLOR_BACKGROUND; -fx-padding: 0; } @@ -478,7 +478,7 @@ .dialog-pane:header .header-panel { /*-fx-padding: 0.833em 1.166em 0.833em 1.166em; *//* 10px 14px 10px 14px */ -fx-padding: 0.833em; /* 10px */ - -fx-background-color: -fx-box-border, linear-gradient(-fx-background, derive(-fx-background, 30%)); + -fx-background-color: COLOR_BORDER, linear-gradient(COLOR_BACKGROUND, derive(COLOR_BACKGROUND, 30%)); -fx-background-insets: 0, 0 0 1 0; } diff --git a/main/ui/src/main/resources/css/mac_theme.css b/main/ui/src/main/resources/css/mac_theme.css index 5d8034550..a34917ecb 100644 --- a/main/ui/src/main/resources/css/mac_theme.css +++ b/main/ui/src/main/resources/css/mac_theme.css @@ -540,7 +540,7 @@ ******************************************************************************/ .dialog-pane { - -fx-background-color: -fx-background; + -fx-background-color: COLOR_BACKGROUND; -fx-padding: 0; } @@ -568,7 +568,7 @@ .dialog-pane:header .header-panel { /*-fx-padding: 0.833em 1.166em 0.833em 1.166em; *//* 10px 14px 10px 14px */ -fx-padding: 0.833em; /* 10px */ - -fx-background-color: -fx-box-border, linear-gradient(-fx-background, derive(-fx-background, 30%)); + -fx-background-color: COLOR_BORDER, linear-gradient(COLOR_BACKGROUND, derive(COLOR_BACKGROUND, 30%)); -fx-background-insets: 0, 0 0 1 0; } diff --git a/main/ui/src/main/resources/css/win_theme.css b/main/ui/src/main/resources/css/win_theme.css index 7a222ce85..254615e41 100644 --- a/main/ui/src/main/resources/css/win_theme.css +++ b/main/ui/src/main/resources/css/win_theme.css @@ -522,7 +522,7 @@ ******************************************************************************/ .dialog-pane { - -fx-background-color: -fx-background; + -fx-background-color: COLOR_BACKGROUND; -fx-padding: 0; } @@ -550,7 +550,7 @@ .dialog-pane:header .header-panel { /*-fx-padding: 0.833em 1.166em 0.833em 1.166em; *//* 10px 14px 10px 14px */ -fx-padding: 0.833em; /* 10px */ - -fx-background-color: -fx-box-border, linear-gradient(-fx-background, derive(-fx-background, 30%)); + -fx-background-color: COLOR_BORDER, linear-gradient(COLOR_BACKGROUND, derive(COLOR_BACKGROUND, 30%)); -fx-background-insets: 0, 0 0 1 0; }