From: Anthony Talarico Date: Wed, 5 Apr 2017 13:10:34 +0000 (-0400) Subject: styling the detail view page to center the results X-Git-Tag: v1.0.0^2~15 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=063b111474920f217d883949cdf76889c0dd8dad;p=WP-Plugins%2Fglm-member-db-obits.git styling the detail view page to center the results --- diff --git a/css/front.css b/css/front.css index d12a706..8fb198f 100644 --- a/css/front.css +++ b/css/front.css @@ -125,8 +125,9 @@ input.sidebar-criteria{ padding: 5px 0px; margin-bottom: 15px; text-align: center; + background-color: #eeeeee; } -.record-row:nth-child(even){ +.record-row:nth-child(odd){ background-color: #eeeeee; } .expand-collapse{ @@ -241,4 +242,17 @@ table tr.even, table tr.alt, table tr:nth-of-type(2n){ } table tr.odd, table tr.alt, table tr:nth-of-type(n){ /* background-color: red;*/ +} +.footable > tbody > tr > td.footable-row-detail-cell, .footable > tbody > tr > td{ + border-right: 1px solid lightgrey; +} +.footable > tbody > tr > td.footable-row-detail-cell, .footable > tbody > tr > td.footable-first-column{ + + +} +.footable > tbody > tr > td.footable-row-detail-cell, .footable > tbody > tr > td.footable-first-column{ + +} +.footable > tbody > tr > td.footable-row-detail-cell, .footable > tbody > tr > td.footable-first-column a:hover{ + color: #A62800; } \ No newline at end of file diff --git a/views/front/obits/detail.html b/views/front/obits/detail.html index ce81a04..7b51e22 100644 --- a/views/front/obits/detail.html +++ b/views/front/obits/detail.html @@ -1,79 +1,97 @@
-
+
{$obit.last_name}, {$obit.first_mid}
+
Record ID:
-
{$obit.id}
+
{$obit.id}
+
Last Name:
-
{$obit.last_name}
+
{$obit.last_name}
+
First , Middle:
-
{$obit.first_mid}
+
{$obit.first_mid}
+
Birth Year:
-
{$obit.b_year}
+
{$obit.b_year}
+
Birth Year Range:
-
{$obit.b_yr_range}
+
{$obit.b_yr_range}
+
Death Year:
-
{$obit.d_year}
+
{$obit.d_year}
+
Death Year Range:
-
{$obit.d_yr_range}
+
{$obit.d_yr_range}
+
Maiden Name:
-
{$obit.maiden_other}
+
{$obit.maiden_other}
+
Spouse / Partner:
-
{$obit.spouse_partner}
+
{$obit.spouse_partner}
+
Article A:
-
{$obit.article_a}
+
{$obit.article_a}
+
Article B:
-
{$obit.article_b}
+
{$obit.article_b}
+
Article C:
-
{$obit.article_c}
+
{$obit.article_c}
+
Newspaper:
-
{$obit.newspaper}
+
{$obit.newspaper}
+
Newspaper Date:
-
{$obit.newspaper_data}
+
{$obit.newspaper_data}
+
Father Name:
-
{$obit.father_name}
+
{$obit.father_name}
+
Mother Name:
-
{$obit.mother_name}
+
{$obit.mother_name}
+
Misc Info:
-
{$obit.misc_info}
+
{$obit.misc_info}