diff --git a/overrides/assets/css/modules/header.scss b/overrides/assets/css/modules/header.scss index ccc9ab3..1dfee59 100644 --- a/overrides/assets/css/modules/header.scss +++ b/overrides/assets/css/modules/header.scss @@ -53,4 +53,62 @@ body{ color: transparent; } -} \ No newline at end of file + /* CTA Button: Alle Rahmen und Pseudo-Elemente entfernen */ + .md-header .satag-bestellen-button, + .md-header a.satag-bestellen-button.md-button.md-button--primary { + text-decoration: none !important; + border: none !important; + border-top: none !important; + border-right: none !important; + border-bottom: none !important; + border-left: none !important; + outline: none !important; + box-shadow: none !important; + + &:hover, + &:focus, + &:active, + &:visited, + &:link { + text-decoration: none !important; + border: none !important; + border-top: none !important; + border-right: none !important; + border-bottom: none !important; + border-left: none !important; + outline: none !important; + box-shadow: none !important; + } + + /* After-Element (Tooltip) und Before entfernen */ + &:after, + &:before { + display: none !important; + content: none !important; + border: none !important; + } + } + + /* Responsive: Button auf mobilen Geräten kleiner */ + @media (max-width: 959px) { + .md-header{ + .satag-bestellen-button { + padding: .4em .5em !important; + margin-bottom: 0; + font-size: 11px; + + &:after { + display: none !important; + } + + + } + + .md-tooltip-active{ + display: none !important; + } + + } + } + +} diff --git a/overrides/assets/css/responsive/mobile.scss b/overrides/assets/css/responsive/mobile.scss index 285cc03..96fb9ac 100644 --- a/overrides/assets/css/responsive/mobile.scss +++ b/overrides/assets/css/responsive/mobile.scss @@ -18,7 +18,7 @@ margin-left: 0.5rem; img { - height: 1.8rem; + height: 1.4rem; width: auto; } } diff --git a/overrides/partials/header.html b/overrides/partials/header.html index 76b5c9d..0abf9dd 100644 --- a/overrides/partials/header.html +++ b/overrides/partials/header.html @@ -49,6 +49,10 @@ {% if config.extra.alternate %} {% include "partials/alternate.html" %} {% endif %} + + + Jetzt bestellen! + {% if "material/search" in config.plugins %} {% set search = config.plugins["material/search"] | attr("config") %} {% if search.enabled %}