mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-21 04:01:27 +00:00
starting with blank css
This commit is contained in:
@@ -18,6 +18,7 @@ public interface FxApplicationComponent {
|
||||
default void start() {
|
||||
Platform.startup(() -> {
|
||||
assert Platform.isFxApplicationThread();
|
||||
Application.setUserAgentStylesheet(getClass().getResource("/css/theme.css").toString());
|
||||
application().start();
|
||||
});
|
||||
}
|
||||
|
||||
34
main/ui/src/main/resources/css/theme.css
Normal file
34
main/ui/src/main/resources/css/theme.css
Normal file
@@ -0,0 +1,34 @@
|
||||
/*******************************************************************************
|
||||
* *
|
||||
* COLORS *
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
.root {
|
||||
WHITE: #FFF;
|
||||
PRIMARY_BG: #79B01A;
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
* *
|
||||
* Main Window *
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
.main-window .title {
|
||||
-fx-background-color: PRIMARY_BG;
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
* *
|
||||
* Tooltip *
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
.tooltip {
|
||||
-fx-background-color: WHITE;
|
||||
-fx-padding: 0.2em 0.4em 0.2em 0.4em;
|
||||
-fx-font-size: 0.8em;
|
||||
}
|
||||
Reference in New Issue
Block a user