theme_customize.xml 17 KB

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