css
This commit is contained in:
parent
aa696d8343
commit
fa26d2acdf
@ -2226,7 +2226,7 @@ class DolibarrModules // Can not be abstract, because we need to instantiate it
|
|||||||
print '
|
print '
|
||||||
<div class="box-flex-item info-box-module'.(empty($conf->global->$const_name) ? ' info-box-module-disabled' : '').($this->isCoreOrExternalModule() == 'external' ? ' info-box-module-external' : '').'">
|
<div class="box-flex-item info-box-module'.(empty($conf->global->$const_name) ? ' info-box-module-disabled' : '').($this->isCoreOrExternalModule() == 'external' ? ' info-box-module-external' : '').'">
|
||||||
<div class="info-box info-box-sm info-box-module">
|
<div class="info-box info-box-sm info-box-module">
|
||||||
<div class="info-box-icon">';
|
<div class="info-box-icon'.(empty($conf->global->$const_name) ? '' : ' info-box-icon-module-enabled'.($versiontrans ? ' info-box-icon-module-warning' : '')).'">';
|
||||||
|
|
||||||
$alttext = '';
|
$alttext = '';
|
||||||
//if (is_array($objMod->need_dolibarr_version)) $alttext.=($alttext?' - ':'').'Dolibarr >= '.join('.',$objMod->need_dolibarr_version);
|
//if (is_array($objMod->need_dolibarr_version)) $alttext.=($alttext?' - ':'').'Dolibarr >= '.join('.',$objMod->need_dolibarr_version);
|
||||||
@ -2246,12 +2246,12 @@ class DolibarrModules // Can not be abstract, because we need to instantiate it
|
|||||||
}
|
}
|
||||||
|
|
||||||
print '</div>
|
print '</div>
|
||||||
<div class="info-box-content info-box-text-module">
|
<div class="info-box-content info-box-text-module'.(empty($conf->global->$const_name) ? '' : ' info-box-module-enabled'.($versiontrans ? ' info-box-content-warning' : '')).'">
|
||||||
<span class="info-box-title">'.$this->getName().'</span>
|
<span class="info-box-title">'.$this->getName().'</span>
|
||||||
<span class="info-box-desc twolinesmax opacitymedium" title="'.dol_escape_htmltag($this->getDesc()).'">'.nl2br($this->getDesc()).'</span>';
|
<span class="info-box-desc twolinesmax opacitymedium" title="'.dol_escape_htmltag($this->getDesc()).'">'.nl2br($this->getDesc()).'</span>';
|
||||||
|
|
||||||
print '<div class="valignmiddle inline-block info-box-more">';
|
print '<div class="valignmiddle inline-block info-box-more">';
|
||||||
if ($versiontrans) print img_warning($langs->trans("Version").' '.$this->getVersion(1)).' ';
|
//if ($versiontrans) print img_warning($langs->trans("Version").' '.$this->getVersion(1)).' ';
|
||||||
print '<a class="valignmiddle inline-block" href="javascript:document_preview(\''.DOL_URL_ROOT.'/admin/modulehelp.php?id='.$this->numero.'\',\'text/html\',\''.dol_escape_js($langs->trans("Module")).'\')">'.img_picto(($this->isCoreOrExternalModule() == 'external' ? $langs->trans("ExternalModule").' - ' : '').$langs->trans("ClickToShowDescription"), $imginfo).'</a>';
|
print '<a class="valignmiddle inline-block" href="javascript:document_preview(\''.DOL_URL_ROOT.'/admin/modulehelp.php?id='.$this->numero.'\',\'text/html\',\''.dol_escape_js($langs->trans("Module")).'\')">'.img_picto(($this->isCoreOrExternalModule() == 'external' ? $langs->trans("ExternalModule").' - ' : '').$langs->trans("ClickToShowDescription"), $imginfo).'</a>';
|
||||||
print '</div><br>';
|
print '</div><br>';
|
||||||
|
|
||||||
|
|||||||
@ -166,15 +166,17 @@ if (!defined('ISLOADEDBYSTEELSHEET')) die('Must be call by steelsheet'); ?>
|
|||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
margin-left: 84px;
|
margin-left: 84px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-box-sm .info-box-content{
|
.info-box-sm .info-box-content{
|
||||||
margin-left: 80px;
|
margin-left: 80px;
|
||||||
}
|
}
|
||||||
/*.info-box-setup span {
|
.info-box-sm .info-box-module-enabled {
|
||||||
color: var(--colortexttitlenotab2);
|
background: linear-gradient(0.35turn, #fff, #fff, #f6faf8, #e4efe8)
|
||||||
}
|
}
|
||||||
.tdsetuppicto span {
|
.info-box-sm .info-box-content-warning {
|
||||||
color: var(--colortexttitlenotab2);
|
background: #ffd7a3;
|
||||||
|
}
|
||||||
|
/*.info-box-icon.info-box-icon-module-enabled {
|
||||||
|
background: #e4f0e4 !important;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
.info-box-number {
|
.info-box-number {
|
||||||
@ -212,6 +214,8 @@ a.info-box-text{ text-decoration: none;}
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ICONS INFO BOX */
|
/* ICONS INFO BOX */
|
||||||
<?php
|
<?php
|
||||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
|
include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user