[REF] website_sale: move editor-related scss in a dedicated file
Part of https://github.com/odoo/odoo/pull/31147 task-1925327
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
.oe_overlay_options {
|
||||
.dropdown {
|
||||
div[name="size"] {
|
||||
table {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 1px #dddddd solid;
|
||||
cursor: pointer;
|
||||
|
||||
&.selected {
|
||||
background-color: #B1D4F1;
|
||||
}
|
||||
}
|
||||
|
||||
table.oe_hover td.selected {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
table.oe_hover td.select {
|
||||
background-color: #B1D4F1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -446,38 +446,6 @@ div#payment_method {
|
||||
.oe_website_sale input.quantity {
|
||||
padding: 0;
|
||||
}
|
||||
/* ---- Publish managment and options ---- */
|
||||
|
||||
.oe_overlay_options {
|
||||
.dropdown {
|
||||
div[name="size"] {
|
||||
table {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 1px #dddddd solid;
|
||||
cursor: pointer;
|
||||
|
||||
&.selected {
|
||||
background-color: #B1D4F1;
|
||||
}
|
||||
}
|
||||
|
||||
table.oe_hover td.selected {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
table.oe_hover td.select {
|
||||
background-color: #B1D4F1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Wizard */
|
||||
|
||||
ul.wizard {
|
||||
|
||||
@@ -40,7 +40,10 @@
|
||||
</template>
|
||||
|
||||
<template id="assets_editor" inherit_id="website.assets_editor" name="Shop Editor">
|
||||
<xpath expr="." position="inside">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/website_sale/static/src/scss/website_sale.editor.scss"/>
|
||||
</xpath>
|
||||
<xpath expr="//script[last()]" position="after">
|
||||
<script type="text/javascript" src="/website_sale/static/src/js/website_sale.editor.js"></script>
|
||||
<script type="text/javascript" src="/website_sale/static/src/js/website_sale_tour_shop_frontend.js"></script>
|
||||
<script type="text/javascript" src="/website_sale/static/src/js/website_sale_form_editor.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user