diff --git a/src/main/java/com/rohitawate/everest/controllers/HomeWindowController.java b/src/main/java/com/rohitawate/everest/controllers/HomeWindowController.java index 46ee7e5..135c7b1 100644 --- a/src/main/java/com/rohitawate/everest/controllers/HomeWindowController.java +++ b/src/main/java/com/rohitawate/everest/controllers/HomeWindowController.java @@ -147,6 +147,7 @@ public class HomeWindowController implements Initializable { dashboard.setState(newState); } + @FXML private void addTab() { addTab(new ComposerState()); } diff --git a/src/main/resources/assets/NewTabPlus.png b/src/main/resources/assets/NewTabPlus.png new file mode 100644 index 0000000..1548a91 Binary files /dev/null and b/src/main/resources/assets/NewTabPlus.png differ diff --git a/src/main/resources/css/Adreana.css b/src/main/resources/css/Adreana.css index fcaa51e..a43e5ac 100644 --- a/src/main/resources/css/Adreana.css +++ b/src/main/resources/css/Adreana.css @@ -142,6 +142,14 @@ -fx-faint-focus-color: transparent; } +#newTabButton { + -fx-background-color: #6a6a6a; +} + +#newTabButton:hover { + -fx-background-color: limegreen; +} + .tab-pane:top .tab-header-area .headers-region .tab:top { -fx-background-color: #6a6a6a; } @@ -151,6 +159,10 @@ -fx-fill: white; } +.tab:selected .tab-close-button:hover { + -fx-background-color: #282828; +} + /* Request options (Headers, Authorization, etc) tab */ #requestOptionsTab .tab-header-area .headers-region .tab:hover:top { -fx-background-color: #55a15c; diff --git a/src/main/resources/fxml/homewindow/HomeWindow.fxml b/src/main/resources/fxml/homewindow/HomeWindow.fxml index d6456c4..5b3fc4d 100644 --- a/src/main/resources/fxml/homewindow/HomeWindow.fxml +++ b/src/main/resources/fxml/homewindow/HomeWindow.fxml @@ -16,8 +16,11 @@ ~ limitations under the License. --> + + + @@ -26,9 +29,24 @@ - + + + + + + + + + + + + + +