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/>.
 */
.form-default-box {
    display: flex;
    flex-direction: column;

    max-width: 450px;

    box-sizing: border-box;
    height: 100%;
}

.form-default-contents {
    border-radius: 10px;

    width: 100%;

    padding: 16px;
}

.form-default-contents > h1 {
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;

    word-break: break-word;
    margin: 0 0 8px;
}

.form-default-contents > input,textarea {
    color: var(--color-text-default);
    background-color: var(--color-card-bg);

    outline: none;
    width: 100%;
    margin: 0;

    padding: 1px 8px;

    border: 1px solid var(--color-general-bg);
    border-radius: 4px;

    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;

    caret-color: var(--color-general-content-bg);
    line-height: 20px;
}

.form-default-contents > input:focus, textarea:focus {
    border-color: var(--color-general-content-bg);
}

.form-default-contents > input:hover, textarea:hover {
    border-color: var(--color-general-content-accent-bg);
}

.form-default-contents > textarea {
    min-height: 100px;
    height: 80px;
    max-height: 80px;

    margin-top: 10px;
    padding-top: 0;
    overflow: hidden;
    overflow-y: auto;
    resize: none;
}

.form-default-contents > input[type='submit'] {
    width: fit-content;

    border-radius: 5px;

    font-weight: bolder;

    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;

    background-color: var(--color-submit-bg);
    color: var(--color-text-title);
}

form:valid > input[type='submit']:not:disabled {
    opacity: 1.0;
    pointer-events: auto;
}

form:invalid > input[type='submit'] {
    opacity: 0.5;
    pointer-events: none;
}

form:valid > input[disabled] {
    opacity: 0.5;
    pointer-events: none;
}