perfect-gui 4.1.1 → 4.1.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/styles.js +21 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "perfect-gui",
3
- "version": "4.1.1",
3
+ "version": "4.1.3",
4
4
  "description": "Nice and simple GUI for JavaScript",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/styles.js CHANGED
@@ -24,12 +24,32 @@ return /* css */`
24
24
  user-select: none;
25
25
  border-bottom-right-radius: 3px;
26
26
  border-bottom-left-radius: 3px;
27
+ cursor: auto;
27
28
  }
28
29
 
29
30
  .p-gui * {
30
31
  font-size: 11px;
31
32
  }
32
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
+
33
53
  .p-gui--collapsed {
34
54
  height: 0;
35
55
  padding: 21px 10px 0 10px;
@@ -315,6 +335,7 @@ return /* css */`
315
335
 
316
336
  .p-gui__folder--closed {
317
337
  height: 22px;
338
+ overflow: hidden;
318
339
  }
319
340
 
320
341
  .p-gui__folder-header {