theme_customize.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <template id="kingfisher_pro.user_navbar" inherit_id="website_less.user_navbar">
  5. <xpath expr="//li[@id='theme_customize']" position="replace">
  6. <li id="theme_customize">
  7. <a href="#">Theme Customize</a>
  8. </li>
  9. </xpath>
  10. </template>
  11. <!-- Customize -->
  12. <!-- Default Options Toggle -->
  13. <template id="custom_opt" inherit_id="website.theme" name="Customization Option">
  14. <xpath expr="//link[last()]" position="after">
  15. <t id="custom_opt" t-if="True"/>
  16. </xpath>
  17. </template>
  18. <template id="color_opt" inherit_id="website.theme" name="Color_Sitio_Web">
  19. <xpath expr="//link[last()]" position="after">
  20. <style type="text/less">
  21. /* COLOR DE TEMA*/ /* OBSERVACION: el PUNTO Y COMA no se debe borrar o se vera feo la pagina web solo modificar la parte donde esta el codigo de color #XXXXXX */
  22. @theme: #62D2EA ;
  23. /* Fondo del pie de pagina*/
  24. @dark-color: #393939 ;
  25. </style>
  26. </xpath>
  27. </template>
  28. <template active="False" customize_show="True" id="option_primary_color_aqua_theme" inherit_id="custom_opt" name="primary-color-aqua-theme">
  29. <xpath expr="//t[@id='custom_opt']" position="inside">
  30. <link href="/kingfisher_pro/static/src/less/options/colors/theme_aqua.less" rel="stylesheet" type="text/less"/>
  31. </xpath>
  32. </template>
  33. <template active="False" customize_show="True" id="option_primary_color_blue_theme" inherit_id="custom_opt" name="primary-color-blue-theme">
  34. <xpath expr="//t[@id='custom_opt']" position="inside">
  35. <link href="/kingfisher_pro/static/src/less/options/colors/theme_blue.less" rel="stylesheet" type="text/less"/>
  36. </xpath>
  37. </template>
  38. <template active="False" customize_show="True" id="option_primary_color_brown_theme" inherit_id="custom_opt" name="primary-color-brown-theme">
  39. <xpath expr="//t[@id='custom_opt']" position="inside">
  40. <link href="/kingfisher_pro/static/src/less/options/colors/theme_brown.less" rel="stylesheet" type="text/less"/>
  41. </xpath>
  42. </template>
  43. <template active="False" customize_show="True" id="option_primary_color_orange" inherit_id="custom_opt" name="primary-color-orange">
  44. <xpath expr="//t[@id='custom_opt']" position="inside">
  45. <link href="/kingfisher_pro/static/src/less/options/colors/theme_orange.less" rel="stylesheet" type="text/less"/>
  46. </xpath>
  47. </template>
  48. <template active="False" customize_show="True" id="option_primary_color_pink" inherit_id="custom_opt" name="primary-color-pink">
  49. <xpath expr="//t[@id='custom_opt']" position="inside">
  50. <link href="/kingfisher_pro/static/src/less/options/colors/theme_pink.less" rel="stylesheet" type="text/less"/>
  51. </xpath>
  52. </template>
  53. <!-- Option Primary Fonts -->
  54. <template active="False" customize_show="True" id="option_font_style_open_sans" inherit_id="custom_opt" name="option_font_style_open_sans">
  55. <xpath expr="//t[@id='custom_opt']" position="inside">
  56. <link href="/kingfisher_pro/static/src/less/options/fonts/font-style-open-sans-font.less" rel="stylesheet" type="text/less"/>
  57. </xpath>
  58. </template>
  59. <template active="False" customize_show="True" id="option_font_style_lato_font" inherit_id="custom_opt" name="option_font_style_lato_font">
  60. <xpath expr="//t[@id='custom_opt']" position="inside">
  61. <link href="/kingfisher_pro/static/src/less/options/fonts/font-style-lato-font.less" rel="stylesheet" type="text/less"/>
  62. </xpath>
  63. </template>
  64. <template active="False" customize_show="True" id="option_font_style_raleway" inherit_id="custom_opt" name="option_font_style_raleway_font">
  65. <xpath expr="//t[@id='custom_opt']" position="inside">
  66. <link href="/kingfisher_pro/static/src/less/options/fonts/font-style-raleway-font.less" rel="stylesheet" type="text/less"/>
  67. </xpath>
  68. </template>
  69. <template active="False" customize_show="True" id="option_font_style_source_sans_pro" inherit_id="custom_opt" name="option_font_style_source_sans_pro">
  70. <xpath expr="//t[@id='custom_opt']" position="inside">
  71. <link href="/kingfisher_pro/static/src/less/options/fonts/font-style-source-sans-pro-font.less" rel="stylesheet" type="text/less"/>
  72. </xpath>
  73. </template>
  74. <template active="False" customize_show="True" id="option_font_style_source_serif_pro" inherit_id="custom_opt" name="option_font_style_source_serif_pro">
  75. <xpath expr="//t[@id='custom_opt']" position="inside">
  76. <link href="/kingfisher_pro/static/src/less/options/fonts/font-style-source-serif-pro-font.less" rel="stylesheet" type="text/less"/>
  77. </xpath>
  78. </template>
  79. <template active="False" customize_show="True" id="option_font_style_varela_round" inherit_id="custom_opt" name="option_font_style_varela_round">
  80. <xpath expr="//t[@id='custom_opt']" position="inside">
  81. <link href="/kingfisher_pro/static/src/less/options/fonts/font-style-varela-round-font.less" rel="stylesheet" type="text/less"/>
  82. </xpath>
  83. </template>
  84. <!-- Background Pattern -->
  85. <template active="False" customize_show="True" id="option_bg_pattern_1" inherit_id="custom_opt" name="option_bg_pattern_1">
  86. <xpath expr="." position="inside">
  87. <link href="/kingfisher_pro/static/src/less/options/bg_patterns/bg-pattern-1.less" rel="stylesheet" type="text/less"/>
  88. </xpath>
  89. </template>
  90. <template active="False" customize_show="True" id="option_bg_pattern_2" inherit_id="custom_opt" name="option_bg_pattern_2">
  91. <xpath expr="." position="inside">
  92. <link href="/kingfisher_pro/static/src/less/options/bg_patterns/bg-pattern-2.less" rel="stylesheet" type="text/less"/>
  93. </xpath>
  94. </template>
  95. <template active="False" customize_show="True" id="option_bg_pattern_3" inherit_id="custom_opt" name="option_bg_pattern_3">
  96. <xpath expr="." position="inside">
  97. <link href="/kingfisher_pro/static/src/less/options/bg_patterns/bg-pattern-3.less" rel="stylesheet" type="text/less"/>
  98. </xpath>
  99. </template>
  100. <template active="False" customize_show="True" id="option_bg_pattern_4" inherit_id="custom_opt" name="option_bg_pattern_4">
  101. <xpath expr="." position="inside">
  102. <link href="/kingfisher_pro/static/src/less/options/bg_patterns/bg-pattern-4.less" rel="stylesheet" type="text/less"/>
  103. </xpath>
  104. </template>
  105. <template active="False" customize_show="True" id="option_bg_pattern_5" inherit_id="custom_opt" name="option_bg_pattern_5">
  106. <xpath expr="." position="inside">
  107. <link href="/kingfisher_pro/static/src/less/options/bg_patterns/bg-pattern-5.less" rel="stylesheet" type="text/less"/>
  108. </xpath>
  109. </template>
  110. <template active="False" customize_show="True" id="option_bg_pattern_6" inherit_id="custom_opt" name="option_bg_pattern_6">
  111. <xpath expr="." position="inside">
  112. <link href="/kingfisher_pro/static/src/less/options/bg_patterns/bg-pattern-6.less" rel="stylesheet" type="text/less"/>
  113. </xpath>
  114. </template>
  115. <!-- Customize Theme Template -->
  116. <template id="kingfisher_pro_theme_customize" inherit_id="website_less.theme_customize" name="Theme Kingfisher Pro Modal">
  117. <xpath expr="//div//table[@name='color']" position="replace">
  118. <table name="color">
  119. <tr>
  120. <td>
  121. <label class="chd-color-combi">
  122. <img alt="Golden" class="chd-color-combi-img" src="/kingfisher_pro/static/src/img/theme/variant-gold.gif"/>
  123. <input data-disable="less" data-xmlid="" name="colorvar-primary" type="radio"/>
  124. </label>
  125. </td>
  126. <td>
  127. <label class="chd-color-combi">
  128. <img alt="Aqua" class="chd-color-combi-img" src="/kingfisher_pro/static/src/img/theme/variant-emerald.gif"/>
  129. <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_aqua_theme" name="colorvar-primary" type="radio"/>
  130. </label>
  131. </td>
  132. <td>
  133. <label class="chd-color-combi">
  134. <img alt="Blue" class="chd-color-combi-img" src="/kingfisher_pro/static/src/img/theme/variant-cobalt.gif"/>
  135. <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_blue_theme" name="colorvar-primary" type="radio"/>
  136. </label>
  137. </td>
  138. </tr>
  139. <tr>
  140. <td>
  141. <label class="chd-color-combi">
  142. <img alt="Brown" class="chd-color-combi-img" src="/kingfisher_pro/static/src/img/theme/variant-stone.gif"/>
  143. <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_brown_theme" name="colorvar-primary" type="radio"/>
  144. </label>
  145. </td>
  146. <td>
  147. <label class="chd-color-combi">
  148. <img alt="Orange" class="chd-color-combi-img" src="/kingfisher_pro/static/src/img/theme/variant-ruby.gif"/>
  149. <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_orange" name="colorvar-primary" type="radio"/>
  150. </label>
  151. </td>
  152. <td>
  153. <label class="chd-color-combi">
  154. <img alt="Pink" class="chd-color-combi-img" src="/kingfisher_pro/static/src/img/theme/variant-amethyst.gif"/>
  155. <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_pink" name="colorvar-primary" type="radio"/>
  156. </label>
  157. </td>
  158. </tr>
  159. </table>
  160. <h5 class="modal-h5">Background Pattern</h5>
  161. <table name="bg_patterns">
  162. <tr>
  163. <td>
  164. <label class="chd-color-combi">
  165. <span class="pf-color1"/>
  166. <input data-enable="less" data-xmlid="kingfisher_pro.option_bg_pattern_1" name="colorvar_pattern" type="radio"/>
  167. </label>
  168. </td>
  169. <td>
  170. <label class="chd-color-combi">
  171. <span class="pf-color2"/>
  172. <input data-enable="less" data-xmlid="kingfisher_pro.option_bg_pattern_2" name="colorvar_pattern" type="radio"/>
  173. </label>
  174. </td>
  175. <td>
  176. <label class="chd-color-combi">
  177. <span class="pf-color3"/>
  178. <input data-enable="less" data-xmlid="kingfisher_pro.option_bg_pattern_3" name="colorvar_pattern" type="radio"/>
  179. </label>
  180. </td>
  181. </tr>
  182. <tr>
  183. <td>
  184. <label class="chd-color-combi">
  185. <span class="pf-color4"/>
  186. <input data-enable="less" data-xmlid="kingfisher_pro.option_bg_pattern_4" name="colorvar_pattern" type="radio"/>
  187. </label>
  188. </td>
  189. <td>
  190. <label class="chd-color-combi">
  191. <span class="pf-color5"/>
  192. <input data-enable="less" data-xmlid="kingfisher_pro.option_bg_pattern_5" name="colorvar_pattern" type="radio"/>
  193. </label>
  194. </td>
  195. <td>
  196. <label class="chd-color-combi">
  197. <span class="pf-color6"/>
  198. <input data-enable="less" data-xmlid="kingfisher_pro.option_bg_pattern_6" name="colorvar_pattern" type="radio"/>
  199. </label>
  200. </td>
  201. </tr>
  202. </table>
  203. </xpath>
  204. <xpath expr="//div//table[@name='font']" position="replace">
  205. <table name="font">
  206. <tr>
  207. <td width="50%">
  208. <label>
  209. <span class="font-style1" style="font-family: 'Open Sans', sans-serif;">Open Sans </span>
  210. <input data-enable="less" data-xmlid="kingfisher_pro.option_font_style_open_sans" name="theme" type="radio"/>
  211. </label>
  212. </td>
  213. <td width="50%">
  214. <label>
  215. <span class="font-style2" style="font-family: 'Lato', sans-serif;">Lato</span>
  216. <input data-enable="less" data-xmlid="kingfisher_pro.option_font_style_lato_font" name="theme" type="radio"/>
  217. </label>
  218. </td>
  219. </tr>
  220. <tr>
  221. <td width="50%">
  222. <label>
  223. <span class="font-style1" style="font-family: 'Source Sans Pro', sans-serif;">Source Sans Pro</span>
  224. <input data-enable="less" data-xmlid="kingfisher_pro.option_font_style_source_sans_pro" name="theme" type="radio"/>
  225. </label>
  226. </td>
  227. <td width="50%">
  228. <label>
  229. <span class="font-style1" style="font-family: 'Source Serif Pro', serif;">Source Serif Pro</span>
  230. <input data-enable="less" data-xmlid="kingfisher_pro.option_font_style_source_serif_pro" name="theme" type="radio"/>
  231. </label>
  232. </td>
  233. </tr>
  234. <tr>
  235. <td width="50%">
  236. <label>
  237. <span class="font-style3" style="font-family: 'Raleway', sans-serif;">Raleway</span>
  238. <input data-enable="less" data-xmlid="kingfisher_pro.option_font_style_raleway" name="theme" type="radio"/>
  239. </label>
  240. </td>
  241. <td width="50%">
  242. <label>
  243. <span class="font-style1" style="font-family: 'Varela Round', sans-serif;">Varela Round</span>
  244. <input data-enable="less" data-xmlid="kingfisher_pro.option_font_style_varela_round" name="theme" type="radio"/>
  245. </label>
  246. </td>
  247. </tr>
  248. </table>
  249. </xpath>
  250. </template>
  251. <template active="False" customize_show="True" id="website_less.option_layout_boxed" inherit_id="website_less.default_options" name="option_layout_boxed">
  252. <xpath expr="//t[@id='default_options']" position="inside">
  253. <link href="/website_less/static/src/less/option_layout_boxed.less" rel="stylesheet" type="text/less"/>
  254. <link href="/kingfisher_pro/static/src/less/options/layout/boxed.less" rel="stylesheet" type="text/less"/>
  255. </xpath>
  256. </template>
  257. </data>
  258. </openerp>