Aggiunta legenda in Scadenzario

This commit is contained in:
Pek5892 2024-05-14 11:56:16 +02:00
parent 4985df2ebc
commit 1d2d06b60d
2 changed files with 50 additions and 0 deletions

View File

@ -1162,6 +1162,25 @@ kbd{
background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 34%, rgba(204,204,204,1) 100%);
}
.legend {
clear: left;
}
.legend > .icon{
width: 18px;
height: 18px;
line-height: 30px;
border-radius: 18px;
float: left;
margin-right: 6px;
margin-bottom: 4px;
box-shadow: 0px 0px 3px #0000006c;
}
.legend > .text{
float: left;
}
@media (max-width: 480px) {
#main_loading>div>i {
font-size: 160px;

View File

@ -0,0 +1,31 @@
<?php
echo '
<div class="pull-left">
<h5>'.tr('Legenda').':</h5>
<div class="legend">
<div class="icon" style="background-color:#CCFFCC;"></div>
<div class="text">Scadenza pagata</div>
</div>
<div class="legend">
<div class="icon" style="background-color:#ec5353;"></div>
<div class="text">Data concordata superata</div>
</div>
<div class="legend">
<div class="icon" style="background-color:#b3d2e3;"></div>
<div class="text">Data concordata</div>
</div>
<div class="legend">
<div class="icon" style="background-color:#f08080;"></div>
<div class="text">Scaduta</div>
</div>
<div class="legend">
<div class="icon" style="background-color:#f9f9c6;"></div>
<div class="text">Scadenza entro 10 giorni</div>
</div>
<div class="legend">
<div class="icon" style="background-color:#ffffff;"></div>
<div class="text">Scadenza futura</div>
</div>
</div>';