[ADD] theme saas-10
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
Odoo Proprietary License v1.0
|
||||
|
||||
This software and associated files (the "Software") may only be used (executed,
|
||||
modified, executed after modifications) if you have purchased a valid license
|
||||
from the authors, typically via Odoo Apps, or if you have received a written
|
||||
agreement from the authors of the Software (see the COPYRIGHT file).
|
||||
|
||||
You may develop Odoo modules that use the Software as a library (typically
|
||||
by depending on it, importing it and using its resources), but without copying
|
||||
any source code or material from the Software. You may distribute those
|
||||
modules under the license of your choice, provided that this license is
|
||||
compatible with the terms of the Odoo Proprietary License (For example:
|
||||
LGPL, MIT, or proprietary licenses similar to this one).
|
||||
|
||||
It is forbidden to publish, distribute, sublicense, or sell copies of the Software
|
||||
or modified copies of the Software.
|
||||
|
||||
The above copyright notice and this permission notice must be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
'name': 'Theme Notes eCommerce Plugin',
|
||||
'description': 'Notes eCommerce Plugin',
|
||||
'category': 'Hidden',
|
||||
'sequence': 281,
|
||||
'version': '1.0',
|
||||
'author': 'Odoo S.A.',
|
||||
'depends': ['theme_notes', 'website_sale'],
|
||||
'data': [
|
||||
'views/theme.xml',
|
||||
'views/layout.xml',
|
||||
],
|
||||
'demo': [
|
||||
'demo/products.xml',
|
||||
],
|
||||
'auto_install': True,
|
||||
}
|
||||
@@ -0,0 +1,250 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<delete id="product.sub_computers" model="product.public.category"/>
|
||||
<delete id="product.Components" model="product.public.category"/>
|
||||
<delete id="product.devices" model="product.public.category"/>
|
||||
<delete id="product.laptops" model="product.public.category"/>
|
||||
<delete id="product.network" model="product.public.category"/>
|
||||
<delete id="product.Computer_all_in_one" model="product.public.category"/>
|
||||
<delete id="product.External_Hard_Drive" model="product.public.category"/>
|
||||
<delete id="product.Headset" model="product.public.category"/>
|
||||
<delete id="product.Keyboard_Mouse" model="product.public.category"/>
|
||||
<delete id="product.Pen_Drive" model="product.public.category"/>
|
||||
<delete id="product.printer" model="product.public.category"/>
|
||||
<delete id="product.Screen" model="product.public.category"/>
|
||||
<delete id="product.server" model="product.public.category"/>
|
||||
<delete id="product.services" model="product.public.category"/>
|
||||
<delete id="product.Software" model="product.public.category"/>
|
||||
<delete id="product.Speakers" model="product.public.category"/>
|
||||
|
||||
<!-- Create new categories -->
|
||||
|
||||
<record id="guitars" model="product.public.category">
|
||||
<field name="name">Guitars</field>
|
||||
</record>
|
||||
<record id="fender" model="product.public.category">
|
||||
<field name="parent_id" ref="guitars"/>
|
||||
<field name="name">Fender</field>
|
||||
</record>
|
||||
<record id="gibson" model="product.public.category">
|
||||
<field name="parent_id" ref="guitars"/>
|
||||
<field name="name">Gibson</field>
|
||||
</record>
|
||||
<record id="other" model="product.public.category">
|
||||
<field name="parent_id" ref="guitars"/>
|
||||
<field name="name">Other Brands</field>
|
||||
</record>
|
||||
|
||||
<record id="bass_guitars" model="product.public.category">
|
||||
<field name="name">Bass Guitars</field>
|
||||
</record>
|
||||
<record id="drums" model="product.public.category">
|
||||
<field name="name">Drums</field>
|
||||
</record>
|
||||
<record id="percussion" model="product.public.category">
|
||||
<field name="name">Percussion</field>
|
||||
</record>
|
||||
<record id="violin" model="product.public.category">
|
||||
<field name="name">Violin</field>
|
||||
</record>
|
||||
|
||||
<record id="brass" model="product.public.category">
|
||||
<field name="name">Brass</field>
|
||||
</record>
|
||||
<record id="trombone" model="product.public.category">
|
||||
<field name="parent_id" ref="brass"/>
|
||||
<field name="name">Trombone</field>
|
||||
</record>
|
||||
<record id="saxophone" model="product.public.category">
|
||||
<field name="parent_id" ref="brass"/>
|
||||
<field name="name">Saxophone</field>
|
||||
</record>
|
||||
|
||||
<record id="product.notes_product_4" model="product.product">
|
||||
<field name="name">Violin</field>
|
||||
<field name="website_published">True</field>
|
||||
<field name="website_sequence">99</field>
|
||||
<field name="website_size_x">2</field>
|
||||
<field name="website_size_y">2</field>
|
||||
<field name="public_categ_ids" eval="[(6,0,[ref('theme_notes_sale.violin')])]"/>
|
||||
<field name="standard_price">340.0</field>
|
||||
<field name="list_price">340.0</field>
|
||||
<field name="type">consu</field>
|
||||
<field name="image" type="base64" file="theme_notes/static/src/img/content/product_img_04.png"/>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="uom_po_id" ref="product.product_uom_unit"/>
|
||||
</record>
|
||||
<record id="product.notes_product_5" model="product.product">
|
||||
<field name="name">Fender Jazz Bass</field>
|
||||
<field name="website_published">True</field>
|
||||
<field name="website_sequence">99</field>
|
||||
<field name="website_size_x">2</field>
|
||||
<field name="website_size_y">2</field>
|
||||
<field name="public_categ_ids" eval="[(6,0,[ref('theme_notes_sale.bass_guitars')])]"/>
|
||||
<field name="standard_price">799.0</field>
|
||||
<field name="list_price">799.0</field>
|
||||
<field name="type">consu</field>
|
||||
<field name="image" type="base64" file="theme_notes/static/src/img/content/product_img_05.png"/>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="uom_po_id" ref="product.product_uom_unit"/>
|
||||
</record>
|
||||
<record id="product.notes_product_6" model="product.product">
|
||||
<field name="name">Fender Telecaster</field>
|
||||
<field name="website_published">True</field>
|
||||
<field name="website_sequence">99</field>
|
||||
<field name="website_size_x">2</field>
|
||||
<field name="website_size_y">2</field>
|
||||
<field name="public_categ_ids" eval="[(6,0,[ref('theme_notes_sale.fender')])]"/>
|
||||
<field name="standard_price">889.0</field>
|
||||
<field name="list_price">889.0</field>
|
||||
<field name="type">consu</field>
|
||||
<field name="image" type="base64" file="theme_notes/static/src/img/content/product_img_06.png"/>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="uom_po_id" ref="product.product_uom_unit"/>
|
||||
</record>
|
||||
<record id="product.notes_product_7" model="product.product">
|
||||
<field name="name">Gibson Les Paul Studio</field>
|
||||
<field name="website_published">True</field>
|
||||
<field name="website_sequence">99</field>
|
||||
<field name="website_size_x">2</field>
|
||||
<field name="website_size_y">2</field>
|
||||
<field name="public_categ_ids" eval="[(6,0,[ref('theme_notes_sale.gibson')])]"/>
|
||||
<field name="standard_price">2349.0</field>
|
||||
<field name="list_price">2349.0</field>
|
||||
<field name="type">consu</field>
|
||||
<field name="image" type="base64" file="theme_notes/static/src/img/content/product_img_07.png"/>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="uom_po_id" ref="product.product_uom_unit"/>
|
||||
</record>
|
||||
<record id="product.notes_product_8" model="product.product">
|
||||
<field name="name">Fender Stratocaster</field>
|
||||
<field name="website_published">True</field>
|
||||
<field name="website_sequence">99</field>
|
||||
<field name="website_size_x">2</field>
|
||||
<field name="website_size_y">2</field>
|
||||
<field name="public_categ_ids" eval="[(6,0,[ref('theme_notes_sale.fender')])]"/>
|
||||
<field name="standard_price">949.0</field>
|
||||
<field name="list_price">949.0</field>
|
||||
<field name="type">consu</field>
|
||||
<field name="image" type="base64" file="theme_notes/static/src/img/content/product_img_08.png"/>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="uom_po_id" ref="product.product_uom_unit"/>
|
||||
</record>
|
||||
<record id="product.notes_product_9" model="product.product">
|
||||
<field name="name">Washburn</field>
|
||||
<field name="website_published">True</field>
|
||||
<field name="website_sequence">99</field>
|
||||
<field name="website_size_x">2</field>
|
||||
<field name="website_size_y">2</field>
|
||||
<field name="public_categ_ids" eval="[(6,0,[ref('theme_notes_sale.other')])]"/>
|
||||
<field name="standard_price">1149.0</field>
|
||||
<field name="list_price">1149.0</field>
|
||||
<field name="type">consu</field>
|
||||
<field name="image" type="base64" file="theme_notes/static/src/img/content/product_img_09.png"/>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="uom_po_id" ref="product.product_uom_unit"/>
|
||||
</record>
|
||||
<record id="product.notes_product_10" model="product.product">
|
||||
<field name="name">Mapex Drumset</field>
|
||||
<field name="website_published">True</field>
|
||||
<field name="website_sequence">99</field>
|
||||
<field name="website_size_x">2</field>
|
||||
<field name="website_size_y">2</field>
|
||||
<field name="public_categ_ids" eval="[(6,0,[ref('theme_notes_sale.drums')])]"/>
|
||||
<field name="standard_price">549.0</field>
|
||||
<field name="list_price">549.0</field>
|
||||
<field name="type">consu</field>
|
||||
<field name="image" type="base64" file="theme_notes/static/src/img/content/product_img_10.png"/>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="uom_po_id" ref="product.product_uom_unit"/>
|
||||
</record>
|
||||
<record id="product.notes_product_11" model="product.product">
|
||||
<field name="name">Tama Drumset</field>
|
||||
<field name="website_published">True</field>
|
||||
<field name="website_sequence">99</field>
|
||||
<field name="website_size_x">2</field>
|
||||
<field name="website_size_y">2</field>
|
||||
<field name="public_categ_ids" eval="[(6,0,[ref('theme_notes_sale.drums')])]"/>
|
||||
<field name="standard_price">769.0</field>
|
||||
<field name="list_price">699.0</field>
|
||||
<field name="type">consu</field>
|
||||
<field name="image" type="base64" file="theme_notes/static/src/img/content/product_img_11.png"/>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="uom_po_id" ref="product.product_uom_unit"/>
|
||||
</record>
|
||||
<record id="product.notes_product_12" model="product.product">
|
||||
<field name="name">Yamaha Drumset</field>
|
||||
<field name="website_published">True</field>
|
||||
<field name="website_sequence">99</field>
|
||||
<field name="website_size_x">2</field>
|
||||
<field name="website_size_y">2</field>
|
||||
<field name="public_categ_ids" eval="[(6,0,[ref('theme_notes_sale.drums')])]"/>
|
||||
<field name="standard_price">889.0</field>
|
||||
<field name="list_price">889.0</field>
|
||||
<field name="type">consu</field>
|
||||
<field name="image" type="base64" file="theme_notes/static/src/img/content/product_img_12.png"/>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="uom_po_id" ref="product.product_uom_unit"/>
|
||||
</record>
|
||||
<record id="product.notes_product_13" model="product.product">
|
||||
<field name="name">SSR Bongo</field>
|
||||
<field name="website_published">True</field>
|
||||
<field name="website_sequence">99</field>
|
||||
<field name="website_size_x">2</field>
|
||||
<field name="website_size_y">2</field>
|
||||
<field name="public_categ_ids" eval="[(6,0,[ref('theme_notes_sale.percussion')])]"/>
|
||||
<field name="standard_price">79.0</field>
|
||||
<field name="list_price">79.0</field>
|
||||
<field name="type">consu</field>
|
||||
<field name="image" type="base64" file="theme_notes/static/src/img/content/product_img_13.png"/>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="uom_po_id" ref="product.product_uom_unit"/>
|
||||
</record>
|
||||
<record id="product.notes_product_14" model="product.product">
|
||||
<field name="name">Authentic Percussion</field>
|
||||
<field name="website_published">True</field>
|
||||
<field name="website_sequence">99</field>
|
||||
<field name="website_size_x">2</field>
|
||||
<field name="website_size_y">2</field>
|
||||
<field name="public_categ_ids" eval="[(6,0,[ref('theme_notes_sale.percussion')])]"/>
|
||||
<field name="standard_price">279.0</field>
|
||||
<field name="list_price">279.0</field>
|
||||
<field name="type">consu</field>
|
||||
<field name="image" type="base64" file="theme_notes/static/src/img/content/product_img_14.png"/>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="uom_po_id" ref="product.product_uom_unit"/>
|
||||
</record>
|
||||
<record id="product.notes_product_15" model="product.product">
|
||||
<field name="name">Saxophone</field>
|
||||
<field name="website_published">True</field>
|
||||
<field name="website_sequence">99</field>
|
||||
<field name="website_size_x">2</field>
|
||||
<field name="website_size_y">2</field>
|
||||
<field name="public_categ_ids" eval="[(6,0,[ref('theme_notes_sale.brass')])]"/>
|
||||
<field name="standard_price">379.0</field>
|
||||
<field name="list_price">379.0</field>
|
||||
<field name="type">consu</field>
|
||||
<field name="image" type="base64" file="theme_notes/static/src/img/content/product_img_15.png"/>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="uom_po_id" ref="product.product_uom_unit"/>
|
||||
</record>
|
||||
<record id="product.notes_product_16" model="product.product">
|
||||
<field name="name">Trombone</field>
|
||||
<field name="website_published">True</field>
|
||||
<field name="website_sequence">99</field>
|
||||
<field name="website_size_x">2</field>
|
||||
<field name="website_size_y">2</field>
|
||||
<field name="public_categ_ids" eval="[(6,0,[ref('theme_notes_sale.brass')])]"/>
|
||||
<field name="standard_price">399.0</field>
|
||||
<field name="list_price">399.0</field>
|
||||
<field name="type">consu</field>
|
||||
<field name="image" type="base64" file="theme_notes/static/src/img/content/product_img_16.png"/>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="uom_po_id" ref="product.product_uom_unit"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
||||
</openerp>
|
||||
@@ -0,0 +1,12 @@
|
||||
#top_menu {
|
||||
.my_cart_quantity {
|
||||
color: @color-beta;
|
||||
}
|
||||
}
|
||||
#products_grid {
|
||||
.oe_product_cart {
|
||||
section a {
|
||||
color: @color-beta !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,493 @@
|
||||
#wrap > .container-fluid .pagination, #wrap > .container .pagination {
|
||||
padding-right: 0;
|
||||
}
|
||||
.oe_website_sale {
|
||||
overflow: hidden;
|
||||
padding-bottom: 20px;
|
||||
background-color: @color-alpha;
|
||||
.page-header {
|
||||
small {
|
||||
display: block;
|
||||
a {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*.oe_product_cart {
|
||||
.in {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
}*/
|
||||
.oe_product {
|
||||
padding: 5px;
|
||||
border: 0;
|
||||
h5 {
|
||||
a {
|
||||
color: @color-epsilon;
|
||||
}
|
||||
}
|
||||
.ribbon {
|
||||
background-color: red;
|
||||
top: 0px;
|
||||
width: 145px;
|
||||
}
|
||||
|
||||
// Product name, price and quick cart part
|
||||
|
||||
section {
|
||||
min-height: 90px;
|
||||
padding: 0px 15px;
|
||||
background: rgba(255, 255, 255, 0.9) !important;
|
||||
h5 {
|
||||
padding: 10px 0px;
|
||||
font-size: 18px;
|
||||
margin: 0px;
|
||||
border-top: 1px solid @gray-lighter;
|
||||
a {
|
||||
color: @color-delta;
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.text-info {
|
||||
text-align: left;
|
||||
color: @gray-light;
|
||||
}
|
||||
.oe_subdescription {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
.product_price {
|
||||
font-size: 14px;
|
||||
position: relative;
|
||||
b {
|
||||
.text-danger {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
}
|
||||
.btn-default { // cart btn
|
||||
background: rgba(0, 0, 0, 0) !important;
|
||||
border: none;
|
||||
font-size: 15px;
|
||||
position: relative;
|
||||
right: 8px;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#products_grid {
|
||||
padding-left: 15px;
|
||||
table, tbody {
|
||||
background-color: rgba(0, 0, 0, 0) !important;
|
||||
}
|
||||
.products_pager:first-child {
|
||||
border-bottom: 1px solid @gray-lighter;
|
||||
}
|
||||
.products_pager:last-child {
|
||||
border-top: 1px solid @gray-lighter;
|
||||
}
|
||||
.products_pager {
|
||||
margin-top: 15px;
|
||||
ul {
|
||||
a {
|
||||
border: rgba(0, 0, 0, 0);
|
||||
color: @gray;
|
||||
min-width: 35px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.pagination > .active > a {
|
||||
border-bottom: 3px solid @color-beta;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
color: @color-beta;
|
||||
}
|
||||
.pagination a {
|
||||
.transition (all 0.3s ease-out);
|
||||
&:hover {
|
||||
border-bottom: 3px solid @color-delta;
|
||||
background: rgba(0, 0, 0, 0);
|
||||
color: @gray-light;
|
||||
}
|
||||
}
|
||||
.products_pager > ul {
|
||||
li:first-child > a {
|
||||
border-top-left-radius: 0px;
|
||||
border-bottom-left-radius: 0px;
|
||||
}
|
||||
li:last-child > a {
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* =================== Search =================== */
|
||||
|
||||
.form-inline .input-group {
|
||||
width: 100%;
|
||||
.form-control {
|
||||
width: 100%;
|
||||
.BorderRadius (0px);
|
||||
height: 50px;
|
||||
font-size: 20px;
|
||||
box-shadow: none;
|
||||
text-transform: lowercase;
|
||||
border: none;
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
.input-group-btn {
|
||||
width: 50px;
|
||||
.btn-default {
|
||||
.BorderRadius (0px);
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
&:hover {
|
||||
background-color: white !important;
|
||||
}
|
||||
}
|
||||
.btn {
|
||||
line-height: 2.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* =================== Categories =================== */
|
||||
|
||||
#products_grid_before {
|
||||
padding: 15px 0px 15px 10px;
|
||||
padding-bottom: 800em;
|
||||
margin-bottom: -800em;
|
||||
#o_shop_collapse_category li {
|
||||
padding-left: 15px;
|
||||
i {
|
||||
color: @color-gamma;
|
||||
}
|
||||
}
|
||||
ul.nav-stacked {
|
||||
li {
|
||||
a {
|
||||
font-size: 16px;
|
||||
color: @gray-light;
|
||||
&:hover, &:focus {
|
||||
background-color: @gray-lighter;
|
||||
color: @gray;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.nav-pills > li > ul {
|
||||
padding-left: 15px;
|
||||
}
|
||||
> ul > li > a {
|
||||
color: @color-gamma !important;
|
||||
text-transform: uppercase;
|
||||
font-size: 18px !important;
|
||||
}
|
||||
.main-category {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.category-name {
|
||||
text-align: left;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 15px;
|
||||
color: @color-gamma;
|
||||
}
|
||||
|
||||
/* =========== Filters ========== */
|
||||
|
||||
.js_attributes {
|
||||
border-bottom-width: 10px;
|
||||
border-bottom-style: solid;
|
||||
border-right-width: 0px;
|
||||
padding: 15px 15px;
|
||||
margin: 20px 0px;
|
||||
border-color: @color-delta;
|
||||
strong {
|
||||
display: block;
|
||||
padding-left: 10px;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 10px;
|
||||
border-bottom: 1px dotted @color-beta;
|
||||
color: @color-gamma;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.css_attribute_color.active {
|
||||
border: 5px ridge @color-alpha;
|
||||
}
|
||||
li > ul {
|
||||
display: block;
|
||||
}
|
||||
label > span {
|
||||
color: @gray;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* =================== Product page =================== */
|
||||
.js_sale {
|
||||
background-color: @color-alpha;
|
||||
.container-fluid > .row:first-child, .container:first-child > .row:first-child {
|
||||
background-color: @color-eta;
|
||||
}
|
||||
.breadcrumb {
|
||||
padding-top: 20px;
|
||||
background: rgba(0, 0, 0, 0);
|
||||
border-bottom: 1px solid @gray-lighter;
|
||||
li {
|
||||
font-size: 15px;
|
||||
a {
|
||||
color: @color-gamma;
|
||||
}
|
||||
}
|
||||
}
|
||||
#website_published_button {
|
||||
@media (max-width: @screen-sm-min) {
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
#product_detail .col-sm-5 {
|
||||
border-left: 1px solid @gray-lighter;
|
||||
}
|
||||
.js_add_cart_variants > li {
|
||||
> strong {
|
||||
border-bottom: 1px solid @gray-lighter;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
margin: 20px 0px;
|
||||
padding-left: 10px;
|
||||
font-size: 20px;
|
||||
text-transform: uppercase;
|
||||
color: @color-beta;
|
||||
}
|
||||
}
|
||||
.js_add_cart_variants {
|
||||
color: @gray;
|
||||
|
||||
/* ======== PRICE ======== */
|
||||
|
||||
.oe_price_h4 {
|
||||
font-size: 25px;
|
||||
.text-danger {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
}
|
||||
.product-title {
|
||||
padding: 0px 0px 50px 0px;
|
||||
text-align: center;
|
||||
color: @gray;
|
||||
}
|
||||
.product-description {
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
}
|
||||
#add_to_cart {
|
||||
padding-top: 15px;
|
||||
margin: 20px 0;
|
||||
border: none;
|
||||
margin-top: 0px;
|
||||
.transition (all 0.5s ease-out);
|
||||
.fa {
|
||||
font-size: 25px;
|
||||
padding-bottom: 10px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
/* ======= ADD QUANTITY ========= */
|
||||
|
||||
.oe_website_spinner {
|
||||
margin-bottom: 25px;
|
||||
.input-group-addon {
|
||||
color: white;
|
||||
|
||||
&:first-child, &:last-child {
|
||||
border: none;
|
||||
background-color: @color-gamma;
|
||||
}
|
||||
a {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
.js_quantity {
|
||||
text-align: center;
|
||||
border-color: @color-gamma;
|
||||
}
|
||||
}
|
||||
.badge, .active > a > .badge {
|
||||
padding: 5px 10px;
|
||||
margin-left: 15px;
|
||||
background-color: @color-gamma;
|
||||
color: white;
|
||||
min-width: 28px;
|
||||
}
|
||||
.list-unstyled .css_attribute_color.active {
|
||||
border: 3px solid @color-gamma;
|
||||
}
|
||||
#website_sale_recommended_products {
|
||||
padding: 30px;
|
||||
h3 {
|
||||
text-align: center;
|
||||
border-bottom: 5px solid @color-epsilon;
|
||||
padding-bottom: 20px;
|
||||
color: @color-gamma;
|
||||
}
|
||||
.row {
|
||||
padding: 0 15px;
|
||||
}
|
||||
.col-md-2 {
|
||||
margin-top: 10px;
|
||||
min-height: 160px;
|
||||
span {
|
||||
color: @color-epsilon;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ===================== Product list view ======================= */
|
||||
|
||||
.oe_list {
|
||||
margin: 5px 0 5px 15px;
|
||||
border: 1px solid @gray-lighter;
|
||||
width: 90% !important;
|
||||
@media (max-width: @screen-sm-min) {
|
||||
height: auto !important;
|
||||
}
|
||||
img {
|
||||
padding: 10px 0;
|
||||
}
|
||||
section {
|
||||
.product_price {
|
||||
display: inline-block;
|
||||
}
|
||||
.oe_subdescription {
|
||||
max-width: 70%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* =================== Modal =================== */
|
||||
#modal_optional_products {
|
||||
.modal-title {
|
||||
background: rgba(0, 0, 0, 0);
|
||||
}
|
||||
.input-group {
|
||||
border-collapse: inherit;
|
||||
}
|
||||
table td:first-child {
|
||||
@media (max-width:@screen-xs-max) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* =================== Shopping cart =================== */
|
||||
.oe_website_sale {
|
||||
color: @gray;
|
||||
.oe_cart {
|
||||
strong {
|
||||
color: @gray;
|
||||
}
|
||||
.well {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
#cart_products {
|
||||
img {
|
||||
max-width: 100px;
|
||||
}
|
||||
}
|
||||
.oe_website_spinner {
|
||||
margin: auto;
|
||||
border-collapse: inherit;
|
||||
}
|
||||
.a-submit {
|
||||
padding: 20px 0px;
|
||||
border-width: 3px;
|
||||
border-radius: 0px;
|
||||
min-width: 150px;
|
||||
.BorderRadius (50px);
|
||||
}
|
||||
}
|
||||
h4 .oe_currency_value {
|
||||
font-size: 25px;
|
||||
}
|
||||
#right_column {
|
||||
color: @gray;
|
||||
a {
|
||||
color: red;
|
||||
}
|
||||
.btn {
|
||||
.BorderRadius (0px);
|
||||
border: none;
|
||||
}
|
||||
.input-group-btn {
|
||||
padding-left: 5px;
|
||||
}
|
||||
h4 {
|
||||
color: @color-beta;
|
||||
border-bottom: 1px solid @color-beta;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.fa {
|
||||
padding-right: 5px;
|
||||
}
|
||||
}
|
||||
.wizard {
|
||||
padding-right: 15px;
|
||||
box-shadow: none;
|
||||
@media (max-width: @screen-sm-min) {
|
||||
padding-right: 0px;
|
||||
}
|
||||
li.text-primary {
|
||||
background-color: @color-gamma;
|
||||
@media (max-width: @screen-sm-min) {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
color: @color-gamma;
|
||||
padding-left: 7px;
|
||||
}
|
||||
.chevron:before {
|
||||
border-left: 10px solid @color-gamma;
|
||||
@media (max-width: @screen-sm-min) {
|
||||
border-left: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
li {
|
||||
border-color: @color-gamma;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
@media (max-width: @screen-sm-min) {
|
||||
border-color: rgba(0, 0, 0, 0);
|
||||
padding-left: 7px;
|
||||
}
|
||||
.chevron {
|
||||
border-left: 10px solid @color-gamma;
|
||||
background: rgba(0, 0, 0, 0);
|
||||
@media (max-width: @screen-sm-min) {
|
||||
border-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
.text-muted {
|
||||
color: @gray-light;
|
||||
}
|
||||
}
|
||||
}
|
||||
.form-control:focus {
|
||||
border: 1px solid @color-delta;
|
||||
}
|
||||
|
||||
/* ======================== PAY =========================== */
|
||||
.oe_sale_acquirer_button {
|
||||
.btn {
|
||||
min-width: 150px;
|
||||
text-transform: uppercase;
|
||||
font-size: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<!-- Product grid view -->
|
||||
<template id="products" inherit_id='website_sale.products' name="Products">
|
||||
<xpath expr="//*[contains(@class, 'oe_website_sale')]//*[1]" position="before">
|
||||
<t t-call="theme_notes_sale.search"/>
|
||||
</xpath>
|
||||
<!-- Use container fluid instead of container -->
|
||||
<xpath expr="//div[contains(@class, 'oe_website_sale')]" position="attributes">
|
||||
<attribute name="class">container-fluid oe_website_sale</attribute>
|
||||
</xpath>
|
||||
|
||||
<!-- Add pager to the top and bottom -->
|
||||
<xpath expr="//div[@id='products_grid']/*[1]" position="before">
|
||||
<div class="products_pager">
|
||||
<div>
|
||||
<t t-call="website_sale.pricelist_list"/>
|
||||
<t t-call="website.pager"/>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='products_grid']/*[last()]" position="after">
|
||||
<div class="products_pager">
|
||||
<div>
|
||||
<t t-call="website_sale.pricelist_list"/>
|
||||
<t t-call="website.pager"/>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
<!-- Remove original pager -->
|
||||
<xpath expr="//div[contains(@class, 'products_pager')]" position="replace">
|
||||
</xpath>
|
||||
<xpath expr="//div[contains(@class, 'oe_website_sale')]/div[@class='products_pager']" position="replace">
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Rearrange product page -->
|
||||
<template id="product" inherit_id='website_sale.product' name="Product">
|
||||
<!-- Widen breadcrumb -->
|
||||
<xpath expr="//*[@id='wrap']//*[contains(@class, 'row')]/*[1]" position="attributes">
|
||||
<attribute name="class">col-sm-12</attribute>
|
||||
</xpath>
|
||||
<!-- Move Published button -->
|
||||
<xpath expr="//*[@id='wrap']//*[contains(@class, 'row')]/*[3]" position="attributes">
|
||||
<attribute name="class">col-sm-12</attribute>
|
||||
<attribute name="id">website_published_button</attribute>
|
||||
</xpath>
|
||||
<!-- Move search bar -->
|
||||
<xpath expr="//*[@id='wrap']//*[contains(@class, 'row')]/*[2]" position="replace">
|
||||
</xpath>
|
||||
<xpath expr="//*[@id='wrap']//*[contains(@class, 'row')]" position="before">
|
||||
<t t-call="theme_notes_sale.search"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Move product name -->
|
||||
<xpath expr="//div[contains(@class, 'col-lg-offset-1')]/h1" position="replace">
|
||||
</xpath>
|
||||
<xpath expr="//*[@id='website_published_button']" position="after">
|
||||
<div class="col-sm-12 product-title">
|
||||
<h1 itemprop="name" t-field="product.name">Product Name</h1>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
<!-- Hide useless hr -->
|
||||
<xpath expr="//div[contains(@class, 'col-lg-offset-1')]/hr" position="replace">
|
||||
</xpath>
|
||||
|
||||
<!-- New add to cart button -->
|
||||
<xpath expr="//a[@id='add_to_cart']" position="replace">
|
||||
<a id="add_to_cart" class="btn btn-primary btn-lg mt8 js_check_product a-submit center-block" href="#">
|
||||
<i class="fa fa-shopping-cart"/>
|
||||
Add to Cart
|
||||
</a>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Add class to recommended products -->
|
||||
<template id="recommended_products" inherit_id="website_sale.recommended_products" name="Alternative Products">
|
||||
<xpath expr="//div[contains(@class, 'container')]" position="attributes">
|
||||
<attribute name='id'>website_sale_recommended_products</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Add h3 tag to the category list -->
|
||||
<template id="products_categories" inherit_id="website_sale.products_categories" active="True" customize_show="True" name="Product Categories">
|
||||
<xpath expr="//div[@id='products_grid_before']/ul" position="before">
|
||||
<h3 class="category-name">Product categories</h3>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='products_grid_before']" position="attributes">
|
||||
<attribute name="class">col-md-3 col-sm-4 hidden-xs</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='products_grid']" position="attributes">
|
||||
<attribute name="class">col-md-9 col-sm-8</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<record id="website_sale.products_add_to_cart" model="ir.ui.view">
|
||||
<field name="active" eval='True'/>
|
||||
</record>
|
||||
|
||||
<record id="website_sale.products_categories" model="ir.ui.view">
|
||||
<field name="active" eval='True'/>
|
||||
</record>
|
||||
|
||||
<template id="search" name="search">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<t t-if="not keep">
|
||||
<form action="/shop" method="get" class="pagination form-inline col-md-12">
|
||||
<div class="input-group">
|
||||
<input name="search" class="search-query form-control" placeholder="Search..." type="text"/>
|
||||
<span class="input-group-btn">
|
||||
<a class="btn btn-default a-submit"><i class="fa fa-search"/></a>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
</t>
|
||||
<t t-if="keep">
|
||||
<t t-call="website_sale.search">
|
||||
<t t-set="search_class">pagination form-inline col-md-12</t>
|
||||
</t>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<template id="less" name="theme_notes_sale_less" inherit_id="website.assets_frontend">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link href="/theme_notes_sale/static/src/less/theme_ecommerce.less" rel="stylesheet" type="text/less"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="option_colorPreset1" name="option_colorPreset1" inherit_id="theme_notes.option_colorPreset1">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link href="/theme_notes_sale/static/src/less/options/colors/colorPreset1.less" rel="stylesheet" type="text/less"/>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user