Merge branch 'f/chatscene-commands' of git@git.kske.dev:zdm/envoy.git into f/chatscene-commands

This commit is contained in:
Leon Hofmeister 2020-10-01 09:23:51 +02:00
commit 6eb6aedf8e
Signed by: delvh
GPG Key ID: 3DECE05F6D9A647C
4 changed files with 5 additions and 11 deletions

View File

@ -32,6 +32,6 @@ public final class MessageListCell extends AbstractListCell<Message, MessageCont
private void adjustPadding(int listWidth, boolean ownMessage) { private void adjustPadding(int listWidth, boolean ownMessage) {
int padding = 10 + Math.max((listWidth - 1000) / 2, 0); int padding = 10 + Math.max((listWidth - 1000) / 2, 0);
setPadding(ownMessage ? new Insets(0, padding, 6, 0) : new Insets(0, 0, 6, padding)); setPadding(ownMessage ? new Insets(3, padding, 3, 0) : new Insets(3, 0, 3, padding));
} }
} }

View File

@ -4,8 +4,10 @@
.context-menu, .context-menu > * { .context-menu, .context-menu > * {
-fx-background-radius: 15.0px; -fx-background-radius: 15.0px;
/*TODO: solution below does not work */ }
-fx-background-color: transparent;
.list-cell:selected, .menu-item:hover {
-fx-background-color: #454c4f;
} }
#text-enter-container, #contact-search-enter-container { #text-enter-container, #contact-search-enter-container {

View File

@ -22,10 +22,6 @@
-fx-background-color: #222222; -fx-background-color: #222222;
} }
.list-cell:selected, .list-cell:selected > *, .menu-item:hover {
-fx-background-color: #690099;
}
.received-message { .received-message {
-fx-background-color: gray; -fx-background-color: gray;
} }

View File

@ -18,10 +18,6 @@
-fx-background-color: #E3E3E3; -fx-background-color: #E3E3E3;
} }
.list-cell:selected, .list-cell:selected > *, .menu-item:hover {
-fx-background-color: #805959;
}
.received-message { .received-message {
-fx-background-color: lightgray; -fx-background-color: lightgray;
} }