Files
telangpu b22e210ee5 update
2026-05-09 14:43:37 +08:00

266 lines
6.8 KiB
HTML

<footer class="etc-footer-template">
<div class="etc-scan-line"></div>
<div class="etc-footer-inner">
<div class="etc-footer-column brand-column">
<div class="etc-brand-placeholder"></div>
<div class="etc-text-block short"></div>
<div class="etc-text-block long"></div>
</div>
<div class="etc-footer-column nav-column">
<div class="etc-title-placeholder"></div>
<ul class="etc-link-list-placeholder">
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
<div class="etc-footer-column nav-column">
<div class="etc-title-placeholder"></div>
<ul class="etc-link-list-placeholder">
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
<div class="etc-footer-column info-column">
<div class="etc-title-placeholder"></div>
<div class="etc-text-block short"></div>
<div class="etc-icon-row-placeholder">
<div class="etc-icon-box"></div>
<div class="etc-icon-box"></div>
<div class="etc-icon-box"></div>
</div>
</div>
</div>
<div class="etc-footer-bottom-bar">
<div class="etc-footer-inner bottom-content">
<div class="etc-text-block short legal-placeholder"></div>
<div class="etc-legal-links-placeholder">
<span></span>
<span></span>
<span></span>
</div>
</div>
</div>
</footer>
<style>
/* CSS Variables for "Generic ETC" Theme
Theme: Corporate Technology / Seamless Flow
*/
.etc-footer-template {
--etc-main-bg: #0d1117; /* Deep corporate navy/black */
--etc-accent: #00e5ff; /* Bright "Scan Cyan" for highlights */
--etc-text-dark: #64748b; /* Muted gray for placeholder elements */
--etc-text-light: #f8fafc; /* High contrast for accent text */
--etc-border: rgba(100, 116, 139, 0.2); /* Subtle separators */
--etc-column-gap: 48px;
width: 100%;
background-color: var(--etc-main-bg);
color: var(--etc-text-dark);
font-family: system-ui, -apple-system, sans-serif; /* Clean, default font */
box-sizing: border-box;
display: flex;
flex-direction: column;
padding-top: 0; /* The scan line is at the top */
}
/* Apply border-box to all children for predictable padding */
.etc-footer-template * {
box-sizing: border-box;
}
/* Top Scanning Line Decorator
Creates a gradient "lane" or "scan ray" effect.
*/
.etc-scan-line {
width: 100%;
height: 3px;
background: linear-gradient(
90deg,
var(--etc-main-bg) 0%,
var(--etc-accent) 25%,
var(--etc-accent) 75%,
var(--etc-main-bg) 100%
);
box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}
/* Inner container to center content and control max width */
.etc-footer-inner {
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 60px 40px;
display: grid;
/* Main columns: Brand is wider, navs are narrow, info is balanced */
grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
gap: var(--etc-column-gap);
}
.etc-footer-column {
display: flex;
flex-direction: column;
}
/* Shared Placeholder Styling
All text/block placeholders are muted gray but change on hover.
*/
.etc-title-placeholder,
.etc-text-block,
.etc-link-list-placeholder li,
.etc-icon-box,
.etc-brand-placeholder,
.etc-legal-links-placeholder span {
background-color: var(--etc-text-dark);
border-radius: 4px; /* Soft corners */
transition: all 0.3s ease-in-out;
opacity: 0.6; /* Starts muted */
}
/* Interactions: On hover, they brighten and gain a cyan glow */
.etc-footer-template:hover .etc-title-placeholder,
.etc-footer-template:hover .etc-text-block,
.etc-footer-template:hover .etc-link-list-placeholder li,
.etc-footer-template:hover .etc-icon-box,
.etc-footer-template:hover .etc-brand-placeholder,
.etc-footer-template:hover .etc-legal-links-placeholder span {
background-color: #fff; /* Title/text turn white */
opacity: 1;
box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}
/* Brand Column (Left) */
.etc-brand-placeholder {
width: 140px;
height: 32px;
margin-bottom: 24px;
position: relative;
}
/* Small "logo indicator" pseudo-element */
.etc-brand-placeholder::after {
content: '';
position: absolute;
top: 5px;
left: 5px;
width: 20px;
height: 20px;
background: var(--etc-accent);
border-radius: 3px;
}
/* Text Blocks */
.etc-text-block {
height: 14px;
margin-bottom: 12px;
}
.etc-text-block.short { width: 60%; }
.etc-text-block.long { width: 90%; }
/* Title Placeholders */
.etc-title-placeholder {
width: 45%;
height: 18px;
margin-bottom: 30px; /* Space before links */
}
/* Link Lists */
.etc-link-list-placeholder {
list-style: none;
padding: 0;
margin: 0;
}
.etc-link-list-placeholder li {
width: 70%;
height: 12px;
margin-bottom: 16px;
}
/* Staggered widths for natural look */
.etc-link-list-placeholder li:nth-child(even) { width: 85%; }
/* Icon Rows */
.etc-icon-row-placeholder {
display: flex;
gap: 16px;
margin-top: 20px;
}
.etc-icon-box {
width: 32px;
height: 32px;
border-radius: 6px;
}
/* Bottom Legal Bar */
.etc-footer-bottom-bar {
border-top: 1px solid var(--etc-border);
background-color: rgba(0, 0, 0, 0.2); /* Slightly darker than main bg */
}
.etc-footer-inner.bottom-content {
padding: 24px 40px; /* Compact padding */
display: flex;
justify-content: space-between;
align-items: center;
grid-template-columns: none; /* Override grid */
}
.etc-footer-template:hover .etc-footer-bottom-bar .etc-text-block,
.etc-footer-template:hover .etc-footer-bottom-bar .etc-legal-links-placeholder span {
background-color: var(--etc-text-dark); /* Less intense glow for legal */
color: var(--etc-text-dark);
opacity: 0.8;
}
.legal-placeholder {
width: 180px;
margin-bottom: 0; /* Align perfectly on bottom bar */
}
.etc-legal-links-placeholder {
display: flex;
gap: 32px;
}
.etc-legal-links-placeholder span {
width: 70px;
height: 10px;
}
/* Responsiveness: Mobile/Tablet Stacking */
@media (max-width: 992px) {
.etc-footer-inner {
grid-template-columns: 1fr 1fr; /* 2x2 grid */
padding: 50px 20px;
gap: 32px;
}
}
@media (max-width: 576px) {
.etc-footer-inner {
grid-template-columns: 1fr; /* Single column stacking */
gap: 40px;
}
.etc-footer-inner.bottom-content {
flex-direction: column; /* Stack legal elements */
gap: 20px;
text-align: center;
}
.legal-placeholder { width: 100%; max-width: 250px; }
.etc-legal-links-placeholder { justify-content: center; width: 100%; }
}
</style>