Skip to content

Commit 210e127

Browse files
authored
Fix #4950: 修复部分按钮波纹颜色错误的问题 (#4952)
1 parent 36748a3 commit 210e127

File tree

1 file changed

+2
-6
lines changed
  • HMCL/src/main/resources/assets/css

1 file changed

+2
-6
lines changed

HMCL/src/main/resources/assets/css/root.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -671,11 +671,6 @@
671671
-fx-padding: 10.0;
672672
}
673673

674-
.jfx-tool-bar-button .jfx-rippler {
675-
-jfx-rippler-fill: -monet-on-surface;
676-
-jfx-mask-type: CIRCLE;
677-
}
678-
679674
.jfx-decorator-button {
680675
-fx-max-width: 40px;
681676
-fx-background-radius: 5px;
@@ -760,7 +755,7 @@
760755
}
761756

762757
.jfx-button .jfx-rippler {
763-
-jfx-rippler-fill: -monet-on-primary;
758+
-jfx-rippler-fill: -monet-on-surface;
764759
-jfx-mask-type: CIRCLE;
765760
-fx-padding: 0.0;
766761
}
@@ -770,6 +765,7 @@
770765
}
771766

772767
.jfx-button-raised .jfx-rippler {
768+
-jfx-rippler-fill: -monet-on-primary;
773769
-jfx-mask-type: CIRCLE;
774770
-fx-padding: 0.0;
775771
}

0 commit comments

Comments
 (0)