From 2e4f55051342a270c83e732af35f237c81fb0120 Mon Sep 17 00:00:00 2001 From: Rohit Awate Date: Tue, 14 Aug 2018 15:14:01 +0530 Subject: [PATCH] Aesthetic improvements to Content-Type combo-boxes --- .../com/rohitawate/everest/settings/Settings.java | 2 +- src/main/resources/css/Adreana.css | 13 +++++++++++++ src/main/resources/fxml/homewindow/BodyTab.fxml | 3 ++- src/main/resources/fxml/homewindow/Dashboard.fxml | 3 ++- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/rohitawate/everest/settings/Settings.java b/src/main/java/com/rohitawate/everest/settings/Settings.java index 941fe73..e1ff37d 100644 --- a/src/main/java/com/rohitawate/everest/settings/Settings.java +++ b/src/main/java/com/rohitawate/everest/settings/Settings.java @@ -31,5 +31,5 @@ public class Settings { public static String syntaxTheme = "Moondust"; public static int showHistoryRange = 7; - public static boolean editorWrapText = false; + public static boolean editorWrapText = true; } diff --git a/src/main/resources/css/Adreana.css b/src/main/resources/css/Adreana.css index 4192908..c33d07e 100644 --- a/src/main/resources/css/Adreana.css +++ b/src/main/resources/css/Adreana.css @@ -325,8 +325,21 @@ -fx-background-color: #2a2a2a; } +#rawInputTypeBox, +#responseTypeBox { + -fx-background-color: #505050; +} + +#rawInputTypeBox .list-cell, #responseTypeBox .list-cell { + -fx-text-fill: azure; -fx-font-size: 13px; + -fx-background-color: #505050; +} + +#rawInputTypeBox .list-cell:hover, +#responseTypeBox .list-cell:hover { + -fx-background-color: cornflowerblue; } /* Response Headers Viewer */ diff --git a/src/main/resources/fxml/homewindow/BodyTab.fxml b/src/main/resources/fxml/homewindow/BodyTab.fxml index 529fc5c..5296190 100644 --- a/src/main/resources/fxml/homewindow/BodyTab.fxml +++ b/src/main/resources/fxml/homewindow/BodyTab.fxml @@ -33,7 +33,8 @@ - + diff --git a/src/main/resources/fxml/homewindow/Dashboard.fxml b/src/main/resources/fxml/homewindow/Dashboard.fxml index 39130d2..aa406cf 100644 --- a/src/main/resources/fxml/homewindow/Dashboard.fxml +++ b/src/main/resources/fxml/homewindow/Dashboard.fxml @@ -147,7 +147,8 @@ + minHeight="25.0" prefWidth="120.0" + styleClass="content-type-combo-box"/>