Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Magnetic Pull Accordion — Minimalist Tech

A highly lightweight, dependency-free CSS accordion featuring a micro-interaction pull layout model designed for minimalist developer layouts.

## Implementation Details
- **Kinetic Pull Displacement**: Utilizes coordinated transform baselines to transition inner text blocks up from an offset scale value.
- **Pure-CSS State Engine**: Toggles expand states using standard radio input groupings.
- **Performance Optimized**: Computes transforms directly on the compositing layer to bypass render paint pipelines.
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Magnetic Pull Accordion - Minimalist Tech</title>
<link rel="stylesheet" href="../../../../core/easemotion.css">
<link rel="stylesheet" href="style.css">
</head>
<body>

<div class="tech-layout">
<header class="tech-header">
<span class="tech-serial">SPEC_REVISION // AX-33140</span>
<h2>CORE MODULE ENVIRONMENT</h2>
</header>

<div class="magnetic-accordion">
<!-- Section 1 -->
<div class="accordion-row">
<input type="radio" name="tech-accordion" id="row-1" checked>
<label for="row-1" class="row-trigger">
<span class="row-num">01.</span>
<span class="row-label">NETWORK CONFIGURATION</span>
<span class="row-arrow"></span>
</label>
<div class="row-content">
<div class="pull-inner-container">
<p>Deploying end-to-end encryption schemas across edge infrastructure nodes. Direct traffic channels map safely into runtime secure zones without persistent socket caching dependencies.</p>
</div>
</div>
</div>

<!-- Section 2 -->
<div class="accordion-row">
<input type="radio" name="tech-accordion" id="row-2">
<label for="row-2" class="row-trigger">
<span class="row-num">02.</span>
<span class="row-label">STORAGE MANAGEMENT</span>
<span class="row-arrow"></span>
</label>
<div class="row-content">
<div class="pull-inner-container">
<p>Dynamic block sizing arrays active across isolated volume paths. Over-provisioning bounds hold stable underneath high IOPS read-write performance metrics.</p>
</div>
</div>
</div>
</div>
</div>

</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
body {
background: #0d0e12;
color: #e3e6ed;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
padding: 60px 20px;
margin: 0;
}

.tech-layout {
max-width: 580px;
margin: 0 auto;
}

.tech-header {
margin-bottom: 28px;
}

.tech-serial {
color: #00fa9a;
font-family: monospace;
font-size: 12px;
letter-spacing: 1px;
}

h2 {
margin: 4px 0 0 0;
font-size: 22px;
font-weight: 700;
letter-spacing: -0.5px;
}

.magnetic-accordion {
border-top: 1px solid #1f2330;
}

.accordion-row {
border-bottom: 1px solid #1f2330;
}

.accordion-row input[type="radio"] {
display: none;
}

.row-trigger {
display: flex;
align-items: center;
padding: 22px 8px;
cursor: pointer;
user-select: none;
transition: background 0.2s ease;
}

.row-trigger:hover {
background: #14161f;
}

.row-num {
font-family: monospace;
color: #616982;
margin-right: 16px;
font-size: 14px;
}

.row-label {
flex-grow: 1;
font-size: 14px;
font-weight: 600;
letter-spacing: 0.5px;
transition: color 0.25s ease;
}

.row-arrow {
width: 6px;
height: 6px;
border-right: 2px solid #4d546a;
border-bottom: 2px solid #4d546a;
transform: rotate(-45deg);
transition: transform 0.3s cubic-bezier(0.25, 1.4, 0.45, 1), border-color 0.25s ease;
}

.row-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.pull-inner-container {
padding: 4px 8px 24px 40px;
opacity: 0;
transform: translateY(30px) scale(0.97);
transition: transform 0.45s cubic-bezier(0.25, 1.4, 0.45, 1), opacity 0.3s ease;
}

.pull-inner-container p {
margin: 0;
font-size: 13px;
line-height: 1.6;
color: #8a92a6;
}

input[type="radio"]:checked ~ .row-content {
max-height: 140px;
}

input[type="radio"]:checked ~ .row-content .pull-inner-container {
opacity: 1;
transform: translateY(0) scale(1);
}

input[type="radio"]:checked ~ .row-trigger .row-label {
color: #00fa9a;
}

input[type="radio"]:checked ~ .row-trigger .row-arrow {
transform: rotate(45deg);
border-color: #00fa9a;
}
Loading