diff --git a/modules/themeconfigurator/js/live_configurator.js b/modules/themeconfigurator/js/live_configurator.js index 83a073d80..e44a7502c 100644 --- a/modules/themeconfigurator/js/live_configurator.js +++ b/modules/themeconfigurator/js/live_configurator.js @@ -32,5 +32,53 @@ $(document).ready( $('#theme').val($(this).attr('class')); } ); + + $('#gear-right').click( + function() + { + if ($(this).css('left') == '215px') + { + $('#tool_customization').animate({left : '-215px'}, 500); + $(this).animate({left : '0px'}, 500); + } + else + { + $('#tool_customization').animate({left : '0px'}, 500); + $(this).animate({left : '215px'}, 500); + } + } + ); + + $('#font-title').click( + function() + { + if ($(this).children('i').hasClass('icon-caret-down')) + { + $(this).children('i').removeClass('icon-caret-down').addClass('icon-caret-up'); + $('#font-box').slideUp(); + } + else + { + $(this).children('i').removeClass('icon-caret-up').addClass('icon-caret-down'); + $('#font-box').slideDown(); + } + } + ); + + $('#theme-title').click( + function() + { + if ($(this).children('i').hasClass('icon-caret-down')) + { + $(this).children('i').removeClass('icon-caret-down').addClass('icon-caret-up'); + $('#color-box').slideUp(); + } + else + { + $(this).children('i').removeClass('icon-caret-up').addClass('icon-caret-down'); + $('#color-box').slideDown(); + } + } + ); } ); \ No newline at end of file diff --git a/modules/themeconfigurator/views/templates/hook/live_configurator.tpl b/modules/themeconfigurator/views/templates/hook/live_configurator.tpl index 06e8b9e63..eb2ccdb6a 100644 --- a/modules/themeconfigurator/views/templates/hook/live_configurator.tpl +++ b/modules/themeconfigurator/views/templates/hook/live_configurator.tpl @@ -28,63 +28,63 @@
-
-

- {l s='The customization tool allows you to make color and font changes in your theme.' mod='themeconfigurator'}

- - {l s='Only you, as a merchant can see this tool (as you are currently logged in your Back-office), your visitors will not see this tool.' mod='themeconfigurator'} - -

-
+

- {l s='Color theme' mod='themeconfigurator'} - + {l s='The customization tool allows you to make color and font changes in your theme.' mod='themeconfigurator'}

+ + {l s='Only you, as a merchant can see this tool (as you are currently logged in your Back-office), your visitors will not see this tool.' mod='themeconfigurator'} +

+
+

+ {l s='Color theme' mod='themeconfigurator'} + +

+
+ {if isset($themes_colors)} +
+
    + {foreach $themes_colors as $theme} +
  • +
    +
    +
  • + {/foreach} +
+
+ {/if} +
+

+ {l s='Font' mod='themeconfigurator'} + +

+
+
+

{l s='Text page' mod='themeconfigurator'}

+ +

{l s='Text menu parrent normal' mod='themeconfigurator'}

+ +

{l s='Product name' mod='themeconfigurator'}

+ +
+
+ + +
+
+ {$advertisement_text} +
- {if isset($themes_colors)} -
-
    - {foreach $themes_colors as $theme} -
  • -
    -
    -
  • - {/foreach} -
-
- {/if} -
-

- {l s='Font' mod='themeconfigurator'} - -

-
-
-

{l s='Text page' mod='themeconfigurator'}

- -

{l s='Text menu parrent normal' mod='themeconfigurator'}

- -

{l s='Product name' mod='themeconfigurator'}

- -
-
- - -
-
- {$advertisement_text} -
-
\ No newline at end of file