Files
satware.ai/overrides/assets/css/modules/header.scss
T

115 lines
2.3 KiB
SCSS

body{
/* Header nicht fixieren, sondern statisch positionieren */
.md-header {
position: static !important;
}
/* Abstand nach oben für den Hauptinhalt entfernen */
.md-main__inner {
margin-top: 0 !important;
}
/* Falls du Tabs verwendest, diese auch nicht fixieren */
.md-tabs {
position: static !important;
}
/* Anpassung für den Hauptinhalt */
.md-content {
margin-top: 0 !important;
}
/* Für den Fall, dass du die Seitenleiste verwendest */
@media (min-width: 768px){
.md-sidebar {
top: 0 !important;
height: auto !important;
}
}
label.md-search__icon.md-icon {
svg{
display: none;
}
}
nav.md-search__options{
&:after{
content: "\f002";
font-family: 'Font Awesome 6 Pro';
font-weight: 100;
font-size: 1rem;
}
}
/* Versteckt den Placeholder-Text im Suchfeld */
.md-search__input::-webkit-input-placeholder {
color: transparent;
}
/* 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 .8em !important;
margin-bottom: 0;
font-size: 11px;
&:after {
display: none !important;
}
}
.md-tooltip-active{
display: none !important;
}
}
}
}