From: Laury GvR Date: Wed, 20 Aug 2014 21:02:37 +0000 (-0400) Subject: More member search results formatting X-Git-Tag: v1.1.30^2~13 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=acc0a9633423e9516bb533f159943ca7718399d5;p=web%2FKeweenaw.git More member search results formatting --- diff --git a/Toolkit/Members/css/member.css b/Toolkit/Members/css/member.css index 5029acc..fe102b5 100755 --- a/Toolkit/Members/css/member.css +++ b/Toolkit/Members/css/member.css @@ -91,7 +91,8 @@ background-color: #ffffff; line-height: 130%; padding: 15px; background-color: #eee; - height: 185px; + height: 1%; + margin-bottom: 5px; overflow: hidden; position: relative; @@ -113,15 +114,16 @@ background-color: #ffffff; padding: 0px !important; } /** Uncomment this if you want to force member search images to be a certain size **/ -/*.memberSR img { - width:100%; - height: 120px; -}*/ +.memberSR img { + /* width:100%; + height: 120px;*/ +} .list-add-link img, .list-view-link img { margin-bottom: 10px; } .search-result-img { clear: right; + max-height: 120px; } .search-result-item h2 { padding: 0; @@ -140,7 +142,19 @@ background-color: #ffffff; } .search-result-item-container { padding: 8px !important; + max-width: 550px !important; + margin-left: auto; + margin-right:auto; +} +/*@media (min-width: 641px) and (max-width: 1024px) { + .search-result-item-container { + margin-left: 15%; + max-width:80%; + } } +@media (min-width: 641px) { + +}*/ .search-result-map-marker { margin-top: 15px; padding: 0px !important; @@ -1352,3 +1366,17 @@ div.thumb { margin-left: auto; margin-right: auto; } + +@media (max-width: 550px) { + .search-result-container { + width: 100% !important; + } + .search-result-item .memberSR { + width: 100% !important; + } + .search-result-item .memberSR img { +/* margin-left: auto !important; + margin-right: auto !important; + float: none !important;*/ + } +} \ No newline at end of file diff --git a/Toolkit/Members/templates/membersList.tpl b/Toolkit/Members/templates/membersList.tpl index bad1d5f..75acf6e 100644 --- a/Toolkit/Members/templates/membersList.tpl +++ b/Toolkit/Members/templates/membersList.tpl @@ -15,44 +15,45 @@ searchMapIconActive="searchMapIconActive"
  • {k}
  • -
    +
    {if:numberedSet}
    {getResults(#Found %s Businesses in %s page(s)#):h}
    {getPaging():h}
    Showing records {firstRecord} to {lastRecord}
    -
    - -
    +
    +
    +
    + {if:row[addToLink]} + + Add to Your Travel List + + {else:} + + View Your Travel List + + {end:} + {if:row[logo]} + {row[logo]} + {else:} +

    + {end:} +
    +
    +
    {if:row[map_icon]} {end:} -
    -
    - {if:row[addToLink]} - - Add to Your Travel List - - {else:} - - View Your Travel List - - {end:} - {if:row[logo]} - {row[logo]} - {else:} -

    - {end:} -
    -
    +
    +
    {row[street]:h}
    {row[city]:h}, @@ -93,7 +94,7 @@ searchMapIconActive="searchMapIconActive" Special Offers
    -
    +