|
4 | 4 | (def style |
5 | 5 | (css/register ::style |
6 | 6 | (let [back-background-color "#2E3440" |
7 | | - status-background-color "#6183AE" |
| 7 | + status-background-color "#4C566A" |
8 | 8 | text-color "#ECEFF4" |
9 | | - border-color "#5E81AC" |
| 9 | + border-color "#4C566A" |
10 | 10 | background-color "#2E3440" |
11 | | - scroll-color "#434C5E22" |
12 | | - thumb-color "#4C566A44" |
13 | | - highlight-color "#5E81AC"] |
| 11 | + scroll-color "#434C5E00" |
| 12 | + thumb-color "#4C566A22" |
| 13 | + highlight-color "#4C566A" |
| 14 | + line-no-color "#4C566A"] |
14 | 15 | {".root" {:-fx-background-color back-background-color |
15 | 16 | :-fx-text-fill text-color |
16 | 17 | "-menu-bar" {:-fx-background-color highlight-color |
17 | 18 | :-fx-text-fill text-color |
18 | | - :-fx-padding 0 |
19 | | - :-fx-margin 0 |
| 19 | + :-fx-control-inner-background highlight-color |
20 | 20 | " .label" {:-fx-font-size 12 |
21 | 21 | :-fx-text-fill text-color} |
22 | 22 | "-item" {:-fx-text-fill text-color |
23 | 23 | :-fx-background-color highlight-color |
24 | | - :-fx-padding 0 |
25 | | - :-fx-margin 0 |
| 24 | + :-fx-control-inner-background highlight-color |
| 25 | + :-fx-border-color highlight-color |
26 | 26 | " .label" {:-fx-font-size 10 |
27 | 27 | :-fx-text-fill text-color} |
28 | 28 | "-sub-item" {:-fx-text-fill text-color |
29 | | - :-fx-padding 0 |
30 | | - :-fx-margin 0 |
31 | 29 | :-fx-background-color highlight-color |
32 | | - :-fx-control-inner-background highlight-color}}} |
| 30 | + :-fx-control-inner-background highlight-color |
| 31 | + :-fx-padding [4 4 4 4] |
| 32 | + ":hover" {:-fx-background-color background-color |
| 33 | + :-fx-background-radius 5}}}} |
33 | 34 | "-fsview" {:-fx-control-inner-background back-background-color |
34 | 35 | "-button" {:-fx-background-color back-background-color |
35 | 36 | :-fx-border-color border-color |
|
38 | 39 | :-fx-padding [4 4 4 4] |
39 | 40 | ":hover" {:-fx-background-color border-color |
40 | 41 | :-fx-background-radius 5}} |
41 | | - "> .virtual-flow" {:-fx-background-color background-color |
42 | | - :-fx-hbar-policy :as-needed |
43 | | - :-fx-vbar-policy :as-needed |
44 | | - "> .corner" {:fx-background-color scroll-color} |
45 | | - "> .scroll-bar" {":horizontal" {:-fx-background-color scroll-color |
46 | | - " .thumb" {:-fx-background-color thumb-color}} |
47 | | - ":vertical" {:-fx-background-color scroll-color |
48 | | - " .thumb" {:-fx-background-color thumb-color}}}}} |
49 | | - "-text-area" {"-status" {:-fx-background-color status-background-color |
| 42 | + "-filename-input" {:-fx-background-color back-background-color |
| 43 | + :-fx-border-color border-color |
| 44 | + :-fx-text-fill text-color |
| 45 | + :-fx-padding [4 4 4 4] |
| 46 | + :-fx-border-radius 5} |
| 47 | + "> .virtual-flow" {:-fx-background-color scroll-color |
| 48 | + :-fx-hbar-policy :as-needed |
| 49 | + :-fx-vbar-policy :as-needed |
| 50 | + "> .corner" {:fx-background-color scroll-color} |
| 51 | + "> .scroll-bar" {":horizontal" {:-fx-background-color scroll-color |
| 52 | + " .thumb" {:-fx-background-color thumb-color}} |
| 53 | + ":vertical" {:-fx-background-color scroll-color |
| 54 | + " .thumb" {:-fx-background-color thumb-color}}}}} |
| 55 | + "-text-area" {"-status" {:-fx-background-color back-background-color |
| 56 | + :-fx-border-color border-color |
| 57 | + :-fx-border-style [:hidden :hidden :solid :hidden] |
50 | 58 | :-fx-text-fill text-color |
51 | 59 | :-fx-highlight-fill status-background-color} |
52 | 60 | "-editor" {:-fx-text-fill text-color |
53 | 61 | :-fx-highlight-fill highlight-color |
54 | 62 | :-fx-background-color back-background-color |
55 | | - :-fx-border-color border-color |
| 63 | + ;:-fx-border-color border-color |
56 | 64 | " .content" {:-fx-background-color background-color} |
57 | | - " .scroll-pane" {:-fx-background-color background-color |
| 65 | + " .scroll-pane" {:-fx-background-color :transparent |
58 | 66 | :-fx-hbar-policy :as-needed |
59 | 67 | :-fx-vbar-policy :as-needed |
60 | 68 | "> .corner" {:-fx-background-color scroll-color} |
61 | | - " .scroll-bar" {":horizontal" {:-fx-background-color scroll-color |
| 69 | + " .scroll-bar" {" .decrement-button" {:-fx-opacity 0} |
| 70 | + " .increment-button" {:-fx-opacity 0} |
| 71 | + ":horizontal" {:-fx-background-color :transparent |
| 72 | + " .track" {:-fx-opacity 0} |
| 73 | + " .track-background" {:-fx-opacity 0} |
62 | 74 | " .thumb" {:-fx-background-color thumb-color}} |
63 | | - ":vertical" {:-fx-background-color scroll-color |
| 75 | + ":vertical" {:-fx-background-color :transparent |
| 76 | + " .track" {:-fx-opacity 0} |
| 77 | + " .track-background" {:-fx-opacity 0} |
64 | 78 | " .thumb" {:-fx-background-color thumb-color}}}}} |
65 | | - "-numbers" {:-fx-text-fill text-color |
| 79 | + "-numbers" {:-fx-text-fill line-no-color |
66 | 80 | :-fx-background-color background-color |
67 | | - :-fx-border-color border-color |
| 81 | + ;:-fx-border-color border-color |
| 82 | + :-fx-highlight-fill background-color |
| 83 | + " *.text" {:-fx-text-alignment :right} |
68 | 84 | " .content" {:-fx-background-color background-color} |
69 | 85 | " .scroll-pane" {:-fx-hbar-policy :never |
70 | 86 | :-fx-vbar-policy :never |
71 | | - :-fx-background-color background-color |
72 | | - :-fx-padding 10 |
73 | | - :-fx-border-insets 10 |
74 | | - :-f-background-insets 10}}}}}))) |
| 87 | + :-fx-background-color background-color}}}}}))) |
75 | 88 |
|
0 commit comments