perfect-gui 4.1.2 → 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 +20 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "perfect-gui",
3
- "version": "4.1.2",
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
@@ -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 {