prova shrink immagini macchine

This commit is contained in:
zaccaria.majid
2023-10-12 09:23:22 +02:00
parent 7bb8903a3c
commit 546600b0e0
10 changed files with 31 additions and 10 deletions
+3 -2
View File
@@ -105,8 +105,9 @@ else
</div>
</div>*@
<div class="card shadow" @onclick="ShowDetail">
<img src="@ImgUrlMacc(RecMSE.Url)" class="card-img-top" alt="@RecMSE.CodMacchina" style="height: 119px; object-fit: cover">
<div class="m-1 bg-black">
@*<img src="@ImgUrlMacc(RecMSE.Url)" class="card-img-top imgFitToSize" alt="@RecMSE.CodMacchina">*@
<img src="@ImgUrlMacc(RecMSE.Url)" class="card-img-top imgFitToSize" alt="@RecMSE.CodMacchina">
<div class="bg-black">
<div class="card-img-overlay p-0 d-flex flex-row-reverse align-items-start rCTop">
<div class="labelTopDx px-2 w-100">
<div class="text-center fs-2 fw-bold">
+4 -2
View File
@@ -60,7 +60,8 @@ namespace MP_TAB_SERV.Components
string answ = "";
if (string.IsNullOrEmpty(url.ToString()))
{
url = "Steamware.png";
//url = "Steamware.png";
url = "SIMDP1.png";
}
// verifico esistenza macchina SMALL...
@@ -76,7 +77,8 @@ namespace MP_TAB_SERV.Components
// altrimenti metto default Steamware
if (!File.Exists(fullPath))
{
answ = "images/macchine/Steamware.png";
//answ = "images/macchine/Steamware.png";
answ = "images/macchine/SIMDP1.png";
}
return answ;
+10 -1
View File
@@ -74,4 +74,13 @@
color: #fff;
/*padding: 0px 4px 0px 4px;*/
}
/*end semafori */
/*end semafori */
.imgFitToSize {
height: 7.5rem;
object-fit: cover;
}
@media (max-width: 640.98px) {
.imgFitToSize {
height: 5rem;
}
}
@@ -83,5 +83,14 @@
}
/*end semafori */
.imgFitToSize {
height: 7.5rem;
object-fit: cover;
}
@media (max-width: 640.98px){
.imgFitToSize{
height: 5rem;
}
}
+1 -1
View File
@@ -1 +1 @@
.mapBlock{font-family:'Open Sans Condensed',sans-serif;color:#fff;background-image:linear-gradient(#111,#000);min-width:8em;}.labelTopDx{padding:.1em .4em;width:auto;min-height:0;top:0;left:auto;bottom:auto;color:#fff;background:#2200de;background:rgba(33,36,39,.7);-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit;-webkit-border-top-left-radius:inherit;border-top-left-radius:inherit;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;}.sVe{text-align:left;background:#009036;background:#198754;color:#fff;}.sGi{text-align:left;background:#ffec00;background:rgba(255,220,0,.6);color:#fff;}.sRo{text-align:left;background-color:#e2001a;background:rgba(240,0,10,.6);color:#fff;}.sBl{text-align:left;background:#3690ff;background:rgba(0,80,255,.6);color:#fff;}.sGr{text-align:left;background-color:#bcbcbc;background:rgba(180,180,180,.6);color:#fff;}
.mapBlock{font-family:'Open Sans Condensed',sans-serif;color:#fff;background-image:linear-gradient(#111,#000);min-width:8em;}.labelTopDx{padding:.1em .4em;width:auto;min-height:0;top:0;left:auto;bottom:auto;color:#fff;background:#2200de;background:rgba(33,36,39,.7);-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit;-webkit-border-top-left-radius:inherit;border-top-left-radius:inherit;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;}.sVe{text-align:left;background:#009036;background:#198754;color:#fff;}.sGi{text-align:left;background:#ffec00;background:rgba(255,220,0,.6);color:#fff;}.sRo{text-align:left;background-color:#e2001a;background:rgba(240,0,10,.6);color:#fff;}.sBl{text-align:left;background:#3690ff;background:rgba(0,80,255,.6);color:#fff;}.sGr{text-align:left;background-color:#bcbcbc;background:rgba(180,180,180,.6);color:#fff;}.imgFitToSize{height:7.5rem;object-fit:cover;}@media(max-width:640.98px){.imgFitToSize{height:5rem;}}
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>6.16.2310.1117</Version>
<Version>6.16.2310.1209</Version>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP_TAB_SERV</RootNamespace>
</PropertyGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2310.1117</h4>
<h4>Versione: 6.16.2310.1209</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2310.1117
6.16.2310.1209
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2310.1117</version>
<version>6.16.2310.1209</version>
<url>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/MP-TAB-SERV.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>
Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB