updated theme [ci skip]

This commit is contained in:
Tobias Hagemann
2019-08-10 10:52:07 +02:00
parent d8c3ba1e36
commit ed8af54324
3 changed files with 45 additions and 3 deletions

View File

@@ -68,6 +68,8 @@
}
.main-window .title .button {
-fx-pref-height: 30px;
-fx-pref-width: 30px;
-fx-background-color: none;
}
@@ -75,6 +77,15 @@
-fx-fill: white;
}
.main-window .title .button:focused {
-fx-background-color: white, PRIMARY_BG;
-fx-background-insets: 0, 1px;
}
.main-window .title .button:armed {
-fx-background-color: none;
}
.main-window .title .button:armed .fa-icon {
-fx-fill: CONTROL_WHITE_BG_ARMED;
}
@@ -168,6 +179,11 @@
-fx-background-color: CONTROL_BG_NORMAL;
}
.list-view:focused .list-cell:selected {
-fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_ARMED;
-fx-background-insets: 0, 1px;
}
.list-cell:selected {
-fx-background-color: CONTROL_BG_ARMED;
}
@@ -211,8 +227,13 @@
-fx-border-width: 1;
}
.toolbar-container .button:focused {
-fx-background-color: CONTROL_BORDER_FOCUSED, MAIN_BG;
-fx-background-insets: 0, 1px 2px 1px 1px;
}
.toolbar-container .button:armed {
-fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_ARMED;
-fx-background-color: CONTROL_BG_ARMED;
}
.toolbar-container .button .fa-icon {

View File

@@ -68,6 +68,8 @@
}
.main-window .title .button {
-fx-pref-height: 30px;
-fx-pref-width: 30px;
-fx-background-color: none;
}
@@ -75,6 +77,15 @@
-fx-fill: white;
}
.main-window .title .button:focused {
-fx-background-color: white, PRIMARY_BG;
-fx-background-insets: 0, 1px;
}
.main-window .title .button:armed {
-fx-background-color: none;
}
.main-window .title .button:armed .fa-icon {
-fx-fill: CONTROL_WHITE_BG_ARMED;
}
@@ -168,6 +179,11 @@
-fx-background-color: CONTROL_BG_NORMAL;
}
.list-view:focused .list-cell:selected {
-fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_ARMED;
-fx-background-insets: 0, 1px;
}
.list-cell:selected {
-fx-background-color: CONTROL_BG_ARMED;
}
@@ -211,8 +227,13 @@
-fx-border-width: 1;
}
.toolbar-container .button:focused {
-fx-background-color: CONTROL_BORDER_FOCUSED, MAIN_BG;
-fx-background-insets: 0, 1px 2px 1px 1px;
}
.toolbar-container .button:armed {
-fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_ARMED;
-fx-background-color: CONTROL_BG_ARMED;
}
.toolbar-container .button .fa-icon {

View File

@@ -14,7 +14,7 @@
xmlns:fx="http://javafx.com/fxml"
fx:controller="org.cryptomator.ui.mainwindow.MainWindowController"
styleClass="main-window">
<HBox styleClass="title" fx:id="titleBar" alignment="CENTER" minHeight="50" maxHeight="50" VBox.vgrow="NEVER" spacing="12">
<HBox styleClass="title" fx:id="titleBar" alignment="CENTER" minHeight="50" maxHeight="50" VBox.vgrow="NEVER" spacing="6">
<padding>
<Insets bottom="6" left="12" right="12" top="6"/>
</padding>