Update dark theme

master
Dmitry Isaenko 2019-10-24 01:28:00 +03:00
parent 7200400677
commit b300a80c83
3 changed files with 12 additions and 10 deletions

View File

@ -6,7 +6,7 @@
<groupId>loper</groupId> <groupId>loper</groupId>
<artifactId>LogiLedus</artifactId> <artifactId>LogiLedus</artifactId>
<version>1.1-SNAPSHOT</version> <version>1.2-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.1"; public static final String appVersion = "v1.2";
private static boolean traySupport = true; private static boolean traySupport = true;

View File

@ -9,7 +9,7 @@
.button SVGPath{ .button SVGPath{
-fx-fill: #ebebeb; -fx-fill: #ebebeb;
} }
.button, .toggle-button, .menu-button { .button, .toggle-button, .menu-button, .color-picker {
-fx-background-color: #3c3f41; -fx-background-color: #3c3f41;
-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;
@ -19,7 +19,7 @@
-fx-text-fill: #ebebeb; -fx-text-fill: #ebebeb;
//-fx-effect: dropshadow(three-pass-box, #dadada, 2, 0, 0, 0); //-fx-effect: dropshadow(three-pass-box, #dadada, 2, 0, 0, 0);
} }
.menu-button:hover, .button:hover, .choice-box:hover, .menu-button:focused:hover, .button:focused:hover, .choice-box:focused:hover, .toggle-button:hover, .toggle-button:focused:hover{ .menu-button:hover, .button:hover, .choice-box:hover, .menu-button:focused:hover, .button:focused:hover, .choice-box:focused:hover, .toggle-button:hover, .toggle-button:focused:hover, .color-picker:hover {
-fx-background-color: #3c3f41; -fx-background-color: #3c3f41;
-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;
@ -29,7 +29,7 @@
-fx-text-fill: #ebebeb; -fx-text-fill: #ebebeb;
//-fx-effect: dropshadow(three-pass-box, #4a81dd, 2, 0, 0, 0); //-fx-effect: dropshadow(three-pass-box, #4a81dd, 2, 0, 0, 0);
} }
.menu-button:focused, .button:focused, .choice-box:focused, .toggle-button:focused{ .menu-button:focused, .button:focused, .choice-box:focused, .toggle-button:focused, .color-picker:focused {
-fx-background-color: #4b4e51; -fx-background-color: #4b4e51;
-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;
@ -40,7 +40,9 @@
//-fx-effect: dropshadow(three-pass-box, #dadada, 2, 0, 0, 0); //-fx-effect: dropshadow(three-pass-box, #dadada, 2, 0, 0, 0);
} }
.menu-button:pressed, .button:pressed, .menu-button:pressed:hover, .button:pressed:hover, .toggle-button:pressed, .toggle-button:pressed:hover{ .menu-button:pressed, .button:pressed, .menu-button:pressed:hover, .button:pressed:hover,
.toggle-button:pressed, .toggle-button:pressed:hover,
.color-picker:pressed, .color-picker:pressed:hover{
-fx-background-color: #3c3f41; -fx-background-color: #3c3f41;
-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;
@ -169,7 +171,7 @@
} }
*/ */
/* -======================== Choice box =========================- */ /* -======================== Choice box =========================- */
.choice-box { .choice-box{
-fx-background-color: #3c3f41; -fx-background-color: #3c3f41;
-fx-border-color: #3c3f41; -fx-border-color: #3c3f41;
-fx-border-radius: 3; -fx-border-radius: 3;
@ -181,7 +183,7 @@
-fx-text-fill: #ebebeb; -fx-text-fill: #ebebeb;
} }
.choice-box:pressed, .choice-box:pressed:hover{ .choice-box:pressed, .choice-box:pressed:hover {
-fx-background-color: #3c3f41; -fx-background-color: #3c3f41;
-fx-border-color: #eea11e; -fx-border-color: #eea11e;
-fx-border-radius: 3; -fx-border-radius: 3;
@ -246,11 +248,11 @@
-fx-padding: 10; -fx-padding: 10;
} }
/* -========================== Context menu =====================- */ /* -========================== Context menu =====================- */
.menu-button .label { .menu-button .label, .color-picker .label {
-fx-text-fill: #ebebeb; -fx-text-fill: #ebebeb;
} }
.menu-button .arrow { .menu-button .arrow, .color-picker .arrow {
-fx-background-color: #ebebeb; -fx-background-color: #ebebeb;
} }