/* ************************************* * headerplaceholder.scss * Eigenschaften des headerplaceholders und den Social Icons ************************************* */ @mixin header-placeholder-anpassungen($verticalelementabstand: '') { .headerPlaceholder { margin-bottom: $verticalelementabstand * 2; img { margin-bottom: $verticalelementabstand; } } } /********************* * headerPlaceholder * *********************/ #headerPlaceholder{ position: fixed; right: 0; z-index: 2; width: 110px; top: 28%; .ce-textpic{ display: none; background-color: #fff; position: absolute; z-index: 1; top:100%; right: 0; border:1px solid red; font-size: 12px; line-height: 150%; padding: $base_seitenabstand/2; width: 200px; //transition: opacity 1s ease; //Close Button .close{ background-color: pink; height: 15px; width: 15px; cursor: pointer; position: absolute; top:$base_verticalelementabstand/4; right: $base_seitenabstand/2; } } .open .ce-textpic{ opacity: 1; right: 0; } .frame{ padding: 0; position: relative; margin-bottom: $base_verticalelementabstand/12; } .frame-type-gridelements_pi1{ .ym-g100{ &:hover{ .csc-header{ background-color: #cb0773; } } } } .csc-header{ background-color: #009870; padding-top: 8px; padding-left: 6px; padding-right: 5px; padding-bottom: 5px; transition: 0.3s background-color ease; *{ color: #ffffff; text-transform: uppercase; font-size: floor($base_font-size * 0.79); } } .csc-header{ display: flex; align-items: center; &:before{ content: ""; width: 12px; height: 12px; background-repeat: no-repeat; display: inline-block; margin-right: 6px; margin-left: 5px; } } } //Icons .notfall{ .csc-header:before{ background-image: url(/typo3conf/ext/ig_layout/Resources/Public/Images/phone-call-icon.svg); } } .kontakt{ .csc-header:before{ background-image: url(/typo3conf/ext/ig_layout/Resources/Public/Images/mail-icon.svg); } } .anreise{ .csc-header:before{ background-image: url(/typo3conf/ext/ig_layout/Resources/Public/Images/map-pin-icon.svg); } .csc-header{ a:after{ content: ""; position: absolute; top:0; left: 0; right: 0; bottom: 0; } } } .headerPlaceholder { display: inline-block; vertical-align: middle; > div { padding-bottom: 0; } img { width: 20px; height: 20px; padding: 3px; opacity: 0.5; &:hover { opacity: 1; } } } /******************************************** * responsive Anpassungen headerPlaceholder * ********************************************/ @media screen and (max-width: ($breakpoint - 1px)) { @include header-placeholder-anpassungen(floor(($base_seitenabstand_600 / 3))); .headerPlaceholder { float: left; > div { padding-right: 0; padding-left: 0; } img { background-color: #ff6600; } & .imageperrow-1, .imageperrow-2, .imageperrow-3, .imageperrow-4, .imageperrow-5, .imageperrow-6, .imageperrow-8 { width: auto; } } } @media screen and (max-width: 600px) { @include header-placeholder-anpassungen(floor(($base_seitenabstand_600 / 3))); } @media screen and (max-width: 480px) { @include header-placeholder-anpassungen(floor(($base_seitenabstand_400 / 3))); }