From 635e1285e33a8048c989b207f9352757729613cd Mon Sep 17 00:00:00 2001 From: jan <jan@ruken.pw> Date: Wed, 30 Dec 2015 16:25:13 +0100 Subject: =?UTF-8?q?jetzt=20aber=20wirklich.=20ich=20k=C3=B6nnte=20nat?= =?UTF-8?q?=C3=BCrlich=20auch=20einfach=20mal=20die=20bilder=20runterladen?= =?UTF-8?q?,=20damit=20ich=20nicht=20f=C3=BCr=20jede=20=C3=A4nderung=20pus?= =?UTF-8?q?hen=20muss.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/assets/css/search.css b/assets/css/search.css index 0538361..174b276 100644 --- a/assets/css/search.css +++ b/assets/css/search.css @@ -1,25 +1,3 @@ -.search-results .search-result { - background-color: #fff; - line-height: 1.5rem; - padding: 10px 20px; - margin: 0; - border-bottom: 1px solid #e0e0e0; -} - -.search-results { - margin: 0.5rem 0 1rem 0; - border: 1px solid #e0e0e0; - border-radius: 2px; - overflow: hidden; - position: relative; -} - -.search-results .search-result.avatar .circle { - min-height: 64px; - padding-left: 72px; - position: relative; -} - -.search-results .search-result.avatar .title { - font-size: 16px; +.collection .collection-item.avatar { + min-height: 64px !important; } \ No newline at end of file diff --git a/views/instant_search_results.html b/views/instant_search_results.html index 294315c..9c5a476 100644 --- a/views/instant_search_results.html +++ b/views/instant_search_results.html @@ -1,6 +1,6 @@ {{ define "instant_search_results" }} {{ range .results }} -<li class="search-result avatar hoverable valign-wrapper"> +<li class="collection-item avatar hoverable valign-wrapper"> <img src="/{{ .ImagePath }}" alt="" class="circle"> <span class="title">{{ .Name }}</span> </li> diff --git a/views/list.html b/views/list.html index f7ba097..3539011 100644 --- a/views/list.html +++ b/views/list.html @@ -71,7 +71,7 @@ </form> </div> <div class="col s10 offset-s1"> - <ul class="search-results" id="search-results"> + <ul class="collection" id="search-results"> </ul> </div> </div> -- cgit v0.10.1