From: Laury GvR Date: Fri, 3 Aug 2018 17:56:44 +0000 (-0400) Subject: Contact delete/back to list button edits, custom field styles X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=2a036a4fe443e6cc83fa08c9e7047af858d9e747;p=WP-Plugins%2Fglm-member-db-contacts.git Contact delete/back to list button edits, custom field styles - switch contact Delete and Back to List buttons - recolor Delete button - add custom field group name - custom field labels restyled to fit their fields better --- diff --git a/css/admin.css b/css/admin.css index 6abbdab..9e9d56c 100644 --- a/css/admin.css +++ b/css/admin.css @@ -130,6 +130,16 @@ border-radius: 3px; border: 1px solid darkseagreen; } +#glm-admin-content-container #deleteContactButton { + background-color: #EC3131; + border: 1px solid darkred; + box-shadow: 0px 1px 0px darkred; +} +#glm-admin-content-container #deleteContactButton:hover { + background-color: #FF3131; + border: 1px solid darkred; + box-shadow: 0px -1px 0px darkred; +} /* Input Fields CSS */ input::placeholder { @@ -201,6 +211,10 @@ input::placeholder { background: #f8ffff; padding: 10px; } +#glm-table-profile #glm-members-custom-fields-glm-member-db-contacts .glm-custom-field-group-name { + margin: 0; + font-size: 15px; +} #glm-table-profile fieldset { background: white; border: 1px solid lightgrey; @@ -247,7 +261,13 @@ input::placeholder { #glm-table-profile.glm-admin-table { table-layout: fixed; } -#glm-table-profile.glm-admin-table .glm-custom-field-label, +#glm-table-profile.glm-admin-table .glm-custom-field-label { + clear: both; + display: block; + max-width: 100%; + padding-bottom: 2px; + width: 100%; +} #glm-table-profile.glm-admin-table th { clear: both; display: block; diff --git a/views/admin/contacts/edit.html b/views/admin/contacts/edit.html index 54562e8..cdac8c8 100644 --- a/views/admin/contacts/edit.html +++ b/views/admin/contacts/edit.html @@ -67,12 +67,6 @@ {if $option == 'create' || $option == 'edit'} - {if $fromMemberMenu} - Return to Contact List - {else} - Return to Contact List - {/if} - {if $option == 'create'}

Add New Contact

{else} @@ -108,6 +102,13 @@ {/if} + {if $fromMemberMenu} + Return to Contact List + {else} + Return to Contact List + {/if} + +
Expand All
{if $fromMemberMenu}