diff --git a/README.md b/README.md index 29a4656..5a10bb6 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ JRE/JDK 8u60 or higher. 2. `root # java -jar /path/to/application.jar` -3. Optional. Add user to 'udev' rules to use NS not-from-root-account +3. Optional: Add user to 'udev' rules. Required to use application not only from root account. ``` root # vim /etc/udev/rules.d/99-G513.rules SUBSYSTEM=="usb", ATTRS{idVendor}=="046D", ATTRS{idProduct}=="c33c", GROUP="plugdev" @@ -59,13 +59,7 @@ Want to support development? Make a donation* (see below): #### TODO -* [x] Tray support - * [ ] tray icon size checks -* [x] Configuration files support -* [x] Settings - * [x] Tray icon settings - * [ ] Autoload +* [ ] Tray support: tray icon size checks +* [ ] Autoload option in settings * [ ] Headless mode (CLI) -* [x] Fix UI - * [ ] Add opened file name to info pane -* [ ] Dark theme \ No newline at end of file +* [ ] Add opened file name to info pane \ No newline at end of file diff --git a/pom.xml b/pom.xml index fd25a21..104a0b0 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ loper LogiLedus - 1.2-SNAPSHOT + 1.3-SNAPSHOT diff --git a/src/main/java/logiledus/MainFx.java b/src/main/java/logiledus/MainFx.java index 796454e..e0833f6 100644 --- a/src/main/java/logiledus/MainFx.java +++ b/src/main/java/logiledus/MainFx.java @@ -16,7 +16,7 @@ import java.util.Locale; import java.util.ResourceBundle; public class MainFx extends Application { - public static final String appVersion = "v1.2"; + public static final String appVersion = "v1.3"; private static boolean traySupport = true; diff --git a/src/main/resources/dark.css b/src/main/resources/dark.css index a1782d1..3fe5ed6 100644 --- a/src/main/resources/dark.css +++ b/src/main/resources/dark.css @@ -312,4 +312,53 @@ -fx-background-insets: 0 0 0 0, 0, 1, 2; -fx-background-radius: 2; -fx-padding: 3.5; +} +/*-======================= Radio Button =====================-*/ +.radio-button .radio, .radio-button:selected .radio { + -fx-background-color: #4f4f4f; + -fx-background-insets: 0 0 0 0, 0, 1, 1; + -fx-background-radius: 45; + -fx-border-color: transparent; + -fx-border-radius: 45; +} + +.radio-button:hover .radio { + -fx-background-color: #4f4f4f; + -fx-background-insets: 0 0 0 0, 0, 1, 1; + -fx-background-radius: 45; + -fx-border-color: #a4ffff; + -fx-border-radius: 45; +} + +.radio-button:selected .radio, .radio-button:selected:hover .radio { + -fx-background-color: #71e016; +} +.radio-button:selected .dot, .radio-button:selected:hover .dot{ + -fx-background-color: #2d2d2d; + -fx-shape: "M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"; + -fx-scale-x: 1.2; + -fx-scale-y: 1.2; +} +/*-======================= Check Box =====================-*/ +.check-box .box, .check-box:selected .box { + -fx-background-color: #4f4f4f; + -fx-background-insets: 0 0 0 0, 0, 1, 1; + -fx-background-radius: 5; + -fx-border-color: #2d2d2d; + -fx-border-radius: 3; +} + +.check-box:hover .box { + -fx-background-color: #4f4f4f; + -fx-background-insets: 0 0 0 0, 0, 1, 1; + -fx-background-radius: 3; + -fx-border-color: #a4ffff; + -fx-border-radius: 3; +} + +.check-box:selected .box, .check-box:selected:hover .box { + -fx-background-color: #eea11e; +} +.check-box:selected .mark, .check-box:selected:hover .mark{ + -fx-background-color: #4f4f4f; } \ No newline at end of file