From 0d793a5c3ccba9dd0b80fd34530e7f123842a00b Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 3 Aug 2018 13:31:59 -0400 Subject: [PATCH] moving the expand all button next to delete contact and return to list reducing vertical space by moving the expand all button next to the buttons in the header --- css/admin.css | 13 ++++--------- views/admin/contacts/edit.html | 9 +++++---- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/css/admin.css b/css/admin.css index a85e54d..67a91c4 100644 --- a/css/admin.css +++ b/css/admin.css @@ -57,6 +57,7 @@ margin-bottom: 2px; margin-top: 2px; } + #glm-contact-fullprofile-toggle.selected { box-shadow: 1px 1px 2px lightgrey inset; cursor: pointer; @@ -74,6 +75,8 @@ margin: 10px; float: right; width: 85px; + position: relative; + top: -8px; } .glm-contact-content-toggle span { font-size: 11px; @@ -92,15 +95,7 @@ /*.glm-contact-content-data:not(#glm-contact-account-contact-container) {*/ display: none; } -#glm-contact-fullprofile-toggle { - border: 1px solid lightgrey; - border-radius: 3px; - float: right; - margin: 10px; - padding: 3px 6px; - text-align: center; - width: 85px; -} + #glm-table-profile .glm-contact-sub-data-links { background: white; border-width: 0 1px 1px 1px; diff --git a/views/admin/contacts/edit.html b/views/admin/contacts/edit.html index 32ab7d1..5e52106 100644 --- a/views/admin/contacts/edit.html +++ b/views/admin/contacts/edit.html @@ -62,7 +62,7 @@ {else} - + {if apply_filters('glm_members_permit_admin_member_contacts_edit_contact', true)} {if $option == 'create' || $option == 'edit'} @@ -108,7 +108,7 @@ {/if} - +
Expand All
{if $fromMemberMenu}
@@ -121,6 +121,7 @@ + {if $haveMember} {/if} @@ -139,7 +140,7 @@ -
Expand All
+

Account Settings

@@ -1293,7 +1294,7 @@ checkContactMembersEdit(); $('#contactRoleSelect').on('change', checkContactMembersEdit); - + // $("#glm-contact-fullprofile-toggle").prependTo( $("#glm-admin-content-container") ); }); -- 2.17.1