feat: 语言切换支持、布局重写、配置读取切换为jackson-yaml

This commit is contained in:
2024-09-05 01:46:48 +08:00
parent 7599524df1
commit fecdee3664
44 changed files with 1843 additions and 887 deletions

View File

@ -0,0 +1,126 @@
@import "root.css";
/**************************************************
* Window Header
**************************************************/
#windowHeader {
.icon-button {
-fx-icon-code: fa-circle;
-fx-opacity: 0.5;
&:hover {
-fx-opacity: 1.0;
}
}
#closeIcon {
-fx-color: #fa6057;
-fx-background-color: #fa6057;
-fx-icon-color: #fa6057;
}
#minimizeIcon {
-fx-color: #fbbc2e;
-fx-background-color: #fbbc2e;
-fx-icon-color: #fbbc2e;
}
#alwaysOnTopIcon {
-fx-color: #27c940;
-fx-background-color: #27c940;
-fx-icon-color: #27c940;
&:always-on-top {
-fx-opacity: 1.0;
}
}
}
/**************************************************
* Tab label
**************************************************/
#tabPane {
.tab-header-area {
-fx-background-radius: 0 0 0 0;
-fx-background-color: transparent;
}
.headers-region {
-fx-alignment: TOP_CENTER;
-fx-background-color: #e9e9e9;
-fx-background-radius: 15;
-fx-padding: 5 0 5 0;
}
.tab-header-background {
-fx-background-color: transparent;
}
.tab {
-fx-padding: 10 20 10 20;
-fx-background-radius: 15;
-fx-background-color: transparent;
-fx-border-width: 0;
.ikonli-font-icon {
-fx-icon-color: black;
}
.tab-label {
-fx-text-alignment: CENTER;
-fx-alignment: CENTER;
}
&:selected {
-fx-background-color: #2c69e0;
.ikonli-font-icon {
-fx-icon-color: white;
}
.tab-label {
-fx-text-fill: white;
}
.focus-indicator {
-fx-border-width: 0;
-fx-border-color: transparent;
-fx-border-insets: 0;
}
}
}
.tab-label {
-fx-font-size: 15px;
}
}
/**************************************************
* Window Footer
**************************************************/
#windowFooter {
.button {
-fx-font-size: 15;
-fx-background-color: transparent;
-fx-text-alignment: CENTER;
}
#document {
-fx-text-fill: #1bc964;
}
#github {
-fx-text-fill: #1f4ca6;
}
#sponsor {
-fx-text-fill: #f22760;
}
.ikonli-font-icon {
-fx-font-size: 15;
}
}