forked from jquery/themeroller.jquerymobile.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
590 lines (551 loc) · 46.7 KB
/
index.php
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
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
<?php
require_once( 'version.php' );
if ( isset($_GET['style_id']) ) {
$style_id = $_GET['style_id'];
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>ThemeRoller | jQuery Mobile</title>
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" />
<link rel="stylesheet" type="text/css" href="css/layout.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="css/farbtastic.css" />
<link rel="stylesheet" type="text/css" href="css/tr.css" />
<script src="js/jquery.js"></script>
<script src="js/jquery-ui.js"></script>
<script src="js/jquery-ui-tabs-paging.js"></script>
<script src="js/jquery.color.js"></script>
<script src="js/farbtastic.js"></script>
<script src="js/app.js"></script>
<script src="js/tr.js"></script>
<script src="js/kuler.js"></script>
</head>
<body>
<div id="load-mask">
<div id="load-screen">
<div id="load-spinner">
</div>
</div>
</div>
<div id="interface">
<div id="welcome" class="dialog" title=" ">
<h1><strong>Welcome</strong> to ThemeRoller for jQuery Mobile</h1>
<p>
You can create up to 26 theme "swatches" lettered from A-Z,
each with a unique color scheme that can be mixed and
matched for unlimited possibilities.
</p>
<p>
<strong>To start,</strong> either drag a QuickSwatch color onto an element in the preview
or use the inspector panel on the left to get crafty.
We recommend building themes with at least 3 swatches (A-C).
</p>
<div class="buttonpane">
<div class="separator"></div>
<img src="images/target_big.png" alt=" "/>
<div id="colors">
<div class="color-drag disabled" style="background-color: #C1272D"></div>
<div class="color-drag disabled" style="background-color: #ED1C24"></div>
<div class="color-drag disabled" style="background-color: #F7931E"></div>
<div class="color-drag disabled" style="background-color: #FFCC33"></div>
<div class="color-drag disabled" style="background-color: #FCEE21"></div>
<div class="color-drag disabled" style="background-color: #D9E021"></div>
<div class="color-drag disabled" style="background-color: #8CC63F"></div>
<div class="color-drag disabled" style="background-color: #009245"></div>
<div class="color-drag disabled" style="background-color: #006837"></div>
<div class="color-drag disabled" style="background-color: #00A99D"></div>
<div class="color-drag disabled" style="background-color: #33CCCC"></div>
<div class="color-drag disabled" style="background-color: #33CCFF"></div>
</div>
</div>
</div>
<div id="importing" class="dialog" title=" ">
<h1><img src="images/ajax-loader-white.gif" alt=" " /><strong>Importing...</strong></h1>
<div class="buttonpane">
<img src="images/target_big.png" alt=" "/>
<p>
Please give us a moment to update the panel with
the appropriate values.
</p>
</div>
</div>
<div id="upload" class="dialog" title=" ">
<h1><strong>Import</strong> Theme</h1>
<textarea id="load-css"></textarea>
<div class="buttonpane">
<img src="images/target_big.png" alt=" "/>
<p>
Copy and paste the contents of any uncompressed
jQuery Mobile theme file to load it in for editing.
</p>
</div>
</div>
<div id="download" class="dialog" title=" ">
<h1><strong>Download</strong> Theme<input value="" /><label for="theme-name">Theme Name</label></h1>
<p>
This will generate a Zip file that contains both a compressed (for production) and uncompressed (for editing)
version of the theme.
</p>
<p><strong>To use your theme</strong>, add it to the head of your page after the jquery.mobile.structure file, like this:</p>
<pre>
<code>
<!DOCTYPE html>
<html>
<head>
<title>jQuery Mobile page</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<span class="highlight"><link rel="stylesheet" href="css/themes/my-custom-theme.css" /></span>
<link rel="stylesheet" href="http://code.jquery.com/mobile/<?php echo $JQM_VERSION; ?>/jquery.mobile.structure-<?php echo $JQM_VERSION; ?>.min.css" />
<script src="http://code.jquery.com/jquery-<?php echo $JQUERY_VERSION; ?>.min.js"></script>
<script src="http://code.jquery.com/mobile/<?php echo $JQM_VERSION; ?>/jquery.mobile-<?php echo $JQM_VERSION; ?>.min.js"></script>
</head>
</code>
</pre>
<div class="buttonpane">
<div class="separator"></div>
<img src="images/target_big.png" alt=" "/>
<p>
Tip: To edit your theme later, use the import feature to paste in the uncompressed theme file
</p>
</div>
</div>
<div id="share" class="dialog" title=" ">
<h1><strong>Share</strong> Theme</h1>
<p>
Use this link to share a copy of your theme. People can download
or edit a copy of the theme, but your version won’t be changed.
</p>
<input type="text" value="" />
<div class="buttonpane">
<div class="separator"></div>
<img src="images/target_big.png" alt=" "/>
<p>
Important note: We can only store this theme URL on the server for 30 days, then it will be deleted.
Download a theme to keep a copy safe that you can import later.
</p>
</div>
</div>
<div id="help" class="dialog" title=" ">
<h1 id="help-top"><strong>ThemeRoller Mobile Help</strong></h1>
<p>The ThemeRoller Mobile tool makes it easy to create custom-designed themes for your mobile site or app. Just pick colors, then share your theme URL, or download the theme and drop it into your site.</p>
<ul>
<li><a href="#theme-intro">Theme basics</a></li>
<li><a href="#getting-started">Getting started</a></li>
<li><a href="#downloading">Downloading themes</a></li>
<li><a href="#importing">Importing themes</a></li>
<li><a href="#sharing">Sharing themes</a></li>
<li><a href="#supported">Supported browsers</a></li>
</ul>
<h3 id="theme-intro">Theme basics <a href="#help-top" class="help-top">^ Top</a></h3>
<p>A jQuery Mobile theme contains a both global settings for things like rounded corner radius and active (on) state, and up to to 26 "swatches" lettered from A-Z, each with a unique color scheme that can be mixed and matched for unlimited possibilities. Each swatch sets the colors, textures and font settings for the primary elements: toolbar, content block and button. Buttons have 3 interaction states: normal, hover, pressed. We recommend building themes with at least 3 swatches (A-C).</p>
<h3 id="getting-started">Getting Started <a href="#help-top" class="help-top">^ Top</a></h3>
<p>The ThemeRoller interface has 3 major zones: the left column contains the inspector panel, along the top is the QuickSwatch/Kuler bar, and below this is the preview window. </p>
<p>Use the <strong>inspector pane</strong> to set global theme settings on the first tab and tweak the individual style options for each swatch. Above the tabs, there are links to download, share, or import a theme.</p>
<p>In the <strong>QuickSwatch bar</strong>, you can turn the inspector feature on to automatically expand the relevant inspector section when you click on an element in the preview pane. Drag and drop a color from the QuickSwatch panel onto an element in the preview pane and the tool with automatically calculate text color and shadow, borders, gradients and even button states. The sliders make it easy to adjust the lightness and saturation of the colors. Click the Adobe Kuler Swatches to load pre-made color palettes from Adobe's popular color palette sharing site.</p>
<p>The <strong>preview pane</strong> shows a sample of common jQuery Mobile widgets that live update each time you make a change to the theme so you can quickly test and tweak the theme.</p>
<h3 id="downloading">Downloading themes <a href="#help-top" class="help-top">^ Top</a></h3>
<p>Once you have created your final theme, click the <strong>Download Theme</strong> link at the top of the inspector panel. In the download dialog, give your theme a name and press the <strong>Download Zip</strong> button. This will generate a zip file that contains both the compressed (production-ready) and uncompressed (editable) theme files and a simple test page (index.html) to show that everything worked (whew) and instructions on how to add the theme to your site. It's pretty simple: link your custom theme in the head of the page followed by the jQuery Mobile structure theme and you're ready to go. </p>
<h3 id="importing">Importing themes <a href="#help-top" class="help-top">^ Top</a></h3>
<p>The import feature is primarily designed to make it easy to either edit a theme you've downloaded or to generate a updated version of a theme for a new release of the library. When you download a theme, be sure keep the uncompressed version of the theme CSS file because this is used in the import process. To import a theme, click the <strong>Import</strong> link and paste the entire contents of the uncompressed theme file (select all > copy > paste) into the text input in the dialog, and the system will parse the theme into an editable format for sharing and downloading.</p>
<h3 id="Sharing">Sharing themes <a href="#help-top" class="help-top">^ Top</a></h3>
<p>To generate a theme URL that can be shared with others, click the <strong>Share</strong> link and copy the URL. Post it on Twitter and become a famous theme artist. Anyone that opens the shared URL can edit or download the theme, but theor activity won't affect your original theme. Note that due to the high volume of traffic, we can only store your theme on the server for 30 days so shared links have an expiration date. Be sure to download a copy of your theme for safekeeping.</p>
<h3 id="supported">Supported browsers <a href="#help-top" class="help-top">^ Top</a></h3>
<p>This is a beta version of a developer tool so we're committing to supporting the <strong>latest</strong> versions of popular desktop browsers: Chrome, Firefox, Safari. Even though the tool works in IE9, it doesn't support CSS gradients so we don't recommend recommend using this browser to create themes. If you're running into issues, maybe try a different browser or <a href="https://github.com/jquery/web-jquery-mobile-theme-roller/issues" target="new"><strong>log an issue</strong></a> in the tracker.</p>
<div class="buttonpane">
<div class="separator"></div>
<img src="images/target_big.png" alt=" "/>
<p>
</p>
</div>
</div>
<div id="colorpicker"></div>
<div id="themeroller_mobile">
<div id="themeroller_header">
<div id="themeroller_logo"><img src="images/themeroller_logo.png" alt=" "/></div>
<a href="#" id="themeroller_download"><img src="images/themeroller_download.png" alt=" "/></a>
<div id="separator"></div>
<span id="tr_links"><a href="#" id="tr_help">Help</a><a href="#" id="themeroller_upload">Import</a><a href="#" id="generate_url">Share</a></span>
</div>
<div id="tabs">
<ul>
<li><a href="#tab1">Global</a></li>
<li><a href="#tab2">A</a></li>
<li><a href="#tab3">B</a></li>
<li><a href="#tab4">C</a></li>
<li><a href="#tab5">+</a></li>
</ul>
<div id="tab1">
<h1>Theme Settings</h1>
<div class="accordion" data-form="ui-btn-active">
<div>
<h3><a href="#">Font Family</a></h3>
<form>
<label class="first">FONT</label><input data-type="font-family" data-name="global-font-family" value="Helvetica, Arial, sans-serif"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-btn-active">
<div>
<h3><a href="#">Active State</a></h3>
<form>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="global-active-color" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="global-active-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="global-active-shadow-y" value="-1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="global-active-shadow-radius" value="1px"/> <input data-name="global-active-shadow-color" data-type="text-shadow" class="colorwell" value="#145072"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="global-active-background-color" class="colorwell" value="#6CA6D4"/><div class="slider" data-type="background" data-name="global-active-background-color"></div> <a class="more" data-name="global-active-background" href="">+</a>
<div class="start-end" data-name="global-active-background"><label class="first">START</label><input data-type="start" data-name="global-active-background-start" class="colorwell" value="#85BAE4"/><label>END</label><input data-name="global-active-background-end" data-type="end" class="colorwell" value="#5393C5"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-name="global-active-border" data-type="border" class="colorwell" value="#155678"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-corner">
<div>
<h3><a href="#">Corner Radii</a></h3>
<form>
<label class="first">GROUP</label><input data-type="radius" data-name="global-radii-blocks" value=".6em"/><div class="slider" data-type="radius" data-name="global-radii-blocks" ></div><br class="clear"/>
<label class="first">BUTTONS</label><input data-type="radius" data-name="global-radii-buttons" value="1em"/><div class="slider" data-type="radius" data-name="global-radii-buttons" ></div><br class="clear" />
</form>
</div>
</div>
<div class="accordion" data-form="ui-icon">
<div>
<h3><a href="#">Icon</a></h3>
<form>
<label class="first">DEFAULT ICON</label><select data-type="icon_set" data-name="global-icon-set" ><option value="white">White</option><option value="black">Black</option></select> <select data-type="icon_disc" data-name="global-icon-disc" id="with_disc" ><option value="with_disc">With disc</option><option value="without_disc">W/O disc</option></select><br class="clear"/>
<label class="first">DISC COLOR</label><input data-type="icon_disc" data-name="global-icon-disc" class="colorwell" value="#000000"/><br class="clear"/>
<label class="first">DISC OPACITY</label><input data-type="icon_disc" data-name="global-icon-disc" id="icon_opacity" value="25"/> <br class="clear"/>
</form>
</div>
</div>
<div class="accordion">
<div>
<h3><a href="#">Box Shadow</a></h3>
<form>
<label class="first">COLOR</label><input data-type="box_shadow" data-name="global-box-shadow-color" class="colorwell" value="#000000"/><br class="clear"/>
<label class="first">OPACITY</label><input data-type="box_shadow" data-name="global-box-shadow-color" id="box-shadow-opacity" value="25"/><br class="clear"/>
<label class="first">SIZE</label><input data-type="box_shadow" data-name="global-box-shadow-size" id="box-shadow-size" value="4px"/><br class="clear" />
</form>
</div>
</div>
</div>
<div id="tab2">
<h1>Swatch A<a class="delete-swatch-a" href="">Delete</a></h1>
<div class="accordion" data-form="ui-bar-a">
<div>
<h3><a href="#">Header/Footer Bar</a></h3>
<form>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="a-bar-color" class="colorwell" value="#3E3E3E"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="a-bar-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="a-bar-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="a-bar-shadow-radius" value="1px"/> <input data-name="a-bar-shadow-color" data-type="text-shadow" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="a-bar-background-color" class="colorwell" value="#EDEDED"/><div class="slider" data-type="background" data-name="a-bar-background-color"></div> <a class="more" data-name="a-bar-background" href="#">+</a>
<div class="start-end" data-name="a-bar-background"><label class="first">START</label><input data-type="start" data-name="a-bar-background-start" class="colorwell" value="#F0F0F0"/> <span class="end-label">END</span> <input data-type="end" data-name="a-bar-background-end" class="colorwell" value="#E9EAEB"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="a-bar-border" class="colorwell" value="#B3B3B3"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-body-a">
<div>
<h3><a href="#">Content Body</a></h3>
<form>
<label class="first">LINK COLOR</label><input data-type="link" data-name="a-body-link-color" class="colorwell" value="#2489CE"/> <a class="more" data-name="a-body-link-color" href="#">+</a><br class="clear" />
<div class="start-end links" data-name="a-body-link-color">
<label class="first">LINK HOVER</label><input data-type="link" data-name="a-body-link-hover" class="colorwell" value="#2489CE"/><br class="clear" />
<label class="first">LINK ACTIVE</label><input data-type="link" data-name="a-body-link-active" class="colorwell" value="#2489CE"/><br class="clear" />
<label class="first">LINK VISITED</label><input data-type="link" data-name="a-body-link-visited" class="colorwell" value="#2489CE"/>
</div>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="a-body-color" class="colorwell" value="#333333"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="a-body-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="a-body-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="a-body-shadow-radius" value="0px"/> <input data-name="a-body-shadow-color" data-type="text-shadow" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="a-body-background-color" class="colorwell" value="#E5E5E5"/><div class="slider" data-type="background" data-name="a-body-background-color"></div> <a class="more" data-name="a-body-background" href="#">+</a>
<div class="start-end" data-name="a-body-background"><label class="first">START</label><input data-type="start" data-name="a-body-background-start" class="colorwell" value="#EEEEEE"/> <span class="end-label">END</span> <input data-type="end" data-name="a-body-background-end" class="colorwell" value="#DDDDDD"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="a-body-border" class="colorwell" value="#B3B3B3"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-btn-up-a">
<div>
<h3><a href="#">Button: Normal</a></h3>
<form>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="a-bup-color" class="colorwell" value="#444444"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="a-bup-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="a-bup-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="a-bup-shadow-radius" value="1px"/> <input data-name="a-bup-shadow-color" data-type="text-shadow" class="colorwell" value="#F6F6F6"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="a-bup-background-color" class="colorwell" value="#F6F6F6"/><div class="slider" data-type="background" data-name="a-bup-background-color"></div> <a class="more" data-name="a-bup-background" href="#">+</a>
<div class="start-end" data-name="a-bup-background"><label class="first">START</label><input data-type="start" data-name="a-bup-background-start" class="colorwell" value="#FEFEFE"/> <span class="end-label">END</span> <input data-type="end" data-name="a-bup-background-end" class="colorwell" value="#EEEEEE"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="a-bup-border" class="colorwell" value="#CCCCCC"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-btn-hover-a">
<div>
<h3><a href="#">Button: Hover</a></h3>
<form>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="a-bhover-color" class="colorwell" value="#101010"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="a-bhover-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="a-bhover-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="a-bhover-shadow-radius" value="1px"/> <input data-name="a-bhover-shadow-color" data-type="text-shadow" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="a-bhover-background-color" class="colorwell" value="#E3E3E3"/><div class="slider" data-type="background" data-name="a-bhover-background-color"></div> <a class="more" data-name="a-bhover-background" href="#">+</a>
<div class="start-end" data-name="a-bhover-background"><label class="first">START</label><input data-type="start" data-name="a-bhover-background-start" class="colorwell" value="#EDEDED"/> <span class="end-label">END</span> <input data-type="end" data-name="a-bhover-background-end" class="colorwell" value="#DADADA"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="a-bhover-border" class="colorwell" value="#BBBBBB"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-btn-down-a">
<div>
<h3><a href="#">Button: Pressed</a></h3>
<form>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="a-bdown-color" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="a-bdown-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="a-bdown-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="a-bdown-shadow-radius" value="1px"/> <input data-name="a-bdown-shadow-color" data-type="text-shadow" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="a-bdown-background-color" class="colorwell" value="#F5F5F5"/><div class="slider" data-type="background" data-name="a-bdown-background-color"></div> <a class="more" data-name="a-bdown-background" href="#">+</a>
<div class="start-end" data-name="a-bdown-background"><label class="first">START</label><input data-type="start" data-name="a-bdown-background-start" class="colorwell" value="#EEEEEE"/> <span class="end-label">END</span> <input data-type="end" data-name="a-bdown-background-end" class="colorwell" value="#FDFDFD"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="a-bdown-border" class="colorwell" value="#808080"/><br class="clear"/>
</form>
</div>
</div>
</div>
<div id="tab3">
<h1>Swatch B<a class="delete-swatch-b" href="">Delete</a></h1>
<div class="accordion" data-form="ui-bar-b">
<div>
<h3><a href="#">Header/Footer Bar</a></h3>
<form>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="b-bar-color" class="colorwell" value="#3E3E3E"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="b-bar-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="b-bar-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="b-bar-shadow-radius" value="1px"/> <input data-name="b-bar-shadow-color" data-type="text-shadow" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="b-bar-background-color" class="colorwell" value="#EDEDED"/><div class="slider" data-type="background" data-name="b-bar-background-color"></div> <a class="more" data-name="b-bar-background" href="#">+</a>
<div class="start-end" data-name="b-bar-background"><label class="first">START</label><input data-type="start" data-name="b-bar-background-start" class="colorwell" value="#F0F0F0"/> <span class="end-label">END</span> <input data-type="end" data-name="b-bar-background-end" class="colorwell" value="#E9EAEB"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="b-bar-border" class="colorwell" value="#B3B3B3"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-body-b">
<div>
<h3><a href="#">Content Body</a></h3>
<form>
<label class="first">LINK COLOR</label><input data-type="link" data-name="b-body-link-color" class="colorwell" value="#2489CE"/> <a class="more" data-name="b-body-link-color" href="#">+</a><br class="clear" />
<div class="start-end links" data-name="b-body-link-color">
<label class="first">LINK HOVER</label><input data-type="link" data-name="b-body-link-hover" class="colorwell" value="#2489CE"/><br class="clear" />
<label class="first">LINK ACTIVE</label><input data-type="link" data-name="b-body-link-active" class="colorwell" value="#2489CE"/><br class="clear" />
<label class="first">LINK VISITED</label><input data-type="link" data-name="b-body-link-visited" class="colorwell" value="#2489CE"/>
</div>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="b-body-color" class="colorwell" value="#333333"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="b-body-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="b-body-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="b-body-shadow-radius" value="0px"/> <input data-name="b-body-shadow-color" data-type="text-shadow" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="b-body-background-color" class="colorwell" value="#E5E5E5"/><div class="slider" data-type="background" data-name="b-body-background-color"></div> <a class="more" data-name="b-body-background" href="#">+</a>
<div class="start-end" data-name="b-body-background"><label class="first">START</label><input data-type="start" data-name="b-body-background-start" class="colorwell" value="#EEEEEE"/> <span class="end-label">END</span> <input data-type="end" data-name="b-body-background-end" class="colorwell" value="#DDDDDD"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="b-body-border" class="colorwell" value="#B3B3B3"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-btn-up-b">
<div>
<h3><a href="#">Button: Normal</a></h3>
<form>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="b-bup-color" class="colorwell" value="#444444"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="b-bup-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="b-bup-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="b-bup-shadow-radius" value="1px"/> <input data-name="b-bup-shadow-color" data-type="text-shadow" class="colorwell" value="#F6F6F6"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="b-bup-background-color" class="colorwell" value="#F6F6F6"/><div class="slider" data-type="background" data-name="b-bup-background-color"></div> <a class="more" data-name="b-bup-background" href="#">+</a>
<div class="start-end" data-name="b-bup-background"><label class="first">START</label><input data-type="start" data-name="b-bup-background-start" class="colorwell" value="#FEFEFE"/> <span class="end-label">END</span> <input data-type="end" data-name="b-bup-background-end" class="colorwell" value="#EEEEEE"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="b-bup-border" class="colorwell" value="#CCCCCC"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-btn-hover-b">
<div>
<h3><a href="#">Button: Hover</a></h3>
<form>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="b-bhover-color" class="colorwell" value="#101010"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="b-bhover-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="b-bhover-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="b-bhover-shadow-radius" value="1px"/> <input data-name="b-bhover-shadow-color" data-type="text-shadow" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="b-bhover-background-color" class="colorwell" value="#E3E3E3"/><div class="slider" data-type="background" data-name="b-bhover-background-color"></div> <a class="more" data-name="b-bhover-background" href="#">+</a>
<div class="start-end" data-name="b-bhover-background"><label class="first">START</label><input data-type="start" data-name="b-bhover-background-start" class="colorwell" value="#EDEDED"/> <span class="end-label">END</span> <input data-type="end" data-name="b-bhover-background-end" class="colorwell" value="#DADADA"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="b-bhover-border" class="colorwell" value="#BBBBBB"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-btn-down-b">
<div>
<h3><a href="#">Button: Pressed</a></h3>
<form>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="b-bdown-color" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="b-bdown-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="b-bdown-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="b-bdown-shadow-radius" value="1px"/> <input data-name="b-bdown-shadow-color" data-type="text-shadow" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="b-bdown-background-color" class="colorwell" value="#F5F5F5"/><div class="slider" data-type="background" data-name="b-bdown-background-color"></div> <a class="more" data-name="b-bdown-background" href="#">+</a>
<div class="start-end" data-name="b-bdown-background"><label class="first">START</label><input data-type="start" data-name="b-bdown-background-start" class="colorwell" value="#EEEEEE"/> <span class="end-label">END</span> <input data-type="end" data-name="b-bdown-background-end" class="colorwell" value="#FDFDFD"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="b-bdown-border" class="colorwell" value="#808080"/><br class="clear"/>
</form>
</div>
</div>
</div>
<div id="tab4">
<h1>Swatch C<a class="delete-swatch-c" href="">Delete</a></h1>
<div class="accordion" data-form="ui-bar-c">
<div>
<h3><a href="#">Header/Footer Bar</a></h3>
<form>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="c-bar-color" class="colorwell" value="#3E3E3E"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="c-bar-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="c-bar-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="c-bar-shadow-radius" value="1px"/> <input data-name="c-bar-shadow-color" data-type="text-shadow" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="c-bar-background-color" class="colorwell" value="#EDEDED"/><div class="slider" data-type="background" data-name="c-bar-background-color"></div> <a class="more" data-name="c-bar-background" href="#">+</a>
<div class="start-end" data-name="c-bar-background"><label class="first">START</label><input data-type="start" data-name="c-bar-background-start" class="colorwell" value="#F0F0F0"/> <span class="end-label">END</span> <input data-type="end" data-name="c-bar-background-end" class="colorwell" value="#E9EAEB"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="c-bar-border" class="colorwell" value="#B3B3B3"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-body-c">
<div>
<h3><a href="#">Content Body</a></h3>
<form>
<label class="first">LINK COLOR</label><input data-type="link" data-name="c-body-link-color" class="colorwell" value="#2489CE"/> <a class="more" data-name="c-body-link-color" href="#">+</a><br class="clear" />
<div class="start-end links" data-name="c-body-link-color">
<label class="first">LINK HOVER</label><input data-type="link" data-name="c-body-link-hover" class="colorwell" value="#2489CE"/><br class="clear" />
<label class="first">LINK ACTIVE</label><input data-type="link" data-name="c-body-link-active" class="colorwell" value="#2489CE"/><br class="clear" />
<label class="first">LINK VISITED</label><input data-type="link" data-name="c-body-link-visited" class="colorwell" value="#2489CE"/>
</div>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="c-body-color" class="colorwell" value="#333333"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="c-body-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="c-body-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="c-body-shadow-radius" value="0px"/> <input data-name="c-body-shadow-color" data-type="text-shadow" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="c-body-background-color" class="colorwell" value="#E5E5E5"/><div class="slider" data-type="background" data-name="c-body-background-color"></div> <a class="more" data-name="c-body-background" href="#">+</a>
<div class="start-end" data-name="c-body-background"><label class="first">START</label><input data-type="start" data-name="c-body-background-start" class="colorwell" value="#EEEEEE"/> <span class="end-label">END</span> <input data-type="end" data-name="c-body-background-end" class="colorwell" value="#DDDDDD"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="c-body-border" class="colorwell" value="#B3B3B3"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-btn-up-c">
<div>
<h3><a href="#">Button: Normal</a></h3>
<form>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="c-bup-color" class="colorwell" value="#444444"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="c-bup-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="c-bup-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="c-bup-shadow-radius" value="1px"/> <input data-name="c-bup-shadow-color" data-type="text-shadow" class="colorwell" value="#F6F6F6"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="c-bup-background-color" class="colorwell" value="#F6F6F6"/><div class="slider" data-type="background" data-name="c-bup-background-color"></div> <a class="more" data-name="c-bup-background" href="#">+</a>
<div class="start-end" data-name="c-bup-background"><label class="first">START</label><input data-type="start" data-name="c-bup-background-start" class="colorwell" value="#FEFEFE"/> <span class="end-label">END</span> <input data-type="end" data-name="c-bup-background-end" class="colorwell" value="#EEEEEE"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="c-bup-border" class="colorwell" value="#CCCCCC"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-btn-hover-c">
<div>
<h3><a href="#">Button: Hover</a></h3>
<form>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="c-bhover-color" class="colorwell" value="#101010"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="c-bhover-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="c-bhover-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="c-bhover-shadow-radius" value="1px"/> <input data-name="c-bhover-shadow-color" data-type="text-shadow" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="c-bhover-background-color" class="colorwell" value="#E3E3E3"/><div class="slider" data-type="background" data-name="c-bhover-background-color"></div> <a class="more" data-name="c-bhover-background" href="#">+</a>
<div class="start-end" data-name="c-bhover-background"><label class="first">START</label><input data-type="start" data-name="c-bhover-background-start" class="colorwell" value="#EDEDED"/> <span class="end-label">END</span> <input data-type="end" data-name="c-bhover-background-end" class="colorwell" value="#DADADA"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="c-bhover-border" class="colorwell" value="#BBBBBB"/><br class="clear"/>
</form>
</div>
</div>
<div class="accordion" data-form="ui-btn-down-c">
<div>
<h3><a href="#">Button: Pressed</a></h3>
<form>
<label class="first">TEXT COLOR</label><input data-type="color" data-name="c-bdown-color" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<label class="first">TEXT SHADOW</label><input title="Controls the horizontal offset of text shadow" data-type="text-shadow" data-name="c-bdown-shadow-x" value="0px"/> <input title="Controls the vertical offset of text shadow" data-type="text-shadow" data-name="c-bdown-shadow-y" value="1px"/> <input title="Controls the blur of text shadow" data-type="text-shadow" data-name="c-bdown-shadow-radius" value="1px"/> <input data-name="c-bdown-shadow-color" data-type="text-shadow" class="colorwell" value="#FFFFFF"/><br class="clear"/>
<div class="separator"></div>
<label class="first">BACKGROUND</label><input data-type="background" data-name="c-bdown-background-color" class="colorwell" value="#F5F5F5"/><div class="slider" data-type="background" data-name="c-bdown-background-color"></div> <a class="more" data-name="c-bdown-background" href="#">+</a>
<div class="start-end" data-name="c-bdown-background"><label class="first">START</label><input data-type="start" data-name="c-bdown-background-start" class="colorwell" value="#EEEEEE"/> <span class="end-label">END</span> <input data-type="end" data-name="c-bdown-background-end" class="colorwell" value="#FDFDFD"/></div>
<div class="separator"></div>
<label class="first">BORDER</label><input data-type="border" data-name="c-bdown-border" class="colorwell" value="#808080"/><br class="clear"/>
</form>
</div>
</div>
</div>
<div id="tab5">
<!--new swatch -->
</div>
</div>
</div>
<div id="wrapper">
<div id="header-wrapper">
<div id="header">
<div id="inspector_form">
<h2>Inspector:</h2>
<div class="radio left" data-id="inspector-on">
On
</div>
<div class="radio right on">
Off
</div>
</div>
<div id="quickswatch">
<h2>Drag a color onto an element below or in the panel</h2>
<div class="colors">
<div class="color-drag" style="background-color: #FFFFFF"></div>
<div class="color-drag" style="background-color: #F2F2F2"></div>
<div class="color-drag" style="background-color: #E6E6E6"></div>
<div class="color-drag" style="background-color: #CCCCCC"></div>
<div class="color-drag" style="background-color: #808080"></div>
<div class="color-drag" style="background-color: #4D4D4D"></div>
<div class="color-drag" style="background-color: #000000"></div>
<div class="color-drag" style="background-color: #C1272D"></div>
<div class="color-drag" style="background-color: #ED1C24"></div>
<div class="color-drag" style="background-color: #F7931E"></div>
<div class="color-drag" style="background-color: #FFCC33"></div>
<div class="color-drag" style="background-color: #FCEE21"></div>
<div class="color-drag" style="background-color: #D9E021"></div>
<div class="color-drag" style="background-color: #8CC63F"></div>
<div class="color-drag" style="background-color: #009245"></div>
<div class="color-drag" style="background-color: #006837"></div>
<div class="color-drag" style="background-color: #00A99D"></div>
<div class="color-drag" style="background-color: #33CCCC"></div>
<div class="color-drag" style="background-color: #33CCFF"></div>
<div class="color-drag" style="background-color: #29ABE2"></div>
<div class="color-drag" style="background-color: #0071BC"></div>
<div class="color-drag" style="background-color: #2E3192"></div>
<div class="color-drag" style="background-color: #662D91"></div>
<div class="color-drag" style="background-color: #93278F"></div>
<div class="color-drag" style="background-color: #D4145A"></div>
<div class="color-drag" style="background-color: #ED1E79"></div>
<div class="color-drag" style="background-color: #C7B299"></div>
<div class="color-drag" style="background-color: #736357"></div>
<div class="color-drag" style="background-color: #C69C6D"></div>
<div class="color-drag" style="background-color: #8C6239"></div>
<div class="color-drag" style="background-color: #603813"></div>
<div class="color-drag disabled separator" style="background-color: #ddd"></div>
<div class="color-drag disabled" style="background-color: #ddd"></div>
<div class="color-drag disabled" style="background-color: #ddd"></div>
<div class="color-drag disabled" style="background-color: #ddd"></div>
<div class="color-drag disabled" style="background-color: #ddd"></div>
</div>
<div id="sliders">
<img src="images/target.png" alt=" "/>
<span>LIGHTNESS</span><div id="lightness_slider"></div>
<span>SATURATION</span><div id="saturation_slider"></div>
</div>
</div>
<div id="back-to-jquery">
<a href="http://jquerymobile.com/">
<img src="images/jquery-mobile-logo.png" alt="jQuery Mobile" />
</a>
</div>
</div>
</div>
<div id="content">
<iframe id="frame" src="preview.html" onload="$.tr.iframeLoadCallback();">
</iframe>
</div>
<div id="style"><?php echo file_get_contents( 'css/' . ( isset($style_id) ? 'user_themes/' . $style_id : 'default' ) . '.css');?></div>
</div>
</div>
</body>
</html>