Skip to content

Commit

Permalink
Merge pull request #50 from linnnruoo/linruo/theme
Browse files Browse the repository at this point in the history
change theme to blue style
  • Loading branch information
sylchw committed Oct 10, 2018
2 parents bacd7f8 + 1e79fc7 commit b967505
Showing 1 changed file with 45 additions and 44 deletions.
89 changes: 45 additions & 44 deletions src/main/resources/view/DarkTheme.css
@@ -1,32 +1,33 @@
/*@@author: linnnruoo*/
.background {
-fx-background-color: derive(#1d1d1d, 20%);
background-color: #383838; /* Used in the default.html file */
-fx-background-color: derive(#2c5364, 20%);
background-color: #2c5364; /* Used in the default.html file */
}

.label {
-fx-font-size: 11pt;
-fx-font-family: "Segoe UI Semibold";
-fx-font-family: "Lucida Console", sans-serif;
-fx-text-fill: #555555;
-fx-opacity: 0.9;
}

.label-bright {
-fx-font-size: 11pt;
-fx-font-family: "Segoe UI Semibold";
-fx-font-family: "Lucida Console", sans-serif;
-fx-text-fill: white;
-fx-opacity: 1;
}

.label-header {
-fx-font-size: 32pt;
-fx-font-family: "Segoe UI Light";
-fx-font-family: "Lucida Console";
-fx-text-fill: white;
-fx-opacity: 1;
}

.text-field {
-fx-font-size: 12pt;
-fx-font-family: "Segoe UI Semibold";
-fx-font-family: "Lucida Console", sans-serif;
}

.tab-pane {
Expand All @@ -40,9 +41,9 @@
}

.table-view {
-fx-base: #1d1d1d;
-fx-control-inner-background: #1d1d1d;
-fx-background-color: #1d1d1d;
-fx-base: #373b44;
-fx-control-inner-background: #373b44;
-fx-background-color: #373b44;
-fx-table-cell-border-color: transparent;
-fx-table-header-border-color: transparent;
-fx-padding: 5;
Expand All @@ -66,7 +67,7 @@

.table-view .column-header .label {
-fx-font-size: 20pt;
-fx-font-family: "Segoe UI Light";
-fx-font-family: "Lucida Console";
-fx-text-fill: white;
-fx-alignment: center-left;
-fx-opacity: 1;
Expand All @@ -77,20 +78,20 @@
}

.split-pane:horizontal .split-pane-divider {
-fx-background-color: derive(#1d1d1d, 20%);
-fx-border-color: transparent transparent transparent #4d4d4d;
-fx-background-color: #203a43
-fx-border-color: transparent transparent transparent #0f2027;
}

.split-pane {
-fx-border-radius: 1;
-fx-border-width: 1;
-fx-background-color: derive(#1d1d1d, 20%);
-fx-background-color: #203a43
}

.list-view {
-fx-background-insets: 0;
-fx-padding: 0;
-fx-background-color: derive(#1d1d1d, 20%);
-fx-background-color: #203a43
}

.list-cell {
Expand All @@ -100,15 +101,15 @@
}

.list-cell:filled:even {
-fx-background-color: #3c3e3f;
-fx-background-color: #102d3a;
}

.list-cell:filled:odd {
-fx-background-color: #515658;
-fx-background-color: #2c5766;
}

.list-cell:filled:selected {
-fx-background-color: #424d5f;
-fx-background-color: #2a637c;
}

.list-cell:filled:selected #cardPane {
Expand All @@ -121,35 +122,35 @@
}

.cell_big_label {
-fx-font-family: "Segoe UI Semibold";
-fx-font-family: "Lucida Console", sans-serif;
-fx-font-size: 16px;
-fx-text-fill: #010504;
}

.cell_small_label {
-fx-font-family: "Segoe UI";
-fx-font-family: "Lucida Console";
-fx-font-size: 13px;
-fx-text-fill: #010504;
}

.stack-pane {
-fx-background-color: derive(#1d1d1d, 20%);
-fx-background-color: derive(#0f2027, 20%);
}

.pane-with-border {
-fx-background-color: derive(#1d1d1d, 20%);
-fx-border-color: derive(#1d1d1d, 10%);
-fx-background-color: derive(#0f2027, 20%);
-fx-border-color: derive(#0f2027, 10%);
-fx-border-top-width: 1px;
}

.status-bar {
-fx-background-color: derive(#1d1d1d, 20%);
-fx-background-color: derive(#0f2027, 20%);
-fx-text-fill: black;
}

.result-display {
-fx-background-color: transparent;
-fx-font-family: "Segoe UI Light";
-fx-font-family: "Lucida Console";
-fx-font-size: 13pt;
-fx-text-fill: white;
}
Expand All @@ -159,13 +160,13 @@
}

.status-bar .label {
-fx-font-family: "Segoe UI Light";
-fx-font-family: "Lucida Console";
-fx-text-fill: white;
}

.status-bar-with-border {
-fx-background-color: derive(#1d1d1d, 30%);
-fx-border-color: derive(#1d1d1d, 25%);
-fx-background-color: derive(#0f2027, 30%);
-fx-border-color: derive(#0f2027, 25%);
-fx-border-width: 1px;
}

Expand All @@ -174,30 +175,30 @@
}

.grid-pane {
-fx-background-color: derive(#1d1d1d, 30%);
-fx-border-color: derive(#1d1d1d, 30%);
-fx-background-color: derive(#0f2027, 30%);
-fx-border-color: derive(#0f2027, 30%);
-fx-border-width: 1px;
}

.grid-pane .stack-pane {
-fx-background-color: derive(#1d1d1d, 30%);
-fx-background-color: derive(#0f2027, 30%);
}

.context-menu {
-fx-background-color: derive(#1d1d1d, 50%);
-fx-background-color: derive(#0f2027, 50%);
}

.context-menu .label {
-fx-text-fill: white;
}

.menu-bar {
-fx-background-color: derive(#1d1d1d, 20%);
-fx-background-color: derive(#0f2027, 20%);
}

.menu-bar .label {
-fx-font-size: 14pt;
-fx-font-family: "Segoe UI Light";
-fx-font-family: "Lucida Console";
-fx-text-fill: white;
-fx-opacity: 0.9;
}
Expand All @@ -216,8 +217,8 @@
-fx-border-color: #e2e2e2;
-fx-border-width: 2;
-fx-background-radius: 0;
-fx-background-color: #1d1d1d;
-fx-font-family: "Segoe UI", Helvetica, Arial, sans-serif;
-fx-background-color: #142831;
-fx-font-family: "Lucida Console", Helvetica, Arial, sans-serif;
-fx-font-size: 11pt;
-fx-text-fill: #d8d8d8;
-fx-background-insets: 0 0 0 0, 0, 1, 2;
Expand All @@ -229,7 +230,7 @@

.button:pressed, .button:default:hover:pressed {
-fx-background-color: white;
-fx-text-fill: #1d1d1d;
-fx-text-fill: #142831;
}

.button:focused {
Expand All @@ -242,7 +243,7 @@

.button:disabled, .button:default:disabled {
-fx-opacity: 0.4;
-fx-background-color: #1d1d1d;
-fx-background-color: #142831;
-fx-text-fill: white;
}

Expand All @@ -256,11 +257,11 @@
}

.dialog-pane {
-fx-background-color: #1d1d1d;
-fx-background-color: #142831;
}

.dialog-pane > *.button-bar > *.container {
-fx-background-color: #1d1d1d;
-fx-background-color: #142831;
}

.dialog-pane > *.label.content {
Expand All @@ -270,7 +271,7 @@
}

.dialog-pane:header *.header-panel {
-fx-background-color: derive(#1d1d1d, 25%);
-fx-background-color: derive(#142831, 25%);
}

.dialog-pane:header *.header-panel *.label {
Expand All @@ -281,11 +282,11 @@
}

.scroll-bar {
-fx-background-color: derive(#1d1d1d, 20%);
-fx-background-color: derive(#2c5364, 50%);
}

.scroll-bar .thumb {
-fx-background-color: derive(#1d1d1d, 50%);
-fx-background-color: derive(#54a1c2, 20%);
-fx-background-insets: 3;
}

Expand Down Expand Up @@ -322,7 +323,7 @@
-fx-border-color: #383838 #383838 #ffffff #383838;
-fx-border-insets: 0;
-fx-border-width: 1;
-fx-font-family: "Segoe UI Light";
-fx-font-family: "Lucida Console";
-fx-font-size: 13pt;
-fx-text-fill: white;
}
Expand All @@ -332,7 +333,7 @@
}

#resultDisplay .content {
-fx-background-color: transparent, #383838, transparent, #383838;
-fx-background-color: #203a43;
-fx-background-radius: 0;
}

Expand Down

0 comments on commit b967505

Please sign in to comment.