ehscan-react-components 0.1.16 → 0.1.17
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 +1 -5
- package/dist/style/window.css +16 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -65,8 +65,6 @@
|
|
|
65
65
|
| `--btn-radius-trash` | trashBtn | `4px` |
|
|
66
66
|
| `--btn-bg-trash` | trashBtn | `lightgray` |
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
68
|
# Window
|
|
71
69
|
|
|
72
70
|
## styling
|
|
@@ -77,7 +75,7 @@
|
|
|
77
75
|
| `--ext-window-width` | `400px` | Window default width |
|
|
78
76
|
| `--ext-window-min-height` | `300px` | Window minimum height |
|
|
79
77
|
| `--ext-window-border-radius` | `12px` | Window border radius |
|
|
80
|
-
| `--ext-window-shadow` | `rgba(50,50,93,0.25) ...`
|
|
78
|
+
| `--ext-window-shadow` | `rgba(50,50,93,0.25) ...` | Box shadow for window |
|
|
81
79
|
| `--ext-window-opacity` | `0` | Initial opacity (used for fade-in) |
|
|
82
80
|
| `--ext-window-transition` | `opacity 0.4s ease-in-out` | Fade transition |
|
|
83
81
|
| `--ext-window-header-bck-color` | `var(--ext-window-bck-color)` | Header background color |
|
|
@@ -89,8 +87,6 @@
|
|
|
89
87
|
| `--ext-window-scrollbar-thumb-hover` | `#555` | Scrollbar thumb color on hover |
|
|
90
88
|
| `--ext-window-resize-bck` | `darkgreen` | Resize handle background |
|
|
91
89
|
|
|
92
|
-
|
|
93
|
-
|
|
94
90
|
----
|
|
95
91
|
# Changelog
|
|
96
92
|
|
package/dist/style/window.css
CHANGED
|
@@ -26,15 +26,9 @@
|
|
|
26
26
|
/* Header */
|
|
27
27
|
.ext-window-header {
|
|
28
28
|
--ext-window-header-bck-color: var(--ext-window-bck-color, white);
|
|
29
|
-
padding: 0 10px;
|
|
30
29
|
border-radius: var(--ext-window-border-radius, 12px) var(--ext-window-border-radius, 12px) 0 0;
|
|
31
30
|
background-color: var(--ext-window-header-bck-color);
|
|
32
|
-
|
|
33
|
-
align-items: center;
|
|
34
|
-
justify-content: center;
|
|
35
|
-
gap: 10px;
|
|
36
|
-
height: 50px;
|
|
37
|
-
user-select: none;
|
|
31
|
+
height: var(--ext-window-header-height, 50px);
|
|
38
32
|
cursor: pointer;
|
|
39
33
|
}
|
|
40
34
|
|
|
@@ -68,12 +62,8 @@
|
|
|
68
62
|
/* Footer */
|
|
69
63
|
.ext-window-footer {
|
|
70
64
|
background-color: var(--ext-window-footer-bck, transparent);
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
align-items: center;
|
|
74
|
-
justify-content: flex-end;
|
|
75
|
-
gap: 10px;
|
|
76
|
-
padding: 0 10px;
|
|
65
|
+
height: var(--ext-window-footer-height, 50px);
|
|
66
|
+
|
|
77
67
|
}
|
|
78
68
|
|
|
79
69
|
/* Scrollbars for WebKit */
|
|
@@ -97,12 +87,17 @@
|
|
|
97
87
|
|
|
98
88
|
/* Resize handle */
|
|
99
89
|
.resize-handle {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
90
|
+
width: 7px;
|
|
91
|
+
height: 120px;
|
|
92
|
+
position: absolute;
|
|
93
|
+
top: 50%;
|
|
94
|
+
right: 0;
|
|
95
|
+
transform: translateY(-50%);
|
|
96
|
+
cursor: e-resize;
|
|
97
|
+
background-color: transparent;
|
|
98
|
+
border-radius: 22px 0 0 22px;
|
|
108
99
|
}
|
|
100
|
+
|
|
101
|
+
.resize-handle:hover {
|
|
102
|
+
background: var(--ext-window-resize-bck, darkgrey);
|
|
103
|
+
}
|