@raketa-builder/builder 0.13.0 → 0.20.0

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/src/styles.css ADDED
@@ -0,0 +1,394 @@
1
+ @layer raketa-builder {
2
+ /* Dialog */
3
+ .r-modal-content {
4
+ max-height: 75vh;
5
+ overflow-y: auto;
6
+ }
7
+
8
+ .r-modal-footer {
9
+ padding-top: 14px;
10
+ border-top: 2px solid var(--r-light-gray);
11
+ }
12
+
13
+ /* Reorder Dialog */
14
+ .r-reorder-dialog-item {
15
+ display: flex;
16
+ justify-content: space-between;
17
+ align-items: center;
18
+ margin-bottom: 7px;
19
+ padding: 7px;
20
+ border: 1px solid var(--r-gray);
21
+ border-radius: 3px;
22
+ color: var(--r-black);
23
+ cursor: move;
24
+ }
25
+
26
+ .r-reorder-dialog-item h6 {
27
+ margin-bottom: 0;
28
+ margin-left: 7px;
29
+ }
30
+
31
+ /* Forms */
32
+ /* Button Settings */
33
+ .r-settings-icon {
34
+ display: inline-block;
35
+ width: 14px;
36
+ height: 14px;
37
+ margin-right: 7px;
38
+ background-size: 100% auto;
39
+ background-repeat: none;
40
+ background-image: var(--settings-icon);
41
+ }
42
+
43
+ .r-three-columns {
44
+ display: flex;
45
+ }
46
+
47
+ .r-three-columns > div {
48
+ width: 33.33%;
49
+ padding-right: 14px;
50
+ }
51
+
52
+ .r-three-columns > div:last-of-type {
53
+ padding-right: 0;
54
+ }
55
+
56
+ .r-three-columns:last-of-type > div {
57
+ margin-bottom: 0;
58
+ }
59
+
60
+ .r-form-section-title {
61
+ display: flex;
62
+ align-items: center;
63
+ width: 100%;
64
+ margin-bottom: 7px;
65
+ font-size: 11px;
66
+ text-transform: uppercase;
67
+ font-weight: bold;
68
+ }
69
+
70
+ .r-button-control {
71
+ margin-bottom: 0;
72
+ }
73
+
74
+ .r-button-control + div {
75
+ margin-top: 14px;
76
+ }
77
+
78
+ .r-admin-widget-label {
79
+ position: absolute;
80
+ top: 1rem;
81
+ right: 1rem;
82
+ z-index: 900;
83
+ display: none;
84
+ padding: 4px 12px;
85
+ border-radius: 16px;
86
+ background-color: rgba(64, 64, 64, 0.8);
87
+ color: var(--r-true-white);
88
+ backdrop-filter: blur(4px);
89
+ }
90
+
91
+ .r-admin-widget-toolbar {
92
+ position: absolute;
93
+ top: 1rem;
94
+ left: 1rem;
95
+ z-index: 900;
96
+ display: none;
97
+ }
98
+
99
+ .r-admin-widget-wrapper:hover {
100
+ position: relative;
101
+ outline: 1px dashed var(--r-gray);
102
+ }
103
+
104
+ .r-admin-widget-wrapper:hover [data-toolbar="true"] {
105
+ display: flex;
106
+ }
107
+
108
+ .r-admin-widget-wrapper:hover [data-widget-label="true"] {
109
+ display: block;
110
+ }
111
+
112
+ .r-admin-language-switcher {
113
+ position: relative;
114
+ display: flex;
115
+ flex-wrap: nowrap;
116
+ width: 64px;
117
+ height: 64px;
118
+ color: var(--r-true-white)
119
+ }
120
+
121
+ .r-admin-language-switcher:hover [data-switcher] {
122
+ left: 64px;
123
+ top: 0;
124
+ opacity: 1;
125
+ }
126
+
127
+ .r-admin-language-switcher-menu {
128
+ position: absolute;
129
+ z-index: 90;
130
+ left: -1000px;
131
+ display: flex;
132
+ flex-wrap: nowrap;
133
+ height: 100%;
134
+ background-color: var(--r-true-black);
135
+ opacity: 0;
136
+ transition: all ease-in-out 0.3s;
137
+ }
138
+
139
+ .r-admin-language-switcher-item {
140
+ display: flex;
141
+ justify-content: center;
142
+ align-items: center;
143
+ width: 64px;
144
+ height: 64px;
145
+ background-color: var(--r-true-black);
146
+ text-transform: uppercase;
147
+ }
148
+
149
+ .r-admin-language-switcher-item a {
150
+ display: flex;
151
+ justify-content: center;
152
+ align-items: center;
153
+ width: 100%;
154
+ height: 100%;
155
+ color: var(--r-true-white);
156
+ font-weight: 700;
157
+ text-decoration: none;
158
+ }
159
+
160
+ .r-admin-language-switcher-item a:hover {
161
+ background-color: var(--r-primaryRGB06);
162
+ }
163
+
164
+ .r-admin-language-switcher-new-item {
165
+ position: relative;
166
+ width: 64px;
167
+ height: 64px;
168
+ background-color: var(--r-true-black);
169
+ text-transform: uppercase;
170
+ }
171
+
172
+ .r-admin-language-switcher-new-item span {
173
+ display: flex;
174
+ justify-content: center;
175
+ align-items: center;
176
+ width: 100%;
177
+ height: 100%;
178
+ opacity: 0.6;
179
+ color: var(--r-true-white);
180
+ font-weight: 700;
181
+ text-decoration: none;
182
+ }
183
+
184
+ .r-admin-language-switcher-new-item a {
185
+ position: absolute;
186
+ top: 0;
187
+ bottom: 0;
188
+ left: 0;
189
+ right: 0;
190
+ z-index: 30;
191
+ display: flex;
192
+ justify-content: center;
193
+ align-items: center;
194
+ color: var(--r-true-white);
195
+ font-weight: 700;
196
+ text-decoration: none;
197
+ }
198
+
199
+ .r-admin-language-switcher-new-item a:hover {
200
+ background-color: var(--r-primaryRGB06);
201
+ }
202
+
203
+ .r-admin-language-switcher-current {
204
+ position: relative;
205
+ z-index: 100;
206
+ display: flex;
207
+ justify-content: center;
208
+ align-items: center;
209
+ width: 100%;
210
+ height: 100%;
211
+ color: var(--r-true-white);
212
+ background-color: var(--r-primary);
213
+ font-weight: 700;
214
+ text-transform: uppercase;
215
+ cursor: pointer;
216
+ }
217
+
218
+ .r-admin-sidebar-item {
219
+ position: relative;
220
+ width: 100%;
221
+ padding: 0;
222
+ margin-bottom: 1rem;
223
+ background-color: transparent;
224
+ color: var(--r-gray);
225
+ text-align: left;
226
+ transition: all 0.2s ease-in-out;
227
+ }
228
+
229
+ .r-admin-sidebar-item:hover {
230
+ color: var(--r-white);
231
+ }
232
+
233
+ .r-admin-sidenav {
234
+ position: fixed;
235
+ top: 0;
236
+ bottom: 0;
237
+ left: 0;
238
+ z-index: 1000;
239
+ display: flex;
240
+ flex-direction: column;
241
+ justify-content: space-between;
242
+ width: 64px;
243
+ border-right: 1px solid var(--r-darker-gray);
244
+ background-color: var(--r-black);
245
+ }
246
+
247
+ .r-admin-sidenav-group {
248
+ z-index: 1;
249
+ display: flex;
250
+ flex-direction: column;
251
+ }
252
+
253
+ .r-admin-sidenav-item {
254
+ z-index: 10;
255
+ }
256
+
257
+ .r-admin-sidenav-item:hover > * {
258
+ display: block;
259
+ }
260
+
261
+ .r-admin-sidenav-button {
262
+ position: relative;
263
+ z-index: 12;
264
+ display: block;
265
+ width: 64px;
266
+ height: 64px;
267
+ border-bottom: 1px solid var(--r-darker-gray);
268
+ color: var(--r-white);
269
+ background-repeat: no-repeat;
270
+ background-position: center;
271
+ }
272
+
273
+ .r-admin-sidenav-tooltip-wrapper {
274
+ position: relative;
275
+ }
276
+
277
+ .r-admin-sidenav-tooltip-wrapper:hover .cms-tooltip {
278
+ opacity: 1;
279
+ }
280
+
281
+ .r-admin-sidenav-tooltip {
282
+ position: absolute;
283
+ top: calc(50% - 1em);
284
+ left: 72px;
285
+ z-index: 1001;
286
+ height: 2em;
287
+ padding: 0.5em 0.75em;
288
+ border-radius: 2px;
289
+ background-color: rgba(0, 0, 0, 0.8);
290
+ color: var(--r-white);
291
+ line-height: 1;
292
+ white-space: nowrap;
293
+ pointer-events: none;
294
+ opacity: 0;
295
+ transition: all 0.3s ease-in-out;
296
+ }
297
+
298
+ .r-admin-sidenav-nav-panel {
299
+ position: fixed;
300
+ top: 0;
301
+ bottom: 0;
302
+ left: 64px;
303
+ z-index: 11;
304
+ display: none;
305
+ width: 300px;
306
+ padding: 2rem;
307
+ overflow-y: auto;
308
+ background-color: rgba(0, 0, 0, 0.9);
309
+ color: var(--r-white);
310
+ backdrop-filter: blur(8px);
311
+ }
312
+
313
+ .r-admin-sidenav-search-wrapper {
314
+ position: relative;
315
+ height: 3.125rem;
316
+ margin-bottom: 1rem;
317
+ }
318
+
319
+ .r-admin-sidenav-search-input {
320
+ position: absolute;
321
+ top: 0;
322
+ right: -2rem;
323
+ left: -2rem;
324
+ bottom: 0;
325
+ width: 125%;
326
+ padding-left: 2rem;
327
+ padding-right: 2rem;
328
+ border: 0;
329
+ border-radius: 0;
330
+ background-color: var(--r-black);
331
+ color: var(--r-white);
332
+ }
333
+
334
+ .r-list-wrapper,
335
+ .r-list-add-button-wrapper {
336
+ margin-bottom: 1rem;
337
+ }
338
+
339
+ .r-list-handle-wrapper {
340
+ display: flex;
341
+ align-items: center;
342
+ width: 16px;
343
+ padding-right: 8px;
344
+ cursor: move;
345
+ }
346
+
347
+ .r-list-handle-wrapper > img {
348
+ width: 16px;
349
+ }
350
+
351
+ .r-list-item-wrapper {
352
+ margin-bottom: 1rem;
353
+ border: 1px solid var(--r-gray);
354
+ border-radius: 5px;
355
+ }
356
+
357
+ .r-list-title-bar {
358
+ display: flex;
359
+ justify-content: space-between;
360
+ align-items: center;
361
+ width: 100%;
362
+ border-top-left-radius: 5px;
363
+ border-top-right-radius: 5px;
364
+ border-bottom: 1px solid var(--r-gray);
365
+ padding: 8px;
366
+ background-color: var(--r-light-gray);
367
+ }
368
+
369
+ .r-list-title-wrapper {
370
+ display: flex;
371
+ justify-content: space-between;
372
+ align-items: center;
373
+ flex: 1;
374
+ padding: 0;
375
+ cursor: pointer;
376
+ }
377
+
378
+ .r-list-button {
379
+ display: flex;
380
+ justify-content: center;
381
+ align-items: center;
382
+ }
383
+
384
+ .r-empty-canvas {
385
+ display: flex;
386
+ justify-content: center;
387
+ align-items: center;
388
+ height: 100vh;
389
+ }
390
+
391
+ :root {
392
+ --settings-icon: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItc2xpZGVycyI+PGxpbmUgeDE9IjQiIHkxPSIyMSIgeDI9IjQiIHkyPSIxNCI+PC9saW5lPjxsaW5lIHgxPSI0IiB5MT0iMTAiIHgyPSI0IiB5Mj0iMyI+PC9saW5lPjxsaW5lIHgxPSIxMiIgeTE9IjIxIiB4Mj0iMTIiIHkyPSIxMiI+PC9saW5lPjxsaW5lIHgxPSIxMiIgeTE9IjgiIHgyPSIxMiIgeTI9IjMiPjwvbGluZT48bGluZSB4MT0iMjAiIHkxPSIyMSIgeDI9IjIwIiB5Mj0iMTYiPjwvbGluZT48bGluZSB4MT0iMjAiIHkxPSIxMiIgeDI9IjIwIiB5Mj0iMyI+PC9saW5lPjxsaW5lIHgxPSIxIiB5MT0iMTQiIHgyPSI3IiB5Mj0iMTQiPjwvbGluZT48bGluZSB4MT0iOSIgeTE9IjgiIHgyPSIxNSIgeTI9IjgiPjwvbGluZT48bGluZSB4MT0iMTciIHkxPSIxNiIgeDI9IjIzIiB5Mj0iMTYiPjwvbGluZT48L3N2Zz4=);
393
+ }
394
+ }