-
-
-
-
-
+ .step {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ flex: 1;
+ }
+
+ .step-circle {
+ width: 36px;
+ height: 36px;
+ border-radius: 50%;
+ background: #E5E5E5;
+ color: #888;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-weight: 600;
+ margin-bottom: 8px;
+ }
+
+ .step-circle.active {
+ background: #18A0FB;
+ color: white;
+ }
+
+ .step-circle.completed {
+ background: #43B97F;
+ color: white;
+ }
+
+ .step-line {
+ height: 2px;
+ background: #E5E5E5;
+ flex: 1;
+ margin: 0 8px;
+ margin-bottom: 8px;
+ }
+
+ .step-line.completed {
+ background: #43B97F;
+ }
+
+ .step-text {
+ font-size: 12px;
+ text-align: center;
+ }
+
+ .card {
+ background: white;
+ border-radius: 8px;
+ padding: 16px;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
+ }
+
+ h3 {
+ margin-top: 0;
+ margin-bottom: 16px;
+ font-size: 16px;
+ font-weight: 600;
+ }
+
+ button {
+ background: #18A0FB;
+ color: white;
+ border: none;
+ border-radius: 6px;
+ padding: 8px 16px;
+ font-size: 14px;
+ font-weight: 500;
+ cursor: pointer;
+ transition: background 0.2s;
+ }
+
+ button:hover {
+ background: #0D8BE0;
+ }
+
+ button:disabled {
+ background: #E5E5E5;
+ color: #888;
+ cursor: not-allowed;
+ }
+
+ .button-secondary {
+ background: white;
+ color: #333;
+ border: 1px solid #E5E5E5;
+ }
+
+ .button-secondary:hover {
+ background: #F5F5F5;
+ }
+
+ .form-group {
+ margin-bottom: 16px;
+ }
+
+ label {
+ display: block;
+ margin-bottom: 8px;
+ font-size: 12px;
+ font-weight: 500;
+ }
+
+ input,
+ select {
+ width: 100%;
+ padding: 8px;
+ border-radius: 4px;
+ border: 1px solid #E5E5E5;
+ font-size: 14px;
+ }
+
+ .position-selector {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ grid-template-rows: repeat(3, 1fr);
+ gap: 8px;
+ margin-bottom: 16px;
+ }
+
+ .position-option {
+ aspect-ratio: 1;
+ border: 1px solid #E5E5E5;
+ border-radius: 4px;
+ background: #F9F9F9;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ cursor: pointer;
+ }
+
+ .position-option.selected {
+ border-color: #18A0FB;
+ background: #E3F2FD;
+ }
+
+ .position-option:hover {
+ background: #F0F0F0;
+ }
+
+ .position-center {
+ background: #E5E5E5;
+ border-radius: 4px;
+ color: #333;
+ font-size: 12px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ .button-row {
+ display: flex;
+ justify-content: space-between;
+ margin-top: 16px;
+ }
+
+ .icon {
+ font-size: 16px;
+ }
+
+ .status {
+ margin-top: 12px;
+ font-size: 14px;
+ color: #666;
+ }
+
+ .success-message {
+ text-align: center;
+ padding: 24px 0;
+ }
+
+ .success-message .icon {
+ font-size: 48px;
+ color: #43B97F;
+ margin-bottom: 16px;
+ }
+
+ .annotation {
+ font-size: 14px;
+ color: #848484;
+ text-align: right;
+ margin-top: 16px;
+ position: absolute;
+ bottom: 16px;
+ left: auto;
+ right: 16px;
+ padding: 8px 16px;
+ width: fit-content;
+ background: #18a0fb28;
+ border-radius: 8px;
+ outline: 1px solid #18A0FB;
+ }
+
+ .italics {
+ font-style: italic;
+ }
+
+ .annotation a {
+ color: #098be3;
+ text-decoration: none;
+ }
+
+ .annotation a:hover {
+ text-decoration: underline;
+ }
+
+
+
+
+
+
-
-
-
-
Select Component
-
First, select the component or frame you want to add to your frames.
-
No component selected yet
-
-
-
+
+
-
-
-
-
Select Frames to Modify
-
Now, select the frames you want to modify.
-
No frames selected yet
-
-
-
-
+
+
-
-
-
-
Configure Auto Layout
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
Select Component
+
First, select the component or frame you want to add to your frames.
+
No component selected yet
+
+
-
-
-
-
-
✓
-
Changes Applied Successfully!
-
All frames have been wrapped and components added according to your settings.
-
+
+
+
+
+
Select Frames to Modify
+
Now, select the frames you want to modify.
+
No frames selected yet
+
+
+
+
+
+
+
+
+
Configure Auto Layout
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
✓
+
Changes Applied Successfully!
+
All frames have been wrapped and components added according to your settings.
+
+
-
-
\ No newline at end of file
+ else if (message.type === 'framesSelected') {
+ framesStatus.textContent = `Selected: ${message.count} frames`;
+ updateStep(3);
+ }
+ };
+
+ // Update UI based on current step
+ function updateStep(step) {
+ currentStep = step;
+
+ // Update step circles
+ step1Circle.className = 'step-circle';
+ step2Circle.className = 'step-circle';
+ step3Circle.className = 'step-circle';
+ line1.className = 'step-line';
+ line2.className = 'step-line';
+
+ // Hide all cards
+ step1Card.style.display = 'none';
+ step2Card.style.display = 'none';
+ step3Card.style.display = 'none';
+ successCard.style.display = 'none';
+
+ if (step === 0) {
+ step1Card.style.display = 'block';
+ step1Circle.className = 'step-circle active';
+ }
+ else if (step === 1) {
+ step1Card.style.display = 'block';
+ step1Circle.className = 'step-circle active';
+ }
+ else if (step === 2) {
+ step2Card.style.display = 'block';
+ step1Circle.className = 'step-circle completed';
+ step2Circle.className = 'step-circle active';
+ line1.className = 'step-line completed';
+ }
+ else if (step === 3) {
+ step3Card.style.display = 'block';
+ step1Circle.className = 'step-circle completed';
+ step2Circle.className = 'step-circle completed';
+ step3Circle.className = 'step-circle active';
+ line1.className = 'step-line completed';
+ line2.className = 'step-line completed';
+ }
+ else if (step === 4) {
+ successCard.style.display = 'block';
+ step1Circle.className = 'step-circle completed';
+ step2Circle.className = 'step-circle completed';
+ step3Circle.className = 'step-circle completed';
+ line1.className = 'step-line completed';
+ line2.className = 'step-line completed';
+ }
+ }
+
+ // Initialize UI
+ updateStep(0);
+
\ No newline at end of file