Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ecff24038c | |||
| f5fbe02e64 | |||
| 7ec6b24f38 | |||
| 46c4a99349 | |||
| 5468e28f2f |
16
CHANGELOG.md
16
CHANGELOG.md
@@ -1,6 +1,22 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
|
||||||
|
## v1.2.0 (2023-02-21)
|
||||||
|
|
||||||
|
### Changes
|
||||||
|
|
||||||
|
* SVC-89 pixel cosmetics on checkout page. [Lang]
|
||||||
|
|
||||||
|
|
||||||
|
## v1.1.0 (2023-02-21)
|
||||||
|
|
||||||
|
### Changes
|
||||||
|
|
||||||
|
* SVC-89 change button gfx and some form changes too. [Lang]
|
||||||
|
|
||||||
|
* SVC-89 replace the header logo to the factory default - and some new changes on the gfx. [Lang]
|
||||||
|
|
||||||
|
|
||||||
## v1.0.0 (2023-02-20)
|
## v1.0.0 (2023-02-20)
|
||||||
|
|
||||||
### New
|
### New
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -11,10 +11,14 @@ This plugin was made for the eTail conference to show a Shopware w/ special them
|
|||||||
2. Install and activate the plugin
|
2. Install and activate the plugin
|
||||||
```bash
|
```bash
|
||||||
$ bin/console plugin:refresh
|
$ bin/console plugin:refresh
|
||||||
$ bin/console plugin:install --activate EtailConferenceTheme
|
|
||||||
$ bin/console theme:change
|
|
||||||
> EtailConferenceTheme
|
|
||||||
```
|
```
|
||||||
|
```bash
|
||||||
|
$ bin/console plugin:install --activate EtailConferenceTheme
|
||||||
|
```
|
||||||
|
```bash
|
||||||
|
$ bin/console theme:change
|
||||||
|
```
|
||||||
|
> EtailConferenceTheme
|
||||||
3. On administration area some setting you have to set
|
3. On administration area some setting you have to set
|
||||||
1. **Disable reviews** (The docs are [here](https://docs.shopware.com/en/shopware-6-en/catalogues/reviews#disable-reviews).) - `Admin | Settings | Shop | Products | Show reviews`
|
1. **Disable reviews** (The docs are [here](https://docs.shopware.com/en/shopware-6-en/catalogues/reviews#disable-reviews).) - `Admin | Settings | Shop | Products | Show reviews`
|
||||||
> False
|
> False
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([["etail-conference-theme"],{AZcZ:function(e,n,o){(function(e){e((function(){setTimeout((function(){e(".shopware-overlay").addClass("fade-out"),e(".header-main, .footer-main, .content-main").removeClass("d-none"),setTimeout((function(){e(".shopware-overlay").addClass("d-none")}),500)}),500),e(".card.product-box").each((function(){e(this).find(".btn").append(e(this).find(".product-price"))}))})),window.addEventListener("beforeunload",(function(n){e(".shopware-overlay").removeClass("d-none").removeClass("fade-out")}))}).call(this,o("UoTJ"))}},[["AZcZ","runtime","vendor-node"]]]);
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["etail-conference-theme"],{AZcZ:function(n,e,o){(function(n){n((function(){setTimeout((function(){n(".shopware-overlay").addClass("fade-out"),n(".header-main, .footer-main, .content-main").removeClass("d-none"),setTimeout((function(){n(".shopware-overlay").addClass("d-none")}),500)}),500),n(".card.product-box").each((function(){n(this).find(".btn").append(n(this).find(".product-price"))}))}))}).call(this,o("UoTJ"))}},[["AZcZ","runtime","vendor-node"]]]);
|
||||||
@@ -16,3 +16,53 @@ $(function () {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/** Run animation on product list only when they are in the middle of screen */
|
||||||
|
var getElementsInArea = (function (docElm) {
|
||||||
|
var viewportHeight = docElm.clientHeight;
|
||||||
|
|
||||||
|
return function (e, opts) {
|
||||||
|
var found = [], i;
|
||||||
|
|
||||||
|
if (e && e.type === 'resize') {
|
||||||
|
viewportHeight = docElm.clientHeight;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i = opts.elements.length; i--;) {
|
||||||
|
if (found.includes(i)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
var elm = opts.elements[ i ],
|
||||||
|
pos = elm.getBoundingClientRect(),
|
||||||
|
topPerc = pos.top / viewportHeight * 100,
|
||||||
|
bottomPerc = pos.bottom / viewportHeight * 100,
|
||||||
|
middle = (topPerc + bottomPerc) / 2,
|
||||||
|
inViewport = middle > opts.zone[ 1 ] &&
|
||||||
|
middle < (100 - opts.zone[ 1 ]);
|
||||||
|
|
||||||
|
elm.classList.toggle(opts.markedClass, inViewport);
|
||||||
|
|
||||||
|
if (inViewport) {
|
||||||
|
found.push(elm);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
})(document.documentElement);
|
||||||
|
|
||||||
|
window.addEventListener('scroll', f)
|
||||||
|
window.addEventListener('resize', f)
|
||||||
|
|
||||||
|
function f(e) {
|
||||||
|
getElementsInArea(e, {
|
||||||
|
elements: document.querySelectorAll('div.product-image-wrapper'),
|
||||||
|
markedClass: 'highlight--1',
|
||||||
|
zone: [20, 20]
|
||||||
|
});
|
||||||
|
|
||||||
|
getElementsInArea(e, {
|
||||||
|
elements: document.querySelectorAll('div.product-image-wrapper'),
|
||||||
|
markedClass: 'highlight--2',
|
||||||
|
zone: [40, 40]
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|||||||
@@ -62,13 +62,14 @@ body {
|
|||||||
.custom-select {
|
.custom-select {
|
||||||
border: 3px solid #179eff;
|
border: 3px solid #179eff;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin-left: 1em;
|
|
||||||
|
|
||||||
border-radius: 0 10px 10px 10px;
|
border-radius: 0 10px 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.checkout-aside-summary,
|
.checkout-aside-summary,
|
||||||
input.form-control {
|
input.form-control {
|
||||||
|
border: 3px solid #179eff;
|
||||||
|
|
||||||
border-radius: 0 10px 10px 10px;
|
border-radius: 0 10px 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -108,7 +109,8 @@ header {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
min-height: 500px;
|
text-align: right;
|
||||||
|
margin: 1.5em 0;
|
||||||
|
|
||||||
@media screen and (max-width: 500px) {
|
@media screen and (max-width: 500px) {
|
||||||
min-height: 20em;
|
min-height: 20em;
|
||||||
@@ -117,11 +119,10 @@ header {
|
|||||||
h1 {
|
h1 {
|
||||||
font: bold 4em 'Brandon Text', sans-serif;
|
font: bold 4em 'Brandon Text', sans-serif;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
color: #000;
|
color: #1674b7;
|
||||||
|
|
||||||
@media screen and (max-width: 500px) {
|
@media screen and (max-width: 870px) {
|
||||||
text-align: center;
|
color: #fff;
|
||||||
color: #fff !important;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -130,9 +131,8 @@ header {
|
|||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
color: #7d7d7d;
|
color: #7d7d7d;
|
||||||
|
|
||||||
@media screen and (max-width: 500px) {
|
@media screen and (max-width: 870px) {
|
||||||
text-align: center;
|
color: #1674b7;
|
||||||
color: #fff !important;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -147,7 +147,7 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-height: 25vw;
|
max-height: 35vw;
|
||||||
|
|
||||||
animation-name: gently-scale;
|
animation-name: gently-scale;
|
||||||
animation-timing-function: ease-in-out;
|
animation-timing-function: ease-in-out;
|
||||||
@@ -287,22 +287,30 @@ header {
|
|||||||
z-index: -1;
|
z-index: -1;
|
||||||
|
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
box-shadow: 0 3.125rem 1.5rem rgba(0, 0, 0, 0.24);
|
|
||||||
animation-name: bounce-shadow;
|
animation-name: bounce-shadow;
|
||||||
animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
|
animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
|
||||||
animation-duration: 3s;
|
animation-duration: 3s;
|
||||||
animation-iteration-count: infinite;
|
animation-play-state: paused;
|
||||||
|
box-shadow: 0 3.125rem 1.5rem rgba(0, 0, 0, 0.24);
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-image-link {
|
.product-image-link {
|
||||||
animation-name: bounce;
|
animation-name: bounce;
|
||||||
animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
|
animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
|
||||||
animation-duration: 3s;
|
animation-duration: 3s;
|
||||||
animation-iteration-count: infinite;
|
animation-play-state: paused;
|
||||||
transform-origin: bottom;
|
transform-origin: bottom;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.product-image-wrapper.highlight--1,
|
||||||
|
.product-image-wrapper.highlight--2 {
|
||||||
|
&:after,
|
||||||
|
.product-image-link {
|
||||||
|
animation-play-state: running;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.product-name {
|
.product-name {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: #000;
|
color: #000;
|
||||||
@@ -324,6 +332,7 @@ header {
|
|||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3478d1', endColorstr='#308bf4', GradientType=1);
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3478d1', endColorstr='#308bf4', GradientType=1);
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
border: 0;
|
border: 0;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@@ -355,13 +364,13 @@ header {
|
|||||||
transform: scale(1.1, .9) translateY(0);
|
transform: scale(1.1, .9) translateY(0);
|
||||||
}
|
}
|
||||||
30% {
|
30% {
|
||||||
transform: scale(.9, 1.1) translateY(-65px);
|
transform: scale(.9, 1.1) translateY(-20px);
|
||||||
}
|
}
|
||||||
50% {
|
50% {
|
||||||
transform: scale(1.05, .95) translateY(0);
|
transform: scale(1.05, .95) translateY(0);
|
||||||
}
|
}
|
||||||
57% {
|
57% {
|
||||||
transform: scale(1, 1) translateY(-7px);
|
transform: scale(1, 1) translateY(-3px);
|
||||||
}
|
}
|
||||||
64% {
|
64% {
|
||||||
transform: scale(1, 1) translateY(0);
|
transform: scale(1, 1) translateY(0);
|
||||||
@@ -424,18 +433,8 @@ header {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.buy-widget-container {
|
|
||||||
button {
|
|
||||||
background: #179eff;
|
|
||||||
color: #fff;
|
|
||||||
border: 0;
|
|
||||||
|
|
||||||
border-radius: 0 10px 10px 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/** buttons */
|
/** buttons */
|
||||||
|
|
||||||
.header-minimal-back-to-shop-button {
|
.header-minimal-back-to-shop-button {
|
||||||
color: #179eff;
|
color: #179eff;
|
||||||
border: 3px solid #179eff;
|
border: 3px solid #179eff;
|
||||||
@@ -444,15 +443,9 @@ header {
|
|||||||
border-radius: 0 10px 10px 10px;
|
border-radius: 0 10px 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.begin-checkout-btn {
|
|
||||||
background: #179eff;
|
|
||||||
color: #fff;
|
|
||||||
border: 0;
|
|
||||||
|
|
||||||
border-radius: 0 10px 10px 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.register-submit button,
|
.register-submit button,
|
||||||
|
.begin-checkout-btn,
|
||||||
|
.buy-widget-container button,
|
||||||
.scroll-up-button button,
|
.scroll-up-button button,
|
||||||
#addPromotion,
|
#addPromotion,
|
||||||
#addProductButton,
|
#addProductButton,
|
||||||
@@ -465,6 +458,13 @@ header {
|
|||||||
border-radius: 0 10px 10px 10px;
|
border-radius: 0 10px 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.register-submit button,
|
||||||
|
.begin-checkout-btn {
|
||||||
|
margin-left: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** pagination */
|
||||||
|
|
||||||
.pagination-nav {
|
.pagination-nav {
|
||||||
margin-bottom: 5em;
|
margin-bottom: 5em;
|
||||||
|
|
||||||
@@ -531,11 +531,11 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.footer-main {
|
.footer-main {
|
||||||
background: #313131;
|
background: #50b6ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-shopware {
|
.footer-shopware {
|
||||||
background: #313131;
|
background: #50b6ff;
|
||||||
padding: 3em;
|
padding: 3em;
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{% extends '@Storefront/storefront/component/product/card/box-standard.html.twig' %}
|
||||||
|
|
||||||
|
{% block component_product_box_description %}{% endblock %}
|
||||||
Reference in New Issue
Block a user