@asup/context-menu 1.3.10 → 1.3.12

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.
@@ -0,0 +1,230 @@
1
+ .aiw-ContextMenu-module-WinFxq-anchor {
2
+ -webkit-font-smoothing: antialiased;
3
+ -moz-osx-font-smoothing: grayscale;
4
+ font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
5
+ font-size: 9pt;
6
+ position: absolute;
7
+ top: 0;
8
+ left: 0;
9
+ }
10
+
11
+ .aiw-ContextMenu-module-WinFxq-contextMenuHandler {
12
+ width: fit-content;
13
+ height: fit-content;
14
+ }
15
+
16
+ .aiw-ContextMenu-module-WinFxq-contextMenu {
17
+ opacity: 1;
18
+ z-index: 10000;
19
+ background-color: #fbfdf6;
20
+ border: 1px solid #111418;
21
+ transition: opacity .3s linear;
22
+ position: absolute;
23
+ box-shadow: 4px 4px 4px #404040bf;
24
+ }
25
+
26
+ .aiw-ContextMenu-module-WinFxq-contextMenu.aiw-ContextMenu-module-WinFxq-hidden {
27
+ opacity: 0;
28
+ }
29
+
30
+ .aiw-ContextMenu-module-WinFxq-contextMenu.aiw-ContextMenu-module-WinFxq-visible {
31
+ opacity: 1;
32
+ }
33
+
34
+ .aiw-ContextMenu-module-WinFxq-contextMenuItem {
35
+ color: #111418;
36
+ cursor: pointer;
37
+ white-space: nowrap;
38
+ flex-direction: row;
39
+ justify-content: space-between;
40
+ min-width: 80px;
41
+ padding: 0 4px;
42
+ display: flex;
43
+ position: relative;
44
+ }
45
+
46
+ .aiw-ContextMenu-module-WinFxq-contextMenuItem.aiw-ContextMenu-module-WinFxq-disabled {
47
+ cursor: not-allowed;
48
+ background-color: #0003;
49
+ }
50
+
51
+ .aiw-ContextMenu-module-WinFxq-contextMenuItem:first-child {
52
+ padding-top: 4px;
53
+ }
54
+
55
+ .aiw-ContextMenu-module-WinFxq-contextMenuItem:last-child {
56
+ padding-bottom: 4px;
57
+ }
58
+
59
+ .aiw-ContextMenu-module-WinFxq-contextMenuItem:not(.aiw-ContextMenu-module-WinFxq-disabled):hover {
60
+ background-color: #fbe9e6;
61
+ }
62
+
63
+ .aiw-ContextMenu-module-WinFxq-contextMenuItem .aiw-ContextMenu-module-WinFxq-caretHolder {
64
+ align-self: flex-end;
65
+ }
66
+
67
+ .aiw-ContextMenu-module-WinFxq-contextMenuItem .aiw-ContextMenu-module-WinFxq-caretHolder .aiw-ContextMenu-module-WinFxq-subMenu {
68
+ z-index: 1;
69
+ position: relative;
70
+ }
71
+
72
+ .aiw-ContextMenu-module-WinFxq-contextMenuItemLabel {
73
+ flex-grow: 1;
74
+ height: 19px;
75
+ }
76
+
77
+ .aiw-LowMenu-module-JfzGeq-lowMenu {
78
+ z-index: 2;
79
+ margin: 0;
80
+ transition: opacity .3s linear;
81
+ position: absolute;
82
+ }
83
+
84
+ .aiw-LowMenu-module-JfzGeq-lowMenuButtonHolder {
85
+ background-color: #111418;
86
+ border: 2px solid #111418;
87
+ border-top-right-radius: 4px;
88
+ border-bottom-right-radius: 4px;
89
+ border-bottom-left-radius: 4px;
90
+ flex-flow: wrap;
91
+ gap: 2px;
92
+ width: fit-content;
93
+ display: flex;
94
+ box-shadow: 2px 2px 2px #40404080;
95
+ }
96
+
97
+ .aiw-LowMenu-module-JfzGeq-lowMenu.aiw-LowMenu-module-JfzGeq-hidden {
98
+ opacity: 0;
99
+ }
100
+
101
+ .aiw-LowMenu-module-JfzGeq-lowMenu.aiw-LowMenu-module-JfzGeq-visible, .aiw-LowMenu-module-JfzGeq-lowMenu:hover {
102
+ opacity: 1;
103
+ }
104
+
105
+ .aiw-LowMenu-module-JfzGeq-lowMenuItem {
106
+ color: #111418;
107
+ cursor: pointer;
108
+ white-space: nowrap;
109
+ background-color: #fbfdf6;
110
+ border: 0;
111
+ flex-direction: row;
112
+ justify-content: space-between;
113
+ padding: 0 4px;
114
+ display: flex;
115
+ position: relative;
116
+ }
117
+
118
+ .aiw-LowMenu-module-JfzGeq-lowMenuItem.aiw-LowMenu-module-JfzGeq-disabled {
119
+ cursor: not-allowed;
120
+ background-color: #c8c8c8;
121
+ }
122
+
123
+ .aiw-LowMenu-module-JfzGeq-lowMenuItem:not(.aiw-LowMenu-module-JfzGeq-disabled):hover {
124
+ background-color: #fbe9e6;
125
+ }
126
+
127
+ .aiw-LowMenu-module-JfzGeq-lowMenu-item .aiw-LowMenu-module-JfzGeq-caretHolder {
128
+ align-self: flex-end;
129
+ }
130
+
131
+ .aiw-LowMenu-module-JfzGeq-lowMenuItem .aiw-LowMenu-module-JfzGeq-caretHolder .aiw-LowMenu-module-JfzGeq-subMenu {
132
+ z-index: 1;
133
+ position: relative;
134
+ }
135
+
136
+ .aiw-ContextWindow-module-RIIF9a-contextWindowAnchor {
137
+ position: relative;
138
+ }
139
+
140
+ .aiw-ContextWindow-module-RIIF9a-contextWindow {
141
+ z-index: 2001;
142
+ resize: both;
143
+ background-color: #fafafa;
144
+ border: 1px solid #000;
145
+ border-top-left-radius: 8px;
146
+ border-top-right-radius: 8px;
147
+ border-bottom-left-radius: 8px;
148
+ justify-content: flex-start;
149
+ max-width: 95vw;
150
+ max-height: 95vh;
151
+ margin: 0;
152
+ padding: 4px;
153
+ transition: opacity .25s linear;
154
+ position: absolute;
155
+ overflow: auto;
156
+ box-shadow: 6px 6px 6px #40404080;
157
+ }
158
+
159
+ .aiw-ContextWindow-module-RIIF9a-contextWindowTitle {
160
+ box-sizing: unset;
161
+ cursor: grab;
162
+ border-bottom: 1px dashed #000;
163
+ flex-direction: row;
164
+ align-items: center;
165
+ width: calc(100% - 8px);
166
+ height: 24px;
167
+ max-height: 24px;
168
+ margin: 0 4px 3px;
169
+ padding-bottom: 4px;
170
+ font-size: 18px;
171
+ font-weight: 600;
172
+ line-height: 24px;
173
+ display: flex;
174
+ }
175
+
176
+ .aiw-ContextWindow-module-RIIF9a-contextWindowTitle.aiw-ContextWindow-module-RIIF9a-moving {
177
+ cursor: grabbing;
178
+ }
179
+
180
+ .aiw-ContextWindow-module-RIIF9a-contextWindowTitleText {
181
+ text-overflow: ellipsis;
182
+ white-space: nowrap;
183
+ width: calc(100% - 16px);
184
+ display: inline-block;
185
+ overflow: hidden;
186
+ }
187
+
188
+ .aiw-ContextWindow-module-RIIF9a-contextWindowTitleClose {
189
+ color: #000;
190
+ cursor: pointer;
191
+ border-radius: 3px;
192
+ width: 16px;
193
+ height: 16px;
194
+ margin-left: 2px;
195
+ line-height: 16px;
196
+ display: flex;
197
+ }
198
+
199
+ .aiw-ContextWindow-module-RIIF9a-contextWindowTitleClose:hover {
200
+ color: #fff;
201
+ background-color: #000;
202
+ }
203
+
204
+ .aiw-ContextWindow-module-RIIF9a-contextWindowBody {
205
+ height: calc(100% - 40px);
206
+ margin-right: 4px;
207
+ padding-bottom: 8px;
208
+ overflow: auto;
209
+ }
210
+
211
+ .aiw-ContextWindow-module-RIIF9a-contextWindowBody::-webkit-scrollbar {
212
+ width: 8px;
213
+ height: 8px;
214
+ }
215
+
216
+ .aiw-ContextWindow-module-RIIF9a-contextWindowBody::-webkit-scrollbar-track {
217
+ background: #fff;
218
+ border-radius: 8px;
219
+ }
220
+
221
+ .aiw-ContextWindow-module-RIIF9a-contextWindowBody::-webkit-scrollbar-thumb {
222
+ background: #d3d3d3;
223
+ border: none;
224
+ border-radius: 8px;
225
+ }
226
+
227
+ .aiw-ContextWindow-module-RIIF9a-contextWindowBody::-webkit-scrollbar-thumb:hover {
228
+ background: gray;
229
+ }
230
+ /*# sourceMappingURL=main.css.map */
@@ -0,0 +1 @@
1
+ {"mappings":"ACAA;;;;;;;;;;AAWA;;;;;AAKA;;;;;;;;;;AAWA;;;;AAIA;;;;AAIA;;;;;;;;;;;;AAYA;;;;;AAKA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;;ACzEA;;;;;;;AAOA;;;;;;;;;;;;;AAeA;;;;AAIA;;;;AAKA;;;;;;;;;;;;;AAaA;;;;;AAKA;;;;AAIA;;;;AAIA;;;;;ACzDA;;;;AAIA;;;;;;;;;;;;;;;;;;;AAmBA;;;;;;;;;;;;;;;;;AAiBA;;;;AAIA;;;;;;;;AAQA;;;;;;;;;;;AAWA;;;;;AAKA;;;;;;;AAOA;;;;;AAKA;;;;;AAKA;;;;;;AAMA","sources":["73c443d00d29748b","src/components/ContextMenu.module.css","src/components/LowMenu.module.css","src/components/ContextWindow.module.css"],"sourcesContent":["@import \"630df238250c5b7f\";\n@import \"c4d631588337cb29\";\n@import \"864ea8cd88b57e56\";\n",".anchor {\n position: absolute;\n top: 0;\n left: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\",\n \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif;\n font-size: 9pt;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.contextMenuHandler {\n height: fit-content;\n width: fit-content;\n}\n\n.contextMenu {\n position: absolute;\n border: 1px solid;\n border-color: rgb(17, 20, 24);\n opacity: 1;\n background-color: rgb(251, 253, 246);\n z-index: 10000;\n box-shadow: 4px 4px 4px rgb(64, 64, 64, 0.75);\n transition: opacity 0.3s linear;\n}\n\n.contextMenu.hidden {\n opacity: 0;\n}\n\n.contextMenu.visible {\n opacity: 1;\n}\n\n.contextMenuItem {\n color: rgb(17, 20, 24);\n cursor: pointer;\n padding: 0 4px;\n min-width: 80px;\n position: relative;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n white-space: nowrap;\n}\n\n.contextMenuItem.disabled {\n background-color: rgba(0, 0, 0, 0.2);\n cursor: not-allowed;\n}\n\n.contextMenuItem:first-child {\n padding-top: 4px;\n}\n\n.contextMenuItem:last-child {\n padding-bottom: 4px;\n}\n\n.contextMenuItem:not(.disabled):hover {\n background-color: rgb(251, 233, 230);\n}\n\n.contextMenuItem .caretHolder {\n align-self: flex-end;\n}\n\n.contextMenuItem .caretHolder .subMenu {\n z-index: 1;\n position: relative;\n}\n\n.contextMenuItemLabel {\n flex-grow: 1;\n height: 19px;\n}\n",".lowMenu {\n z-index: 2;\n position: absolute;\n margin: 0px;\n transition: opacity 0.3s linear;\n}\n\n.lowMenuButtonHolder {\n border: 2px solid rgb(17, 20, 24);\n border-top-right-radius: 4px;\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n background-color: rgb(17, 20, 24);\n box-shadow: 2px 2px 2px rgb(64, 64, 64, 0.5);\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n gap: 2px;\n row-gap: 2px;\n width: fit-content;\n}\n\n.lowMenu.hidden {\n opacity: 0;\n}\n\n.lowMenu.visible,\n.lowMenu:hover {\n opacity: 1;\n}\n\n.lowMenuItem {\n background-color: rgb(251, 253, 246);\n border: 0;\n color: rgb(17, 20, 24);\n cursor: pointer;\n padding: 0 4px;\n position: relative;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n white-space: nowrap;\n}\n\n.lowMenuItem.disabled {\n background-color: rgba(200, 200, 200);\n cursor: not-allowed;\n}\n\n.lowMenuItem:not(.disabled):hover {\n background-color: rgb(251, 233, 230);\n}\n\n.lowMenu-item .caretHolder {\n align-self: flex-end;\n}\n\n.lowMenuItem .caretHolder .subMenu {\n z-index: 1;\n position: relative;\n}\n",".contextWindowAnchor {\n position: relative;\n}\n\n.contextWindow {\n z-index: 2001;\n border: 1px black solid;\n margin: 0;\n padding: 4px;\n background-color: rgb(250, 250, 250);\n box-shadow: 6px 6px 6px rgb(64, 64, 64, 0.5);\n transition: opacity 0.25s linear;\n justify-content: flex-start;\n position: absolute;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n border-bottom-left-radius: 8px;\n resize: both;\n overflow: auto;\n max-height: 95vh;\n max-width: 95vw;\n}\n\n.contextWindowTitle {\n border-bottom: 1px black dashed;\n box-sizing: unset;\n padding-bottom: 4px;\n margin: 0 4px 3px 4px;\n height: 24px;\n line-height: 24px;\n max-height: 24px;\n cursor: grab;\n font-size: 18px;\n font-weight: 600;\n display: flex;\n flex-direction: row;\n align-items: center;\n width: calc(100% - 8px);\n}\n\n.contextWindowTitle.moving {\n cursor: grabbing;\n}\n\n.contextWindowTitleText {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: calc(100% - 16px);\n}\n\n.contextWindowTitleClose {\n display: flex;\n color: black;\n height: 16px;\n width: 16px;\n border-radius: 3px;\n margin-left: 2px;\n cursor: pointer;\n line-height: 16px;\n}\n\n.contextWindowTitleClose:hover {\n background-color: black;\n color: white;\n}\n\n.contextWindowBody {\n overflow: auto;\n padding-bottom: 8px;\n margin-right: 4px;\n height: calc(100% - 40px);\n}\n\n.contextWindowBody::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n}\n\n.contextWindowBody::-webkit-scrollbar-track {\n background: white;\n border-radius: 8px;\n}\n\n.contextWindowBody::-webkit-scrollbar-thumb {\n background: lightgrey;\n border: none;\n border-radius: 8px;\n}\n\n.contextWindowBody::-webkit-scrollbar-thumb:hover {\n background: grey;\n}\n"],"names":[],"version":3,"file":"main.css.map"}