fix(css): alvos de toque >=44px nos controlos reais (auditoria 4.4)
Corrige os controlos interativos (não o texto denso em grelha/rodapé, que fica para outra passagem): .navbar-toggler (40->44 de altura), .md-close/.td-close (26x28 -> 44x44, box explícita em vez de dimensionar pelo glifo), .schedule-dl-btn (padding compensado por margin negativa — o texto sublinhado não engorda visualmente), .sdf-btn (43->44, min-height), ícones sociais do rodapé (min 44x44). Medido com getBoundingClientRect() no site ao vivo a 375px antes e depois de aplicar. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
11b2906488
commit
90efdc4bc1
1 file changed
+30
-8
@@ -393,6 +393,11 @@ section[id] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ── Sticky Navbar ─────────────────────────────────────────────────────────── */
|
/* ── Sticky Navbar ─────────────────────────────────────────────────────────── */
|
||||||
|
.navbar-toggler {
|
||||||
|
min-width: 44px;
|
||||||
|
min-height: 44px;
|
||||||
|
}
|
||||||
|
|
||||||
.header-section {
|
.header-section {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -1462,6 +1467,11 @@ h3.contact-title {
|
|||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
.footer-social a {
|
.footer-social a {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
min-width: 44px;
|
||||||
|
min-height: 44px;
|
||||||
color: rgba(255, 255, 255, .6);
|
color: rgba(255, 255, 255, .6);
|
||||||
transition: color var(--fitme-transition), transform var(--fitme-transition);
|
transition: color var(--fitme-transition), transform var(--fitme-transition);
|
||||||
}
|
}
|
||||||
@@ -2554,16 +2564,20 @@ h3.contact-title {
|
|||||||
|
|
||||||
.md-close {
|
.md-close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 6px;
|
top: 0;
|
||||||
right: 10px;
|
right: 0;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
width: 44px;
|
||||||
|
height: 44px;
|
||||||
|
display: none;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
color: var(--fitme-text-muted);
|
color: var(--fitme-text-muted);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Touch / narrow: a centred fixed card over a dimmed page; main.js flies it
|
/* Touch / narrow: a centred fixed card over a dimmed page; main.js flies it
|
||||||
@@ -2597,7 +2611,7 @@ h3.contact-title {
|
|||||||
z-index: 29;
|
z-index: 29;
|
||||||
background: rgba(0, 0, 0, .55);
|
background: rgba(0, 0, 0, .55);
|
||||||
}
|
}
|
||||||
.md-close { display: block; }
|
.md-close { display: flex; }
|
||||||
.md-card { flex-basis: 120px; min-height: 0; padding: 18px 6px; justify-content: center; }
|
.md-card { flex-basis: 120px; min-height: 0; padding: 18px 6px; justify-content: center; }
|
||||||
.md-flip .md-card { border-left: 0; border-right: 4px solid var(--md-color, var(--fitme-accent)); }
|
.md-flip .md-card { border-left: 0; border-right: 4px solid var(--md-color, var(--fitme-accent)); }
|
||||||
.md-card .ib-icon { width: 60px; height: 60px; margin-bottom: .8rem; }
|
.md-card .ib-icon { width: 60px; height: 60px; margin-bottom: .8rem; }
|
||||||
@@ -2626,7 +2640,10 @@ h3.contact-title {
|
|||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: .85rem;
|
font-size: .85rem;
|
||||||
letter-spacing: .3px;
|
letter-spacing: .3px;
|
||||||
padding: 0;
|
/* Alvo de toque ≥44px sem engordar o visual: padding compensado por
|
||||||
|
margin negativa (o texto sublinhado fica do mesmo tamanho). */
|
||||||
|
padding: 11px 4px;
|
||||||
|
margin: -11px -4px;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
transition: color var(--fitme-transition);
|
transition: color var(--fitme-transition);
|
||||||
}
|
}
|
||||||
@@ -2727,6 +2744,7 @@ h3.contact-title {
|
|||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: .9rem;
|
font-size: .9rem;
|
||||||
padding: 9px 20px;
|
padding: 9px 20px;
|
||||||
|
min-height: 44px;
|
||||||
border-radius: var(--fitme-radius);
|
border-radius: var(--fitme-radius);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: border-color var(--fitme-transition), color var(--fitme-transition);
|
transition: border-color var(--fitme-transition), color var(--fitme-transition);
|
||||||
@@ -3523,9 +3541,13 @@ h3.contact-title {
|
|||||||
|
|
||||||
.td-close {
|
.td-close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 6px;
|
top: 0;
|
||||||
right: 10px;
|
right: 0;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
width: 44px;
|
||||||
|
height: 44px;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
@@ -3568,7 +3590,7 @@ h3.contact-title {
|
|||||||
z-index: 29;
|
z-index: 29;
|
||||||
background: rgba(0, 0, 0, .55);
|
background: rgba(0, 0, 0, .55);
|
||||||
}
|
}
|
||||||
.td-close { display: block; }
|
.td-close { display: flex; }
|
||||||
.td-photo { flex-basis: 34%; border-width: 3px; }
|
.td-photo { flex-basis: 34%; border-width: 3px; }
|
||||||
.td-photo img { min-height: 180px; }
|
.td-photo img { min-height: 180px; }
|
||||||
.td-body,
|
.td-body,
|
||||||
|
|||||||
Reference in new issue
Block a user