more css
This commit is contained in:
parent
ce80a00a4b
commit
09bb49b636
@ -26,6 +26,10 @@ div.region.region-primary-menu {
|
|||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sidebar .field--type-entity-reference {
|
||||||
|
margin: 1em 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
.region-sidebar-second .view-content li, .region-sidebar-second .views-row, .region-sidebar-second .zencrm_inner_sidebar_block {
|
.region-sidebar-second .view-content li, .region-sidebar-second .views-row, .region-sidebar-second .zencrm_inner_sidebar_block {
|
||||||
border-bottom: 10px solid #e6e6d3;
|
border-bottom: 10px solid #e6e6d3;
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
@ -65,11 +69,11 @@ div.region.region-primary-menu {
|
|||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar .views-element-container .field {
|
.sidebar .views-element-container .field, .sidebar .zencrm_inner_sidebar_block .field {
|
||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar .views-element-container .field .field__item {
|
.sidebar .views-element-container .field .field__item, .sidebar .zencrm_inner_sidebar_block .field__item {
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -206,7 +206,7 @@ class ContactDetails extends ContentEntityBase implements ContactDetailsInterfac
|
|||||||
'text_processing' => 0,
|
'text_processing' => 0,
|
||||||
))
|
))
|
||||||
->setDisplayOptions('view', array(
|
->setDisplayOptions('view', array(
|
||||||
'label' => 'hidden',
|
'label' => 'above',
|
||||||
'type' => 'string',
|
'type' => 'string',
|
||||||
'weight' => 0,
|
'weight' => 0,
|
||||||
))
|
))
|
||||||
|
@ -181,7 +181,7 @@ class Hat extends ContentEntityBase implements HatInterface {
|
|||||||
->setSetting('target_type', 'person');
|
->setSetting('target_type', 'person');
|
||||||
|
|
||||||
$fields['contact_details'] = BaseFieldDefinition::create('entity_reference')
|
$fields['contact_details'] = BaseFieldDefinition::create('entity_reference')
|
||||||
->setLabel(t('Contact Details'))
|
->setLabel(t('Contact Details to use for this Hat'))
|
||||||
->setDescription(t('The contact details to be used when communicating with this person in this capacity.'))
|
->setDescription(t('The contact details to be used when communicating with this person in this capacity.'))
|
||||||
->setSetting('target_type', 'contact_details')
|
->setSetting('target_type', 'contact_details')
|
||||||
->setSetting('handler', 'views')
|
->setSetting('handler', 'views')
|
||||||
@ -191,7 +191,7 @@ class Hat extends ContentEntityBase implements HatInterface {
|
|||||||
]])
|
]])
|
||||||
->setDisplayOptions('view', [
|
->setDisplayOptions('view', [
|
||||||
'label' => 'above',
|
'label' => 'above',
|
||||||
'weight' => 0,
|
'weight' => 100,
|
||||||
'settings' => ['link' => 'false']
|
'settings' => ['link' => 'false']
|
||||||
])
|
])
|
||||||
->setDisplayOptions('form', [
|
->setDisplayOptions('form', [
|
||||||
|
Reference in New Issue
Block a user