From 57936a79b8b4cdc94409c4973f80deec9e10b528 Mon Sep 17 00:00:00 2001 From: akarl Date: Mon, 27 Jan 2020 15:31:00 +0100 Subject: [PATCH] Footer Stilleiste eingespielt --- frontend/_public/src/img/icons/gabel.svg | 1 + frontend/_public/src/img/icons/kanne.svg | 1 + frontend/_public/src/img/icons/loeffel.svg | 1 + frontend/_public/src/img/icons/messer.svg | 1 + frontend/_public/src/img/icons/mikrowelle.svg | 1 + frontend/_public/src/img/icons/mixer.svg | 1 + .../_public/src/img/icons/pfannenwender.svg | 1 + frontend/_public/src/img/icons/sekt.svg | 1 + frontend/_public/src/img/icons/tasse.svg | 1 + frontend/_public/src/img/icons/toaster.svg | 1 + frontend/_public/src/img/icons/wein.svg | 1 + frontend/_public/src/less/_mixin/fonts.less | 10 +-- .../_public/src/less/_modules/footer.less | 80 +++++++++++++++++-- frontend/_public/src/less/_modules/page.less | 8 +- .../src/less/_variables/variables.less | 6 ++ frontend/index/index.tpl | 20 ++++- 16 files changed, 123 insertions(+), 12 deletions(-) create mode 100644 frontend/_public/src/img/icons/gabel.svg create mode 100644 frontend/_public/src/img/icons/kanne.svg create mode 100644 frontend/_public/src/img/icons/loeffel.svg create mode 100644 frontend/_public/src/img/icons/messer.svg create mode 100644 frontend/_public/src/img/icons/mikrowelle.svg create mode 100644 frontend/_public/src/img/icons/mixer.svg create mode 100644 frontend/_public/src/img/icons/pfannenwender.svg create mode 100644 frontend/_public/src/img/icons/sekt.svg create mode 100644 frontend/_public/src/img/icons/tasse.svg create mode 100644 frontend/_public/src/img/icons/toaster.svg create mode 100644 frontend/_public/src/img/icons/wein.svg diff --git a/frontend/_public/src/img/icons/gabel.svg b/frontend/_public/src/img/icons/gabel.svg new file mode 100644 index 0000000..2bfda82 --- /dev/null +++ b/frontend/_public/src/img/icons/gabel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/_public/src/img/icons/kanne.svg b/frontend/_public/src/img/icons/kanne.svg new file mode 100644 index 0000000..cb36ccb --- /dev/null +++ b/frontend/_public/src/img/icons/kanne.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/_public/src/img/icons/loeffel.svg b/frontend/_public/src/img/icons/loeffel.svg new file mode 100644 index 0000000..febd388 --- /dev/null +++ b/frontend/_public/src/img/icons/loeffel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/_public/src/img/icons/messer.svg b/frontend/_public/src/img/icons/messer.svg new file mode 100644 index 0000000..958f8ea --- /dev/null +++ b/frontend/_public/src/img/icons/messer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/_public/src/img/icons/mikrowelle.svg b/frontend/_public/src/img/icons/mikrowelle.svg new file mode 100644 index 0000000..735d4f0 --- /dev/null +++ b/frontend/_public/src/img/icons/mikrowelle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/_public/src/img/icons/mixer.svg b/frontend/_public/src/img/icons/mixer.svg new file mode 100644 index 0000000..723fe80 --- /dev/null +++ b/frontend/_public/src/img/icons/mixer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/_public/src/img/icons/pfannenwender.svg b/frontend/_public/src/img/icons/pfannenwender.svg new file mode 100644 index 0000000..7ba8f1c --- /dev/null +++ b/frontend/_public/src/img/icons/pfannenwender.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/_public/src/img/icons/sekt.svg b/frontend/_public/src/img/icons/sekt.svg new file mode 100644 index 0000000..34bd4af --- /dev/null +++ b/frontend/_public/src/img/icons/sekt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/_public/src/img/icons/tasse.svg b/frontend/_public/src/img/icons/tasse.svg new file mode 100644 index 0000000..c3c394e --- /dev/null +++ b/frontend/_public/src/img/icons/tasse.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/_public/src/img/icons/toaster.svg b/frontend/_public/src/img/icons/toaster.svg new file mode 100644 index 0000000..3e1e5da --- /dev/null +++ b/frontend/_public/src/img/icons/toaster.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/_public/src/img/icons/wein.svg b/frontend/_public/src/img/icons/wein.svg new file mode 100644 index 0000000..2e9139e --- /dev/null +++ b/frontend/_public/src/img/icons/wein.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/_public/src/less/_mixin/fonts.less b/frontend/_public/src/less/_mixin/fonts.less index fb448cf..43c7a18 100644 --- a/frontend/_public/src/less/_mixin/fonts.less +++ b/frontend/_public/src/less/_mixin/fonts.less @@ -5,11 +5,11 @@ @font-face { font-family: 'wbn-icon'; - src: url('../../fonts/wbn-icon.eot?ix8d2v'); - src: url('../../fonts/wbn-icon.eot?ix8d2v#iefix') format('embedded-opentype'), - url('../../fonts/wbn-icon.ttf?ix8d2v') format('truetype'), - url('../../fonts/wbn-icon.woff?ix8d2v') format('woff'), - url('../../fonts/wbn-icon.svg?ix8d2v#wbn-icon') format('svg'); + src: url('@{baseUrlFonts}wbn-icon.eot?ix8d2v'); + src: url('@{baseUrlFonts}wbn-icon.eot?ix8d2v#iefix') format('embedded-opentype'), + url('@{baseUrlFonts}wbn-icon.ttf?ix8d2v') format('truetype'), + url('@{baseUrlFonts}wbn-icon.woff?ix8d2v') format('woff'), + url('@{baseUrlFonts}wbn-icon.svg?ix8d2v#wbn-icon') format('svg'); font-weight: normal; font-style: normal; font-display: block; diff --git a/frontend/_public/src/less/_modules/footer.less b/frontend/_public/src/less/_modules/footer.less index 2e65379..6644a1b 100644 --- a/frontend/_public/src/less/_modules/footer.less +++ b/frontend/_public/src/less/_modules/footer.less @@ -1,10 +1,80 @@ - - - - - +footer { + border: none!important; + .footer-ribbon { + display: none; } } @media screen and (min-width: 48em) { + + .footer-ribbon { + width: 90%; + margin: 0 auto; + &:after { + clear: both; + content: ''; + display: table; } + .img--area { + width: calc(~'50% - 400px'); + height: 150px; + .wbn--foot-img{ + display: inline-block; + height: 100%; + &.wbn-gabel { + width: 28px; + background: url("@{baseUrlIcon}gabel.svg") bottom center no-repeat; } + &.wbn-loeffel { + margin-left: 5px; + width: 28px; + background: url("@{baseUrlIcon}loeffel.svg") center 36px no-repeat; } + &.wbn-messer { + margin-left: 5px; + width: 18px; + background: url("@{baseUrlIcon}messer.svg") bottom center no-repeat; } + &.wbn-pfannenwender { + margin-left: 40px; + width: 48px; + background: url("@{baseUrlIcon}pfannenwender.svg") bottom center no-repeat; } + &.wbn-kanne { + margin-left: 40px; + width: 84px; + background: url("@{baseUrlIcon}kanne.svg") bottom center no-repeat; } + &.wbn-mikrowelle { + margin-left: 40px; + width: 142px; + background: url("@{baseUrlIcon}mikrowelle.svg") bottom center no-repeat; } + &.wbn-mixer { + margin-right: 40px; + width: 75px; + background: url("@{baseUrlIcon}mixer.svg") bottom center no-repeat; } + &.wbn-toaster { + margin-right: 40px; + width: 120px; + background: url("@{baseUrlIcon}toaster.svg") center 61px no-repeat; } + &.wbn-wein { + margin-right: 5px; + width: 59px; + background: url("@{baseUrlIcon}wein.svg") center 53px no-repeat; } + &.wbn-sekt { + margin-right: 40px; + width: 46px; + background: url("@{baseUrlIcon}sekt.svg") center 47px no-repeat; } + &.wbn-tasse { + width: 82px; + background: url("@{baseUrlIcon}tasse.svg") bottom center no-repeat; } } } + .left--box, + .right--box { + float: left; } + .center--box { + float: left; + width: 800px; + height: 150px; + .first--headline { + margin-top: 35px; + font-size: 35px; } + .second--headline { + font-size: 17.8px; } + } + } + .footer--top-wrapper { background: @brand-footer; .container { diff --git a/frontend/_public/src/less/_modules/page.less b/frontend/_public/src/less/_modules/page.less index f987715..3b2b61b 100644 --- a/frontend/_public/src/less/_modules/page.less +++ b/frontend/_public/src/less/_modules/page.less @@ -12,8 +12,14 @@ font-weight: bold; } .cds--upper { text-transform: uppercase; } -.cds--justify { +.cds--align-justify { text-align: justify; } +.cds--align-left { + text-align: left; } +.cds--align-right { + text-align: right; } +.cds--align-center { + text-align: center; } @media (min-width: 48em) { diff --git a/frontend/_public/src/less/_variables/variables.less b/frontend/_public/src/less/_variables/variables.less index 80e717e..4bff93b 100644 --- a/frontend/_public/src/less/_variables/variables.less +++ b/frontend/_public/src/less/_variables/variables.less @@ -5,3 +5,9 @@ @link-red : #D9400B; +/* *** Paths ******************************************************************************************************** */ + +@baseUrlImage : "../../img/"; +@baseUrlIcon : "../../img/icons/"; +@baseUrlLogo : "../../img/logos/"; +@baseUrlFonts : "../../fonts/"; \ No newline at end of file diff --git a/frontend/index/index.tpl b/frontend/index/index.tpl index 04a1550..b668e6c 100644 --- a/frontend/index/index.tpl +++ b/frontend/index/index.tpl @@ -144,7 +144,25 @@ {block name="frontend_index_footer"}