delete no longer needed code
* Searchresult variante 1 * Searchresult variante 2 * Filter horizontal * Filter vertical * Javascript for clearing input * Javascript for change position relative to fixed depends on scrolling potition
This commit is contained in:
parent
70c75f080c
commit
494ce4f460
410
index.html
410
index.html
|
@ -5,15 +5,7 @@
|
|||
<link rel="stylesheet" href="style.css"/>
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
|
||||
<script src="js/jquery-3.3.1.min.js"></script>
|
||||
<script src="js/oseg-search.js"></script>
|
||||
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
||||
<script>
|
||||
$( function() {
|
||||
$( "#accordion" ).accordion({
|
||||
header: "h3", collapsible: true, active: false
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$("#searchfield-global").focus(function(){
|
||||
|
@ -21,21 +13,6 @@
|
|||
});
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(function() {
|
||||
//caches a jQuery object containing the header element
|
||||
var header = $(".scroll");
|
||||
$(window).scroll(function() {
|
||||
var scroll = $(window).scrollTop();
|
||||
|
||||
if (scroll >= 2280) {
|
||||
header.removeClass('scroll').addClass("fixed");
|
||||
} else {
|
||||
header.removeClass("fixed").addClass('scroll');
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(function(){
|
||||
jQuery('img.svg').each(function(){
|
||||
|
@ -72,26 +49,9 @@
|
|||
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--
|
||||
<div class="header">
|
||||
<div class="header-content">
|
||||
<img src="logo.png" width="72" height="72" alt="Logo"/>
|
||||
<div class="search">
|
||||
<form id="search-form">
|
||||
<input class="search-input" type="text" name="lname">
|
||||
<input id="search-form-input-clear" class="search__clear js-search-clear" type="button" tabindex="3" value="x">
|
||||
<button type="submit" value="Submit" id="submitButton">
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
<div class="header-black">
|
||||
<ul>
|
||||
<li><a class="logo" href="#"><img src="img/oho-logo-imprint.png" width="47" height="25" /></a></li>
|
||||
|
@ -417,376 +377,6 @@
|
|||
</div>
|
||||
<div class="clearer"> </div>
|
||||
</div>
|
||||
<div class="row search-result-example-variante2">
|
||||
<div class="filter-vert">
|
||||
<h2>Categories</h2>
|
||||
<div id="accordion">
|
||||
<h3><i class="red far fa-dot-circle"></i> Agriculture, forest <i class="red fas fa-caret-down"></i></h3>
|
||||
<div>
|
||||
<p><i class="red far fa-dot-circle"></i> Drinking Water treatment <br /><i class="red far fa-circle"></i> Recycling<br /><i class="red far fa-circle"></i> Waste water</p>
|
||||
</div>
|
||||
<h3><i class="red far fa-circle"></i> Business, industrie <i class="red fas fa-caret-down"></i></h3>
|
||||
<div>
|
||||
<p><i class="red far fa-circle"></i> Drinking Water treatment <br /><i class="red far fa-circle"></i> Recycling<br /><i class="red far fa-circle"></i> Waste water</p>
|
||||
</div>
|
||||
<h3><i class="red far fa-circle"></i> Computer, electronics <i class="red fas fa-caret-down"></i></h3>
|
||||
<div>
|
||||
<p><i class="red far fa-circle"></i> Drinking Water treatment <br /><i class="red far fa-circle"></i> Recycling<br /><i class="red far fa-circle"></i> Waste water</p>
|
||||
</div>
|
||||
<h3><i class="red far fa-circle"></i> Environmental technologies <i class="red fas fa-caret-down"></i></h3>
|
||||
<div>
|
||||
<p><i class="red far fa-circle"></i> Drinking Water treatment <br /><i class="red far fa-circle"></i> Recycling<br /><i class="red far fa-circle"></i> Waste water</p>
|
||||
</div>
|
||||
<h3><i class="red far fa-circle"></i> Health <i class="red fas fa-caret-down"></i></h3>
|
||||
<div>
|
||||
<p><i class="red far fa-circle"></i> Drinking Water treatment <br /><i class="red far fa-circle"></i> Recycling<br /><i class="red far fa-circle"></i> Waste water</p>
|
||||
</div>
|
||||
<h3><i class="red far fa-circle"></i> Mobility, Logistics <i class="red fas fa-caret-down"></i></h3>
|
||||
<div>
|
||||
<p><i class="red far fa-circle"></i> Drinking Water treatment <br /><i class="red far fa-circle"></i> Recycling<br /><i class="red far fa-circle"></i> Waste water</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-777">
|
||||
<h1>Suchergebnisgallerie Variante 2</h1>
|
||||
<div class="search-results-variante2">
|
||||
<div class="col-1-4">
|
||||
<div class="search-results-variante2-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h2><span>Aserradero portatil Bolport Rm100</span></h2>
|
||||
<div class="search-results-variante2-item-info">
|
||||
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore ...</p>
|
||||
<div class="search-results-variante2-item-info-tags">
|
||||
<a href="#"><i class="far fa-clock"></i> 03.04.2017</a>
|
||||
<a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a><br />
|
||||
<a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-1-4">
|
||||
<div class="search-results-variante2-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h2><span>Aserradero portatil Bolport Rm100</span></h2>
|
||||
<div class="search-results-variante2-item-info">
|
||||
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore ...</p>
|
||||
<div class="search-results-variante2-item-info-tags">
|
||||
<a href="#"><i class="far fa-clock"></i> 03.04.2017</a>
|
||||
<a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a><br />
|
||||
<a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-1-4">
|
||||
<div class="search-results-variante2-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h2><span>Aserradero portatil Bolport Rm100</span></h2>
|
||||
<div class="search-results-variante2-item-info">
|
||||
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore ...</p>
|
||||
<div class="search-results-variante2-item-info-tags">
|
||||
<a href="#"><i class="far fa-clock"></i> 03.04.2017</a>
|
||||
<a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a><br />
|
||||
<a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-1-4">
|
||||
<div class="search-results-variante2-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h2><span>Aserradero portatil Bolport Rm100</span></h2>
|
||||
<div class="search-results-variante2-item-info">
|
||||
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore ...</p>
|
||||
<div class="search-results-variante2-item-info-tags">
|
||||
<a href="#"><i class="far fa-clock"></i> 03.04.2017</a>
|
||||
<a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a><br />
|
||||
<a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-1-4">
|
||||
<div class="search-results-variante2-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h2><span>Aserradero portatil Bolport Rm100</span></h2>
|
||||
<div class="search-results-variante2-item-info">
|
||||
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore ...</p>
|
||||
<div class="search-results-variante2-item-info-tags">
|
||||
<a href="#"><i class="far fa-clock"></i> 03.04.2017</a>
|
||||
<a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a><br />
|
||||
<a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-1-4">
|
||||
<div class="search-results-variante2-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h2><span>Aserradero portatil Bolport Rm100</span></h2>
|
||||
<div class="search-results-variante2-item-info">
|
||||
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore ...</p>
|
||||
<div class="search-results-variante2-item-info-tags">
|
||||
<a href="#"><i class="far fa-clock"></i> 03.04.2017</a>
|
||||
<a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a><br />
|
||||
<a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-1-4">
|
||||
<div class="search-results-variante2-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h2><span>Aserradero portatil Bolport Rm100</span></h2>
|
||||
<div class="search-results-variante2-item-info">
|
||||
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore ...</p>
|
||||
<div class="search-results-variante2-item-info-tags">
|
||||
<a href="#"><i class="far fa-clock"></i> 03.04.2017</a>
|
||||
<a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a><br />
|
||||
<a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row search-result-example-variante1">
|
||||
<div class="filter scroll">
|
||||
<div class="filter-content">
|
||||
<div class="filter-category">
|
||||
<div class="filter-title"><i class="fas fa-sitemap"></i> Kategorie <i class="fas fa-angle-down"></i></div>
|
||||
<ul class="filter-selection">
|
||||
<li><a href="#">Agriculture, forest</a></li>
|
||||
<li><a href="#">Business, industry</a></li>
|
||||
<li><a href="#">Computer, electronics</a></li>
|
||||
<li><a href="#">Environmental technologies</a></li>
|
||||
<li><a href="#">Health</a></li>
|
||||
<li><a href="#">Mobility, Logistics</a></li>
|
||||
<li><a href="#">Renewable energies</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="filter-release">
|
||||
<div class="filter-title"><i class="far fa-clock"></i> Veröffentlicht <i class="fas fa-angle-down"></i></div>
|
||||
<ul class="filter-selection">
|
||||
<form>
|
||||
<li><input type="checkbox" id="blue1" /><label for="blue1">Heute</label></li>
|
||||
<li><input type="checkbox" id="blue2" /><label for="blue2">dieses Jahr</label></li>
|
||||
<li><input type="checkbox" id="blue2" /><label for="blue3">letztes Jahr</label></li>
|
||||
<li><input type="checkbox" id="blue2" /><label for="blue4">vorletztes Jahr</label></li>
|
||||
<li><input type="checkbox" id="blue2" /><label for="blue5">letzten 5 Jahre</label></li>
|
||||
<li><input type="checkbox" id="blue2" /><label for="blue6">letzten 10 Jahre</label></li>
|
||||
</form>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-results-variante1">
|
||||
<h1>Suchergebnisgallerie Variante 1</h1>
|
||||
<div class="clearer"> </div>
|
||||
<div class="search-results-variante1-grid">
|
||||
<div class="search-results-variante1-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h3>Aserradero portatil Bolport Rm100 mejorado para la fabricacion</h3>
|
||||
<p class="recerpt">Aserradero portatil Bolport Rm100 mejorado para la fabricacion<br />Estimados clientes: La Empresa fabricante de Aserraderos Portátiles Bolport termino la etapa de perfeccionamiento de las ..</p>
|
||||
<div class="meta-infos">
|
||||
<div class="language"><img src="img/icon-flag-spain.png" /></div>
|
||||
<div class="source"><i class="fas fa-user"></i> Timm Wille |</div>
|
||||
<div class="category"><i class="fas fa-sitemap"></i> Saw mills</div>
|
||||
</div>
|
||||
<ul class="short-infos">
|
||||
<li class="published"><a href="#"><i class="far fa-clock"></i> 03.04.2017</a></li>
|
||||
<li class="licence"><a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a></li>
|
||||
<li class="outlay"><a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a></li>
|
||||
<li class="costs"><a href="#"><i class="fas fa-money-bill"></i> 100 €</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-results-variante1-grid">
|
||||
<div class="search-results-variante1-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h3>Aserradero portatil Bolport Rm100 mejorado para la fabricacion</h3>
|
||||
<p class="recerpt">Aserradero portatil Bolport Rm100 mejorado para la fabricacion<br />Estimados clientes: La Empresa fabricante de Aserraderos Portátiles Bolport termino la etapa de perfeccionamiento de las ..</p>
|
||||
<div class="meta-infos">
|
||||
<div class="language"><img src="img/icon-flag-spain.png" /></div>
|
||||
<div class="source"><i class="fas fa-user"></i> Timm Wille |</div>
|
||||
<div class="category"><i class="fas fa-sitemap"></i> Saw mills</div>
|
||||
</div>
|
||||
<ul class="short-infos">
|
||||
<li class="published"><a href="#"><i class="far fa-clock"></i> 03.04.2017</a></li>
|
||||
<li class="licence"><a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a></li>
|
||||
<li class="outlay"><a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a></li>
|
||||
<li class="costs"><a href="#"><i class="fas fa-money-bill"></i> 100 €</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-results-variante1-grid">
|
||||
<div class="search-results-variante1-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h3>Aserradero portatil Bolport Rm100 mejorado para la fabricacion</h3>
|
||||
<p class="recerpt">Aserradero portatil Bolport Rm100 mejorado para la fabricacion<br />Estimados clientes: La Empresa fabricante de Aserraderos Portátiles Bolport termino la etapa de perfeccionamiento de las ..</p>
|
||||
<div class="meta-infos">
|
||||
<div class="language"><img src="img/icon-flag-spain.png" /></div>
|
||||
<div class="source"><i class="fas fa-user"></i> Timm Wille |</div>
|
||||
<div class="category"><i class="fas fa-sitemap"></i> Saw mills</div>
|
||||
</div>
|
||||
<ul class="short-infos">
|
||||
<li class="published"><a href="#"><i class="far fa-clock"></i> 03.04.2017</a></li>
|
||||
<li class="licence"><a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a></li>
|
||||
<li class="outlay"><a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a></li>
|
||||
<li class="costs"><a href="#"><i class="fas fa-money-bill"></i> 100 €</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-results-variante1-grid">
|
||||
<div class="search-results-variante1-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h3>Aserradero portatil Bolport Rm100 mejorado para la fabricacion</h3>
|
||||
<p class="recerpt">Aserradero portatil Bolport Rm100 mejorado para la fabricacion<br />Estimados clientes: La Empresa fabricante de Aserraderos Portátiles Bolport termino la etapa de perfeccionamiento de las ..</p>
|
||||
<div class="meta-infos">
|
||||
<div class="language"><img src="img/icon-flag-spain.png" /></div>
|
||||
<div class="source"><i class="fas fa-user"></i> Timm Wille |</div>
|
||||
<div class="category"><i class="fas fa-sitemap"></i> Saw mills</div>
|
||||
</div>
|
||||
<ul class="short-infos">
|
||||
<li class="published"><a href="#"><i class="far fa-clock"></i> 03.04.2017</a></li>
|
||||
<li class="licence"><a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a></li>
|
||||
<li class="outlay"><a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a></li>
|
||||
<li class="costs"><a href="#"><i class="fas fa-money-bill"></i> 100 €</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-results-variante1-grid">
|
||||
<div class="search-results-variante1-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h3>Aserradero portatil Bolport Rm100 mejorado para la fabricacion</h3>
|
||||
<p class="recerpt">Aserradero portatil Bolport Rm100 mejorado para la fabricacion<br />Estimados clientes: La Empresa fabricante de Aserraderos Portátiles Bolport termino la etapa de perfeccionamiento de las ..</p>
|
||||
<div class="meta-infos">
|
||||
<div class="language"><img src="img/icon-flag-spain.png" /></div>
|
||||
<div class="source"><i class="fas fa-user"></i> Timm Wille |</div>
|
||||
<div class="category"><i class="fas fa-sitemap"></i> Saw mills</div>
|
||||
</div>
|
||||
<ul class="short-infos">
|
||||
<li class="published"><a href="#"><i class="far fa-clock"></i> 03.04.2017</a></li>
|
||||
<li class="licence"><a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a></li>
|
||||
<li class="outlay"><a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a></li>
|
||||
<li class="costs"><a href="#"><i class="fas fa-money-bill"></i> 100 €</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-results-variante1-grid">
|
||||
<div class="search-results-variante1-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h3>Aserradero portatil Bolport Rm100 mejorado para la fabricacion</h3>
|
||||
<p class="recerpt">Aserradero portatil Bolport Rm100 mejorado para la fabricacion<br />Estimados clientes: La Empresa fabricante de Aserraderos Portátiles Bolport termino la etapa de perfeccionamiento de las ..</p>
|
||||
<div class="meta-infos">
|
||||
<div class="language"><img src="img/icon-flag-spain.png" /></div>
|
||||
<div class="source"><i class="fas fa-user"></i> Timm Wille |</div>
|
||||
<div class="category"><i class="fas fa-sitemap"></i> Saw mills</div>
|
||||
</div>
|
||||
<ul class="short-infos">
|
||||
<li class="published"><a href="#"><i class="far fa-clock"></i> 03.04.2017</a></li>
|
||||
<li class="licence"><a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a></li>
|
||||
<li class="outlay"><a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a></li>
|
||||
<li class="costs"><a href="#"><i class="fas fa-money-bill"></i> 100 €</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-results-variante1-grid">
|
||||
<div class="search-results-variante1-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h3>Aserradero portatil Bolport Rm100 mejorado para la fabricacion</h3>
|
||||
<p class="recerpt">Aserradero portatil Bolport Rm100 mejorado para la fabricacion<br />Estimados clientes: La Empresa fabricante de Aserraderos Portátiles Bolport termino la etapa de perfeccionamiento de las ..</p>
|
||||
<div class="meta-infos">
|
||||
<div class="language"><img src="img/icon-flag-spain.png" /></div>
|
||||
<div class="source"><i class="fas fa-user"></i> Timm Wille |</div>
|
||||
<div class="category"><i class="fas fa-sitemap"></i> Saw mills</div>
|
||||
</div>
|
||||
<ul class="short-infos">
|
||||
<li class="published"><a href="#"><i class="far fa-clock"></i> 03.04.2017</a></li>
|
||||
<li class="licence"><a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a></li>
|
||||
<li class="outlay"><a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a></li>
|
||||
<li class="costs"><a href="#"><i class="fas fa-money-bill"></i> 100 €</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-results-variante1-grid">
|
||||
<div class="search-results-variante1-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h3>Aserradero portatil Bolport Rm100 mejorado para la fabricacion</h3>
|
||||
<p class="recerpt">Aserradero portatil Bolport Rm100 mejorado para la fabricacion<br />Estimados clientes: La Empresa fabricante de Aserraderos Portátiles Bolport termino la etapa de perfeccionamiento de las ..</p>
|
||||
<div class="meta-infos">
|
||||
<div class="language"><img src="img/icon-flag-spain.png" /></div>
|
||||
<div class="source"><i class="fas fa-user"></i> Timm Wille |</div>
|
||||
<div class="category"><i class="fas fa-sitemap"></i> Saw mills</div>
|
||||
</div>
|
||||
<ul class="short-infos">
|
||||
<li class="published"><a href="#"><i class="far fa-clock"></i> 03.04.2017</a></li>
|
||||
<li class="licence"><a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a></li>
|
||||
<li class="outlay"><a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a></li>
|
||||
<li class="costs"><a href="#"><i class="fas fa-money-bill"></i> 100 €</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-results-variante1-grid">
|
||||
<div class="search-results-variante1-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h3>Aserradero portatil Bolport Rm100 mejorado para la fabricacion</h3>
|
||||
<p class="recerpt">Aserradero portatil Bolport Rm100 mejorado para la fabricacion<br />Estimados clientes: La Empresa fabricante de Aserraderos Portátiles Bolport termino la etapa de perfeccionamiento de las ..</p>
|
||||
<div class="meta-infos">
|
||||
<div class="language"><img src="img/icon-flag-spain.png" /></div>
|
||||
<div class="source"><i class="fas fa-user"></i> Timm Wille |</div>
|
||||
<div class="category"><i class="fas fa-sitemap"></i> Saw mills</div>
|
||||
</div>
|
||||
<ul class="short-infos">
|
||||
<li class="published"><a href="#"><i class="far fa-clock"></i> 03.04.2017</a></li>
|
||||
<li class="licence"><a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a></li>
|
||||
<li class="outlay"><a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a></li>
|
||||
<li class="costs"><a href="#"><i class="fas fa-money-bill"></i> 100 €</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-results-variante1-grid">
|
||||
<div class="search-results-variante1-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h3>Aserradero portatil Bolport Rm100 mejorado para la fabricacion</h3>
|
||||
<p class="recerpt">Aserradero portatil Bolport Rm100 mejorado para la fabricacion<br />Estimados clientes: La Empresa fabricante de Aserraderos Portátiles Bolport termino la etapa de perfeccionamiento de las ..</p>
|
||||
<div class="meta-infos">
|
||||
<div class="language"><img src="img/icon-flag-spain.png" /></div>
|
||||
<div class="source"><i class="fas fa-user"></i> Timm Wille |</div>
|
||||
<div class="category"><i class="fas fa-sitemap"></i> Saw mills</div>
|
||||
</div>
|
||||
<ul class="short-infos">
|
||||
<li class="published"><a href="#"><i class="far fa-clock"></i> 03.04.2017</a></li>
|
||||
<li class="licence"><a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a></li>
|
||||
<li class="outlay"><a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a></li>
|
||||
<li class="costs"><a href="#"><i class="fas fa-money-bill"></i> 100 €</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-results-variante1-grid">
|
||||
<div class="search-results-variante1-item">
|
||||
<img src="img/aserradero-portatil-bolport.jpg" />
|
||||
<h3>Aserradero portatil Bolport Rm100 mejorado para la fabricacion</h3>
|
||||
<p class="recerpt">Aserradero portatil Bolport Rm100 mejorado para la fabricacion<br />Estimados clientes: La Empresa fabricante de Aserraderos Portátiles Bolport termino la etapa de perfeccionamiento de las ..</p>
|
||||
<div class="meta-infos">
|
||||
<div class="language"><img src="img/icon-flag-spain.png" /> </div>
|
||||
<div class="source"><i class="fas fa-user"></i> Timm Wille |</div>
|
||||
<div class="category"><i class="fas fa-sitemap"></i> Saw mills</div>
|
||||
</div>
|
||||
<ul class="short-infos">
|
||||
<li class="published"><a href="#"><i class="far fa-clock"></i> 03.04.2017</a></li>
|
||||
<li class="licence"><a href="#"><i class="fab fa-creative-commons"></i> CC BY-SA</a></li>
|
||||
<li class="outlay"><a href="#"><i class="fas fa-business-time"></i> 8 Stunden</a></li>
|
||||
<li class="costs"><a href="#"><i class="fas fa-money-bill"></i> 100 €</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"> </div>
|
||||
</div>
|
||||
<div class="row styleguide">
|
||||
<div class="col-1040">
|
||||
<h1>Styleguide</h1>
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
$(function(){
|
||||
$('#search-form-input-clear').click(function(){
|
||||
$(':input','#search-form')
|
||||
.not(':button, :submit, :reset, :hidden')
|
||||
.val('')
|
||||
.removeAttr('checked')
|
||||
.removeAttr('selected');
|
||||
});
|
||||
});
|
||||
$(function(){
|
||||
$('.filter-selection li').click(function() {
|
||||
$(this).toggleClass("selected");
|
||||
});
|
||||
});
|
||||
// IE9+
|
||||
$('.row').on('click', function() {
|
||||
|
||||
// Clicking on the parent row will toggle the child check box
|
||||
$('input[type=checkbox]', this).prop('checked', function(i, checked){
|
||||
return !checked
|
||||
})
|
||||
|
||||
// Add selected class when box is checked
|
||||
if($('input[type=checkbox]', this).prop('checked'))
|
||||
$(this).addClass('selected');
|
||||
else
|
||||
$(this).removeClass('selected');
|
||||
});
|
||||
// Slide in quick filters for searchform
|
383
style.css
383
style.css
|
@ -130,91 +130,6 @@ a:hover {
|
|||
float:left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/****** HEADER ******/
|
||||
.header {
|
||||
background:#86bc24;
|
||||
margin:0;
|
||||
padding:5px;
|
||||
}
|
||||
.header .header-content {
|
||||
max-width:1024px;
|
||||
margin:0 auto;
|
||||
height:72px;
|
||||
}
|
||||
.header .header-content img {
|
||||
float:left;
|
||||
display: block;
|
||||
}
|
||||
.header .search {
|
||||
width:500px;
|
||||
margin:12px 0 0 12px;
|
||||
float:left;
|
||||
box-sizing: border-box;
|
||||
border-radius: 3px;
|
||||
display: block;
|
||||
position: relative;
|
||||
height: 2.8em;
|
||||
background-color: #fff;
|
||||
border: 1px solid rgba(0,0,0,0.15);
|
||||
box-shadow: 0 2px 3px rgba(0,0,0,0.06);
|
||||
}
|
||||
|
||||
.header .search input.search-input {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
-ms-appearance: none;
|
||||
-o-appearance: none;
|
||||
appearance: none;
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
font-size: 1.1em;
|
||||
font-weight: normal;
|
||||
color: #333;
|
||||
display: block;
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
outline: none;
|
||||
border: none;
|
||||
padding: 4px;
|
||||
position: relative;
|
||||
height: 44px;
|
||||
}
|
||||
.header .search:hover button#submitButton {
|
||||
background:#A3C762;
|
||||
color:#fff;
|
||||
}
|
||||
.header .search:hover input#search-form-input-clear,
|
||||
.header .search search-input:focus input#search-form-input-clear {
|
||||
opacity: 1;
|
||||
}
|
||||
.header .search input#search-form-input-clear {
|
||||
position: absolute;
|
||||
top:5px;
|
||||
right:10px;
|
||||
background: transparent;
|
||||
outline: none;
|
||||
border: none;
|
||||
font-size:22px;
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.header .search button#submitButton {
|
||||
position: absolute;
|
||||
top:-1px;
|
||||
right:-48px;
|
||||
border-radius: 0 2px 2px 0;
|
||||
min-width: 26px;
|
||||
color: #999;
|
||||
font-size: 1.25em;
|
||||
padding: 0 .64em;
|
||||
height: 45px;
|
||||
line-height: 1.5;
|
||||
background-color: #fff;
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
cursor: pointer;
|
||||
}
|
||||
/****** HEADER BLACK ******/
|
||||
.header-black {
|
||||
position: fixed;
|
||||
|
@ -330,110 +245,6 @@ a:hover {
|
|||
width:auto;
|
||||
float:right;
|
||||
}
|
||||
/****** FILTER HORIZONTAL ******/
|
||||
.filter {
|
||||
background:#a24033;
|
||||
background: rgba(162, 64, 51, 0.7);
|
||||
margin:0;
|
||||
z-index:10000;
|
||||
}
|
||||
.filter.fixed {
|
||||
position: fixed;
|
||||
top:65px;
|
||||
}
|
||||
.filter.scroll {
|
||||
position: relative;
|
||||
top:0;
|
||||
}
|
||||
.filter .filter-content {
|
||||
max-width:1024px;
|
||||
margin:0 auto;
|
||||
color:#fff;
|
||||
}
|
||||
.filter .filter-content div {
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
border-right:1px #fff solid;
|
||||
}
|
||||
.filter .filter-content div.filter-category,
|
||||
.filter .filter-content div.filter-category ul {
|
||||
width:320px;
|
||||
float:left;
|
||||
}
|
||||
.filter .filter-content div.filter-release,
|
||||
.filter .filter-content div.filter-release ul {
|
||||
width:180px;
|
||||
float:left;
|
||||
}
|
||||
.filter .filter-content div div.filter-title,
|
||||
.filter .filter-content div ul.filter-selection li a {
|
||||
padding:5px 10px;
|
||||
}
|
||||
.filter .filter-content div div.filter-title .fa-angle-down {
|
||||
float:right;
|
||||
margin-top:5px;
|
||||
}
|
||||
.filter .filter-content div ul.filter-selection {
|
||||
position: absolute;
|
||||
top:29px;
|
||||
left:0;
|
||||
z-index:1001;
|
||||
margin:0;
|
||||
float:none;
|
||||
padding:0;
|
||||
}
|
||||
.filter .filter-content div ul.filter-selection li {
|
||||
background: rgba(162, 64, 51, 0.7);
|
||||
padding:5px 10px;
|
||||
list-style-type: none;
|
||||
display:none;
|
||||
position: relative;
|
||||
}
|
||||
.filter .filter-content div ul.filter-selection li.selected,
|
||||
.filter .filter-content .filter-category:hover ul.filter-selection li,
|
||||
.filter .filter-content .filter-release:hover ul.filter-selection li {
|
||||
display: block;
|
||||
}
|
||||
.filter .filter-content div ul.filter-selection li a {
|
||||
color:#fff;
|
||||
float:none;
|
||||
}
|
||||
.filter .filter-content div ul.filter-selection li:hover {
|
||||
color:#fff;
|
||||
background: rgba(162, 64, 51, 0.7);
|
||||
}
|
||||
.filter .filter-content div ul.filter-selection li.selected,
|
||||
.filter .filter-content div ul.filter-selection li.selected a,
|
||||
.filter .filter-content div ul.filter-selection li.selected a:hover {
|
||||
color:#BFFF4A;
|
||||
}
|
||||
/****** FILTER VERTIKAL ******/
|
||||
.filter-vert {
|
||||
position:absolute;
|
||||
top:80px;
|
||||
left:20px;
|
||||
width:180px;
|
||||
min-height:400px;
|
||||
}
|
||||
.filter-vert h2 {
|
||||
background:#296178;
|
||||
color:#fff;
|
||||
font-size: 100%;
|
||||
margin:3px -10px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
.filter-vert h3 {
|
||||
font-size: 100%;
|
||||
margin:0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.filter-vert #accordion div,
|
||||
.filter-vert p {
|
||||
margin:0;
|
||||
}
|
||||
.filter-vert #accordion div {
|
||||
padding-left:15px;
|
||||
}
|
||||
/****** BANNER ******/
|
||||
.banner {
|
||||
background: url(img/backgroun01.jpg) 0 0 no-repeat;
|
||||
|
@ -743,157 +554,6 @@ a:hover {
|
|||
stroke-dashoffset: 200;
|
||||
}
|
||||
}
|
||||
/****** SEARCH RESULTS Variante 2 ******/
|
||||
.search-results-variante2-item {
|
||||
width:100%;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
.search-results-variante2-item:hover {
|
||||
border:1px #a14032 solid;
|
||||
-webkit-box-shadow: 10px 10px 60px 0px rgba(0,0,0,0.75);
|
||||
-moz-box-shadow: 10px 10px 60px 0px rgba(0,0,0,0.75);
|
||||
box-shadow: 10px 10px 60px 0px rgba(0,0,0,0.75);
|
||||
}
|
||||
.search-results-variante2-item h2 {
|
||||
position: absolute;
|
||||
top: 7px;
|
||||
left: 42px;
|
||||
margin:0;
|
||||
z-index: 1001;
|
||||
width:60%;
|
||||
}
|
||||
.search-results-variante2-item h2 span {
|
||||
background:#fff;
|
||||
display:inline;
|
||||
padding:2px 5px;
|
||||
}
|
||||
.search-results-variante2-item:hover h2 {
|
||||
top:175px;
|
||||
left: 5px;
|
||||
width:98%;
|
||||
}
|
||||
.search-results-variante2-item {
|
||||
clip-path: inset(0 15% 0 15%);
|
||||
z-index: 999;
|
||||
margin-left: -20%;
|
||||
width:140%;
|
||||
}
|
||||
.search-results-variante2-item:hover {
|
||||
position: absolute;
|
||||
top:-10px;
|
||||
clip-path: inset(0 0 0 0);
|
||||
z-index: 1000;
|
||||
border:1px #a14032 solid;
|
||||
-webkit-box-shadow: 10px 10px 60px 0px rgba(0,0,0,0.75);
|
||||
-moz-box-shadow: 10px 10px 60px 0px rgba(0,0,0,0.75);
|
||||
box-shadow: 10px 10px 60px 0px rgba(0,0,0,0.75);
|
||||
transition: all 0.1s ease;
|
||||
}
|
||||
.search-results-variante2-item .search-results-variante2-item-info {
|
||||
background: #fef0e4;
|
||||
padding:0 10px;
|
||||
display: none;
|
||||
}
|
||||
.search-results-variante2-item:hover .search-results-variante2-item-info {
|
||||
display: block;
|
||||
}
|
||||
.search-results-variante2-item .search-results-variante2-item-info-tags {
|
||||
background: #fcd4b1;
|
||||
margin: 0 -10px;
|
||||
padding:10px;
|
||||
}
|
||||
/****** SEARCH RESULTS BMEN ******/
|
||||
.search-results-variante1 {
|
||||
max-width: 1024px;
|
||||
margin: 40px auto;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-grid {
|
||||
width:25%;
|
||||
float:left;
|
||||
position: relative;
|
||||
display: block;
|
||||
min-height: 350px;
|
||||
margin:20px 0;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item {
|
||||
width: 90%;
|
||||
position: relative;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item img {
|
||||
width:100%;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item h3 {
|
||||
margin:4 0;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item .language img {
|
||||
width:32px;
|
||||
margin-top:-3px;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item .meta-infos div {
|
||||
float:left;
|
||||
margin:0 5px;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item .recerpt {
|
||||
clear:both;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item .short-infos {
|
||||
position: absolute;
|
||||
top:0;
|
||||
right:10px;
|
||||
padding:15px 20px 15px 50px;
|
||||
background: -moz-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(255,255,255,0.31) 19%, rgba(255,255,255,0.65) 40%);
|
||||
background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%,rgba(255,255,255,0.31) 19%,rgba(255,255,255,0.65) 40%);
|
||||
background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(255,255,255,0.31) 19%,rgba(255,255,255,0.65) 40%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6ffffff',GradientType=1 );
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item .recerpt {
|
||||
display: none;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item .short-infos {
|
||||
opacity:0;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item .short-infos ul {
|
||||
padding:0;
|
||||
display: inline;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item .short-infos li {
|
||||
margin: 10px -50px 10px 0;
|
||||
opacity: 0;
|
||||
padding:0;
|
||||
list-style-type: none;
|
||||
font-size: 140%;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item:hover {
|
||||
width: 120%;
|
||||
position: absolute;
|
||||
top:-20px;
|
||||
left:-55px;
|
||||
cursor: pointer;
|
||||
z-index: 1000;
|
||||
padding:20px;
|
||||
background: #fff;
|
||||
border: 1px #999999 solid;
|
||||
border-radius: 10px;
|
||||
-webkit-box-shadow: 10px 10px 60px 0px rgba(0,0,0,0.75);
|
||||
-moz-box-shadow: 10px 10px 60px 0px rgba(0,0,0,0.75);
|
||||
box-shadow: 10px 10px 60px 0px rgba(0,0,0,0.75);
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item:hover .recerpt {
|
||||
display: block;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item:hover .short-infos {
|
||||
opacity: 1;
|
||||
}
|
||||
.search-results-variante1 .search-results-variante1-item:hover .short-infos li {
|
||||
opacity: 1;
|
||||
margin-right:0;
|
||||
-webkit-transition: all 0.2s ease-in;
|
||||
-moz-transition: all 0.2s ease-in;
|
||||
-o-transition: all 0.2s ease-in;
|
||||
transition: all 0.2s ease-in;
|
||||
}
|
||||
|
||||
/****** PRODUCT DETAIL PAGE ******/
|
||||
.product-detail .row img.product-img {
|
||||
width: 100%;
|
||||
|
@ -944,7 +604,6 @@ a:hover {
|
|||
stroke-dashoffset: 180;
|
||||
}
|
||||
}
|
||||
|
||||
/****** ELEMENTS ******/
|
||||
.profile-completed {
|
||||
width:100%;
|
||||
|
@ -967,45 +626,3 @@ a:hover {
|
|||
height:20px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/** https://codepen.io/chrisota/pen/rpaLw
|
||||
*, *:before, *:after { box-sizing: border-box; }
|
||||
|
||||
.row{ background: #fff; padding: 20px; position: relative; margin: 0 0 1px 0;
|
||||
&:hover{
|
||||
cursor: pointer;
|
||||
}
|
||||
&.selected{
|
||||
background: #f3f3f3;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
cursor: pointer;
|
||||
&:before{
|
||||
display: inline-block;
|
||||
content: "+";
|
||||
margin: 0 10px 0 0;
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
border: 3px solid $color;
|
||||
border-radius: 100%;
|
||||
vertical-align: middle;
|
||||
color: $color;
|
||||
font-size: 30px;
|
||||
text-align: center;
|
||||
font-weight: 700;
|
||||
line-height: 0.9em;
|
||||
transition: transform 0.2s ease-in-out;
|
||||
}
|
||||
}
|
||||
|
||||
input[type=checkbox]:checked + label:before{
|
||||
background: $color;
|
||||
color: #fff;
|
||||
transform:rotate(135deg);
|
||||
transform-origin: center center;
|
||||
}
|
||||
|
||||
input[type=checkbox] { visibility: hidden; }
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue