From 84e3cf0762a0acc6f8567064cd67c8a8de3ba0a8 Mon Sep 17 00:00:00 2001 From: Jan-Peter Klein Date: Mon, 16 Sep 2024 14:48:06 +0200 Subject: [PATCH] removed green border and fixed margin for windows --- src/main/resources/css/light_theme.css | 4 ++-- src/main/resources/fxml/main_window.fxml | 2 +- src/main/resources/fxml/vault_list.fxml | 12 ++++-------- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/main/resources/css/light_theme.css b/src/main/resources/css/light_theme.css index 3081ef2d3..5820bae7b 100644 --- a/src/main/resources/css/light_theme.css +++ b/src/main/resources/css/light_theme.css @@ -177,8 +177,8 @@ /* windows needs an explicit border: */ .main-window.os-windows { - -fx-border-color: TITLE_BG; - -fx-border-width: 1px; + -fx-border-color: CONTROL_BORDER_NORMAL; + -fx-border-width: 1px 0 0 0; } .main-window .button-bar { diff --git a/src/main/resources/fxml/main_window.fxml b/src/main/resources/fxml/main_window.fxml index cefa18e58..bb650848d 100644 --- a/src/main/resources/fxml/main_window.fxml +++ b/src/main/resources/fxml/main_window.fxml @@ -8,7 +8,7 @@ fx:id="root" fx:controller="org.cryptomator.ui.mainwindow.MainWindowController" styleClass="main-window"> - + diff --git a/src/main/resources/fxml/vault_list.fxml b/src/main/resources/fxml/vault_list.fxml index 465ef199d..b59b838a8 100644 --- a/src/main/resources/fxml/vault_list.fxml +++ b/src/main/resources/fxml/vault_list.fxml @@ -32,22 +32,18 @@ - + - - - + - + - - - +