1
0

15 Commits

Author SHA1 Message Date
Daniel Papilion
e2d8f95712 Increase font-size on register form and globally to 16px 2023-03-01 09:27:51 +01:00
Daniel Papilion
94858bc3a8 Fix shopware-bg body class setting 2023-02-24 11:06:29 +01:00
Daniel Papilion
5b821a21c8 Fix Shopware logo reference 2023-02-24 10:54:48 +01:00
1386087105 chg: doc: SWC-89 improve docs - some formatting 2023-02-23 12:12:29 +01:00
1f59de1c16 chg: doc: SWC-89 improve docs - add section to change the logo 2023-02-23 11:59:57 +01:00
970ff0049e new: pkg: SWC-89 new version released !skipChangelog 2023-02-23 11:51:08 +01:00
c010e1f7b9 new: pkg: SWC-89 new version released !skipChangelog 2023-02-23 11:48:49 +01:00
bd7c17560f chg: usr: SWC-89 remove the image from the header and add bigger image to PDP gallery 2023-02-23 11:47:47 +01:00
fd80f71072 new: pkg: SWC-89 new version released !skipChangelog 2023-02-23 11:23:06 +01:00
3ba7a4f48f new: pkg: SWC-89 new version released !skipChangelog 2023-02-23 11:00:03 +01:00
ecff24038c chg: usr: SWC-89 change the theme as the customer requested 2023-02-23 10:58:42 +01:00
f5fbe02e64 chg: doc: SWC-89 change the documentation for easy copy-paste 2023-02-21 20:20:21 +01:00
7ec6b24f38 new: pkg: SWC-89 new version released !skipChangelog 2023-02-21 20:15:22 +01:00
46c4a99349 chg: usr: SVC-89 pixel cosmetics on checkout page 2023-02-21 20:12:37 +01:00
5468e28f2f new: pkg: SWC-89 new version released !skipChangelog 2023-02-21 15:43:42 +01:00
10 changed files with 172 additions and 66 deletions

View File

@@ -1,6 +1,38 @@
# Changelog # Changelog
## v1.4.0 (2023-02-23)
### Changes
* SWC-89 remove the image from the header and add bigger image to PDP gallery. [Lang]
## v1.3.0 (2023-02-23)
### Changes
* SWC-89 change the theme as the customer requested. [Lang]
* SWC-89 change the documentation for easy copy-paste. [Lang]
## 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

View File

@@ -11,10 +11,19 @@ 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
2. **Change the logo** Change the `sw-logo-desktop`, `sw-logo-tablet` & `sw-logo-mobile` logo to `@EtailConferenceTheme/src/Resources/app/storefront/src/assets/sw-logo-blue.svg` on the admin area:
`Admin | Storefront | "Theme" tab | "Edit theme" button | "media" block`
3. **Upload gallery images** Upload the product images in the admin area
`Admin | Catalogues | Products`

View File

@@ -2,6 +2,7 @@
"name": "itg-theme/etail-west-plugin", "name": "itg-theme/etail-west-plugin",
"description": "eTail West theme plugin for presentation", "description": "eTail West theme plugin for presentation",
"type": "shopware-platform-plugin", "type": "shopware-platform-plugin",
"version": "1.4.0",
"license": "MIT", "license": "MIT",
"autoload": { "autoload": {
"psr-4": { "psr-4": {

View File

@@ -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(e,n,t){(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"))}))}));var n,t,o=(n=document.documentElement,t=n.clientHeight,function(e,o){var i,a=[];for(e&&"resize"===e.type&&(t=n.clientHeight),i=o.elements.length;i--;)if(!a.includes(i)){var d=o.elements[i],r=d.getBoundingClientRect(),s=(r.top/t*100+r.bottom/t*100)/2,c=s>o.zone[1]&&s<100-o.zone[1];d.classList.toggle(o.markedClass,c),c&&a.push(d)}});function i(e){o(e,{elements:document.querySelectorAll("div.product-image-wrapper"),markedClass:"highlight--1",zone:[20,20]}),o(e,{elements:document.querySelectorAll("div.product-image-wrapper"),markedClass:"highlight--2",zone:[40,40]})}window.addEventListener("scroll",i),window.addEventListener("resize",i)}).call(this,t("UoTJ"))}},[["AZcZ","runtime","vendor-node"]]]);

View File

@@ -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]
});
}

View File

@@ -6,10 +6,10 @@
body { body {
position: relative; position: relative;
font-family: 'Brandon Text', sans-serif; font-family: "Brandon Text", sans-serif;
&.shopware-bg { &.shopware-bg {
background: url('/bundles/etailconferencetheme/assets/bg-curvy-outbg.png') no-repeat top right; background: url("/bundles/etailconferencetheme/assets/bg-curvy-outbg.png") no-repeat top right;
} }
} }
@@ -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,31 +109,30 @@ header {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
min-height: 500px; text-align: center;
margin: 1.5em 0;
@media screen and (max-width: 500px) { @media screen and (max-width: 500px) {
min-height: 20em; min-height: 20em;
} }
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;
} }
} }
h2 { h2 {
font: bold 2em 'Brandon Text', sans-serif; font: bold 2em "Brandon Text", sans-serif;
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;
@@ -175,6 +175,10 @@ header {
} }
} }
.gallery-slider-image {
width: 100%;
}
/** basket offcanvas */ /** basket offcanvas */
.offcanvas-cart { .offcanvas-cart {
@@ -253,7 +257,7 @@ header {
background: #fff; background: #fff;
border: 0; border: 0;
box-shadow: 0 0 10px rgba(13, 85, 96, .15); box-shadow: 0 0 10px rgba(13, 85, 96, 0.15);
border-radius: 0 20px 20px 20px; border-radius: 0 20px 20px 20px;
.card-body { .card-body {
@@ -287,22 +291,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.28, 0.84, 0.42, 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.28, 0.84, 0.42, 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 +336,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;
@@ -352,16 +365,16 @@ header {
transform: scale(1, 1) translateY(0); transform: scale(1, 1) translateY(0);
} }
10% { 10% {
transform: scale(1.1, .9) translateY(0); transform: scale(1.1, 0.9) translateY(0);
} }
30% { 30% {
transform: scale(.9, 1.1) translateY(-65px); transform: scale(0.9, 1.1) translateY(-20px);
} }
50% { 50% {
transform: scale(1.05, .95) translateY(0); transform: scale(1.05, 0.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);
@@ -419,23 +432,12 @@ header {
h1, h1,
h2 { h2 {
font-family: 'Brandon Text', sans-serif; font-family: "Brandon Text", sans-serif;
font-weight: bold; font-weight: bold;
} }
} }
.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 +446,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,16 +461,23 @@ 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;
.pagination { .pagination {
background: #189EFF; background: #189eff;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
//border: 3px solid #fff; //border: 3px solid #fff;
padding: .5em; padding: 0.5em;
overflow: hidden; overflow: hidden;
@@ -502,7 +505,7 @@ header {
border: 0; border: 0;
min-width: 3em; min-width: 3em;
min-height: 1.5em; min-height: 1.5em;
font-family: 'Brandon Text', sans-serif; font-family: "Brandon Text", sans-serif;
font-weight: bold; font-weight: bold;
font-size: 18px; font-size: 18px;
text-align: center; text-align: center;
@@ -531,15 +534,15 @@ header {
} }
.footer-main { .footer-main {
background: #313131; background: #50b6ff;
} }
.footer-shopware { .footer-shopware {
background: #313131; background: #50b6ff;
padding: 3em; padding: 3em;
h1 { h1 {
font: bold 1.5em 'Brandon Text', sans-serif; font: bold 1.5em "Brandon Text", sans-serif;
color: #fff; color: #fff;
} }
@@ -552,3 +555,13 @@ header {
box-shadow: inset 0 0 2px #fff; box-shadow: inset 0 0 2px #fff;
} }
} }
.register-form {
font-size: 16px;
}
.custom-control-label::before,
.custom-control-label::after {
width: 1.2rem;
height: 1.2rem;
}

View File

@@ -6,3 +6,5 @@ This file is used to override default SCSS variables from the Shopware Storefron
Because of the !default flags, theme variable overrides have to be declared beforehand. Because of the !default flags, theme variable overrides have to be declared beforehand.
https://getbootstrap.com/docs/4.0/getting-started/theming/#variable-defaults https://getbootstrap.com/docs/4.0/getting-started/theming/#variable-defaults
*/ */
$input-font-size: 16px;

View File

@@ -52,7 +52,7 @@
{% endif %} {% endif %}
<div id="shopware-overlay" class="shopware-overlay"> <div id="shopware-overlay" class="shopware-overlay">
<img src="{{ asset('/bundles/etailconferencetheme/assets/shopare-logo-only.png') }}" alt="Shopware logo | only"> <img src="{{ asset('/bundles/etailconferencetheme/assets/sw-logo-only.png') }}" alt="Shopware logo | only">
</div> </div>
{{ parent() }} {{ parent() }}
@@ -79,11 +79,7 @@
{% endblock %} {% endblock %}
{% block base_body_classes %} {% block base_body_classes %}
{{ parent() }} {{parent()}} {% if activeRoute == 'frontend.home.page' %}shopware-bg{% endif %}
{% if activeRoute == 'frontend.home.page' %}
shopware-bg
{% endif %}
{% endblock %} {% endblock %}
{% block base_breadcrumb %}{% endblock %} {% block base_breadcrumb %}{% endblock %}

View File

@@ -0,0 +1,3 @@
{% extends '@Storefront/storefront/component/product/card/box-standard.html.twig' %}
{% block component_product_box_description %}{% endblock %}

View File

@@ -20,10 +20,10 @@
<h1>Shopware ecommerce platform</h1> <h1>Shopware ecommerce platform</h1>
<h2>Build the exceptional</h2> <h2>Build the exceptional</h2>
</div> </div>
<div class="col text-center"> {# <div class="col text-center">#}
<img src="{{ asset('bundles/etailconferencetheme/assets/shopware-phone.png') }}" {# <img src="{{ asset('bundles/etailconferencetheme/assets/shopware-phone.png') }}"#}
alt="Shopware phone"> {# alt="Shopware phone">#}
</div> {# </div>#}
</div> </div>
</div> </div>
{% endif %} {% endif %}