fix style

This commit is contained in:
Timi
2026-08-12 11:07:52 +08:00
parent 8d40522be0
commit fa71f5fc21
24 changed files with 159 additions and 150 deletions
-3
View File
@@ -73,9 +73,6 @@
.text-field:focused {
-fx-background-insets: 1, 2;
}
.button:focused {
-fx-background-insets: 0;
}
.list-view:focused {
-fx-background-insets: 0, 0, 2;
}
@@ -0,0 +1,11 @@
.filled-slider .track {
-fx-padding: 0;
}
.filled-slider .progress-bar .bar {
-fx-pref-height: 6;
-fx-background-insets: 0;
}
.filled-slider .thumb,
.filled-slider:focused .thumb {
-fx-background-radius: 0;
}
@@ -1,5 +1,6 @@
.icon-button {
-fx-border-width: 1;
-fx-border-color: transparent;
-fx-background-insets: 0;
-fx-background-radius: 0;
}
@@ -1,6 +1,11 @@
.x-pagination .button,
.x-pagination .toggle-button {
.button,
.toggle-button {
-fx-padding: 0;
-fx-pref-width: 28;
-fx-pref-height: 26;
-fx-background-insets: 0 !important;
-fx-background-radius: 0 !important;
}
.toggle-button:selected {
-fx-background-color: -timi-fx-selected-color !important;
}
@@ -1,8 +0,0 @@
.progress-slider .track {
-fx-padding: 0;
}
.progress-slider .progress-bar .bar {
-fx-pref-height: 6;
-fx-background-insets: 0;
}
@@ -56,6 +56,7 @@
.slider:focused > .thumb {
-fx-background-color: -fx-shadow-highlight-color, -fx-outer-border, -fx-inner-border, -fx-body-color;
-fx-background-insets: 0 0 -1 0, 0, 1, 2;
-fx-background-radius: 0;
}
.tree-view {
-fx-padding: 0;
@@ -21,7 +21,6 @@
-fx-opacity: -timi-fx-opacity-disabled;
}
.bg-button {
-fx-border-color: -timi-fx-border-color;
-fx-background-color: -fx-body-color;
}
.bg-button:hover {