@rtsee/ngx 0.0.127 → 0.0.128
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/dist/ngx/fesm2022/rtsee-ngx.mjs +480 -28
- package/dist/ngx/fesm2022/rtsee-ngx.mjs.map +1 -1
- package/dist/ngx/index.d.ts +35 -3
- package/dist/ngx/src/lib/theme/presentation/illustrator.scss +315 -90
- package/dist/ngx/src/lib/theme/presentation/interactive-story-editor.scss +198 -4
- package/dist/ngx/src/lib/theme/presentation/manage-stories.scss +110 -1
- package/package.json +11 -11
package/dist/ngx/index.d.ts
CHANGED
|
@@ -204,11 +204,15 @@ declare class InteractiveStoryEditorComponent implements OnInit, OnDestroy {
|
|
|
204
204
|
readonly sections: typeof RTSeeStoryEditorSection;
|
|
205
205
|
readonly illustrator: RTSeeIllustrator;
|
|
206
206
|
readonly slideUpdatingIds: Set<string>;
|
|
207
|
+
slidesViewMode: 'carousel' | 'inline';
|
|
208
|
+
illustratorCollapsedHeight: number;
|
|
207
209
|
private onIllustratorChanged;
|
|
208
210
|
constructor(cdr: ChangeDetectorRef);
|
|
209
211
|
ngOnInit(): void;
|
|
210
212
|
ngOnDestroy(): void;
|
|
211
213
|
isSlideUpdating(id: string): boolean;
|
|
214
|
+
toggleSlidesViewMode(event: Event): void;
|
|
215
|
+
onIllustratorCollapsedHeightChange(height: number): void;
|
|
212
216
|
applyReviewedImageToSlide(event: Event, slide: IRTSeeStorySlide): Promise<void>;
|
|
213
217
|
submitDetails(): void;
|
|
214
218
|
submitAuthor(): void;
|
|
@@ -260,21 +264,47 @@ declare class StoryElementsSectionComponent implements OnDestroy {
|
|
|
260
264
|
static ɵcmp: i0.ɵɵComponentDeclaration<StoryElementsSectionComponent, "rtsee-story-elements-section", never, { "editor": { "alias": "editor"; "required": true; }; "title": { "alias": "title"; "required": true; }; "icon": { "alias": "icon"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "canDetach": { "alias": "canDetach"; "required": false; }; "illustrator": { "alias": "illustrator"; "required": false; }; }, { "toggled": "toggled"; }, never, never, true, never>;
|
|
261
265
|
}
|
|
262
266
|
|
|
263
|
-
declare class IllustratorComponent implements OnInit, OnDestroy {
|
|
267
|
+
declare class IllustratorComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
264
268
|
private readonly cdr;
|
|
265
269
|
private readonly elementRef;
|
|
270
|
+
private static readonly MOBILE_BREAKPOINT;
|
|
266
271
|
illustrator: RTSeeIllustrator;
|
|
272
|
+
readonly collapsedHeightChange: EventEmitter<number>;
|
|
273
|
+
containerElRef?: ElementRef<HTMLElement>;
|
|
274
|
+
contextCarouselElRef?: ElementRef<HTMLElement>;
|
|
275
|
+
isMobile: boolean;
|
|
276
|
+
layoutLeftPx: number | null;
|
|
277
|
+
layoutRightPx: number | null;
|
|
278
|
+
layoutBottomPx: number;
|
|
279
|
+
activeCarouselIndex: number;
|
|
267
280
|
private ownIllustrator;
|
|
281
|
+
private suppressHoverUntilLeave;
|
|
282
|
+
private lastMeasuredCollapsedHeight;
|
|
283
|
+
private resizeObserver;
|
|
284
|
+
private rafId;
|
|
268
285
|
readonly aspectRatios: string[];
|
|
269
286
|
readonly styles: string[];
|
|
270
287
|
readonly moods: string[];
|
|
271
288
|
readonly lightings: string[];
|
|
272
289
|
private readonly onIllustratorChanged;
|
|
273
|
-
private readonly
|
|
290
|
+
private readonly onWindowResizeOrScroll;
|
|
274
291
|
constructor(cdr: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>);
|
|
292
|
+
get activePromptText(): string;
|
|
293
|
+
set activePromptText(value: string);
|
|
275
294
|
ngOnInit(): void;
|
|
295
|
+
ngAfterViewInit(): void;
|
|
276
296
|
ngOnDestroy(): void;
|
|
297
|
+
onCollapsedMouseEnter(): void;
|
|
298
|
+
onContainerMouseLeave(event: MouseEvent): void;
|
|
299
|
+
expandIllustrator(event?: Event): void;
|
|
300
|
+
collapseIllustrator(event?: Event): void;
|
|
277
301
|
toggleExpand(): void;
|
|
302
|
+
onCollapsedSubmit(event?: Event): void;
|
|
303
|
+
onCollapsedEnter(event: Event): void;
|
|
304
|
+
prevContextSlide(): void;
|
|
305
|
+
nextContextSlide(): void;
|
|
306
|
+
scrollContextCarouselTo(index: number): void;
|
|
307
|
+
onContextCarouselScroll(): void;
|
|
278
308
|
toggleConfig(): void;
|
|
279
309
|
onSelectAgent(event: Event): void;
|
|
280
310
|
refreshAgents(): void;
|
|
@@ -286,8 +316,10 @@ declare class IllustratorComponent implements OnInit, OnDestroy {
|
|
|
286
316
|
submitPrompt(): void;
|
|
287
317
|
trackByImageId(index: number, item: IRTSeeIllustratorContextImage): string;
|
|
288
318
|
trackByAgentId(index: number, item: IRTSeeIllustratorAgentOption): string;
|
|
319
|
+
private scheduleLayoutUpdate;
|
|
320
|
+
private updateLayoutMetrics;
|
|
289
321
|
static ɵfac: i0.ɵɵFactoryDeclaration<IllustratorComponent, never>;
|
|
290
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IllustratorComponent, "rtsee-illustrator", never, { "illustrator": { "alias": "illustrator"; "required": false; }; }, {}, never, never, true, never>;
|
|
322
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IllustratorComponent, "rtsee-illustrator", never, { "illustrator": { "alias": "illustrator"; "required": false; }; }, { "collapsedHeightChange": "collapsedHeightChange"; }, never, never, true, never>;
|
|
291
323
|
}
|
|
292
324
|
|
|
293
325
|
interface IAccordionItem {
|
|
@@ -17,138 +17,198 @@ $illustrator-accent-glow: rgba(168, 85, 247, 0.35);
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.rtsee-illustrator-container {
|
|
20
|
-
position:
|
|
21
|
-
bottom:
|
|
22
|
-
left:
|
|
23
|
-
right:
|
|
24
|
-
width:
|
|
25
|
-
|
|
20
|
+
position: fixed;
|
|
21
|
+
bottom: var(--rtsee-illustrator-bottom, 0px);
|
|
22
|
+
left: var(--rtsee-illustrator-left, 0px);
|
|
23
|
+
right: var(--rtsee-illustrator-right, 0px);
|
|
24
|
+
width: auto;
|
|
25
|
+
max-width: 100vw;
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
z-index: 310;
|
|
26
28
|
font-family: inherit;
|
|
27
|
-
transition:
|
|
29
|
+
transition: box-shadow 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
28
30
|
|
|
29
31
|
button, input, select, textarea {
|
|
30
32
|
font-family: inherit;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
// --- Collapsed
|
|
35
|
+
// --- Collapsed Bottom Bar (Shared + Desktop & Mobile Variants) ---
|
|
34
36
|
.rtsee-illustrator-collapsed-bar {
|
|
35
37
|
display: flex;
|
|
36
38
|
align-items: center;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(168, 85, 247, 0.15);
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
transition: all 0.2s ease;
|
|
39
|
+
gap: 10px;
|
|
40
|
+
padding: 8px 14px;
|
|
41
|
+
background: linear-gradient(135deg, rgba(24, 20, 40, 0.96) 0%, rgba(15, 16, 25, 0.97) 100%);
|
|
42
|
+
backdrop-filter: blur(16px);
|
|
43
|
+
border-top: 1px solid $illustrator-border;
|
|
44
|
+
box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(168, 85, 247, 0.12);
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
48
47
|
|
|
49
48
|
&:hover {
|
|
50
|
-
border-color: rgba(191, 139, 255, 0.55);
|
|
51
|
-
box-shadow: 0
|
|
52
|
-
transform: translateY(-2px);
|
|
49
|
+
border-top-color: rgba(191, 139, 255, 0.55);
|
|
50
|
+
box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.55), 0 0 22px rgba(168, 85, 247, 0.22);
|
|
53
51
|
}
|
|
54
52
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
&--desktop {
|
|
54
|
+
border-left: 1px solid rgba(191, 139, 255, 0.18);
|
|
55
|
+
border-right: 1px solid rgba(191, 139, 255, 0.18);
|
|
56
|
+
border-radius: 12px 12px 0 0;
|
|
57
|
+
padding: 9px 16px;
|
|
59
58
|
}
|
|
60
59
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
border-radius:
|
|
65
|
-
background: linear-gradient(135deg, #9333ea, #c084fc);
|
|
66
|
-
display: flex;
|
|
67
|
-
align-items: center;
|
|
68
|
-
justify-content: center;
|
|
69
|
-
color: #fff;
|
|
70
|
-
font-size: 1rem;
|
|
71
|
-
box-shadow: 0 2px 8px rgba(147, 51, 234, 0.4);
|
|
60
|
+
&--mobile {
|
|
61
|
+
gap: 8px;
|
|
62
|
+
padding: 8px 10px;
|
|
63
|
+
border-radius: 0;
|
|
72
64
|
}
|
|
73
65
|
|
|
74
|
-
.rtsee-illustrator-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
66
|
+
.rtsee-illustrator-collapsed-preview {
|
|
67
|
+
flex: 0 0 36px;
|
|
68
|
+
width: 36px;
|
|
69
|
+
height: 36px;
|
|
70
|
+
border-radius: 8px;
|
|
71
|
+
overflow: hidden;
|
|
72
|
+
border: 1px solid rgba(192, 132, 252, 0.55);
|
|
73
|
+
background: rgba(0, 0, 0, 0.45);
|
|
74
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
|
|
75
|
+
|
|
76
|
+
.rtsee-illustrator-collapsed-preview-img {
|
|
77
|
+
width: 100%;
|
|
78
|
+
height: 100%;
|
|
79
|
+
object-fit: cover;
|
|
80
|
+
display: block;
|
|
81
|
+
}
|
|
79
82
|
}
|
|
80
83
|
|
|
81
|
-
.rtsee-illustrator-
|
|
84
|
+
.rtsee-illustrator-context-count {
|
|
85
|
+
flex-shrink: 0;
|
|
82
86
|
display: inline-flex;
|
|
83
87
|
align-items: center;
|
|
84
88
|
gap: 5px;
|
|
85
|
-
font-size: 0.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
background: rgba(
|
|
89
|
+
font-size: 0.8rem;
|
|
90
|
+
font-weight: 600;
|
|
91
|
+
color: #ddd6fe;
|
|
92
|
+
background: rgba(139, 92, 246, 0.18);
|
|
89
93
|
border: 1px solid rgba(168, 85, 247, 0.35);
|
|
90
|
-
|
|
94
|
+
padding: 5px 10px;
|
|
95
|
+
border-radius: 8px;
|
|
96
|
+
white-space: nowrap;
|
|
97
|
+
}
|
|
91
98
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
99
|
+
.rtsee-illustrator-collapsed-input {
|
|
100
|
+
flex: 1 1 auto;
|
|
101
|
+
min-width: 0;
|
|
102
|
+
height: 36px;
|
|
103
|
+
padding: 6px 12px;
|
|
104
|
+
border-radius: 9px;
|
|
105
|
+
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
106
|
+
background: rgba(10, 10, 18, 0.72);
|
|
107
|
+
color: #f9fafb;
|
|
108
|
+
font-size: 0.86rem;
|
|
109
|
+
outline: none;
|
|
110
|
+
box-sizing: border-box;
|
|
111
|
+
transition: border-color 0.16s ease, box-shadow 0.16s ease;
|
|
112
|
+
|
|
113
|
+
&::placeholder {
|
|
114
|
+
color: #8b8fa3;
|
|
96
115
|
}
|
|
97
|
-
}
|
|
98
116
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
117
|
+
&:focus {
|
|
118
|
+
border-color: rgba(192, 132, 252, 0.7);
|
|
119
|
+
box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
|
|
120
|
+
}
|
|
103
121
|
}
|
|
104
122
|
|
|
105
|
-
.rtsee-illustrator-
|
|
123
|
+
.rtsee-illustrator-collapsed-submit-btn {
|
|
124
|
+
flex-shrink: 0;
|
|
106
125
|
display: inline-flex;
|
|
107
126
|
align-items: center;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
border-radius:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
font-
|
|
118
|
-
|
|
119
|
-
font-style: italic;
|
|
120
|
-
max-width: 280px;
|
|
121
|
-
overflow: hidden;
|
|
122
|
-
text-overflow: ellipsis;
|
|
127
|
+
justify-content: center;
|
|
128
|
+
gap: 6px;
|
|
129
|
+
height: 36px;
|
|
130
|
+
padding: 0 14px;
|
|
131
|
+
border: none;
|
|
132
|
+
border-radius: 9px;
|
|
133
|
+
background: linear-gradient(135deg, #9333ea, #c084fc);
|
|
134
|
+
color: #ffffff;
|
|
135
|
+
font-size: 0.84rem;
|
|
136
|
+
font-weight: 600;
|
|
137
|
+
cursor: pointer;
|
|
123
138
|
white-space: nowrap;
|
|
139
|
+
box-shadow: 0 3px 10px rgba(147, 51, 234, 0.35);
|
|
140
|
+
transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
|
|
141
|
+
|
|
142
|
+
&:hover:not(:disabled) {
|
|
143
|
+
transform: translateY(-1px);
|
|
144
|
+
box-shadow: 0 5px 14px rgba(147, 51, 234, 0.5);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&:disabled {
|
|
148
|
+
opacity: 0.45;
|
|
149
|
+
cursor: not-allowed;
|
|
150
|
+
box-shadow: none;
|
|
151
|
+
}
|
|
124
152
|
}
|
|
125
153
|
|
|
126
|
-
.rtsee-illustrator-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
154
|
+
.rtsee-illustrator-collapsed-icon-btn {
|
|
155
|
+
flex: 0 0 36px;
|
|
156
|
+
width: 36px;
|
|
157
|
+
height: 36px;
|
|
158
|
+
padding: 0;
|
|
159
|
+
border-radius: 9px;
|
|
160
|
+
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
161
|
+
background: rgba(255, 255, 255, 0.06);
|
|
162
|
+
color: #e9d5ff;
|
|
163
|
+
font-size: 0.92rem;
|
|
131
164
|
cursor: pointer;
|
|
132
|
-
display: flex;
|
|
165
|
+
display: inline-flex;
|
|
133
166
|
align-items: center;
|
|
134
167
|
justify-content: center;
|
|
168
|
+
transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
|
|
169
|
+
|
|
170
|
+
&:hover:not(:disabled) {
|
|
171
|
+
background: rgba(168, 85, 247, 0.24);
|
|
172
|
+
border-color: rgba(192, 132, 252, 0.55);
|
|
173
|
+
color: #ffffff;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&--submit {
|
|
177
|
+
background: linear-gradient(135deg, #9333ea, #c084fc);
|
|
178
|
+
border: none;
|
|
179
|
+
color: #ffffff;
|
|
180
|
+
box-shadow: 0 2px 8px rgba(147, 51, 234, 0.35);
|
|
181
|
+
|
|
182
|
+
&:hover:not(:disabled) {
|
|
183
|
+
background: linear-gradient(135deg, #a855f7, #d8b4fe);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&:disabled {
|
|
187
|
+
opacity: 0.45;
|
|
188
|
+
cursor: not-allowed;
|
|
189
|
+
box-shadow: none;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
135
192
|
}
|
|
136
193
|
}
|
|
137
194
|
|
|
138
195
|
// --- Expanded Drawer ---
|
|
139
196
|
.rtsee-illustrator-expanded-panel {
|
|
140
197
|
background: $illustrator-bg;
|
|
141
|
-
backdrop-filter: blur(
|
|
198
|
+
backdrop-filter: blur(22px);
|
|
142
199
|
border-top: 1px solid $illustrator-border;
|
|
143
|
-
|
|
200
|
+
border-left: 1px solid rgba(191, 139, 255, 0.18);
|
|
201
|
+
border-right: 1px solid rgba(191, 139, 255, 0.18);
|
|
202
|
+
box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(168, 85, 247, 0.14);
|
|
144
203
|
border-radius: 16px 16px 0 0;
|
|
145
204
|
padding: 16px 20px 20px 20px;
|
|
146
|
-
max-height:
|
|
205
|
+
max-height: min(82vh, calc(100dvh - 16px));
|
|
147
206
|
overflow-y: auto;
|
|
207
|
+
box-sizing: border-box;
|
|
148
208
|
display: flex;
|
|
149
209
|
flex-direction: column;
|
|
150
210
|
gap: 14px;
|
|
151
|
-
animation: illustrator-slide-up 0.
|
|
211
|
+
animation: illustrator-slide-up 0.2s ease-out;
|
|
152
212
|
|
|
153
213
|
// Custom scrollbar
|
|
154
214
|
&::-webkit-scrollbar {
|
|
@@ -160,6 +220,59 @@ $illustrator-accent-glow: rgba(168, 85, 247, 0.35);
|
|
|
160
220
|
}
|
|
161
221
|
}
|
|
162
222
|
|
|
223
|
+
// --- Mobile Fullscreen Expanded State ---
|
|
224
|
+
&.rtsee-illustrator--mobile.rtsee-illustrator--expanded {
|
|
225
|
+
top: 0 !important;
|
|
226
|
+
bottom: 0 !important;
|
|
227
|
+
left: 0 !important;
|
|
228
|
+
right: 0 !important;
|
|
229
|
+
width: 100vw;
|
|
230
|
+
height: 100vh;
|
|
231
|
+
height: 100dvh;
|
|
232
|
+
z-index: 1200;
|
|
233
|
+
|
|
234
|
+
.rtsee-illustrator-expanded-panel {
|
|
235
|
+
width: 100%;
|
|
236
|
+
height: 100%;
|
|
237
|
+
max-height: 100vh;
|
|
238
|
+
max-height: 100dvh;
|
|
239
|
+
border-radius: 0;
|
|
240
|
+
border: none;
|
|
241
|
+
padding: 14px;
|
|
242
|
+
gap: 12px;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.rtsee-illustrator-header {
|
|
246
|
+
gap: 10px;
|
|
247
|
+
padding-bottom: 10px;
|
|
248
|
+
|
|
249
|
+
.rtsee-illustrator-icon-circle {
|
|
250
|
+
width: 32px;
|
|
251
|
+
height: 32px;
|
|
252
|
+
font-size: 0.95rem;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.rtsee-illustrator-heading {
|
|
256
|
+
font-size: 0.96rem;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.rtsee-illustrator-header-controls {
|
|
260
|
+
gap: 6px;
|
|
261
|
+
flex-wrap: wrap;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.rtsee-illustrator-select {
|
|
265
|
+
max-width: 140px;
|
|
266
|
+
font-size: 0.78rem;
|
|
267
|
+
padding: 4px 8px;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.rtsee-illustrator-header-btn {
|
|
271
|
+
padding: 6px 9px;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
163
276
|
// --- Header ---
|
|
164
277
|
.rtsee-illustrator-header {
|
|
165
278
|
display: flex;
|
|
@@ -284,13 +397,15 @@ $illustrator-accent-glow: rgba(168, 85, 247, 0.35);
|
|
|
284
397
|
color: #f3e8ff;
|
|
285
398
|
}
|
|
286
399
|
|
|
287
|
-
&--close
|
|
288
|
-
|
|
289
|
-
|
|
400
|
+
&--close,
|
|
401
|
+
&--collapse {
|
|
402
|
+
padding: 6px 10px;
|
|
403
|
+
color: #d1d5db;
|
|
290
404
|
|
|
291
405
|
&:hover {
|
|
292
|
-
color: #
|
|
293
|
-
background: rgba(
|
|
406
|
+
color: #ffffff;
|
|
407
|
+
background: rgba(168, 85, 247, 0.22);
|
|
408
|
+
border-color: rgba(192, 132, 252, 0.5);
|
|
294
409
|
}
|
|
295
410
|
}
|
|
296
411
|
}
|
|
@@ -347,7 +462,7 @@ $illustrator-accent-glow: rgba(168, 85, 247, 0.35);
|
|
|
347
462
|
}
|
|
348
463
|
}
|
|
349
464
|
|
|
350
|
-
// --- Context References Strip ---
|
|
465
|
+
// --- Context References Strip & Mobile Carousel ---
|
|
351
466
|
.rtsee-illustrator-context-section {
|
|
352
467
|
display: flex;
|
|
353
468
|
flex-direction: column;
|
|
@@ -357,6 +472,72 @@ $illustrator-accent-glow: rgba(168, 85, 247, 0.35);
|
|
|
357
472
|
display: flex;
|
|
358
473
|
align-items: center;
|
|
359
474
|
justify-content: space-between;
|
|
475
|
+
gap: 8px;
|
|
476
|
+
flex-wrap: wrap;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.rtsee-illustrator-context-header-actions {
|
|
480
|
+
display: flex;
|
|
481
|
+
align-items: center;
|
|
482
|
+
gap: 10px;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.rtsee-illustrator-carousel-nav {
|
|
486
|
+
display: inline-flex;
|
|
487
|
+
align-items: center;
|
|
488
|
+
gap: 6px;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.rtsee-illustrator-carousel-nav-btn {
|
|
492
|
+
width: 26px;
|
|
493
|
+
height: 26px;
|
|
494
|
+
padding: 0;
|
|
495
|
+
border-radius: 6px;
|
|
496
|
+
border: 1px solid rgba(191, 139, 255, 0.3);
|
|
497
|
+
background: rgba(255, 255, 255, 0.06);
|
|
498
|
+
color: #e9d5ff;
|
|
499
|
+
display: inline-flex;
|
|
500
|
+
align-items: center;
|
|
501
|
+
justify-content: center;
|
|
502
|
+
cursor: pointer;
|
|
503
|
+
font-size: 0.72rem;
|
|
504
|
+
|
|
505
|
+
&:disabled {
|
|
506
|
+
opacity: 0.35;
|
|
507
|
+
cursor: not-allowed;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.rtsee-illustrator-carousel-counter {
|
|
512
|
+
font-size: 0.74rem;
|
|
513
|
+
color: #c4b5fd;
|
|
514
|
+
font-variant-numeric: tabular-nums;
|
|
515
|
+
min-width: 34px;
|
|
516
|
+
text-align: center;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.rtsee-illustrator-carousel-dots {
|
|
520
|
+
display: flex;
|
|
521
|
+
align-items: center;
|
|
522
|
+
justify-content: center;
|
|
523
|
+
gap: 6px;
|
|
524
|
+
padding-top: 2px;
|
|
525
|
+
|
|
526
|
+
.rtsee-illustrator-carousel-dot {
|
|
527
|
+
width: 7px;
|
|
528
|
+
height: 7px;
|
|
529
|
+
padding: 0;
|
|
530
|
+
border-radius: 999px;
|
|
531
|
+
border: none;
|
|
532
|
+
background: rgba(255, 255, 255, 0.22);
|
|
533
|
+
cursor: pointer;
|
|
534
|
+
transition: width 0.18s ease, background 0.18s ease;
|
|
535
|
+
|
|
536
|
+
&--active {
|
|
537
|
+
width: 18px;
|
|
538
|
+
background: #c084fc;
|
|
539
|
+
}
|
|
540
|
+
}
|
|
360
541
|
}
|
|
361
542
|
|
|
362
543
|
.rtsee-illustrator-section-title {
|
|
@@ -387,6 +568,7 @@ $illustrator-accent-glow: rgba(168, 85, 247, 0.35);
|
|
|
387
568
|
display: flex;
|
|
388
569
|
gap: 12px;
|
|
389
570
|
overflow-x: auto;
|
|
571
|
+
-webkit-overflow-scrolling: touch;
|
|
390
572
|
padding-bottom: 8px;
|
|
391
573
|
|
|
392
574
|
&::-webkit-scrollbar {
|
|
@@ -399,7 +581,9 @@ $illustrator-accent-glow: rgba(168, 85, 247, 0.35);
|
|
|
399
581
|
}
|
|
400
582
|
|
|
401
583
|
.rtsee-illustrator-context-card {
|
|
402
|
-
flex: 0 0
|
|
584
|
+
flex: 0 0 360px;
|
|
585
|
+
max-width: 100%;
|
|
586
|
+
box-sizing: border-box;
|
|
403
587
|
display: flex;
|
|
404
588
|
gap: 10px;
|
|
405
589
|
background: rgba(255, 255, 255, 0.04);
|
|
@@ -418,6 +602,37 @@ $illustrator-accent-glow: rgba(168, 85, 247, 0.35);
|
|
|
418
602
|
}
|
|
419
603
|
}
|
|
420
604
|
|
|
605
|
+
&--carousel {
|
|
606
|
+
.rtsee-illustrator-context-cards {
|
|
607
|
+
scroll-snap-type: x mandatory;
|
|
608
|
+
touch-action: pan-x;
|
|
609
|
+
gap: 10px;
|
|
610
|
+
padding-bottom: 4px;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
.rtsee-illustrator-context-card {
|
|
614
|
+
flex: 0 0 88%;
|
|
615
|
+
scroll-snap-align: center;
|
|
616
|
+
flex-direction: column;
|
|
617
|
+
padding: 12px;
|
|
618
|
+
|
|
619
|
+
&:only-child {
|
|
620
|
+
flex-basis: 100%;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.rtsee-illustrator-card-thumb-col {
|
|
624
|
+
flex-direction: row;
|
|
625
|
+
justify-content: space-between;
|
|
626
|
+
width: 100%;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.rtsee-illustrator-card-thumb-wrapper {
|
|
630
|
+
width: 64px;
|
|
631
|
+
height: 64px;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
|
|
421
636
|
.rtsee-illustrator-card-thumb-col {
|
|
422
637
|
display: flex;
|
|
423
638
|
flex-direction: column;
|
|
@@ -807,6 +1022,16 @@ $illustrator-accent-glow: rgba(168, 85, 247, 0.35);
|
|
|
807
1022
|
}
|
|
808
1023
|
}
|
|
809
1024
|
|
|
1025
|
+
// Shell-aware pure-CSS fallback before ResizeObserver runs on wide desktop screens
|
|
1026
|
+
.rtsee-shell {
|
|
1027
|
+
@media screen and (min-width: $rts-break-md) {
|
|
1028
|
+
.rtsee-illustrator-container {
|
|
1029
|
+
left: var(--rtsee-illustrator-left, #{$rts-sidebar-width});
|
|
1030
|
+
right: var(--rtsee-illustrator-right, #{$video-container-width});
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
|
|
810
1035
|
// Button to add element to Illustrator from story elements/slides
|
|
811
1036
|
.rtsee-ise-btn-add-illustrator {
|
|
812
1037
|
display: inline-flex;
|