Add a css class to style crm view sidebox

This commit is contained in:
Hadi Nategh 2020-09-29 10:39:39 +02:00
parent 86bd6b719a
commit 9cf0724420
3 changed files with 7 additions and 7 deletions

View File

@ -38,7 +38,7 @@ class addressbook_hooks
{
display_sidebox($appname, lang('Contact data'), array(
array(
'text' => '<div id="addressbook_'.$_GET['contact_id'].'_view_sidebox"/>',
'text' => '<div id="addressbook_'.$_GET['contact_id'].'_view_sidebox" class="addressbook_view_sidebox"/>',
'no_lang' => true,
'link' => false,
'icon' => false,

View File

@ -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;
}

View File

@ -43,7 +43,7 @@
// Image + Data
div#addressbook_view_sidebox{
div.addressbook_view_sidebox{
//img
img.photo {
width: 68px;