diff --git a/Launcher/build.gradle b/Launcher/build.gradle
index 6e1553e9..1cd76ea4 100644
--- a/Launcher/build.gradle
+++ b/Launcher/build.gradle
@@ -39,7 +39,6 @@
dependencies {
pack project(':LauncherAuthlib')
bundle 'com.github.oshi:oshi-core:3.13.0'
- bundle 'com.jfoenix:jfoenix:8.0.8'
bundle 'de.jensd:fontawesomefx:8.9'
bundle 'org.apache.httpcomponents:httpclient:4.5.7'
pack 'io.netty:netty-codec-http:4.1.36.Final'
diff --git a/Launcher/runtime/dialog/dialog.js b/Launcher/runtime/dialog/dialog.js
index acd7ba4b..f1e11f91 100644
--- a/Launcher/runtime/dialog/dialog.js
+++ b/Launcher/runtime/dialog/dialog.js
@@ -255,7 +255,7 @@ function verifyLauncher(e) {
var iter = 0;
authTypes = {};
result.list.forEach(function(auth_type, i, arr) {
- var serverAuth = new com.jfoenix.controls.JFXComboBox();
+ var serverAuth = new javafx.scene.control.ComboBox();
serverAuth.getStyleClass().add("authOptions");
authOptions.getItems().add(auth_type.displayName);
authTypes[auth_type.displayName] = auth_type.name;
diff --git a/Launcher/runtime/dialog/overlay/debug/debug.fxml b/Launcher/runtime/dialog/overlay/debug/debug.fxml
index 89efbb21..9666c28e 100644
--- a/Launcher/runtime/dialog/overlay/debug/debug.fxml
+++ b/Launcher/runtime/dialog/overlay/debug/debug.fxml
@@ -1,7 +1,7 @@
-
-
+
+
@@ -16,12 +16,12 @@
-
+
-
+
-
+
diff --git a/Launcher/runtime/dialog/overlay/processing/processing.fxml b/Launcher/runtime/dialog/overlay/processing/processing.fxml
index ad85211f..fb12c25f 100644
--- a/Launcher/runtime/dialog/overlay/processing/processing.fxml
+++ b/Launcher/runtime/dialog/overlay/processing/processing.fxml
@@ -1,6 +1,6 @@
-
+
@@ -13,7 +13,7 @@
-
+
diff --git a/Launcher/runtime/dialog/overlay/settings/settings.fxml b/Launcher/runtime/dialog/overlay/settings/settings.fxml
index 90358a27..6d8f24db 100644
--- a/Launcher/runtime/dialog/overlay/settings/settings.fxml
+++ b/Launcher/runtime/dialog/overlay/settings/settings.fxml
@@ -1,8 +1,8 @@
-
-
-
+
+
+
@@ -17,21 +17,21 @@
-
+
-
+
-
+
-
-
+
+
-
+
Выделение памяти:
-
+
@@ -39,12 +39,12 @@
-
-
+
+
-
+
diff --git a/Launcher/runtime/dialog/overlay/update/update.fxml b/Launcher/runtime/dialog/overlay/update/update.fxml
index c44e8bc9..2e60fe23 100644
--- a/Launcher/runtime/dialog/overlay/update/update.fxml
+++ b/Launcher/runtime/dialog/overlay/update/update.fxml
@@ -1,6 +1,6 @@
-
+
@@ -17,7 +17,7 @@
-
+
-
+
-
+
+
-
+
+
+
diff --git a/Launcher/runtime/dialog/scenes/mainmenu/mainmenu.fxml b/Launcher/runtime/dialog/scenes/mainmenu/mainmenu.fxml
index 70e6b20c..c5dd660f 100644
--- a/Launcher/runtime/dialog/scenes/mainmenu/mainmenu.fxml
+++ b/Launcher/runtime/dialog/scenes/mainmenu/mainmenu.fxml
@@ -1,6 +1,6 @@
-
+
@@ -22,10 +22,10 @@
-
+
+
@@ -46,15 +46,15 @@
-
+
-
+
+
+
-
+
@@ -74,31 +74,31 @@
-
+
-
+
+
-
+
+
-
+
+
-
+
+
+
diff --git a/Launcher/runtime/dialog/scenes/options/options.fxml b/Launcher/runtime/dialog/scenes/options/options.fxml
index a0bb1ef0..4884c670 100644
--- a/Launcher/runtime/dialog/scenes/options/options.fxml
+++ b/Launcher/runtime/dialog/scenes/options/options.fxml
@@ -1,6 +1,6 @@
-
+
@@ -38,21 +38,21 @@
-
+
-
+
+
-
+
+
+
diff --git a/Launcher/runtime/dialog/scenes/options/options.js b/Launcher/runtime/dialog/scenes/options/options.js
index 112c8c9c..98c28232 100644
--- a/Launcher/runtime/dialog/scenes/options/options.js
+++ b/Launcher/runtime/dialog/scenes/options/options.js
@@ -83,7 +83,7 @@ var options = {
var nodelist = new java.util.ArrayList;
modlist.getChildren().forEach(function(node,i,arr) {
- if(node instanceof com.jfoenix.controls.JFXCheckBox)
+ if(node instanceof javafx.scene.control.CheckBox)
nodelist.add(node);
});
nodelist.forEach(function(node,i,arr) {
@@ -109,7 +109,7 @@ var options = {
modDescription = modFile.info;
if(modFile.subTreeLevel != null && modFile.subTreeLevel > 1)
subLevel = modFile.subTreeLevel;
- var testMod = new com.jfoenix.controls.JFXCheckBox(modName);
+ var testMod = new javafx.scene.control.CheckBox(modName);
testMod.getStyleClass().add("checkboxOpt");
if(subLevel > 1)
diff --git a/Launcher/runtime/dialog/styles.css b/Launcher/runtime/dialog/styles.css
index d26cc8e4..b2b2f356 100644
--- a/Launcher/runtime/dialog/styles.css
+++ b/Launcher/runtime/dialog/styles.css
@@ -1,3 +1,60 @@
+/*-- Without jfoenix --*/
+Button {
+ -fx-background-color: TRANSPARENT, TRANSPARENT, TRANSPARENT, TRANSPARENT;
+ -fx-background-radius: 3px;
+ -fx-background-insets: 0px;
+}
+
+CheckBox .box-container {
+ -fx-shape: "M 400 100 L 400 100 A 50 50 0 1 1 400 250 A 50 50 0 1 1 400 100 ";
+ -fx-padding: 10;
+}
+
+CheckBox .box,
+CheckBox:indeterminate .box,
+CheckBox:indeterminate:selected .box{
+ -fx-pref-width: 18;
+ -fx-pref-height: 18;
+
+ -fx-background-color: TRANSPARENT;
+ -fx-background-radius: 2;
+
+ -fx-border-color: #909090;
+ -fx-border-style: solid;
+ -fx-border-radius: 2;
+ -fx-border-width: 2;
+}
+
+CheckBox:selected .box {
+ -fx-border-color: #5fd97a;
+ -fx-background-color: #5fd97a;
+}
+
+CheckBox .mark {
+ -fx-background-color: TRANSPARENT;
+}
+
+CheckBox:selected .mark {
+ -fx-shape: "M384 690l452-452 60 60-512 512-238-238 60-60z";
+ -fx-max-width: 15;
+ -fx-max-height: 12;
+
+ -fx-background-color: WHITE;
+
+ -fx-border-color: WHITE;
+ -fx-border-width: 2;
+ -fx-border-radius: 2;
+}
+
+CheckBox .indeterminate-mark{
+ -fx-background-color: #5fd97a;
+ -fx-background-radius: 2;
+ -fx-border-width: 0;
+ -fx-max-width: 10;
+ -fx-max-height: 10;
+}
+
+
/*-- DrLeonardo Design --*/
Button, CheckBox, ComboBox, RadioButton {
-fx-cursor: hand;
@@ -313,11 +370,6 @@ .description-text {
-fx-font-size: 12px;
}
-.checkboxOpt {
- -jfx-checked-color: #5fd97a;
- -jfx-unchecked-color: #909090;
-}
-
.modname {
-fx-text-fill: #323232;
}