Files
msos/css/components/_lang-banner.css
T
popovskikandClaude Opus 4.8 0052b38c1c
Deploy to Production on Develop Push / deploy (push) Successful in 22s
fix(qa2): responsive Latest-news/FAQ at tablet + muted-text contrast sweep
- Latest-news row and FAQ grid now go 3 -> 2 -> 1 columns (added a 1024px
  tablet step); .news-card drops its brittle fixed 405.33px width and fills a
  responsive grid cell. Fixes cramped 3-across cards on 769-1024px.
- Contrast: replace #98A2B3 text color (2.58:1 on white) with the palette
  muted #667085 (~4.8:1) across 13 CSS files (31 text-color uses; borders/
  backgrounds untouched, verified none on dark backgrounds).
- Re-stamped cache-bust (v=6770822f).

Note: the ~20px-looser header top-gap at 769-1024px is left as a minor,
lower-risk follow-up (would need a coordinated multi-page padding pass).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-27 19:33:31 +02:00

70 lines
1.9 KiB
CSS

/* ==========================================================================
Language suggestion banner (browser-language based, dismissible)
========================================================================== */
.lang-suggest {
position: fixed;
left: 50%;
bottom: 22px;
transform: translate(-50%, 24px);
z-index: 1200;
display: flex;
align-items: center;
gap: 12px;
max-width: calc(100% - 32px);
padding: 12px 12px 12px 16px;
background: #FFFFFF;
border: 1px solid #EAECF0;
border-radius: 12px;
box-shadow: 0 14px 40px rgba(16, 24, 40, 0.18);
font-size: 14px;
line-height: 1.4;
color: #344054;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.lang-suggest.is-visible {
opacity: 1;
visibility: visible;
transform: translate(-50%, 0);
}
.lang-suggest-text { margin: 0; }
.lang-suggest-btn {
flex-shrink: 0;
background: #2D738C;
color: #FFFFFF;
text-decoration: none;
padding: 8px 14px;
border-radius: 8px;
font-weight: 600;
white-space: nowrap;
}
.lang-suggest-btn:hover { background: #255E73; }
.lang-suggest-close {
flex-shrink: 0;
background: none;
border: none;
font-size: 22px;
line-height: 1;
color: #667085;
cursor: pointer;
padding: 0 4px;
}
.lang-suggest-close:hover { color: #475467; }
@media (max-width: 560px) {
.lang-suggest {
left: 16px;
right: 16px;
/* The Ask-MSOS pill now hides while this banner is up (see assistant.js),
so the banner can sit at the bottom without colliding with it. */
bottom: 16px;
transform: translateY(24px);
flex-wrap: wrap;
}
.lang-suggest.is-visible { transform: translateY(0); }
.lang-suggest-text { flex: 1 1 100%; order: 1; }
.lang-suggest-btn { order: 2; }
.lang-suggest-close { order: 3; margin-left: auto; }
}