浏览代码

further CSS fixes (TODO glyph-icon classes are misused frequently to simply set a fill...)

Sebastian Stenzel 3 年之前
父节点
当前提交
b5fcfec4a4
共有 2 个文件被更改,包括 10 次插入0 次删除
  1. 5 0
      src/main/resources/css/dark_theme.css
  2. 5 0
      src/main/resources/css/light_theme.css

+ 5 - 0
src/main/resources/css/dark_theme.css

@@ -127,30 +127,35 @@
 	-fx-fill: TEXT_FILL;
 }
 
+.glyph-icon-primary,
 .glyph-icon.glyph-icon-primary,
 .list-cell .glyph-icon.glyph-icon-primary,
 .list-cell:selected .glyph-icon.glyph-icon-primary {
 	-fx-fill: PRIMARY;
 }
 
+.glyph-icon-muted,
 .glyph-icon.glyph-icon-muted,
 .list-cell .glyph-icon.glyph-icon-muted,
 .list-cell:selected .glyph-icon.glyph-icon-muted {
 	-fx-fill: TEXT_FILL_MUTED;
 }
 
+.glyph-icon-white,
 .glyph-icon.glyph-icon-white,
 .list-cell .glyph-icon.glyph-icon-white,
 .list-cell:selected .glyph-icon.glyph-icon-white {
 	-fx-fill: white;
 }
 
+.glyph-icon-red,
 .glyph-icon.glyph-icon-red,
 .list-cell .glyph-icon.glyph-icon-red,
 .list-cell:selected .glyph-icon.glyph-icon-red {
 	-fx-fill: RED_5;
 }
 
+.glyph-icon-orange,
 .glyph-icon.glyph-icon-orange,
 .list-cell .glyph-icon.glyph-icon-orange,
 .list-cell:selected .glyph-icon.glyph-icon-orange {

+ 5 - 0
src/main/resources/css/light_theme.css

@@ -127,30 +127,35 @@
 	-fx-fill: TEXT_FILL;
 }
 
+.glyph-icon-primary,
 .glyph-icon.glyph-icon-primary,
 .list-cell .glyph-icon.glyph-icon-primary,
 .list-cell:selected .glyph-icon.glyph-icon-primary {
 	-fx-fill: PRIMARY;
 }
 
+.glyph-icon-muted,
 .glyph-icon.glyph-icon-muted,
 .list-cell .glyph-icon.glyph-icon-muted,
 .list-cell:selected .glyph-icon.glyph-icon-muted {
 	-fx-fill: TEXT_FILL_MUTED;
 }
 
+.glyph-icon-white,
 .glyph-icon.glyph-icon-white,
 .list-cell .glyph-icon.glyph-icon-white,
 .list-cell:selected .glyph-icon.glyph-icon-white {
 	-fx-fill: white;
 }
 
+.glyph-icon-red,
 .glyph-icon.glyph-icon-red,
 .list-cell .glyph-icon.glyph-icon-red,
 .list-cell:selected .glyph-icon.glyph-icon-red {
 	-fx-fill: RED_5;
 }
 
+.glyph-icon-orange,
 .glyph-icon.glyph-icon-orange,
 .list-cell .glyph-icon.glyph-icon-orange,
 .list-cell:selected .glyph-icon.glyph-icon-orange {