diff --git a/src/main/java/org/cryptomator/ui/eventview/EventListCellController.java b/src/main/java/org/cryptomator/ui/eventview/EventListCellController.java index 9d4085126..56ed4b0d7 100644 --- a/src/main/java/org/cryptomator/ui/eventview/EventListCellController.java +++ b/src/main/java/org/cryptomator/ui/eventview/EventListCellController.java @@ -147,7 +147,7 @@ public class EventListCellController implements FxController { private void addAction(String localizationKey, Runnable action) { var entry = new MenuItem(resourceBundle.getString(localizationKey)); - entry.getStyleClass().addLast("add-vault-menu-item"); + entry.getStyleClass().addLast("dropdown-button-context-menu-item"); entry.setOnAction(_ -> action.run()); eventActionsMenu.getItems().addLast(entry); } diff --git a/src/main/resources/css/light_theme.css b/src/main/resources/css/light_theme.css index 85d02ccab..f2c14f47d 100644 --- a/src/main/resources/css/light_theme.css +++ b/src/main/resources/css/light_theme.css @@ -299,15 +299,6 @@ * * ******************************************************************************/ -.event-window .list-view .list-cell:hover { - -fx-background-color: CONTROL_BG_SELECTED; -} - -.event-window .list-view .list-cell:selected { - -fx-background-color: PRIMARY, CONTROL_BG_SELECTED; - -fx-background-insets: 0, 0 0 0 3px; -} - .list-view { -fx-background-color: CONTROL_BG_NORMAL; } @@ -358,6 +349,21 @@ -fx-fill: transparent; } +/******************************************************************************* + * * + * Event List * + * * + ******************************************************************************/ + +.event-window .list-view .list-cell:hover { + -fx-background-color: CONTROL_BG_SELECTED; +} + +.event-window .list-view .list-cell:selected { + -fx-background-color: PRIMARY, CONTROL_BG_SELECTED; + -fx-background-insets: 0, 0 0 0 3px; +} + /******************************************************************************* * * * NotificationBar * @@ -833,11 +839,11 @@ /******************************************************************************* * * - * Add Vault - MenuItem * + * Dropdown button context menu * * ******************************************************************************/ -.add-vault-menu-item { +.dropdown-button-context-menu-item { -fx-padding: 4px 8px; } diff --git a/src/main/resources/fxml/vault_list.fxml b/src/main/resources/fxml/vault_list.fxml index 2a82a514f..37264aef8 100644 --- a/src/main/resources/fxml/vault_list.fxml +++ b/src/main/resources/fxml/vault_list.fxml @@ -58,12 +58,12 @@ - + - +