perfect-gui 4.1.2 → 4.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/package.json +1 -1
- package/src/styles.js +20 -0
package/README.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
# Perfect GUI
|
|
2
2
|
A nice, simple and (probably not) perfect GUI for JavaScript.
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
## API
|
|
5
|
+
[Documentation](https://thibka.github.io/perfect-gui/public/)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Features
|
|
5
9
|
- image buttons
|
|
6
10
|
- multiple panels
|
|
7
11
|
- easy positioning
|
|
@@ -10,9 +14,6 @@ Features:
|
|
|
10
14
|
|
|
11
15
|
<img src="https://raw.githubusercontent.com/thibka/thibka.github.io/master/perfect-gui/_data/capture.png" width="580"/>
|
|
12
16
|
|
|
13
|
-
## API
|
|
14
|
-
[Documentation](https://thibka.github.io/perfect-gui/public/)
|
|
15
|
-
|
|
16
17
|
## Install
|
|
17
18
|
|
|
18
19
|
```bash
|
package/package.json
CHANGED
package/src/styles.js
CHANGED
|
@@ -31,6 +31,25 @@ return /* css */`
|
|
|
31
31
|
font-size: 11px;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
.p-gui::-webkit-scrollbar,
|
|
35
|
+
.p-gui *::-webkit-scrollbar {
|
|
36
|
+
width: 10px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.p-gui::-webkit-scrollbar-track,
|
|
40
|
+
.p-gui *::-webkit-scrollbar-track {
|
|
41
|
+
background: #2f2f2f;
|
|
42
|
+
border-radius: 3px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.p-gui::-webkit-scrollbar-thumb,
|
|
46
|
+
.p-gui *::-webkit-scrollbar-thumb {
|
|
47
|
+
background: #757576;
|
|
48
|
+
border-radius: 10px;
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
border: 1px solid #2f2f2f;
|
|
51
|
+
}
|
|
52
|
+
|
|
34
53
|
.p-gui--collapsed {
|
|
35
54
|
height: 0;
|
|
36
55
|
padding: 21px 10px 0 10px;
|
|
@@ -316,6 +335,7 @@ return /* css */`
|
|
|
316
335
|
|
|
317
336
|
.p-gui__folder--closed {
|
|
318
337
|
height: 22px;
|
|
338
|
+
overflow: hidden;
|
|
319
339
|
}
|
|
320
340
|
|
|
321
341
|
.p-gui__folder-header {
|