-
Notifications
You must be signed in to change notification settings - Fork 0
/
template_settings.php
559 lines (463 loc) · 26.8 KB
/
template_settings.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
<div id="settings-holder">
<?php
$color_scheme2 = get_option('color-scheme2', 'mw-template-liteness');
if ($color_scheme2 == '') {
$color_scheme2 = 'lite';
}
$color_scheme = get_option('color-scheme', 'mw-template-liteness');
if ($color_scheme == '') {
$color_scheme = 'color-white';
}
$font = get_option('font', 'mw-template-liteness');
if ($font == '') {
$font = 'lato';
}
$bgimage = get_option('bgimage', 'mw-template-liteness');
$custom_css_json = get_option('custom_css_json', 'mw-template-liteness');
$custom_bg = get_option('custom_bg', 'mw-template-liteness');
$custom_bg_position = get_option('custom_bg_position', 'mw-template-liteness');
$custom_bg_size = get_option('custom_bg_size', 'mw-template-liteness');
?>
<?php if ($custom_css_json == '') { ?>
<script>CSSJSON = {}</script>
<?php } else { ?>
<script>CSSJSON = <?php print $custom_css_json; ?></script>
<?php } ?>
<?php
$selectors = liteness_template_colors_selectors();
$selectors_js = '';
foreach ($selectors as $name => $selector) {
$selectors_js .= '"' . $name . '":"' . $selector . '",';
}
$selectors_js = substr_replace($selectors_js, "", -1);
?>
<script>
SELECTORS = { <?php print $selectors_js; ?> };
CUSTOMBG = "<?php print $custom_bg ?>";
ExtraPad = function () {
var scheme = mw.$("#color-scheme-input").val();
var final = '';
if (scheme == 'transparent') {
var final = '';
}
if (!!CSSJSON['third']) {
if (CSSJSON['third'].toLowerCase() != '#ffffff' && CSSJSON['third'].toLowerCase() != '' && mwd.getElementById('color-scheme-input').value != 'transparent') {
var final = '.box-container{padding: 20px; }.box-container .box-container{ padding: 0; }';
}
if (CSSJSON['third'].toLowerCase() == '#ffffff') {
var final = '.box-container{padding: 0; }';
}
}
if (!!CSSJSON['fourth']) {
if (CSSJSON['fourth'].toLowerCase() != '#ffffff') {
var final = '.box-container{padding: 20px; }.box-container .box-container{ padding: 0; }';
}
}
return final;
};
</script>
<link href='//fonts.googleapis.com/css?family=Lato:400,300,700' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Roboto+Slab:400,300&subset=latin,cyrillic,cyrillic-ext,greek,latin-ext' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,300italic&subset=latin,cyrillic,greek,latin-ext' rel='stylesheet' type='text/css'>
<script>
mw.require("<?php print TEMPLATE_URL; ?>template_settings.css");
_body = window.parent.document.body;
setScheme = function (scheme) {
var csslink = window.parent.document.getElementById('colorscss');
var url = mw.settings.template_url + 'css/colors/' + scheme + '.css?v=' + mw.random();
csslink.href = url;
}
cleanFont = function () {
mw.$("#font_family li").each(function () {
var val = $(this).attr('value');
$(_body).removeClass(val);
});
}
removeBGImage = function () {
mw.$(".pick-image").each(function () {
var val = $(this).dataset('value');
$(_body).removeClass(val);
});
}
$(document).ready(function () {
mw.dropdown();
mw.$(".pick-scheme").click(function () {
if (!$(this).hasClass('active')) {
mw.$(".pick-scheme").removeClass('active');
$(this).addClass('active');
var val = $(this).dataset('value');
setScheme(val);
mw.$("#color-scheme-input").val(val).trigger("change");
/****************************************************
Simple Functions to reset one or more custom colors
primary('');
CleanCSSandJSON();
if(!!CSSJSON['third']){
third(CSSJSON['third'].replace(/#/g, ''));
}
****************************************************/
}
});
mw.$(".pick-image").click(function () {
if (!$(this).hasClass('active')) {
mw.$(".pick-image").removeClass('active');
$(this).addClass('active');
var val = $(this).dataset('value');
removeBGImage();
$(_body).addClass(val)
mw.$("#bgimage").val(val).trigger("change");
if (val == 'bgimagecustom') {
mw.$("#background-options").show();
}
else {
mw.$("#background-options").hide();
}
}
});
mw.$("#font_family").bind("change", function () {
cleanFont();
var val = $(this).getDropdownValue();
_body.className += ' ' + val;
mw.$("#font-input").val(val).trigger("change");
});
/******************
Active Classes
******************/
mw.$(".pick-scheme[data-value='<?php print $color_scheme; ?>']").addClass("active");
mw.$(".pick-image[data-value='<?php print $bgimage; ?>']").addClass("active");
mwd.getElementById('color-scheme-input').value = "<?php print $color_scheme; ?>";
mw.$('#custom_bg').val("<?php print $custom_bg; ?>");
mw.$('#bgimage').val("<?php print $bgimage; ?>");
mw.$('#custom_bg_position').val("<?php print $custom_bg_position; ?>");
mw.$('#custom_bg_size').val("<?php print $custom_bg_size; ?>");
mw.$("#ts_bg_position .square_map_item[data-value='<?php print $custom_bg_position; ?>']").addClass("active");
/**********************************************************************
Universal Color Picker - will be used for all template settings
***********************************************************************/
/* Colors */
mw.$('[data-func="primary"]').css('background', CSSJSON['primary']);
mw.$('[data-func="secondary"]').css('background', CSSJSON['secondary']);
mw.$('[data-func="third"]').css('background', CSSJSON['third']);
mw.$('[data-func="fourth"]').css('background', CSSJSON['fourth']);
mw.$('[data-func="fifth"]').css('background', CSSJSON['fifth']);
Settings = {};
Settings.tip = mw.tooltip({content: "", element: '.custom-color', position: 'top-left'});
primary = function (a) {
var cTag = parent.mwd.getElementById('customcolorscss');
SetJSON('primary', '#' + a);
mw.tools.createStyle(cTag, BuildCSS());
mw.$('[data-func="primary"]').css('background', '#' + a);
}
secondary = function (a) {
var cTag = parent.mwd.getElementById('customcolorscss');
SetJSON('secondary', '#' + a);
mw.tools.createStyle(cTag, BuildCSS());
mw.$('[data-func="secondary"]').css('background', '#' + a);
}
third = function (a) {
var cTag = parent.mwd.getElementById('customcolorscss');
SetJSON('third', '#' + a);
mw.tools.createStyle(cTag, BuildCSS());
mw.$('[data-func="third"]').css('background', '#' + a);
}
fourth = function (a) {
var cTag = parent.mwd.getElementById('customcolorscss');
SetJSON('fourth', '#' + a);
mw.tools.createStyle(cTag, BuildCSS());
mw.$('[data-func="fourth"]').css('background', '#' + a);
}
fifth = function (a) {
var cTag = parent.mwd.getElementById('customcolorscss');
SetJSON('fifth', '#' + a);
mw.tools.createStyle(cTag, BuildCSS());
mw.$('[data-func="fifth"]').css('background', '#' + a);
}
UpdateCSS = function (property, value) {
var css = parent.window.mwd.getElementById('customcolorscss');
SetJSON(property, value);
}
BuildCSS = function () {
var final = '', i;
final += SELECTORS["primary_bg"] + '{background-color:' + CSSJSON['primary'] + '}';
final += SELECTORS["primary_color"] + '{color:' + CSSJSON['primary'] + '}';
final += SELECTORS["secondary_bg"] + '{background-color:' + CSSJSON['secondary'] + '}';
final += SELECTORS["secondary_color"] + '{color:' + CSSJSON['secondary'] + '}';
final += SELECTORS["third_bg"] + '{background-color:' + CSSJSON['third'] + '}';
final += SELECTORS["third_color"] + '{color:' + CSSJSON['third'] + '}';
final += SELECTORS["fourth_bg"] + '{background-color:' + CSSJSON['fourth'] + '}';
final += SELECTORS["fourth_color"] + '{color:' + CSSJSON['fourth'] + '}';
final += SELECTORS["fifth_bg"] + '{background-color:' + CSSJSON['fifth'] + '}';
final += SELECTORS["fifth_color"] + '{color:' + CSSJSON['fifth'] + '}';
final += ExtraPad();
return final;
}
SaveJSONInt = null;
SetJSON = function (property, value) {
CSSJSON[property] = value;
clearTimeout(SaveJSONInt);
SaveJSONInt = setTimeout(function () {
mw.$("#custom_css_json").val(JSON.stringify(CSSJSON)).trigger('change');
}, 500);
}
CleanCSSandJSON = function () {
CSSJSON = {}
mw.$("#custom_css_json").val('').trigger('change');
var cTag = parent.mw.$('#customcolorscss').empty();
mw.$('.pick-custom').removeAttr('style');
}
$(Settings.tip).addClass('settings-colorpick').hide();
Settings.colorPicker = mw.external({
name: "color_picker",
holder: mw.$('.mw-tooltip-content', Settings.tip)[0],
params: {onlypicker: 'true'}
});
Settings.colorPickerCallback = function (a) {
mw.external({
name: "color_picker",
holder: mw.$('.mw-tooltip-content', Settings.tip)[0],
callback: window[a],
params: {onlypicker: 'true'}
});
}
$(Settings.colorPicker).width(235).height(125);
pickerElement = undefined;
$(window).bind('scroll', function () {
if (!!pickerElement) {
mw.tools.tooltip.setPosition(Settings.tip, pickerElement, 'top-left');
}
});
mw.$(".picklabel").click(function () {
pickerElement = mw.$('.custom-color', this)[0];
if (!$(pickerElement).hasClass('active')) {
mw.$('.custom-color').removeClass('active');
$(pickerElement).addClass('active');
Settings.colorPickerCallback($(pickerElement).dataset('func'));
mw.tools.tooltip.setPosition(Settings.tip, pickerElement, 'top-left');
mw.$('iframe', Settings.tip)[0].contentWindow.setColor($(pickerElement).css('backgroundColor'));
$(Settings.tip).show();
}
else {
mw.$('.settings-colorpick').hide();
mw.$('.custom-color').removeClass('active');
}
});
$(mwd.body).bind('mousedown', function (e) {
if (!mw.tools.hasParentsWithClass(e.target, 'mw-tooltip-content')
&& !mw.tools.hasClass(e.target, 'pick-custom')
&& !mw.tools.hasClass(e.target, 'mw-tooltip-content')
&& e.target !== mwd.body
&& !mw.tools.hasParentsWithClass(e.target, 'picklabel')) {
mw.$('.settings-colorpick').hide();
mw.$('.custom-color').removeClass('active');
}
});
var uploader = mw.uploader({filetypes: 'images', multiple: false});
mw.$("#upload_custom_body_image").append(uploader);
$(uploader).bind('FilesAdded', function () {
mw.$("#image-upload-progress").show();
mw.$("#upload_custom_body_image").hide();
});
$(uploader).bind('progress', function (a, b) {
mw.$("#image-upload-progress .mw-ui-progress-bar").width(b.percent + '%');
});
$(uploader).bind('FileUploaded', function (a, b) {
mw.$("#image-upload-progress").hide();
mw.$("#upload_custom_body_image").show();
mw.$("#background-options").show();
mw.$(".pick-image.active").removeClass("active");
mw.$("#pick-image-custom-body").addClass("active");
mw.$("#image-upload-progress .mw-ui-progress-bar").width(0);
mw.$('#custom_bg').val(b.src).trigger('change');
mw.$('#bgimage').val('bgimagecustom').trigger('change');
parent.mw.tools.classNamespaceDelete(parent.mwd.body, 'bgimage');
mw.$("#pick-image-custom-body").css("backgroundImage", 'url(' + b.src + ')').css('visibility', 'visible');
parent.$(parent.mwd.body).addClass('bgimagecustom');
parent.mw.$('#custom_bg').empty().html('body.bgimagecustom{background-image:url(' + b.src + ')}' + ExtraPad());
});
mw.$("#ts_bg_position .square_map_item").hover(function () {
mw.$("#ts_bg_position .square_map_value").html($(this).html());
});
mw.$("#ts_bg_position .square_map_item").bind("mousedown", function () {
mw.$("#ts_bg_position .mw-dropdown-val").html($(this).html())
});
mw.$("#ts_bg_position .square_map_item").bind("click", function () {
if (!$(this).hasClass("active")) {
mw.$("#ts_bg_position .square_map_item").removeClass("active");
mw.$(this).addClass("active");
var val = $(this).dataset("value");
mw.$("#custom_bg_position").val(val).trigger("change");
if (mw.$('#bgimage').val() == 'bgimagecustom') {
var css = 'body.bgimagecustom{background-image:url(' + mw.$('#custom_bg').val() + ')}body.bgimagecustom{background-position:' + val + ';background-size:' + mw.$("#custom_bg_size").val() + ';}' + ExtraPad();
parent.mw.$('#custom_bg').empty().html(css);
}
mw.$("#ts_bg_position .mw-dropdown-val").html($(this).html())
}
});
mw.$("#ts_bg_size").bind("change", function () {
var val = $(this).getDropdownValue();
mw.$("#custom_bg_size").val(val).trigger("change");
var css = 'body.bgimagecustom{background-image:url(' + mw.$('#custom_bg').val() + ')}body.bgimagecustom{background-size:' + val + ';background-position:' + mw.$("#custom_bg_position").val() + ';}' + ExtraPad();
parent.mw.$('#custom_bg').empty().html(css);
});
mw.$("#ts_bg_position, #ts_bg_size").bind("click", function () {
window.scrollTo(0, document.body.scrollHeight);
});
});
</script>
<script>
mw.require("files.js");
mw.require("<?php print mw_includes_url(); ?>css/wysiwyg.css");
mw.require("<?php print mw_includes_url(); ?>css/liveedit.css");
</script>
<h1><?php _lang("Template Settings", "templates/liteness"); ?></h1>
<hr>
<label class="template-setting-label"><?php _lang("Font", "templates/liteness"); ?></label>
<div title="Template Font" id="font_family" class="mw-dropdown mw-dropdown-default body-class w100">
<span class="mw-dropdown-value mw-ui-btn mw-dropdown-val">
<span class="mw-dropdown-val"><?php _lang("Select", "templates/liteness"); ?></span>
</span>
<div class="mw-dropdown-content">
<ul>
<li value=""><a style="font-family: inherit" href="#">Default</a></li>
<li value="font-arial"><a style="font-family: Arial" href="#">Arial</a></li>
<li value="font-verdana"><a style="font-family: Verdana" href="#">Verdana</a></li>
<li value="font-lato"><a style="font-family: Lato" href="#">Lato</a></li>
<li value="font-georgia"><a style="font-family: Georgia" href="#">Georgia</a></li>
<li value="font-times"><a style="font-family: 'Times New Roman', Times, serif;" href="#">Times New Roman</a></li>
<li value="font-robotoslab"><a style="font-family: Roboto Slab" href="#">Roboto Slab</a></li>
<li value="font-opensans"><a style="font-family: Open Sans" href="#">Open Sans</a></li>
</ul>
</div>
</div>
<label for="select" class="template-setting-label">Color scheme</label>
<select name="color-scheme2" id="color-scheme2" class="mw-ui-field mw_option_field w100" data-option-group="mw-template-liteness">
<option value="lite" <?php if ($color_scheme2 == '' OR $color_scheme2 == 'lite') {
echo 'selected';
} ?>>Lite
</option>
<option value="dark-orange"<?php if ($color_scheme2 == 'dark-orange') {
echo 'selected';
} ?>>Dark Orange
</option>
</select>
<hr>
<label class="template-setting-label">Color scheme</label>
<div>
<!--<a href="javascript:;" class="pick-scheme" style="background-color: #ffffff" data-value='default'></a>
<a href="javascript:;" class="pick-scheme" style="background-color: #1C659C" data-value='blue'></a>
<a href="javascript:;" class="pick-scheme" style="background-color: #EB8100" data-value='orange'></a>
<a href="javascript:;" class="pick-scheme" style="background-color: #8718BD" data-value='purple'></a>
<a href="javascript:;" class="pick-scheme" style="background-color: #FFA4D5" data-value='pink'></a>-->
<a href="javascript:;" class="pick-scheme scheme-transparent" data-value='transparent'></a>
</div>
<span class="mw-ui-btn mw-ui-btn-medium right" onclick="CleanCSSandJSON();" style="margin-top: 4px;"><?php _lang("Reset", "templates/liteness"); ?></span>
<!--<label class="template-setting-label ">Custom colors</label>
<span class="picklabel">
<a href="javascript:;" class="pick-custom custom-color scheme-transparent" data-func="primary"></a>
<label class="desc"><?php /*_e("Main color"); */ ?>
<small class="muted">( <?php /*_e("Header, Footer"); */ ?> )</small></label>
</span>
<span class="picklabel">
<a href="javascript:;" class="pick-custom custom-color scheme-transparent" data-func="fifth"></a>
<label><?php /*_e("Buttons & Links"); */ ?></label>
</span>
<span class="picklabel">
<a href="javascript:;" class="pick-custom custom-color scheme-transparent" data-func="fourth"></a>
<label><?php /*_e("Box color"); */ ?></label>
</span>
<span class="picklabel">
<a href="javascript:;" class="pick-custom custom-color scheme-transparent" data-func="secondary"></a>
<label><?php /*_e("Text color"); */ ?></label>
</span>-->
<hr>
<label class="template-setting-label"><?php _lang("Site Background", "templates/liteness"); ?></label>
<span class="picklabel">
<a href="javascript:;" class="pick-custom custom-color scheme-transparent" data-func="third"></a>
<label><?php _lang("Background color", "templates/liteness"); ?></label>
</span>
<hr>
<label class="template-setting-label"><?php _lang("Background image", "templates/liteness"); ?></label>
<div class="body-bgs-holder">
<a href="javascript:;" class="pick-image scheme-transparent" data-value='bgimage0'></a>
<a href="javascript:;" class="pick-image" style="background-image: url(<?php print TEMPLATE_URL; ?>img/bgimage1.png)" data-value='bgimage1'></a>
<a href="javascript:;" class="pick-image" style="background-image: url(<?php print TEMPLATE_URL; ?>img/bgimage2.jpg)" data-value='bgimage2'></a>
<a href="javascript:;" class="pick-image" style="background-image: url(<?php print TEMPLATE_URL; ?>img/bgimage3.jpg)" data-value='bgimage3'></a>
<a href="javascript:;" class="pick-image" style="background-image: url(<?php print TEMPLATE_URL; ?>img/bgimage4.jpg)" data-value='bgimage4'></a>
<a href="javascript:;"
class="pick-image pick-image-custom<?php if ($bgimage == 'bgimagecustom') {
print ' active';
} ?>"
id="pick-image-custom-body"
style="background-image: url(<?php print $custom_bg; ?>);<?php if ($custom_bg != '') {
print 'visibility:visible;';
} ?>"
data-value="bgimagecustom">
</a>
<div id="background-options" style="<?php if ($bgimage == 'bgimagecustom') {
print 'display:block;';
} ?>">
<div class="mw-ui-row-nodrop">
<div class="mw-ui-col">
<div id="ts_bg_position" class="mw-dropdown mw-dropdown-type-wysiwyg">
<span class="mw-dropdown_val-holder">
<span class="mw-dropdown-arrow"></span>
<span style="width: auto;display: block" class="mw-dropdown-val"><?php _lang("Position", "templates/liteness"); ?></span>
</span>
<div class="mw-dropdown-content">
<ul style="width: 100%">
<li value="true">
<div class="square_map">
<table align="center" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><span data-value="left top" class="square_map_item square_map_item_default"><?php _lang("Left Top", "templates/liteness"); ?></span></td>
<td><span data-value="center top" class="square_map_item"><?php _lang("Center Top", "templates/liteness"); ?></span></td>
<td><span data-value="right top" class="square_map_item"><?php _lang("Right Top", "templates/liteness"); ?></span></td>
</tr>
<tr>
<td><span data-value="left center" class="square_map_item"><?php _lang("Left Center", "templates/liteness"); ?></span></td>
<td><span data-value="center" class="square_map_item"><?php _lang("Center", "templates/liteness"); ?></span></td>
<td><span data-value="right center" class="square_map_item"><?php _lang("Right Center", "templates/liteness"); ?></span></td>
</tr>
<tr>
<td><span data-value="left bottom" class="square_map_item"><?php _lang("Left Bottom", "templates/liteness"); ?></span></td>
<td><span data-value="center bottom" class="square_map_item"><?php _lang("Center Bottom", "templates/liteness"); ?></span></td>
<td><span data-value="right bottom" class="square_map_item"><?php _lang("Right Bottom", "templates/liteness"); ?></span></td>
</tr>
</tbody>
</table>
<span class="square_map_value">Left Top</span>
</div>
</li>
</ul>
</div>
</div>
</div>
<div class="mw-ui-col">
<div title="Background Size" id="ts_bg_size" class="mw-dropdown mw-dropdown-type-wysiwyg"> <span class="mw-dropdown-val_holder">
<span class="mw-dropdown-arrow"></span> <span class="mw-dropdown-val" style="width: auto;display: block"><?php _lang("Size", "templates/liteness"); ?></span> </span>
<div class="mw-dropdown-content" style="display: none;">
<ul>
<li value="auto"><a href="javascript:;"><?php _lang("Auto", "templates/liteness"); ?></a></li>
<li value="contain"><a href="javascript:;"><?php _lang("Fit", "templates/liteness"); ?></a></li>
<li value="cover"><a href="javascript:;"><?php _lang("Cover", "templates/liteness"); ?></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<span class="mw-ui-btn mw-ui-btn-medium" id="upload_custom_body_image"><?php _lang("Upload your image", "templates/liteness"); ?></span>
<div class="mw-ui-progress-small" id="image-upload-progress" style="display: none">
<div style="width: 0%;" class="mw-ui-progress-bar"></div>
</div>
</div>
<input type="hidden" class="mw_option_field" id="color-scheme-input" name="color-scheme" data-option-group="mw-template-liteness"/>
<input type="hidden" class="mw_option_field" id="font-input" name="font" data-option-group="mw-template-liteness"/>
<input type="hidden" class="mw_option_field" id="bgimage" name="bgimage" data-option-group="mw-template-liteness"/>
<input type="hidden" class="mw_option_field" id="custom_css_json" name="custom_css_json" data-option-group="mw-template-liteness"/>
<input type="hidden" class="mw_option_field" id="custom_bg" name="custom_bg" data-option-group="mw-template-liteness"/>
<input type="hidden" class="mw_option_field" id="custom_bg_position" name="custom_bg_position" data-option-group="mw-template-liteness"/>
<input type="hidden" class="mw_option_field" id="custom_bg_size" name="custom_bg_size" data-option-group="mw-template-liteness"/>
<input type="hidden" class="mw_option_field" id="kuler_colors" name="kuler_colors" data-option-group="mw-template-liteness"/>
</div> <!-- /#settings-holder -->