rumtk-web 0.9.3

Web framework part of the RUMTK framework that attempts to simplify and expedite dashboard development in Healthcare.
Documentation
/*
 * rumtk attempts to implement HL7 and medical protocols for interoperability in medicine.
 * This toolkit aims to be reliable, simple, performant, and standards compliant.
 * Copyright (C) 2025  Luis M. Santos, M.D. <lsantos@medicalmasses.com>
 * Copyright (C) 2025  Ethan Dixon
 * Copyright (C) 2025  MedicalMasses L.L.C. <contact@medicalmasses.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

html, body {
    width: 100%;
    height: 100%;
}

pre {
    font-family: 'IBM Plex Sans', sans-serif;
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: normal;
    text-wrap: wrap;
    word-wrap: break-word;
}

textarea {
    max-width: 100%;
}

img {
    max-width: 100%;
}

header {
    padding: 5px;
}

main {
    flex: 1;

    width: 100%;
}

footer {
}

table td, table th {
    padding: 5px;
}

a {
    color: var(--color-link);
    font-weight: 900;
}

strong {
    font-weight: bold;
}

code {
    font-size: 100%;
    font-style: italic;
    font-weight: 500;
    background-color: var(--color-text-code);

    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

summary {
    display: flex;
    gap: 10px; /* Space between image and text */
}

details {
    /* Base width when collapsed, matching the summary */
    width: fit-content;
}

::details-content {
    /* Start with zero width */
    width: 0;
    overflow: hidden;
    white-space: nowrap; /* Prevent wrapping to keep width consistent */

    /* Smooth transition */
    transition: width 0.3s ease;
}

details[open]::details-content {
    /* Expand to fit content when open */
    width: auto;
}

details > summary::before {
    content: "";
    color: var(--color-bullet-text);
    display: inline-block;
    width: 20px; /* Adjust to match image width */
    height: 20px; /* Adjust to match image height */
    background-size: contain;
    background-repeat: no-repeat;
}

details[open] > summary::before {
    content: "";
    color: var(--color-bullet-text);
    display: inline-block;
    width: 20px; /* Adjust to match image width */
    height: 20px; /* Adjust to match image height */
    background-size: contain;
    background-repeat: no-repeat;
}

li::marker {
    color: var(--color-bullet-text);
}