From 861b7491143dbc9a9d9943cc734a24457b7d0b16 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 19 Aug 2014 17:08:30 -0400 Subject: [PATCH] Search results formatting. --- Toolkit/Members/css/member.css | 39 ++++++- Toolkit/Members/templates/membersList.tpl | 124 ++++++++++++---------- styles.css | 10 +- 3 files changed, 109 insertions(+), 64 deletions(-) diff --git a/Toolkit/Members/css/member.css b/Toolkit/Members/css/member.css index 5e9c560..a199b33 100755 --- a/Toolkit/Members/css/member.css +++ b/Toolkit/Members/css/member.css @@ -1,7 +1,7 @@ /* Member Search and display */ #category-search { /* clear: both;*/ - padding: 0px, 10px, 0px, 10px; + padding: 0px 10px 0px 10px; margin-top: 22px; } @@ -89,9 +89,9 @@ background-color: #ffffff; text-shadow: 0 0 1px rgba(0, 0, 0, 0.3); font-size: 14px; line-height: 130%; - padding: 15px 20px; + padding: 15px; background-color: #eee; - height: 1%; + height: 185px; margin-bottom: 5px; overflow: hidden; position: relative; @@ -110,7 +110,12 @@ background-color: #ffffff; } .memberSR { float: right; + padding: 0px !important; } +.memberSR img { + width:100%; + height: 120px; +} .list-add-link img, .list-view-link img { margin-bottom: 10px; } @@ -126,8 +131,14 @@ background-color: #ffffff; .search-result-item h2 a:hover {color: #3D8D3A;} .search-result-item h2 a:active {color: #00456C;} -.search-result-location { - float: left; +.search-result-item img { +/* padding: 15px;*/ + padding: 0px; + margin-top: 8px; + margin-bottom: 0px; +} +.search-result-item-container { + padding: 8px; } .search-result-distance { clear: left; @@ -362,6 +373,10 @@ Restaurant, Hotels and Golf Courses padding: 3px 6px; } /* Accommodations Result List */ +.search-result-item-info { + min-height: 124px; + padding-top: 15px; +} .search-result-item-info .member-hotel-result { height: 1%; overflow: hidden; @@ -806,6 +821,20 @@ div.thumb { float: left; width: 64%; } +.search-result-item-container .search-result-location { + padding: 5px 0px 5px 0px !important; + + font-size: 16px !important; + line-height: 130%; + margin-top: 9px; +} +.search-result-item-container .search-result-contact-info { + padding: 0px !important; + margin-top: 15px !important; +} +.search-result-item .membersSR { + padding: 0px !important; +} #members_wrapper .member_list_res { color: #FFFFFF; display: block; diff --git a/Toolkit/Members/templates/membersList.tpl b/Toolkit/Members/templates/membersList.tpl index 38cdbbc..211a89c 100644 --- a/Toolkit/Members/templates/membersList.tpl +++ b/Toolkit/Members/templates/membersList.tpl @@ -21,72 +21,80 @@ searchMapIconActive="searchMapIconActive"
{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]} + {end:} +
+
+ {if:row[map_icon]} + + {end:} +
+
{row[street]:h}
+ {row[city]:h}, + {row[state_abbr]:h} + {row[zip]:h} +
+
Phone: {row[phone]:h}
+
-
-

- {row[member_name]:h} -

-
- {if:row[addToLink]} - - Add to Your Travel List - - {else:} - - View Your Travel List - - {end:} - {if:row[logo]} - {row[logo]} - {end:} -
-
- {if:row[map_icon]} - - {end:} -
-
{row[street]:h}
- {row[city]:h}, - {row[state_abbr]:h} - {row[zip]:h} -
-
Phone: {row[phone]:h}
-
-
-
- Email -
- -
- Driving Directions +
+ + Online Reservations + + {if:row[num_rooms]} + Number of Rooms: {row[num_rooms]:h} + {end:} +
+ Open Year Round: {row[year_round]:h}
-
-
- - Online Reservations - - {if:row[num_rooms]} - Number of Rooms: {row[num_rooms]:h} - {end:} -
- Open Year Round: {row[year_round]:h} -
- Make a Tee Time
+
{getPaging():h}
diff --git a/styles.css b/styles.css index 1f1cba2..ce98d80 100644 --- a/styles.css +++ b/styles.css @@ -668,6 +668,14 @@ aside.right-off-canvas-menu ul.off-canvas-list li > ul.open { .listing { margin-top: 20px !important; } +.container#interior #main .search-result-item h3 { + font-size: 16px; + color: #6d1112; + margin: 0px; + padding: 0px; +/* margin-top: 8px; + margin-bottom: 8px;*/ +} .container#interior #main > div { /*float: left;*/ width: auto; @@ -1365,7 +1373,7 @@ footer .copyright .separator { } #main .row .right { - margin-bottom: 25px; +/* margin-bottom: 25px;*/ } .header-content .content p, -- 2.17.1