From 94a35c726e27274fed1321951336e8a230748306 Mon Sep 17 00:00:00 2001 From: akarl Date: Tue, 11 Feb 2020 16:05:17 +0100 Subject: [PATCH] =?UTF-8?q?Anpassung=20f=C3=BCr=20den=20DevSever=20von=20W?= =?UTF-8?q?EBneo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/_public/src/less/_mixins/fonts.less | 4 --- .../_public/src/less/_modules/footer.less | 24 ++++++++------ .../_public/src/less/_modules/global.less | 1 - .../_public/src/less/_modules/header.less | 32 +++++++++---------- .../src/less/_variables/variables.less | 3 +- frontend/index/main-navigation.tpl | 6 ++-- frontend/plugins/advanced_menu/index.tpl | 4 +-- 7 files changed, 38 insertions(+), 36 deletions(-) diff --git a/frontend/_public/src/less/_mixins/fonts.less b/frontend/_public/src/less/_mixins/fonts.less index 43c7a18..e383520 100644 --- a/frontend/_public/src/less/_mixins/fonts.less +++ b/frontend/_public/src/less/_mixins/fonts.less @@ -1,8 +1,4 @@ /* *** FONTS / BASICS *********************************************************************************************** */ - -#fontsAnker { - color: red; } - @font-face { font-family: 'wbn-icon'; src: url('@{baseUrlFonts}wbn-icon.eot?ix8d2v'); diff --git a/frontend/_public/src/less/_modules/footer.less b/frontend/_public/src/less/_modules/footer.less index a616341..3638783 100644 --- a/frontend/_public/src/less/_modules/footer.less +++ b/frontend/_public/src/less/_modules/footer.less @@ -74,9 +74,11 @@ footer { .unitize-height(150); .first--headline { .unitize(margin-top,35); - .unitize(font-size,35); } + .unitize(font-size,35); + color: @brand-primary; } .second--headline { - .unitize(font-size,17.8); } + .unitize(font-size,17.8); + color: @brand-primary; } } } @@ -84,19 +86,21 @@ footer { background: @brand-footer; .container { background: @brand-footer; - color: #fff; + color: @white; a, .column--headline { - color: #fff; } } } + color: @white; } } } .footer--bottom-wrapper { - border-top: 2px solid #fff; + border-top: 2px solid @white; background: @brand-payment; .container { background: @brand-payment; - color: #fff; + color: @white; a, .column--headline { - color: #fff; } } } + color: @white; } } } &.footer-main { + .unitize(margin-top, 24); + background: @white!important; .footer--column { width: 33%; .unitize(padding-top,30); @@ -107,11 +111,11 @@ footer { display: block; .unitize-width(60); .unitize-height(5); - background: #fff; } } + background: @white; } } .column--navigation { .navigation--entry { a{ - color: #fff; + color: @white; display: block; &:hover { color: @link-red; } } @@ -127,7 +131,7 @@ footer { .unitize(margin-left, -15); } } } &.shop--service { span { - color: #fff; + color: @white; display: block; .unitize-padding(3,0,3,25); &:before { diff --git a/frontend/_public/src/less/_modules/global.less b/frontend/_public/src/less/_modules/global.less index 8ae25aa..2147550 100644 --- a/frontend/_public/src/less/_modules/global.less +++ b/frontend/_public/src/less/_modules/global.less @@ -1,5 +1,4 @@ /* *** Global ******************************************************************************************************* */ - .cds--block { display: block; } diff --git a/frontend/_public/src/less/_modules/header.less b/frontend/_public/src/less/_modules/header.less index ab24bcf..c6f471c 100644 --- a/frontend/_public/src/less/_modules/header.less +++ b/frontend/_public/src/less/_modules/header.less @@ -42,14 +42,14 @@ text-transform: uppercase; font-weight: @font-bold-weight; font-size: 16px; - color: #fff; } + color: @white; } input{ width: calc(~'100% - 140px')!important; float: left; border: none; border-radius: 0; box-shadow: none; - background: #fff!important; + background: @white!important; margin-top: 0.4em!important; .unitize(padding-top, 3); .unitize(padding-bottom, 3); @@ -59,7 +59,7 @@ float: left; .unitize(right,25); i{ - color: #fff; } } } } + color: @white; } } } } /* Service Navigation */ @@ -76,7 +76,7 @@ border-color: transparent; .account--display { display: block; - color: #fff; + color: @white; font-weight: @font-light-weight; .unitize-padding(2,5); }; .wbn-icon-set { @@ -85,7 +85,7 @@ .unitize(margin-bottom, 3); &:before { .unitize(font-size,35); - color: #fff; } } } + color: @white; } } } .cart--link { text-align: center; background: transparent; @@ -93,7 +93,7 @@ border-color: transparent; .cart--amount { display: block; - color: #fff; + color: @white; font-weight: @font-light-weight; .unitize-padding(3,5,0,5); } .wbn-icon-set { @@ -101,19 +101,19 @@ .unitize-height(35); &:before { .unitize(font-size,35); - color: #fff; } } } + color: @white; } } } .cds--info-block { text-align: center; - color: #fff; + color: @white; a { - color: #fff; } + color: @white; } .sw-icon-set { display: block; .unitize-height(35); .unitize(margin-bottom,3); &:before { .unitize(font-size,30); - color: #fff; } + color: @white; } &.icon--truck { transform: scaleX(-1); .unitize-min-height(45); @@ -164,7 +164,7 @@ li { .navigation--link { border-radius: 0; - border-color: #fff; + border-color: @white; border-width: 0 1px; border-style: solid; span{ @@ -182,7 +182,7 @@ .navigation--list .navigation--entry.is--active .navigation--link, .navigation--list .navigation--entry.is--hovered .navigation--link, .navigation--list .navigation--entry.is--active .navigation--link:hover { - background: #fff; + background: @white; font-weight: @font-bold-weight; color: @link-red; .wbn-icon-set:before { @@ -214,7 +214,7 @@ width: 100%; text-align: center; font-weight: @font-bold-weight; } } } } - .menu--level-0 { - &.columns--4 { - -webkit-column-count: 5; - column-count: 5; } } } + /* mit Mike besprechen! */ + .has--teaser { + .menu--list { + width: 75%; } } } diff --git a/frontend/_public/src/less/_variables/variables.less b/frontend/_public/src/less/_variables/variables.less index 03901e3..a336193 100644 --- a/frontend/_public/src/less/_variables/variables.less +++ b/frontend/_public/src/less/_variables/variables.less @@ -2,8 +2,9 @@ @brand-footer : #1D4788; @brand-payment: #1A3764; - @link-red : #D9400B; +@white : #FFFFFF; +@black : #000000; /* *** Paths ******************************************************************************************************** */ diff --git a/frontend/index/main-navigation.tpl b/frontend/index/main-navigation.tpl index 4771a4f..da0e26d 100644 --- a/frontend/index/main-navigation.tpl +++ b/frontend/index/main-navigation.tpl @@ -25,8 +25,10 @@