<div class="search-overlay">
    <div class="container">
        <div class="search-header">
            <!--<div class="header-logo"><img src="/images/logo.svg"></div>-->
            <button class="close-search-btn btn-close">
                <svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M0.729187 0.727783L34.2709 34.2695" stroke="#001B35" stroke-linecap="round" stroke-linejoin="round" />
                    <path d="M34.2709 0.727783L0.729187 34.2695" stroke="#001B35" stroke-linecap="round" stroke-linejoin="round" />
                </svg>
            </button>
        </div>
        <form class="search-form" action="" method="" id="">
            <label class="search-form-label">Volltextsuche</label>
            <div class="search-form-field row">
                <div class="col-md-8">
                    <input class="input-text-search" type="text" placeholder="Suchbegriff oder Webcode eingeben" id="" name="">
                </div>
                <div class="col-md-4">
                    <button class="btn btn-primary btn-text-search" type="submit" value="Suchen" id="">Suchen</button>
                </div>
            </div>
        </form>
        <hr class="spacer" data-size="s">
        <div class="search-form">
            <label class="search-form-label">Kursfinder</label>
            <form class="quickfinder-form">
                <section class="section-wrapper quickfinder">
                    <div class="container">
                        <div class="row">
                            <div class="col-sm-6 col-md-4">
                                <h3 class="label-title">Formate</h3>
                                <div class="checkbox"> <input type="checkbox" id="lorem1"> <label for="lorem1"><i class="fal fa-check"></i>Bildungsgänge und Kurse</label> </div>
                                <div class="checkbox"> <input type="checkbox" id="lorem2"> <label for="lorem2"><i class="fal fa-check"></i>Seminare</label> </div>
                                <div class="checkbox"> <input type="checkbox" id="lorem3"> <label for="lorem3"><i class="fal fa-check"></i>SmartCamps</label> </div>
                                <div class="checkbox"> <input type="checkbox" id="lorem4"> <label for="lorem4"><i class="fal fa-check"></i>Skillbox</label> </div>
                                <div class="checkbox"> <input type="checkbox" id="lorem5"> <label for="lorem5"><i class="fal fa-check"></i>Tagungen</label> </div>
                            </div>
                            <div class="col-sm-6 col-md-4">
                                <h3 class="label-title">Themen</h3>
                                <div class="checkbox"> <input type="checkbox" id="lorem11"> <label for="lorem11"><i class="fal fa-check"></i>Bildungsgänge und Kurse</label> </div>
                                <div class="checkbox"> <input type="checkbox" id="lorem12"> <label for="lorem12"><i class="fal fa-check"></i>Seminare</label> </div>
                                <div class="checkbox"> <input type="checkbox" id="lorem13"> <label for="lorem13"><i class="fal fa-check"></i>SmartCamps</label> </div>
                                <div class="checkbox"> <input type="checkbox" id="lorem14"> <label for="lorem14"><i class="fal fa-check"></i>Skillbox</label> </div>
                                <div class="checkbox"> <input type="checkbox" id="lorem15"> <label for="lorem15"><i class="fal fa-check"></i>Tagungen</label> </div>
                                <div class="checkbox"> <input type="checkbox" id="lorem16"> <label for="lorem16"><i class="fal fa-check"></i>Bildungsgänge und Kurse</label> </div>
                                <div class="checkbox"> <input type="checkbox" id="lorem17"> <label for="lorem17"><i class="fal fa-check"></i>Seminare</label> </div>
                                <div class="checkbox"> <input type="checkbox" id="lorem18"> <label for="lorem18"><i class="fal fa-check"></i>SmartCamps</label> </div>
                                <div class="checkbox"> <input type="checkbox" id="lorem19"> <label for="lorem19"><i class="fal fa-check"></i>Skillbox</label> </div>
                                <div class="checkbox"> <input type="checkbox" id="lorem20"> <label for="lorem20"><i class="fal fa-check"></i>Tagungen</label> </div>
                            </div>
                            <div class="col-sm-12 col-md-4"> <a href="#lorem" class="btn btn-white">Anzeigen</a> </div>
                        </div>
                    </div>
                </section>
            </form>

        </div>
    </div>
</div>
<div class="search-overlay">
	<div class="container">
		<div class="search-header">
			<!--<div class="header-logo"><img src="{{ logo_src }}"></div>-->
      <button class="close-search-btn btn-close">
        <svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
          <path d="M0.729187 0.727783L34.2709 34.2695" stroke="#001B35" stroke-linecap="round" stroke-linejoin="round"/>
          <path d="M34.2709 0.727783L0.729187 34.2695" stroke="#001B35" stroke-linecap="round" stroke-linejoin="round"/>
        </svg>
      </button>
		</div>
		<form class="search-form" action="{{ form_action }}" method="{{ form_method }}" id="{{ form_id }}">
      <label class="search-form-label">{{ form_label }}</label>
      <div class="search-form-field row">
        <div class="col-md-8">
          <input class="input-text-search" type="text" placeholder="{{ form_placeholder }}" id="{{ input_id }}" name="{{ input_name }}">
        </div>
        <div class="col-md-4">
          <button class="btn btn-primary btn-text-search" type="submit" value="{{ form_button_label }}" id="{{ button_id }}">{{ form_button_label }}</button>
        </div>
      </div>
    </form>
    {% render "@components/02-components/spacer/spacer.twig" %}
    <div class="search-form">
        <label class="search-form-label">Kursfinder</label>
        {{ quickfinder }}
      
    </div>
	</div>
</div>
{
  "logo_src": "/images/logo.svg",
  "form_label": "Volltextsuche",
  "form_action": "",
  "form_method": "",
  "form_id": "",
  "form_placeholder": "Suchbegriff oder Webcode eingeben",
  "input_id": "",
  "input_name": "",
  "form_button_label": "Suchen",
  "button_id": "",
  "quickfinder": "<form class=\"quickfinder-form\"> <section class=\"section-wrapper quickfinder\"> <div class=\"container\"> <div class=\"row\"> <div class=\"col-sm-6 col-md-4\"> <h3 class=\"label-title\">Formate</h3> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem1\"> <label for=\"lorem1\"><i class=\"fal fa-check\"></i>Bildungsgänge und Kurse</label> </div> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem2\"> <label for=\"lorem2\"><i class=\"fal fa-check\"></i>Seminare</label> </div> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem3\"> <label for=\"lorem3\"><i class=\"fal fa-check\"></i>SmartCamps</label> </div> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem4\"> <label for=\"lorem4\"><i class=\"fal fa-check\"></i>Skillbox</label> </div> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem5\"> <label for=\"lorem5\"><i class=\"fal fa-check\"></i>Tagungen</label> </div> </div> <div class=\"col-sm-6 col-md-4\" > <h3 class=\"label-title\">Themen</h3> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem11\"> <label for=\"lorem11\"><i class=\"fal fa-check\"></i>Bildungsgänge und Kurse</label> </div> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem12\"> <label for=\"lorem12\"><i class=\"fal fa-check\"></i>Seminare</label> </div> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem13\"> <label for=\"lorem13\"><i class=\"fal fa-check\"></i>SmartCamps</label> </div> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem14\"> <label for=\"lorem14\"><i class=\"fal fa-check\"></i>Skillbox</label> </div> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem15\"> <label for=\"lorem15\"><i class=\"fal fa-check\"></i>Tagungen</label> </div> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem16\"> <label for=\"lorem16\"><i class=\"fal fa-check\"></i>Bildungsgänge und Kurse</label> </div> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem17\"> <label for=\"lorem17\"><i class=\"fal fa-check\"></i>Seminare</label> </div> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem18\"> <label for=\"lorem18\"><i class=\"fal fa-check\"></i>SmartCamps</label> </div> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem19\"> <label for=\"lorem19\"><i class=\"fal fa-check\"></i>Skillbox</label> </div> <div class=\"checkbox\"> <input type=\"checkbox\" id=\"lorem20\"> <label for=\"lorem20\"><i class=\"fal fa-check\"></i>Tagungen</label> </div> </div> <div class=\"col-sm-12 col-md-4\"> <a href=\"#lorem\" class=\"btn btn-white\">Anzeigen</a> </div> </div> </div> </section> </form>"
}
  • Content:
    $('.search-overlay .btn-close').click(function() {
    	$('.search-overlay').removeClass("is-open");
    	$('html').removeClass("block-scroll");
    });
  • URL: /components/raw/search-overlay/search-overlay.js
  • Filesystem Path: components/02-components/search-overlay/search-overlay.js
  • Size: 143 Bytes
  • Content:
    .search-overlay {
    	position: fixed;
    	top: 0;
    	left: 0;
    	right: 0;
    	height: 100vh;
    	overflow-y: auto;
    	background-color: #fff;
    	display: none;
    	z-index: 101;
    
    	&.is-open {
    		display: block;
    	}
    
    	.search-header {
    		display: flex;
    		justify-content: space-between;
    
    		.close-search-btn {
    			font-size: 6rem;
    			background: none;
    			border: none;
    			color: $secondary;
    			margin: 1rem 0 2rem auto;
    
    			@include media-breakpoint-up(sm) {
    				margin: 2rem 0 2rem auto;
    				margin-top: 3rem;
    			}
    		}
    
    		.header-logo {
    			order: 2;
    			width: 100%;
    			max-width: 30rem;
    			min-height: 1px;
    			padding: 1rem 0;
    
    			img {
    				height: 6rem;
    				width: auto;
    			}
    
    			@include media-breakpoint-up(sm) {
    				padding: 2rem 0;
    			}
    		}
    	}
    
    	.search-form {
    		.search-form-label {
    			color: $primary;
    			font-weight: bold;
    		}
    
    		.input-text-search {
    			width: 100%;
    			height: 5rem;
    			border-color: $primary;
    			border-style: solid;
    			padding: 0 1rem;
    		}
    		.btn {
    			height: 5rem;
    			width: 12rem;
    			width: 100%;
    			display: flex;
    			justify-content: center;
    
    			@include media-breakpoint-up(md) {
    				width: 12rem;
    			}
    		}
    		.quickfinder {
    			background-color: #fff;
    			padding-top: 0;
    			.container {
    				padding: 0 !important;
    			}
    			.label-title {
    				color: #000;
    			}
    			.checkbox label::before {
    				border-color: #000;
    			}
    			.checkbox label {
    				color: #000;
    			}
    			.btn {
    				background: $primary;
    				color: #fff;
    			}
    		}
    	}
    }
    
  • URL: /components/raw/search-overlay/search-overlay.scss
  • Filesystem Path: components/02-components/search-overlay/search-overlay.scss
  • Size: 1.4 KB
  • Handle: @search-overlay
  • Preview:
  • Filesystem Path: components/02-components/search-overlay/search-overlay.twig

There are no notes for this item.