Readme fix; Dark theme update: cute radio-buttons and check-boxes.

This commit is contained in:
Dmitry Isaenko 2020-01-27 18:28:26 +03:00
parent 5c22730c57
commit 78bf536900
4 changed files with 55 additions and 12 deletions

View file

@ -31,7 +31,7 @@ JRE/JDK 8u60 or higher.
2. `root # java -jar /path/to/application.jar` 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 root # vim /etc/udev/rules.d/99-G513.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="046D", ATTRS{idProduct}=="c33c", GROUP="plugdev" SUBSYSTEM=="usb", ATTRS{idVendor}=="046D", ATTRS{idProduct}=="c33c", GROUP="plugdev"
@ -59,13 +59,7 @@ Want to support development? Make a donation* (see below):
#### TODO #### TODO
* [x] Tray support * [ ] Tray support: tray icon size checks
* [ ] tray icon size checks * [ ] Autoload option in settings
* [x] Configuration files support
* [x] Settings
* [x] Tray icon settings
* [ ] Autoload
* [ ] Headless mode (CLI) * [ ] Headless mode (CLI)
* [x] Fix UI * [ ] Add opened file name to info pane
* [ ] Add opened file name to info pane
* [ ] Dark theme

View file

@ -6,7 +6,7 @@
<groupId>loper</groupId> <groupId>loper</groupId>
<artifactId>LogiLedus</artifactId> <artifactId>LogiLedus</artifactId>
<version>1.2-SNAPSHOT</version> <version>1.3-SNAPSHOT</version>
<!-- <url></url> --> <!-- <url></url> -->
<description> <description>

View file

@ -16,7 +16,7 @@ import java.util.Locale;
import java.util.ResourceBundle; import java.util.ResourceBundle;
public class MainFx extends Application { public class MainFx extends Application {
public static final String appVersion = "v1.2"; public static final String appVersion = "v1.3";
private static boolean traySupport = true; private static boolean traySupport = true;

View file

@ -312,4 +312,53 @@
-fx-background-insets: 0 0 0 0, 0, 1, 2; -fx-background-insets: 0 0 0 0, 0, 1, 2;
-fx-background-radius: 2; -fx-background-radius: 2;
-fx-padding: 3.5; -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;
} }