From 9cf07244207b03f3f08407d0f401b51738a5c13f Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 29 Sep 2020 10:39:39 +0200 Subject: [PATCH] Add a css class to style crm view sidebox --- addressbook/inc/class.addressbook_hooks.inc.php | 2 +- addressbook/templates/pixelegg/app.css | 10 +++++----- addressbook/templates/pixelegg/app.less | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/addressbook/inc/class.addressbook_hooks.inc.php b/addressbook/inc/class.addressbook_hooks.inc.php index c20a3cc479..4b597d0719 100644 --- a/addressbook/inc/class.addressbook_hooks.inc.php +++ b/addressbook/inc/class.addressbook_hooks.inc.php @@ -38,7 +38,7 @@ class addressbook_hooks { display_sidebox($appname, lang('Contact data'), array( array( - 'text' => '
', + 'text' => '
', 'no_lang' => true, 'link' => false, 'icon' => false, diff --git a/addressbook/templates/pixelegg/app.css b/addressbook/templates/pixelegg/app.css index b2bce95028..c3dce0edee 100755 --- a/addressbook/templates/pixelegg/app.css +++ b/addressbook/templates/pixelegg/app.css @@ -193,29 +193,29 @@ select#addressbook-index_col_filter\[tid\] { /*# # #*/ /*# # #*/ /*##############################################*/ - div#addressbook_view_sidebox img.photo { + div.addressbook_view_sidebox img.photo { width: 68px; padding-right: 3px; height: auto; vertical-align: top; margin-right: 5px; } - div#addressbook_view_sidebox #addressbook-view_n_fn { + div.addressbook_view_sidebox #addressbook-view_n_fn { font-size: 14px; font-weight: bold; padding: 2px 0 2px 0; width: 85%; } - div#addressbook_view_sidebox #addressbook-view_org_name { + div.addressbook_view_sidebox #addressbook-view_org_name { font-size: 14px; padding: 2px 0 2px 0; width: 85%; } - div#addressbook_view_sidebox #addressbook-view_org_unit { + div.addressbook_view_sidebox #addressbook-view_org_unit { font-size: 11px; padding: 2px 0 2px 0; } - div#addressbook_view_sidebox #addressbook-view_adr_one_locality { + div.addressbook_view_sidebox #addressbook-view_adr_one_locality { font-size: 11px; padding: 2px 0 2px 0; } diff --git a/addressbook/templates/pixelegg/app.less b/addressbook/templates/pixelegg/app.less index 33a767a047..7c8e1265b8 100755 --- a/addressbook/templates/pixelegg/app.less +++ b/addressbook/templates/pixelegg/app.less @@ -43,7 +43,7 @@ // Image + Data - div#addressbook_view_sidebox{ + div.addressbook_view_sidebox{ //img img.photo { width: 68px;