File size: 6,412 Bytes
b08268c
 
984ded1
056a75f
 
 
984ded1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6f9bd85
984ded1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e725706
 
29b885b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b08268c
 
 
6f9bd85
b08268c
 
 
 
 
 
6f9bd85
b08268c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8483b72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b08268c
29a6933
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b08268c
 
 
 
984ded1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
/* static/style.css */

/* Custom UI styles - uniquely named classes to avoid conflicts */
#preview-iframe {
  height: 500px !important;
}
.ssth_container {
    background-color: #1e293b; /* Dark blue */
    color: #f8fafc; /* Light gray text */
    font-family: sans-serif;
    padding: 2rem;
    min-height: 100vh;
}

.ssth_title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #cbd5e1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ssth_tab_container {
    display: flex;
    border-bottom: 2px solid #334155;
    margin-bottom: 2rem;
}

.ssth_tab_button {
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    color: #94a3b8;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.ssth_tab_button:hover {
    color: #cbd5e1;
}

.ssth_tab_button.active {
    color: #cbd5e1;
    border-color: #60a5fa;
}

.ssth_form_card {
    background-color: #334155;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.ssth_form_label {
    display: block;
    font-weight: medium;
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.ssth_form_input,
.ssth_form_select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #475569;
    background-color: #475569;
    color: #f8fafc;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}

.ssth_form_input:focus,
.ssth_form_select:focus {
    outline: none;
    border-color: #60a5fa;
}

.ssth_form_radio_group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ssth_form_radio_label {
    color: #94a3b8;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.ssth_form_radio_label input[type="radio"] {
    margin-right: 0.5rem;
}

.ssth_form_submit_button {
    width: 100%;
    padding: 0.75rem;
    background-color: #60a5fa;
    color: #f8fafc;
    border: none;
    border-radius: 0.375rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ssth_form_submit_button:hover {
    background-color: #4f86c6;
}

.ssth_section_title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.ssth_file_window {
    margin-bottom: 1rem;
    border: 1px solid #475569;
    border-radius: 0.375rem;
    overflow: hidden; /* Prevents code from overflowing rounded corners */
}

.ssth_file_title {
    background-color: #475569;
    color: #f8fafc;
    padding: 0.5rem;
    font-weight: medium;
}

.ssth_code_container {
    max-height: 300px;
    overflow-y: auto;
    background-color: #2d3748;
    padding: 0.75rem;
    font-family: monospace;
    font-size: 0.875rem;
    color: #f8fafc;
    white-space: pre-wrap; /* Allows line breaks */
}

.ssth_preview_container {
    border: 1px solid #475569;
    padding: 1rem;
    max-height: 700px; /* Increased height */
    overflow-y: auto;
    background-color: #f8fafc;
    color: #1e293b;
    border-radius: 0.375rem;
}

.ssth_error_message {
    color: #f87171; /* Red */
    font-weight: bold;
}

.ssth_combined_code_section {
    margin-top: 2rem;
}

.ssth_combined_code_container {
    background-color: #2d3748;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    max-height: 400px;
    overflow-y: auto;
    font-family: monospace;
    color: #f8fafc;
    white-space: pre-wrap;
}

/* Hide all tab content by default */
.tab-content {
    display: none;
}

/* Show active tab content */
.tab-content.active {
    display: block;
}

/* Status Messages and Progress Bar */
.ssth_status_area {
    margin-bottom: 2rem; /* Spacing between form and results */
}

.ssth_status_messages {
    background-color: #475569;
    color: #f0f9ff;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-style: italic;
    margin-bottom: 0.5rem; /* Space between message and progress bar */
}

.ssth_progress_bar_container {
    width: 100%;
    background-color: #ddd; /* Light grey background for the bar container */
    border-radius: 0.5rem;
    overflow: hidden; /* Ensure rounded corners */
}

.ssth_progress_bar {
    height: 20px;
    background-color: #4caf50; /* Green progress bar */
    width: 0%; /* Initial width is 0 */
    text-align: center;
    line-height: 20px;
    color: white;
    transition: width 0.3s ease-in-out; /* Smooth width transition */
}

/* Results Layout Styles */
.ssth_results_layout {
    display: grid;
    grid-template-columns: 1fr; /* Single column layout */
    gap: 2rem;
    margin-top: 2rem;
}

.ssth_preview_area {
    display: grid;
    grid-template-columns: 1fr; /* Single column for full-width preview */
    gap: 2rem;
    margin-bottom: 2rem; /* Spacing between preview and code areas */
}

.ssth_website_preview_section {
    background-color: #334155;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.ssth_code_area {
    display: grid;
    grid-template-columns: 1fr; /* Stacked on smaller screens */
    gap: 2rem;
}
.ssth_download_button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

.ssth_download_button:hover {
    background-color: #3e8e41;
}


.ssth_download_button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

.ssth_download_button:hover {
    background-color: #3e8e41;
}

.ssth_copy_button {
    background-color: #008CBA; /* Blue */
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

.ssth_copy_button:hover {
    background-color: #0077A3;
}

@media (min-width: 768px) { /* Medium screens and up */
    .ssth_code_area {
        grid-template-columns: 1fr 1fr; /* Side-by-side code columns on larger screens */
    }
}