[ADD] theme 10.0

This commit is contained in:
Design
2021-05-11 15:49:42 +02:00
committed by Jeremy Kersten
commit dfcb89fc4a
3871 changed files with 155210 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Main style -->
<template id="graphene_main_less" inherit_id="website.assets_frontend" active="True" priority="1">
<xpath expr="//link[last()]" position="after">
<t t-call="theme_graphene.theme_common_less"/>
<link href="/theme_graphene/static/src/less/colors.less" rel="stylesheet" type="text/less"/>
<link href="/theme_graphene/static/src/less/main.less" rel="stylesheet" type="text/less"/>
<link href="/theme_graphene/static/src/less/main.font.less" rel="stylesheet" type="text/less"/>
<link href="/theme_graphene/static/src/less/images.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<!-- Customization modal -->
<template id="graphene_custom_modal_less" inherit_id="website.assets_frontend" active="True">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/customize_modal.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<!-- Js Frontend -->
<template id="graphene_frontend_js" inherit_id="website.assets_frontend" active="True">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/theme_common/static/src/js/s_media_block_frontend.js"/>
<script type="text/javascript" src="/theme_common/static/src/js/s_showcase_slider_frontend.js"/>
<script type="text/javascript" src="/theme_common/static/lib/YTPlayer/jquery.mb.YTPlayer.js"/>
<script type="text/javascript" src="/theme_graphene/static/src/js/graphene.frontend.js"/>
<script type="text/javascript" src="/theme_graphene/static/src/js/graphene.ext.frontend.js"/>
</xpath>
</template>
<!-- Js Editor -->
<template id="graphene_editor_js" inherit_id="website.assets_editor" active="True">
<xpath expr="." position="inside">
<script type="text/javascript" src="/theme_common/static/src/js/s_animated_boxes_editor.js"/>
<script type="text/javascript" src="/theme_common/static/src/js/s_media_block_editor.js"/>
<script type="text/javascript" src="/theme_common/static/src/js/s_showcase_slider_editor.js"/>
<script type="text/javascript" src="/theme_graphene/static/src/js/graphene.editor.js"/>
<script type="text/javascript" src="/theme_graphene/static/src/js/graphene.ext.editor.js"/>
</xpath>
</template>
<record id="theme_common.compatibility-saas-10-2" model="ir.ui.view">
<field name="active" eval="True"/>
</record>
</odoo>
+348
View File
@@ -0,0 +1,348 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="theme_customize" inherit_id="website.theme_customize" name="theme_graphene modal">
<xpath expr="div" position="replace">
<div id="theme_customize_modal" class=" modal fade bs-example-modal-sm">
<div class="modal-dialog">
<div class="modal-content">
<div class="loading_backdrop"></div>
<div class="modal-header">
<button type="button" class="close">×</button>
<h4 class="modal-title text-center" id="mySmallModalLabel"><i class="fa fa-cog"/> Customize <span>Graphene</span></h4>
</div>
<div class="modal-body">
<!-- TAB LIST -->
<ul class="nav nav-tabs" role="tablist">
<li class="active"><a href="#tab_layout" role="tab" data-toggle="tab"><i class="fa fa-desktop"/> LAYOUT</a></li>
<li><a href="#tab_palettes" role="tab" data-toggle="tab"><i class="fa fa-paint-brush "/> PALETTES</a></li>
<li><a href="#tab_fonts" role="tab" data-toggle="tab"><i class="fa fa-font"/> FONTS</a></li>
</ul>
<!-- TAB CONTENT -->
<div class="tab-content">
<!-- ========= LAYOUTS =============== -->
<div name="layout" class="container-fluid tab-pane fade in active" id="tab_layout">
<div class="row">
<div class="col-xs-12">
<label class="chd-layout-combi center-block " >
<div class="sample_body fullwidth">
<div class="sample_browser">
<div class="pull-left">
<i class="fa fa-arrow-left"/><i class="fa fa-arrow-right"/>
</div>
<div class="pull-left sample_addressBar">http://www.odoo.com/this/is/a/sample/url</div>
<div class="pull-right">
<i class="fa fa-circle"/><i class="fa fa-circle"/><i class="fa fa-circle"/>
</div>
</div>
<div class="sample_wrap">
<div class="sample_header">
<h3>Company</h3>
<p class="sample_menu">Home<span></span>About Us<span></span>Contact</p>
</div>
<div class='sample_content'>
<div class='sample_image'></div>
</div>
</div>
</div>
<p>Full width</p>
<input name="layoutvar" type="radio" data-xmlid="theme_graphene.graphene_option_layout_fullwidth"/>
</label>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<label class="chd-layout-combi center-block " >
<div class="sample_body boxed">
<div class="sample_browser">
<div class="pull-left">
<i class="fa fa-arrow-left"/><i class="fa fa-arrow-right"/>
</div>
<div class="pull-left sample_addressBar">http://www.odoo.com/this/is/a/sample/url</div>
<div class="pull-right">
<i class="fa fa-circle"/><i class="fa fa-circle"/><i class="fa fa-circle"/>
</div>
</div>
<div class="sample_wrap">
<div class="sample_header">
<h3>Company</h3>
<p class="sample_menu">Home<span></span>About Us<span></span>Contact</p>
</div>
<div class='sample_content'>
<div class='sample_image'></div>
</div>
</div>
</div>
<p>Boxed</p>
<input name="layoutvar" type="radio" data-xmlid="theme_graphene.graphene_option_layout_boxed"/>
</label>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<label class="chd-layout-combi center-block " >
<div class="sample_body postcard">
<div class="sample_browser">
<div class="pull-left">
<i class="fa fa-arrow-left"/><i class="fa fa-arrow-right"/>
</div>
<div class="pull-left sample_addressBar">http://www.odoo.com/this/is/a/sample/url</div>
<div class="pull-right">
<i class="fa fa-circle"/><i class="fa fa-circle"/><i class="fa fa-circle"/>
</div>
</div>
<div class="sample_wrap">
<div class="sample_header">
<h3>Company</h3>
<p class="sample_menu">Home<span></span>About Us<span></span>Contact</p>
</div>
<div class='sample_content'>
<div class='sample_image'></div>
</div>
</div>
</div>
<p>Postcard</p>
<input name="layoutvar" type="radio" data-xmlid="theme_graphene.graphene_option_layout_postcard"/>
</label>
</div>
</div>
</div> <!-- Close layout container -->
<!-- ========= COLOUR PALETTES =============== -->
<div name="color" class="container-fluid tab-pane fade" id="tab_palettes">
<div class="row"> <!-- Open 1°row -->
<div class="col-xs-6">
<label class="chd-color-combi">
<div class="container-fluid opt gardenia">
<div class="row">
<div />
<div />
<div />
<div />
<div />
</div>
<p>Gardenia</p>
</div>
<input name="colorvar" type="radio" data-xmlid="theme_graphene.option_color_graphene"/>
</label>
</div>
<div class="col-xs-6">
<label class="chd-color-combi">
<div class="container-fluid opt pacifico">
<div class="row">
<div />
<div />
<div />
<div />
<div />
</div>
<p>Pacifico</p>
</div>
<input name="colorvar" type="radio" data-xmlid="theme_graphene.option_color_pacifico"/>
</label>
</div>
</div> <!-- Close 1°row -->
<div class="row"> <!-- Open 2°row -->
<div class="col-xs-6">
<label class="chd-color-combi">
<div class="container-fluid opt blackmath">
<div class="row">
<div />
<div />
<div />
<div />
<div />
</div>
<p>Black Math</p>
</div>
<input name="colorvar" type="radio" data-xmlid="theme_graphene.option_color_blackmath"/>
</label>
</div>
<div class="col-xs-6">
<label class="chd-color-combi">
<div class="container-fluid opt mwad">
<div class="row">
<div />
<div />
<div />
<div />
<div />
</div>
<p>MWAD</p>
</div>
<input name="colorvar" type="radio" data-xmlid="theme_graphene.option_color_mwad"/>
</label>
</div>
</div> <!-- Close 2°row -->
</div> <!-- Close color container -->
<!-- ========= FONTS COMBINATIONS =============== -->
<div name="fonts" class="container-fluid tab-pane fade " id="tab_fonts">
<div class="row">
<h4 class="text-center">Sans-serif font</h4>
<div class="col-xs-4">
<label class="chd-fonts-combi center-block">
<h6>Source Sans</h6>
<input name="fontvar" type="radio" data-xmlid="theme_graphene.option_font_sourcesans"/>
</label>
</div>
<div class="col-xs-4">
<label class="chd-fonts-combi center-block">
<h6>Abel</h6>
<input name="fontvar" type="radio" data-xmlid="theme_graphene.option_font_abel"/>
</label>
</div>
<div class="col-xs-4">
<label class="chd-fonts-combi center-block">
<h6>Standard</h6>
<input name="fontvar" type="radio" data-xmlid="theme_graphene.option_font_sansserif"/>
</label>
</div>
</div>
<div class="row">
<hr/>
<h4 class="text-center serif">Serif font</h4>
<div class="col-xs-4">
<label class="chd-fonts-combi center-block">
<h6>Playfair</h6>
<input name="serifvar" type="radio" data-xmlid="theme_graphene.option_font_playfair"/>
</label>
</div>
<div class="col-xs-4">
<label class="chd-fonts-combi center-block">
<h6>Old Standard</h6>
<input name="serifvar" type="radio" data-xmlid="theme_graphene.option_font_oldstandard"/>
</label>
</div>
<div class="col-xs-4">
<label class="chd-fonts-combi center-block">
<h6>Cinzel</h6>
<input name="serifvar" type="radio" data-xmlid="theme_graphene.option_font_cinzel"/>
</label>
</div>
</div>
<div class="row">
<hr/>
<small>Preview</small>
<div class="bg-white text-center fonts-preview">
<p class="sans-serif em2"> My sans-serif title</p>
<p class="serif">My serif text. There was a low rumbling of heavy sea-boots among the benches, and a still slighter shuffling of women's shoes, and all was quiet again, and every eye on the preacher. He paused a little; then kneeling in the pulpit's bows, folded his large brown hands across his chest</p>
</div>
</div>
</div> <!-- Close fonts tab -->
</div> <!-- Close tab content -->
<!-- Default "Change theme" button -->
<!-- <a class="changeTheme" href="/web#return_label=Website&amp;action=website.action_module_theme"><small>Change theme</small></a> -->
</div> <!-- Close modal-body -->
</div> <!-- Close modal-content -->
</div> <!-- Close modal-dialog -->
</div> <!-- #theme_customize_modal -->
</xpath>
</template>
<!-- Activate advanced options -->
<record id="website_animate.o_animate_options_options" model="ir.ui.view">
<field name="active">True</field>
</record>
<!-- Color Palettes -->
<template id="option_color_blackmath" name="option_color_blackmath" inherit_id="website.assets_frontend" active="False">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/options/colors/blackmath.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<template id="option_color_mwad" name="option_color_mwad" inherit_id="website.assets_frontend" active="False">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/options/colors/mwad.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<template id="option_color_graphene" name="option_color_graphene" inherit_id="website.assets_frontend" active="True">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/options/colors/gardenia.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<template id="option_color_pacifico" name="option_color_pacifico" inherit_id="website.assets_frontend" active="False">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/options/colors/pacifico.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<!-- Sans-serif fonts -->
<template id="option_font_sourcesans" name="option_font_sourcesans" inherit_id="website.assets_frontend" active="True">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/options/fonts/source-sans.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<template id="option_font_sansserif" name="option_font_sansserif" inherit_id="website.assets_frontend" active="False">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/options/fonts/sans-serif.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<template id="option_font_abel" name="option_font_abel" inherit_id="website.assets_frontend" active="False">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/options/fonts/abel.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<!-- Serif fonts -->
<template id="option_font_playfair" name="option_font_playfair" inherit_id="website.assets_frontend" active="True">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/options/fonts/PlayfairDisplay.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<template id="option_font_oldstandard" name="option_font_oldstandard" inherit_id="website.assets_frontend" active="False">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/options/fonts/OldStandard.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<template id="option_font_cinzel" name="option_font_cinzel" inherit_id="website.assets_frontend" active="False">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/options/fonts/Cinzel.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<!-- Layout Options -->
<template id="graphene_option_layout_fullwidth" name="graphene_option_layout_fullwidth" inherit_id="website.assets_frontend" active="False">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/options/layouts/fullwidth.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<template id="graphene_option_layout_boxed" name="graphene_option_layout_boxed" inherit_id="website.assets_frontend" active="False">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/options/layouts/boxed.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<template id="graphene_option_layout_postcard" name="graphene_option_layout_postcard" inherit_id="website.assets_frontend" active="True">
<xpath expr="//link[last()]" position="after">
<link href="/theme_graphene/static/src/less/options/layouts/postcard.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
</odoo>
+60
View File
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Theme logo -->
<record id="theme_common.image_content_logo" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/theme_samples/image_content_logo.png</field>
</record>
<!-- Image for img tags -->
<record id="theme_common.image_content_01" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_01.jpg</field>
</record>
<record id="theme_common.image_content_02" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_02.jpg</field>
</record>
<record id="theme_common.image_content_03" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_03.jpg</field>
</record>
<record id="theme_common.image_content_04" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_04.jpg</field>
</record>
<record id="theme_common.image_content_05" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_05.jpg</field>
</record>
<record id="theme_common.image_content_06" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_06.jpg</field>
</record>
<record id="theme_common.image_content_07" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_07.jpg</field>
</record>
<record id="theme_common.image_content_08" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_08.jpg</field>
</record>
<record id="theme_common.image_content_09" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_09.jpg</field>
</record>
<record id="theme_common.image_content_10" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_10.jpg</field>
</record>
<record id="theme_common.image_content_19" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_01.jpg</field>
</record>
<record id="theme_common.image_content_20" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_01.jpg</field>
</record>
<record id="theme_common.image_content_21" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_02.jpg</field>
</record>
<record id="theme_common.image_content_22" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_03.jpg</field>
</record>
<record id="theme_common.image_content_23" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_03.jpg</field>
</record>
<!-- Change default images of snippets -->
<record id="website.s_cover_default_image" model="ir.attachment">
<field name="url">/theme_graphene/static/src/img/pictures/bg_image_08.jpg</field>
</record>
</odoo>
+205
View File
@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Customize header -->
<template id="graphene_header" inherit_id="website.layout" name="Graphene Header">
<xpath expr="//div[@id='wrapwrap']/header" position="attributes">
<attribute name="id">graph_header</attribute>
</xpath>
</template>
<!-- Graphene's options -->
<template id="graph_affix_top_menu" inherit_id="website.layout" customize_show="True" name="Affix top menu">
<xpath expr="//div[@id='wrapwrap']/header" position="attributes">
<attribute name="class">top_menu_affix</attribute>
</xpath>
</template>
<!-- Graphene's data selectors -->
<template id="graph_data-selectors" inherit_id="website.snippet_options" name="Graphene data selectors">
<xpath expr="//div[@data-js='background']" position="attributes">
<attribute name="data-selector" remove="section" add="section:not(.s_google_map)" separator=","/>
</xpath>
<xpath expr="//div[@data-js='colorpicker']" position="attributes">
<attribute name="data-selector" remove="section:not(.parallax)" add="section:not(.parallax):not(.s_google_map)" separator=","/>
</xpath>
</template>
<!-- Graphene's methods -->
<template id="graph_js-methods" inherit_id="website.snippet_options" name="Graphene data electors">
<xpath expr="//div[@data-js='background']" position="before">
<div data-js='no_resize' data-selector="hook"/>
</xpath>
</template>
<!-- Graphene Backgrounds -->
<template id="graphene_backgrounds" inherit_id="website.snippet_options">
<xpath expr="//div[@data-js='background']/li" position="replace">
<li class="dropdown-submenu">
<a tabindex="-1" href="#"><i class="fa fa-picture-o"/>Background Image</a>
<ul class="dropdown-menu backgrounds">
<li data-select_class=""><a>No image</a></li>
<li class="divider"/>
<li data-choose_image="choose_image" data-select_class="oe_custom_bg">
<a><i class="fa fa-upload"/>Upload your image</a>
</li>
<li class="divider"/>
<li class="col-2" data-select_class="bg-img-01"> <a class="thumb bg-img-01-thumb"/></li>
<li class="col-2" data-select_class="bg-img-02"> <a class="thumb bg-img-02-thumb"/></li>
<li class="col-2" data-select_class="bg-img-03"> <a class="thumb bg-img-03-thumb"/></li>
<li class="col-2" data-select_class="bg-img-04"> <a class="thumb bg-img-04-thumb"/></li>
<li class="col-2" data-select_class="bg-img-05"> <a class="thumb bg-img-05-thumb"/></li>
<li class="col-2" data-select_class="bg-img-06"> <a class="thumb bg-img-06-thumb"/></li>
<li class="col-2" data-select_class="bg-img-07"> <a class="thumb bg-img-07-thumb"/></li>
<li class="col-2" data-select_class="bg-img-08"> <a class="thumb bg-img-08-thumb"/></li>
<li class="col-2" data-select_class="bg-img-09"> <a class="thumb bg-img-09-thumb"/></li>
<li class="col-2" data-select_class="bg-img-10"> <a class="thumb bg-img-10-thumb"/></li>
<li class="col-2" data-select_class="bg_patt-01"> <a class="thumb bg_patt-01-thumb"/></li>
<li class="col-2" data-select_class="bg_patt-02"> <a class="thumb bg_patt-02-thumb"/></li>
<li class="col-2" data-select_class="bg_patt-03"> <a class="thumb bg_patt-03-thumb"/></li>
<li class="col-2" data-select_class="bg_patt-04"> <a class="thumb bg_patt-04-thumb"/></li>
<li class="col-2" data-select_class="bg_patt-05"> <a class="thumb bg_patt-05-thumb"/></li>
<li class="col-2" data-select_class="bg_patt-06"> <a class="thumb bg_patt-06-thumb"/></li>
</ul>
</li>
</xpath>
</template>
<!-- Graphene BG Effects -->
<template id="graphene_bg_effects" inherit_id="website.snippet_options">
<xpath expr="//div[@data-js='background']" position="before">
<div data-js='bg_fx' data-selector="[class^='s_']:not(.s_animated_boxes), section:not(.s_google_map):not(.s_cubes):not(.s_showcase_slider)">
<li class="dropdown-submenu">
<a tabindex="-1" href="#"><i class="fa fa-sliders"/>Background Effects</a>
<ul class="dropdown-menu ">
<li data-select_class="insetShadow"><a>Inset Shadow</a></li>
<li data-select_class="insetShadowBig"><a>Big Inset Shadow</a></li>
<li data-select_class="glossy"><a>Glossy</a></li>
<li data-select_class="glossy-medium"><a>Glossy Medium</a></li>
<li data-select_class="glossy-soft"><a>Glossy Soft</a></li>
<li class="divider"/>
<li data-select_class=""><a>No effects</a></li>
</ul>
</li>
</div>
</xpath>
</template>
<!-- Graphene Color Picker -->
<template id="graphene_colorpicker_pattern" inherit_id="web_editor.colorpicker">
<xpath expr="//colorpicker/div[@data-name='theme']/button[@data-color='alpha']" position="after">
<button class="o_small" data-color="alpha-lighter"/>
<button class="o_small" data-color="alpha-light"/>
<button class="o_small" data-color="alpha-dark"/>
<button class="o_small" data-color="alpha-darker"/>
</xpath>
<xpath expr="//colorpicker/div[@data-name='theme']/button[@data-color='beta']" position="after">
<button class="o_small" data-color="beta-lighter"/>
<button class="o_small" data-color="beta-light"/>
<button class="o_small" data-color="beta-dark"/>
<button class="o_small" data-color="beta-darker"/>
</xpath>
<xpath expr="//colorpicker/div[@data-name='theme']/button[@data-color='gamma']" position="after">
<button class="o_small" data-color="gamma-lighter"/>
<button class="o_small" data-color="gamma-light"/>
<button class="o_small" data-color="gamma-dark"/>
<button class="o_small" data-color="gamma-darker"/>
</xpath>
<xpath expr="//colorpicker/div[@data-name='theme']/button[@data-color='delta']" position="after">
<button class="o_small" data-color="delta-lighter"/>
<button class="o_small" data-color="delta-light"/>
<button class="o_small" data-color="delta-dark"/>
<button class="o_small" data-color="delta-darker"/>
</xpath>
<xpath expr="//colorpicker/div[@data-name='theme']/button[@data-color='epsilon']" position="after">
<button class="o_small" data-color="epsilon-lighter"/>
<button class="o_small" data-color="epsilon-light"/>
<button class="o_small" data-color="epsilon-dark"/>
<button class="o_small" data-color="epsilon-darker"/>
</xpath>
<xpath expr="//colorpicker/div[@data-name='grayscale']/button[@data-color='gray-lighter']" position="after">
<button data-color="gray-light-light">Gray Light Light</button>
</xpath>
<xpath expr="//colorpicker/div[@data-name='grayscale']/button[@data-color='gray-light']" position="after">
<button data-color="gray-light-dark">Gray Light Dark</button>
</xpath>
<xpath expr="//colorpicker/div[@data-name='grayscale']/button[@data-color='gray']" position="after">
<button data-color="gray-dark-light">Gray Dark Light</button>
</xpath>
<xpath expr="//colorpicker/div[@data-name='grayscale']/button[@data-color='gray-dark']" position="after">
<button data-color="gray-dark-dark">Gray Dark Dark</button>
</xpath>
<xpath expr="//colorpicker/div[@data-name='grayscale']/button[@data-color='gray-darker']" position="after">
<button data-color="gray-darkest">Gray Darkest</button>
</xpath>
</template>
<!-- Graphene Typography -->
<template id="graphene_typo_pattern" inherit_id="website.snippet_options">
<xpath expr="//div[@data-js='background']" position="before">
<div data-selector="h1, h2">
<li class="dropdown-submenu">
<a tabindex="-1" href="#"><i class="fa fa-font"/>Font Family</a>
<ul class="dropdown-menu">
<li data-select_class="serif"><a>Serif</a></li>
<li data-select_class="sans-serif"><a>Sans-Serif</a></li>
<li data-select_class=""><a>Default</a></li>
</ul>
</li>
</div>
</xpath>
<xpath expr="//div[@data-js='background']" position="before">
<div data-js='typo_style' data-selector="h1, h2">
<li class="dropdown-submenu">
<a tabindex="-1" href="#"><i class="fa fa-paint-brush"/>Text Effects</a>
<ul class="dropdown-menu">
<li data-select_class=""><a>No effects</a></li>
<li class="divider"/>
<li data-select_class="title-underlined"><a>Underlined</a></li>
<li data-select_class="title-boxed"><a>Boxed</a></li>
</ul>
</li>
</div>
</xpath>
</template>
<!-- Google Map Options -->
<template id="graphene_google_map" inherit_id="snippet_google_map.s_google_map_option">
<xpath expr="//div[@data-js='map']" position="inside">
<li class="dropdown-submenu">
<a tabindex="-1" href="#"><i class="fa fa-fw fa-paint-brush"/>Style</a>
<ul class="dropdown-menu backgrounds">
<li class="col-2" data-map_color="stdMap"><a class="thumb stdMap-thumb"/></li>
<li class="col-2" data-map_color="lightMonoMap"><a class="thumb lightMonoMap-thumb">Light Mono</a></li>
<li class="col-2" data-map_color="cupertinoMap"><a class="thumb cupertinoMap-thumb"/></li>
<li class="col-2" data-map_color="retroMap"><a class="thumb retroMap-thumb"/></li>
<li class="col-2" data-map_color="cobaltMap"><a class="thumb cobaltMap-thumb"/></li>
<li class="col-2" data-map_color="flatMap"><a class="thumb flatMap-thumb"/></li>
<li class="col-2" data-map_color="blueMap"><a class="thumb blueMap-thumb"/></li>
<li class="col-2" data-map_color="lillaMap"><a class="thumb lillaMap-thumb"/></li>
<li class="col-2" data-map_color="carMap"><a class="thumb carMap-thumb"/></li>
<li class="col-2" data-map_color="bwMap"><a class="thumb bwMap-thumb"/></li>
</ul>
</li>
</xpath>
</template>
<!-- Graphene Top Banner -->
<template id="graphene_top_content_options" inherit_id="website.snippet_options">
<xpath expr="//div[@data-js='background']" position="before">
<div data-js='graphene_top_banner_options' data-selector=".s_media_block, .s_parallax, .s_google_map">
<li class="dropdown-submenu move_to_top_options">
<a tabindex="-1" href="#"><i class="fa fa-magic"/>Position</a>
<ul class="dropdown-menu ">
<li data-select_class=""><a>Normal</a></li>
<li data-select_class="move_to_top"><a>Move to top</a></li>
</ul>
</li>
</div>
</xpath>
</template>
</odoo>
+35
View File
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- theme_common snippets -->
<template id="snippet_selection" inherit_id="website.snippets">
<xpath expr="//div[@id='snippet_structure']/div[contains(@class, 'o_panel_body')]/t[@t-snippet='website.s_cover']" position="after">
<t t-snippet="theme_common.s_animated_boxes" t-thumbnail="/theme_graphene/static/src/img/ui/s_animated_blocks.jpg"/>
<t t-snippet="theme_common.s_numbers" t-thumbnail="/theme_graphene/static/src/img/ui/s_numbers.jpg"/>
<t t-snippet="theme_common.s_showcase" t-thumbnail="/theme_graphene/static/src/img/ui/s_showcase.jpg"/>
<t t-snippet="theme_common.s_page_header" t-thumbnail="/theme_graphene/static/src/img/ui/s_page_header.jpg"/>
<t t-snippet="theme_common.s_medias_list" t-thumbnail="/theme_graphene/static/src/img/ui/s_medias_list.jpg"/>
<t t-snippet="theme_common.s_masonry_block" t-thumbnail="/theme_graphene/static/src/img/ui/s_masonry_block.jpg"/>
</xpath>
<xpath expr="//div[@id='snippet_feature']/div[contains(@class, 'o_panel_body')]/t" position="before">
<t t-snippet="theme_common.s_media_block" t-thumbnail="/theme_graphene/static/src/img/ui/s_media_block-thumb.jpg"/>
<t t-snippet="theme_common.s_showcase_slider" t-thumbnail="/theme_graphene/static/src/img/ui/s_showcase_slider.jpg"/>
</xpath>
</template>
<!-- Google Map Snippet -->
<template id="overwrite_google_map_thumb" inherit_id="snippet_google_map.google_map_snippet">
<xpath expr="//t[@t-snippet='snippet_google_map.s_google_map']" position="attributes">
<attribute name="t-thumbnail">/theme_graphene/static/src/img/ui/s_google_map.jpg</attribute>
</xpath>
</template>
<template id="theme_common_less">
<link href="/theme_common/static/src/less/s_medias_list.less" rel="stylesheet" type="text/less"/>
<link href="/theme_common/static/src/less/s_animated_boxes.less" rel="stylesheet" type="text/less"/>
<link href="/theme_common/static/src/less/s_showcase.less" rel="stylesheet" type="text/less"/>
<link href="/theme_common/static/src/less/s_masonry_block.less" rel="stylesheet" type="text/less"/>
<link href="/theme_common/static/src/less/s_media_block.less" rel="stylesheet" type="text/less"/>
<link href="/theme_common/static/src/less/s_showcase_slider.less" rel="stylesheet" type="text/less"/>
</template>
</odoo>