Skip to main content

New Commit: added accessibility laws Signed-off-by: Hesten Berger

Repository: Hestenb62/_legacy_backup

Author: Hesten Berger

Commit Message: added accessibility laws Signed-off-by: Hesten Berger

URL: https://github.com/Hestenb62/_legacy_backup/commit/c7e6b1c83831f5d650f4f2043c595276b0f731f8

Code Changes:

diff --git a/assets/css/pages/accessibility.css b/assets/css/pages/accessibility.css
index feb3e88..91e0621 100644
--- a/assets/css/pages/accessibility.css
+++ b/assets/css/pages/accessibility.css
@@ -454,6 +454,523 @@
         border: 1px solid #ffffff !important;
     }
 
+    /* Compliance Statement & Inline (i) Info Buttons */
+    .compliance-statement-lead {
+        font-size: 1.05rem;
+        line-height: 1.8;
+        color: var(--color-text-main);
+        margin-bottom: 1rem;
+    }
+
+    .compliance-term-wrap {
+        display: inline-flex;
+        align-items: center;
+        gap: 0.35rem;
+        background: color-mix(in srgb, var(--color-primary) 8%, transparent);
+        padding: 0.15rem 0.5rem;
+        border-radius: 0.5rem;
+        border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
+        margin: 0 0.15rem;
+        white-space: nowrap;
+    }
+
+    .a11y-info-btn {
+        background: none;
+        border: none;
+        color: var(--color-primary, #3b82f6);
+        cursor: pointer;
+        padding: 0.15rem;
+        display: inline-flex;
+        align-items: center;
+        justify-content: center;
+        font-size: 0.95rem;
+        border-radius: 9999px;
+        transition: transform 0.15s ease, color 0.15s ease;
+    }
+
+    .a11y-info-btn:hover {
+        transform: scale(1.25);
+        color: #1d4ed8;
+    }
+
+    .a11y-info-btn:focus-visible {
+        outline: 2px solid var(--color-primary);
+        outline-offset: 2px;
+    }
+
+    /* Standards Research Modal */
+    .standards-modal-backdrop {
+        position: fixed;
+        inset: 0;
+        z-index: 1300;
+        background: rgba(15, 23, 42, 0.7);
+        backdrop-filter: blur(8px);
+        -webkit-backdrop-filter: blur(8px);
+        display: flex;
+        align-items: center;
+        justify-content: center;
+        padding: 1.25rem;
+        opacity: 1;
+        visibility: visible;
+        transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
+    }
+
+    .standards-modal-backdrop.hidden {
+        opacity: 0;
+        visibility: hidden;
+        pointer-events: none;
+    }
+
+    .standards-modal-panel {
+        background: var(--color-bg-surface, #ffffff);
+        color: var(--color-text-main, #0f172a);
+        border: 1px solid var(--color-border, #e2e8f0);
+        border-radius: 1.25rem;
+        width: 100%;
+        max-width: 860px;
+        height: 90vh;
+        max-height: 850px;
+        display: flex;
+        flex-direction: column;
+        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
+        overflow: hidden;
+        animation: standardsModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
+    }
+
+    @keyframes standardsModalPop {
+        from { transform: scale(0.96) translateY(16px); opacity: 0; }
+        to { transform: scale(1) translateY(0); opacity: 1; }
+    }
+
+    /* Modal Header */
+    .standards-modal-header {
+        display: flex;
+        align-items: center;
+        justify-content: space-between;
+        padding: 1.25rem 1.75rem;
+        background: var(--color-bg-subtle, #f8fafc);
+        border-bottom: 1px solid var(--color-border, #e2e8f0);
+        gap: 1rem;
+    }
+
+    .standards-header-info {
+        display: flex;
+        flex-direction: column;
+        gap: 0.25rem;
+    }
+
+    .standards-type-badge {
+        font-size: 0.7rem;
+        font-weight: 700;
+        text-transform: uppercase;
+        letter-spacing: 0.05em;
+        color: var(--color-primary, #3b82f6);
+    }
+
+    .standards-modal-header h2 {
+        font-size: 1.25rem;
+        font-weight: 800;
+        margin: 0;
+        line-height: 1.2;
+    }
+
+    .standards-header-actions {
+        display: flex;
+        align-items: center;
+        gap: 0.75rem;
+    }
+
+    .standards-action-btn {
+        display: inline-flex;
+        align-items: center;
+        gap: 0.4rem;
+        padding: 0.45rem 0.85rem;
+        font-size: 0.8125rem;
+        font-weight: 600;
+        background: var(--color-bg-surface);
+        border: 1px solid var(--color-border);
+        border-radius: 0.5rem;
+        cursor: pointer;
+        color: var(--color-text-main);
+        transition: all 0.15s ease;
+    }
+
+    .standards-action-btn:hover {
+        background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg-surface));
+        border-color: var(--color-primary);
+        color: var(--color-primary);
+    }
+
+    .standards-close-btn {
+        background: none;
+        border: none;
+        font-size: 1.25rem;
+        color: var(--color-text-muted);
+        cursor: pointer;
+        padding: 0.5rem;
+        border-radius: 0.5rem;
+        display: flex;
+        align-items: center;
+        justify-content: center;
+        transition: all 0.15s ease;
+    }
+
+    .standards-close-btn:hover {
+        background: var(--color-bg-surface-hover, rgba(0, 0, 0, 0.06));
+        color: var(--color-text-main);
+    }
+
+    /* Modal Navigation Tabs */
+    .standards-modal-tabs {
+        display: flex;
+        background: var(--color-bg-subtle, #f8fafc);
+        border-bottom: 1px solid var(--color-border);
+        padding: 0 1.75rem;
+        gap: 0.5rem;
+    }
+
+    .standards-tab {
+        background: none;
+        border: none;
+        border-bottom: 2px solid transparent;
+        padding: 0.85rem 1rem;
+        font-size: 0.875rem;
+        font-weight: 600;
+        color: var(--color-text-muted);
+        cursor: pointer;
+        display: inline-flex;
+        align-items: center;
+        gap: 0.5rem;
+        transition: all 0.2s ease;
+    }
+
+    .standards-tab:hover {
+        color: var(--color-primary);
+    }
+
+    .standards-tab.is-active {
+        color: var(--color-primary);
+        border-bottom-color: var(--color-primary);
+    }
+
+    /* Modal Body */
+    .standards-modal-body {
+        flex: 1;
+        overflow-y: auto;
+        padding: 1.5rem 1.75rem;
+        display: flex;
+        flex-direction: column;
+    }
+
+    .standards-tab-content {
+        display: none;
+        flex-direction: column;
+        gap: 1.25rem;
+    }
+
+    .standards-tab-content.is-active {
+        display: flex;
+    }
+
+    /* Overview Content */
+    .overview-grid {
+        display: flex;
+        flex-direction: column;
+        gap: 1.25rem;
+    }
+
+    .overview-card {
+        background: var(--color-bg-subtle, #f8fafc);
+        border: 1px solid var(--color-border);
+        border-radius: 1rem;
+        padding: 1.25rem 1.5rem;
+    }
+
+    .overview-card-title {
+        font-size: 0.95rem;
+        font-weight: 700;
+        margin: 0 0 0.5rem 0;
+        color: var(--color-text-main);
+        display: flex;
+        align-items: center;
+        gap: 0.5rem;
+    }
+
+    .overview-card-title i {
+        color: var(--color-primary);
+    }
+
+    .overview-card-body {
+        font-size: 0.875rem;
+        line-height: 1.6;
+        color: var(--color-text-muted);
+        margin: 0;
+    }
+
+    /* Verbatim Text View & Search */
+    .standards-search-bar {
+        display: flex;
+        align-items: center;
+        gap: 0.75rem;
+        background: var(--color-bg-subtle, #f8fafc);
+        border: 1px solid var(--color-border);
+        border-radius: 0.75rem;
+        padding: 0.5rem 1rem;
+        margin-bottom: 1rem;
+    }
+
+    .standards-search-bar i {
+        color: var(--color-text-muted);
+    }
+
+    .standards-search-input {
+        background: transparent;
+        border: none;
+        color: var(--color-text-main);
+        font-size: 0.875rem;
+        width: 100%;
+        outline: none;
+    }
+
+    .standards-search-counter {
+        font-size: 0.75rem;
+        color: var(--color-text-muted);
+        white-space: nowrap;
+    }
+
+    .standards-verbatim-container {
+        flex: 1;
+        overflow-y: auto;
+        background: var(--color-bg-surface);
+        border: 1px solid var(--color-border);
+        border-radius: 0.875rem;
+        padding: 1.5rem;
+        font-size: 0.9rem;

Popular Posts

New Commit: fixed theme issues

Repository: Hestenb62/_legacy_backup Author: Hesten Berger Commit Message: fixed theme issues URL: https://github.com/Hestenb62/_legacy_backup/commit/498741f8c633ecaf6e7e594bb0aed02c47e69b39 Code Changes: diff --git a/assessment/index.php b/assessment/index.php index 822865b..5e8b706 100644 --- a/assessment/index.php +++ b/assessment/index.php @@ -264,7 +264,7 @@ include '../src/header.php'; </div> <!-- Hint Modal (Inline) --> - <div id="hintText" class="hint-box" style="display: none;"> + <div id="hintText" class="hint-box hidden"> <strong>Hint:</strong> <span id="hint-content"></span> </div> </div> diff --git a/assets/css/pages/assessment.css b/assets/css/pages/assessment.css index b57e964..7eb0d74 100644 --- a/assets/c...

New Commit: added arura mesh

Repository: Hestenb62/_legacy_backup Author: Hesten Berger Commit Message: added arura mesh URL: https://github.com/Hestenb62/_legacy_backup/commit/d8a9c63f2df943f6e40651985fb1c273c5809dd4 Code Changes: diff --git a/assets/css/level-style.css b/assets/css/level-style.css index ed8b60b..49cddf7 100644 --- a/assets/css/level-style.css +++ b/assets/css/level-style.css @@ -100,6 +100,8 @@ h1, h2, h3, h4 { padding: 4rem 1rem 3rem 1rem; background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); border-bottom: 1px solid var(--glass-border); + position: relative; + overflow: hidden; } .hero-inner { @@ -111,6 +113,78 @@ h1, h2, h3, h4 { flex-wrap: wrap; gap: 1.5rem; animation: fadeUp 0.6s ease-out; + position: relative; + z-index: 2; +} + +/* Aurora Mesh Background for Level Hero */ +.level-aurora-bg { + position: absolute; + inset: 0; + overflow: hidden; + pointer-events: none; + z-index: 1; +} + +....

New Commit: Add JSON lesson migration and renderer scaffold Introduces a first-pass migration pipeline from PHP lesson files to structured JSON with `migrate_lessons.php`, and adds a generated `assets/data/lessons.json` catalog containing extracted metadata plus manual-migration placeholders for complex interactive content. Adds a new universal `src/lesson_renderer.php` to render lessons from JSON, along with initial component templates (`interactive-ladder` and `teacher-concepts`) for modular block rendering. Also includes `audit_report.html` documenting current security, accessibility, and architecture findings that motivated the move toward a template-driven lesson system.

Repository: Hestenb62/_legacy_backup Author: Hesten Berger Commit Message: Add JSON lesson migration and renderer scaffold Introduces a first-pass migration pipeline from PHP lesson files to structured JSON with , and adds a generated catalog containing extracted metadata plus manual-migration placeholders for complex interactive content. Adds a new universal to render lessons from JSON, along with initial component templates ( and ) for modular block rendering. Also includes documenting current security, accessibility, and architecture findings that motivated the move toward a template-driven lesson system. URL: https://github.com/Hestenb62/_legacy_backup/commit/f0c974b613ed65b7edcb712abb88bfae61ef0df5 Code Changes: diff --git a/assets/data/lessons.json b/assets/data/lessons.json new file mode 100644 index 0000000..0389666 --- /dev/null +++ b/assets/data/lessons.json @@ -0,0 +1,2835 @@ +{ + "lessons": { + "k-ela-m1-a-1": { + ...