2if (!defined(
'ISLOADEDBYSTEELSHEET')) {
3 die(
'Must be call by steelsheet');
14include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
17if (!empty($conf->global->THEME_INFOBOX_COLOR_ON_BACKGROUND)) {
18 $prefix =
'background-';
21if (!isset($conf->global->THEME_SATURATE_RATIO)) {
22 $conf->global->THEME_SATURATE_RATIO = 0.7;
24if (GETPOSTISSET(
'THEME_SATURATE_RATIO')) {
25 $conf->global->THEME_SATURATE_RATIO =
GETPOST(
'THEME_SATURATE_RATIO',
'int');
31 background-color: #65953d !important;
32 color: #FFF !important;
38 background-color: #599caf !important;
39 color: #FFF !important;
45 background-color: #79633f !important;
46 color: #FFF !important;
52 padding: 2px 7px 2px 7px;
53 background-color: #e4e4e4;
58.member-individual-back {
59 padding: 2px 7px 2px 7px;
60 background-color: #e4e4e4;
67 <?php echo $prefix; ?>color: #6c6aa8 !important;
70 <?php echo $prefix; ?>color: #a47080 !important;
72.bg-infobox-propal, .bg-infobox-facture, .bg-infobox-commande {
73 <?php echo $prefix; ?>color: #65953d !important;
75.bg-infobox-supplier_proposal, .bg-infobox-invoice_supplier, .bg-infobox-order_supplier {
76 <?php echo $prefix; ?>color: #599caf !important;
78.bg-infobox-contrat, .bg-infobox-ticket{
79 <?php echo $prefix; ?>color: #46a676 !important;
81.bg-infobox-bank_account{
82 <?php echo $prefix; ?>color: #b0a53e !important;
84.bg-infobox-adherent, .bg-infobox-member{
85 <?php echo $prefix; ?>color: #79633f !important;
87.bg-infobox-expensereport{
88 <?php echo $prefix; ?>color: #79633f !important;
91 <?php echo $prefix; ?>color: #755114 !important;
95.infobox-adherent, .infobox-member {
96 color: #79633f !important;
99 color: #6c6aa8 !important;
102 color: #a47080 !important;
105.infobox-propal:not(.pictotitle):not(.error),
106.infobox-facture:not(.pictotitle):not(.error),
107.infobox-commande:not(.pictotitle):not(.error) {
108 color: #65953d !important;
111.infobox-supplier_proposal:not(.pictotitle):not(.error),
112.infobox-invoice_supplier:not(.pictotitle):not(.error),
113.infobox-order_supplier:not(.pictotitle):not(.error) {
114 color: #599caf !important;
117.infobox-contrat, .infobox-ticket{
118 color: #46a676 !important;
120.infobox-bank_account{
121 color: #b0a53e !important;
123.infobox-adherent, .infobox-member {
124 color: #79633f !important;
126.infobox-expensereport{
127 color: #79633f !important;
130 color: #755114 !important;
134.info-box-module.--external span.info-box-icon-version {
138a.info-box-text.info-box-text-a {
142a.info-box-text-a i.fa.fa-exclamation-triangle {
150 background: var(--colorbacklineimpair2);
155 border: 1px solid #e9e9e9;
157.info-box.info-box-sm {
171.info-box:not(.info-box-kanban) .progress {
172 background: rgba(0, 0, 0, 0.2);
173 margin: 5px -10px 5px -10px;
177.info-box .progress .progress-bar {
181.info-box:not(.info-box-kanban) .progress .progress-bar {
189 background-color: #337ab7;
190 -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
191 box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
192 -webkit-transition: width .6s ease;
193 -o-transition: width .6s ease;
194 transition: width .6s ease;
205 background: var(--colorbacktitle1) !important;
206 <?php
if (isset($conf->global->THEME_SATURATE_RATIO)) { ?>
207 filter: saturate(<?php echo $conf->global->THEME_SATURATE_RATIO; ?>);
211.info-box-module .info-box-icon {
215.info-box-sm .info-box-icon, .info-box-sm .info-box-img {
216 height: 96px !important;
222 border-top-left-radius: 2px;
223 border-top-right-radius: 0;
224 border-bottom-right-radius: 0;
225 border-bottom-left-radius: 2px;
235 background: var(--colorbacktitle1) !important;
237.opened-dash-board-wrap .info-box .info-box-icon {
240.opened-dash-board-wrap .info-box-sm .info-box-icon {
243.info-box-module .info-box-icon {
246.info-box-icon > img {
249.info-box-module .info-box-icon > img {
258 box-sizing: border-box;
264 background-color: rgba(0,0,0,0.1);
272 -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
273 transition: opacity 0.5s, visibility 0s 0.5s;
276.info-box-icon-version {
277 box-sizing: border-box;
283 background-color: rgba(0,0,0,0.1);
291 -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
292 transition: opacity 0.5s, visibility 0s 0.5s;
295.box-flex-item.info-box-module.--disabled {
307 height: 105px !important;
309 border-top-left-radius: 2px;
310 border-top-right-radius: 0;
311 border-bottom-right-radius: 0;
312 border-bottom-left-radius: 2px;
320 background: var(--colorbacktitle1) !important;
327 transform: translate(-50%, -50%);
331<?php
if (empty($conf->global->MAIN_DISABLE_GLOBAL_BOXSTATS) && !empty($conf->global->MAIN_INCLUDE_GLOBAL_STATS_IN_OPENED_DASHBOARD)) { ?>
337.info-box-sm .info-box-icon-text, .info-box-sm .info-box-icon-version{
341.info-box:hover .info-box-icon-text{
349.info-box-sm .info-box-content {
353.info-box-sm .info-box-module-enabled {
355 background: var(--infoboxmoduleenabledbgcolor);
357.info-box-content-warning span.font-status4 {
358 color: #bc9526 !important;
373 text-overflow: ellipsis;
376 text-transform: uppercase;
381 width: calc(100% - 20px);
386.info-box-text:first-letter{text-transform: uppercase}
387a.info-box-text{ text-decoration: none;}
401include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
404if (!empty($conf->global->THEME_INFOBOX_COLOR_ON_BACKGROUND)) {
405 $prefix =
'background-';
408if (!isset($conf->global->THEME_SATURATE_RATIO)) {
409 $conf->global->THEME_SATURATE_RATIO = 0.7;
411if (GETPOSTISSET(
'THEME_SATURATE_RATIO')) {
412 $conf->global->THEME_SATURATE_RATIO =
GETPOST(
'THEME_SATURATE_RATIO',
'int');
415.bg-infobox-project i.fa{
416 color: #605ca8 !important;
418.bg-infobox-action i.fa{
419 color: #d84b80 !important;
421.bg-infobox-propal i.fa,
422.bg-infobox-facture i.fa,
423.bg-infobox-commande i.fa{
424 color: #abb87b !important;
426.bg-infobox-supplier_proposal i.fa,
427.bg-infobox-invoice_supplier i.fa,
428.bg-infobox-order_supplier i.fa{
429 color: #40b0cf !important;
431.bg-infobox-contrat i.fa, .bg-infobox-ticket i.fa{
432 color: #20a68a !important;
434.bg-infobox-bank_account i.fa{
435 color: #b0a53e !important;
437.bg-infobox-adherent i.fa, .bg-infobox-member i.fa{
438 color: #755114 !important;
440.bg-infobox-expensereport i.fa{
441 color: #755114 !important;
443.bg-infobox-holiday i.fa{
444 color: #755114 !important;
448.fa-dol-action:before {
451.fa-dol-propal:before,
452.fa-dol-supplier_proposal:before {
455.fa-dol-facture:before,
456.fa-dol-invoice_supplier:before {
459.fa-dol-project:before {
462.fa-dol-commande:before,
463.fa-dol-order_supplier:before {
466.fa-dol-contrat:before {
469.fa-dol-ticket:before {
472.fa-dol-bank_account:before {
475.fa-dol-member:before {
478.fa-dol-expensereport:before {
481.fa-dol-holiday:before {
487.info-box-weather .info-box-icon{
488 background: var(--colorbacktitle1) !important;
490.fa-weather-level0:before{
494.fa-weather-level1:before{
498.fa-weather-level2:before{
502.fa-weather-level3:before{
506.fa-weather-level4:before{
554 flex-grow: 0 !important;
563 margin: 5px 0px 0px 15px;
565.box-flex-item.filler{
566 margin: 0px 0px 0px 15px !important;
571 width: calc(100% - 20px);
577.info-box-module .info-box-content {
584@media only screen and (max-width: 1740px) {
590@media only screen and (max-width: 767px) {
594 .info-box-sm .info-box-icon {
597 .info-box-sm .info-box-content {
print $script_file $mode $langs defaultlang(is_numeric($duration_value) ? " delay=". $duration_value :"").(is_numeric($duration_value2) ? " after cd cd cd description as description
Only used if Module[ID]Desc translation string is not found.
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.