fix: correções Baixo da auditoria (escaping, dvh, transições, assets)
Fecha os itens 3.2.2, 3.3.1, 4.6, 5.2, 5.6, 5.7 e 7.4 do relatório de auditoria de 2026-09-24: escapa saídas de site_img_url()/canonical, valida identificadores de coluna em db_info_save(), troca 100vh por 100dvh, remove a última cor solta, encurta a transição para ~150ms, acrescenta decoding=async/fetchpriority=high nas imagens da home, e documenta as versões vendorizadas em ASSETS.md. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fcf86b60ea
commit
5cf0f14ad2
11 files changed
+69
-25
No files matched your search
+11
-11
@@ -53,7 +53,7 @@
|
||||
--fitme-shadow: 0 2px 20px rgba(11, 11, 13, .07);
|
||||
--fitme-shadow-lg: 0 8px 40px rgba(11, 11, 13, .13);
|
||||
--fitme-radius: 2px;
|
||||
--fitme-transition: 0.25s ease;
|
||||
--fitme-transition: 0.15s ease;
|
||||
}
|
||||
|
||||
/* ── Bootstrap 4 Overrides ─────────────────────────────────────────────────── */
|
||||
@@ -449,7 +449,7 @@ section[id] {
|
||||
/* ── Hero ──────────────────────────────────────────────────────────────────── */
|
||||
.hero-section {
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -1968,7 +1968,7 @@ h3.contact-title {
|
||||
/* Hero */
|
||||
.hero-section {
|
||||
min-height: max(100svh, 500px);
|
||||
min-height: max(100vh, 500px);
|
||||
min-height: max(100dvh, 500px);
|
||||
}
|
||||
|
||||
.hero-text {
|
||||
@@ -2576,7 +2576,7 @@ h3.contact-title {
|
||||
max-width: 540px;
|
||||
min-height: 0;
|
||||
margin: 0 auto;
|
||||
max-height: calc(100vh - 48px);
|
||||
max-height: calc(100dvh - 48px);
|
||||
flex-direction: row;
|
||||
clip-path: none;
|
||||
transform: none;
|
||||
@@ -2600,7 +2600,7 @@ h3.contact-title {
|
||||
.md-card .ib-icon { width: 60px; height: 60px; margin-bottom: .8rem; }
|
||||
.md-card h3 { font-size: .95rem; }
|
||||
.md-body,
|
||||
.md-flip .md-body { max-height: calc(100vh - 48px); padding: 16px 16px 16px 14px; transform: none; }
|
||||
.md-flip .md-body { max-height: calc(100dvh - 48px); padding: 16px 16px 16px 14px; transform: none; }
|
||||
}
|
||||
|
||||
@media (max-width: 339px) {
|
||||
@@ -3127,7 +3127,7 @@ h3.contact-title {
|
||||
text-align: center;
|
||||
font-size: .85rem;
|
||||
font-weight: 600;
|
||||
color: #0B0B0D;
|
||||
color: var(--fitme-text);
|
||||
background: #ffd84d;
|
||||
}
|
||||
|
||||
@@ -3538,7 +3538,7 @@ h3.contact-title {
|
||||
max-width: 560px;
|
||||
min-height: 0;
|
||||
margin: 0 auto;
|
||||
max-height: calc(100vh - 48px);
|
||||
max-height: calc(100dvh - 48px);
|
||||
flex-direction: row;
|
||||
clip-path: none;
|
||||
transform: none;
|
||||
@@ -3561,7 +3561,7 @@ h3.contact-title {
|
||||
.td-photo { flex-basis: 34%; border-width: 3px; }
|
||||
.td-photo img { min-height: 180px; }
|
||||
.td-body,
|
||||
.td-flip .td-body { max-height: calc(100vh - 48px); padding: 16px 16px 16px 14px; transform: none; }
|
||||
.td-flip .td-body { max-height: calc(100dvh - 48px); padding: 16px 16px 16px 14px; transform: none; }
|
||||
}
|
||||
|
||||
@media (max-width: 339px) {
|
||||
@@ -4196,7 +4196,7 @@ h3.contact-title {
|
||||
/* Lightbox */
|
||||
.gal-lightbox {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
max-width: none;
|
||||
max-height: none;
|
||||
margin: 0;
|
||||
@@ -4219,7 +4219,7 @@ h3.contact-title {
|
||||
.gal-lb-figure {
|
||||
margin: 0;
|
||||
max-width: calc(100vw - 140px);
|
||||
max-height: calc(100vh - 80px);
|
||||
max-height: calc(100dvh - 80px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@@ -4227,7 +4227,7 @@ h3.contact-title {
|
||||
|
||||
.gal-lb-figure img {
|
||||
max-width: 100%;
|
||||
max-height: calc(100vh - 110px);
|
||||
max-height: calc(100dvh - 110px);
|
||||
object-fit: contain;
|
||||
border-radius: var(--fitme-radius);
|
||||
box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
|
||||
|
||||
Reference in new issue
Block a user