瀏覽代碼

sharper gradient stops on hi-res displays
[ci skip]

Sebastian Stenzel 6 年之前
父節點
當前提交
2a69740559
共有 1 個文件被更改,包括 8 次插入6 次删除
  1. 8 6
      main/ui/src/main/resources/css/theme.css

+ 8 - 6
main/ui/src/main/resources/css/theme.css

@@ -50,12 +50,14 @@
 
 .main-window .resizer {
 	-fx-background-color: linear-gradient(to bottom right,
-		GRAY_LIGHT_BG 40%,
-		CONTROL_BORDER_NORMAL 50%,
-		GRAY_LIGHT_BG 60%,
-		CONTROL_BORDER_NORMAL 70%,
-		GRAY_LIGHT_BG 80%,
-		CONTROL_BORDER_NORMAL 90%
+		transparent 50%,
+		CONTROL_BORDER_NORMAL 51%,
+		CONTROL_BORDER_NORMAL 60%,
+		transparent 61%,
+		transparent 70%,
+		CONTROL_BORDER_NORMAL 71%,
+		CONTROL_BORDER_NORMAL 80%,
+		transparent 81%
 	);
 	-fx-cursor: nw_resize;
 }