Skip to content

Commit 3490c8c

Browse files
committed
finished working on light theme.
1 parent 771949a commit 3490c8c

41 files changed

Lines changed: 656 additions & 507 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

resources/ui/css/base.bss

374 Bytes
Binary file not shown.

resources/ui/css/base.css

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212

213213
.tab-pane > .tab-header-area > .tab-header-background {
214214
-fx-background-color: -var-tab-header-background-color;
215-
-fx-border-color: -var-split-line-color;
215+
-fx-border-color: -var-border-color;
216216
-fx-border-width: 0px 0px 1px 0px;
217217
-fx-effect: null;
218218
}
@@ -263,11 +263,11 @@
263263
-fx-border-width: 1px;
264264
-fx-border-radius: 1px;
265265
-fx-padding: 0px 0px 0px 0px;
266-
-fx-text-fill: -var-font-color;
267266
-fx-alignment: CENTER;
268267
-fx-content-display: LEFT;
269268
-fx-font-family: "Ubuntu Condensed";
270269
-fx-font-size: 14px;
270+
-fx-text-fill: -var-font-color;
271271
}
272272

273273
.button:focused {
@@ -285,6 +285,7 @@
285285
-fx-border-color: -var-border-color;
286286
-fx-background: -fx-focus-color;
287287
-fx-background-radius: 2px;
288+
-fx-text-fill: -var-font-focused-color;
288289
}
289290

290291
.button:disabled {
@@ -456,11 +457,13 @@
456457

457458
.combo-box-popup > .list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected {
458459
-fx-background: transparent;
460+
-fx-text-fill: -var-font-color;
459461
}
460462

461463
.combo-box-popup > .list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected:hover,
462464
.combo-box-popup > .list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:hover {
463465
-fx-background: -var-menu-hover-color;
466+
-fx-text-fill: -var-font-focused-hover-color;
464467
}
465468

466469
.combo-box-popup > .list-view > .placeholder > .label {
@@ -589,18 +592,19 @@
589592
-fx-text-fill: -var-font-color;
590593
}
591594

592-
.menu-bar > .container > .menu-button:hover, .menu-bar > .container > .menu-button:focused, .menu-bar > .container > .menu-button:showing {
593-
-fx-background-color: -var-menu-hover-color;
595+
.menu-bar > .container > .menu-button:showing > .label,
596+
.menu-bar > .container > .menu-button:hover > .label {
597+
-fx-text-fill: -var-font-focused-color;
594598
}
595599

596-
.menu-bar > .container > .menu-button:hover {
597-
-fx-background: red;
600+
.menu-bar > .container > .menu-button:hover,
601+
.menu-bar > .container > .menu-button:focused,
602+
.menu-bar > .container > .menu-button:showing {
598603
-fx-background-color: -var-menu-hover-color;
599-
-fx-text-fill: -fx-selection-bar-text;
600604
}
601605

602606
.menu-bar:show-mnemonics > .mnemonic-underline {
603-
-fx-stroke: -fx-text-fill;
607+
-fx-stroke: -var-font-color;
604608
}
605609

606610
/*******************************************************************************
@@ -633,8 +637,9 @@
633637
-fx-body-color: -var-menu-item-hover-color;
634638
}
635639

640+
.menu-item:showing > .label,
636641
.menu-item:focused > .label {
637-
-fx-text-fill: -var-font-focused-color;
642+
-fx-text-fill: -var-font-hover-color;
638643
}
639644

640645
.menu-item:hover > .label {
@@ -1187,6 +1192,10 @@
11871192
-fx-text-fill: -var-font-focused-color;
11881193
}
11891194

1195+
.list-view:focused > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected {
1196+
-fx-text-fill: -var-font-focused-color;
1197+
}
1198+
11901199
.list-view:focused > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:focused:selected:hover {
11911200
-fx-background-color: -var-tree-cell-selected-color;
11921201
-fx-background-insets: 0;
@@ -1199,6 +1208,11 @@
11991208
-fx-text-fill: -var-font-focused-color;
12001209
}
12011210

1211+
.list-cell:filled:selected:focused > .hbox > .label,
1212+
.list-cell:filled:selected > .hbox > .label {
1213+
-fx-text-fill: -var-font-focused-color;
1214+
}
1215+
12021216
.list-cell:filled:selected:focused:disabled,
12031217
.list-cell:filled:selected:disabled {
12041218
-fx-opacity: -var-disabled-opacity;
@@ -1351,6 +1365,11 @@
13511365
-fx-text-fill: -var-font-hover-color;
13521366
}
13531367

1368+
.tree-cell:filled:selected:focused > .hbox > .label,
1369+
.tree-cell:filled:selected > .hbox > .label {
1370+
-fx-text-fill: -var-font-focused-color;
1371+
}
1372+
13541373
.tree-cell:filled:hover > .tree-disclosure-node > .arrow,
13551374
.tree-table-row-cell:filled:hover > .tree-disclosure-node > .arrow {
13561375
-fx-background-color: -var-arrow-hover-color;
300 Bytes
Binary file not shown.

resources/ui/css/custom_classes.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,3 +1135,28 @@
11351135
.create-terrain-dialog > .vbox > .grid-pane {
11361136
-fx-vgap: 2px;
11371137
}
1138+
1139+
/*******************************************************************************
1140+
* *
1141+
* Abstract Resource Property Control *
1142+
* *
1143+
******************************************************************************/
1144+
1145+
.abstract-resource-property-control {
1146+
1147+
}
1148+
1149+
.abstract-resource-property-control > .hbox {
1150+
-fx-padding: 0px 0px 0px 4px;
1151+
}
1152+
1153+
/*******************************************************************************
1154+
* *
1155+
* Abstract Param Editor Control *
1156+
* *
1157+
******************************************************************************/
1158+
1159+
.abstract-param-editor-control {
1160+
-fx-padding: 1px 0px 1px 0px;
1161+
-fx-spacing: 2px;
1162+
}

resources/ui/css/dark-color.bss

44 Bytes
Binary file not shown.

resources/ui/css/dark-color.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@
99
-var-button-hover-color: red;
1010
-var-button-arm-color: blue;
1111

12-
-var-menu-bar-background-color: #2f343f;
13-
-var-menu-hover-color: -fx-focus-color;
14-
-var-menu-item-hover-color: derive(-var-menu-background-color, 50%);
15-
-var-menu-arrow-color: derive(-var-menu-background-color, 100%);
16-
1712
-var-arrow-color: derive(-var-background-color, 150%);
1813
-var-arrow-focused-color: derive(-var-background-color, 230%);
1914
-var-arrow-hover-color: derive(-var-background-color, 300%);
2015

16+
-var-menu-bar-background-color: #2f343f;
17+
-var-menu-hover-color: -fx-focus-color;
18+
-var-menu-item-hover-color: derive(-var-menu-background-color, 50%);
19+
-var-menu-arrow-color: -var-arrow-color;
20+
2121
-var-font-color: white;
2222
-var-font-focused-color: white;
2323
-var-font-hover-color: white;
24+
-var-font-focused-hover-color: white;
2425

2526
-var-split-line-color: #2b2e39;
2627

resources/ui/css/light-color.bss

-5.59 KB
Binary file not shown.

0 commit comments

Comments
 (0)