forked from TheCyaniteProject/exit_code_java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.css
More file actions
149 lines (116 loc) · 3.74 KB
/
Copy pathconfig.css
File metadata and controls
149 lines (116 loc) · 3.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
.text-area, .text-area .viewport, .text-area .content {
-fx-background-color: transparent ;
-fx-border-color: transparent ;
}
.text-area > .scroll-pane {-fx-vbar-policy: never ; /* Toggle visability of the virtical scrollbar (always,needed,never) */} /* */
/** ----------------------------- **/
/** CSS **/
/* The main scrollbar CSS class of ListView */
.text-area .scroll-bar:horizontal ,
.text-area .scroll-bar:vertical{
-fx-background-color:transparent;
}
/* The increment and decrement button CSS class of scrollbar */
.text-area .increment-button ,.text-area .decrement-button {
-fx-background-color:transparent;
-fx-background-radius: 2em;
}
/** This is soposed to be to remove the arrows from the scroll bar **
.text-area .scroll-bar .increment-arrow,
.text-area .scroll-bar .decrement-arrow,
{
-fx-shape: null;
-fx-padding:0;
}/* */
/* The main scrollbar **track** CSS class */
.text-area .scroll-bar:horizontal .track,
.text-area .scroll-bar:vertical .track{
-fx-background-color: transparent;
-fx-border-color:derive(gray,80%);
-fx-background-radius: 2em;
-fx-border-radius:2em;
}
/* The main scrollbar **thumb** CSS class which we drag every time (movable) */
.text-area .scroll-bar:horizontal .thumb,
.text-area .scroll-bar:vertical .thumb {
-fx-background-color:derive(black,90%);
-fx-background-insets: 2, 0, 0;
-fx-background-radius: 2em;
}
/* ------------------------------------------------------------------------------------- */
/** EVENT CSS **/
/* ------------------------------------------------------------------------------------- */
/* The main scrollbar **track** CSS class on event of "hover" and "pressed" */
.text-area .scroll-bar:horizontal:hover .track ,
.text-area .scroll-bar:horizontal:pressed .track ,
.text-area .scroll-bar:vertical:hover .track,
.text-area .scroll-bar:vertical:pressed .track{
-fx-background-color:transparent;
-fx-opacity: 0.2;
-fx-background-radius: 0em;
}
/* The main scrollbar **thumb** CSS class on event of "hover" and "pressed" */
.text-area .scroll-bar .thumb:hover,
.text-area .scroll-bar .thumb:pressed{
-fx-background-color: derive(black,50%);
}
.text-area .increment-button:hover ,.text-area .decrement-button:hover {
-fx-background-color:derive(transparent,100%);
-fx-border-color:derive(transparent,80%);
-fx-padding:10px;
}
.button{
-fx-border-color: transparent;
-fx-border-width: 0;
-fx-background-radius: 0;
-fx-background-color: transparent;
-fx-font-family:"Segoe UI", Helvetica, Arial, sans-serif;
-fx-font-size: 1em; /* 12 */
-fx-text-fill: white;
}
.button:focused {
-fx-border-color: rgb(0, 0, 0, 0.6);
-fx-border-width: 0;
-fx-background-radius: 0;
}
.button:hover {
-fx-background-color: rgb(0, 0, 0, 0.3);
-fx-text-fill: rgb(200, 200, 200);
-fx-border-width: 0;
-fx-background-radius: 0;
}
.button:pressed {
-fx-background-color: rgb(0, 0, 0, 0.6);
-fx-border-width: 0;
-fx-background-radius: 0;
-fx-text-fill: white;
}
.toggle-button{
-fx-border-color: transparent;
-fx-background-color: transparent;
-fx-border-width: 0;
-fx-background-radius: 0;
-fx-font-family:"Segoe UI", Helvetica, Arial, sans-serif;
-fx-font-size: 1em; /* 12 */
-fx-text-fill: white;
}
.toggle-button:selected {
-fx-border-color: transparent;
-fx-background-color: rgb(0, 0, 0, 0.6);
-fx-border-width: 0;
-fx-background-radius: 0;
-fx-text-fill: white;
}
.toggle-button:hover {
-fx-background-color: rgb(0, 0, 0, 0.3);
-fx-text-fill: rgb(200, 200, 200);
-fx-border-width: 0;
-fx-background-radius: 0;
}
.toggle-button:pressed {
-fx-background-color: rgb(0, 0, 0, 0.6);
-fx-text-fill: rgb(200, 200, 200);
-fx-border-width: 0;
-fx-background-radius: 0;
-fx-text-fill: white;
}