theme_customize.xml 16 KB

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