1 directories, 28 files

tinai

Home / testing / ai / tinai
@import url('https://fonts.googleapis.com/css2?family=Noto+Emoji:wght@600&display=swap');

/* Base Overrides */

body{
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: [BG-base];
    color: [FG-base];
}

code, pre{
    display: inline-block;
    word-wrap: normal;
    white-space: pre;
    background-color: [BG-panel];
    padding: 0 0.2em;
}

code{
    background-color: [BG-panel];
}

table{
    border: 1px solid [AC-trim];
}
table th,td{
    padding: 2pt;
}
thead{
    background-color: [BG-panel2];
}
input, button, textarea, select{
    background-color: [BG-base];
    color: [FG-base];
    padding: [DM-margin-q];
    border: 1pt solid [BG-panel2];
}
select, ::picker(select) {
    appearance: base-select;
    background-color: [BG-base];
    color: [FG-base];
}
select option:hover {
    background-color: [BG-panel2];
}
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid [AC-trim];
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    vertical-align: middle; /* Align with text */
    margin: 0 [DM-margin-q] 0 0;
}

input[type="checkbox"]:checked {
    background-color: [AC-trim]; /* Fill color when checked */
    border-color: [AC-trim];
}

input[type="checkbox"]:checked::after {
    font-family: "Noto Emoji";
    content: '✔'; /* Checkmark character */
    color: [BG-base]; /* Color of the checkmark */
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}
button:disabled{
    opacity: 0.6;
}

/* Libraries */

.hljs-addition, .hljs-attribute, .hljs-built_in, .hljs-bullet, .hljs-name, .hljs-string, .hljs-symbol, .hljs-template-tag, .hljs-template-variable, .hljs-title, .hljs-type, .hljs-variable {
    color: [AC-trim];
}

.hljs-link, .hljs-operator, .hljs-regexp, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-symbol, .hljs-template-variable, .hljs-variable {
    color: [AC-trim-dd];
}

.hljs-deletion, .hljs-number, .hljs-quote, .hljs-selector-class, .hljs-selector-id, .hljs-string, .hljs-template-tag, .hljs-type {
    color: [AC-trim-d];
    font-weight: bold;
}

.hljs {
    background: [BG-panel];
}

.code-block{
    display: block;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: [BG-panel] [BG-base];
}

.as-icon {
    font-family: 'Noto Emoji', sans-serif;
}

/* Page Structure */

.div-structure-page-container{
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100%;
}

.div-structure-header{
    padding: [DM-margin-q] [DM-margin-h];
    background-color: [BG-panel];
    button, select {
        height: 24pt;
        font-size: 8pt;
        text-transform: uppercase;
        line-height: 12pt;
        border: 1pt solid [AC-trim];
        border-radius: [DM-margin-q];
        padding: [DM-margin-q];
        min-width: 3em;
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    button {
        margin: 0 1em;
    }
    label {
        font-size: 13pt;
        margin-top: 16pt;
    }
}

.div-structure-header-inset {
    display: grid;
    grid-template-columns: auto 1fr auto;
}

.div-structure-body{
    display: grid;
    transition: grid-template-columns 0.3s ease-in-out;
}

.div-structure-left-inset{
    display: grid;
    grid-template-rows: 1fr;
    margin: [DM-margin] 0 [DM-margin] [DM-margin];
}

.div-structure-center-inset{
    display: grid;
    grid-template-rows: 1fr;
    margin: [DM-margin] 0 [DM-margin] [DM-margin];
}

.div-structure-right-inset{
    display: grid;
    grid-template-rows: 1fr;
    margin: [DM-margin];
}

.div-structure-left-conversations {
    display: grid;
    grid-template-rows: auto 1fr;
}

.div-structure-center-index {
    display: grid;
    grid-template-rows: auto 1fr;
}

.div-structure-right-chat{
    display: grid;
    grid-template-rows: auto auto 1fr auto;
}

.div-structure-index-list{
    background-color: [BG-panel];
    padding: [DM-margin];
}

.div-structure-center-index-list{
    background-color: [BG-panel];
    padding: [DM-margin];
}

.div-structure-index-list{
    background-color: [BG-panel];
    padding: [DM-margin];
}

.div-structure-center-index-list{
    background-color: [BG-panel];
    padding: [DM-margin];
}

.div-structure-chat-container{
    margin: 0 [DM-margin] [DM-margin] [DM-margin];
    background-color: [BG-base];
    button, select {
        height: 24pt;
        font-size: 8pt;
        text-transform: uppercase;
        line-height: 12pt;
        border: 1pt solid [AC-trim];
        border-radius: [DM-margin-q];
        padding: [DM-margin-q];
        min-width: 3em;
        cursor: pointer;
    }
    z-index: 10;
}

.div-index-container-scroll{
    height: 0;
    min-height: 100%;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: [BG-panel] [BG-base];
    display: grid;
    grid-template-rows: 1fr;
    background-color: [BG-base];
}

.div-center-index-container-scroll{
    height: 0;
    min-height: 100%;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: [BG-panel] [BG-base];
    display: grid;
    grid-template-rows: 1fr;
    background-color: [BG-base];
}

.div-chat-container-scroll, .div-chat-context-scroll, .div-chat-memory-scroll, .div-notebook-memory-scroll, .div-chat-document-scroll, .div-chat-diction-scroll {
    height: 0;
    min-height: 100%;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: [BG-panel] [BG-base];
    display: grid;
    grid-template-rows: 1fr auto;
    border: 1pt solid [AC-trim-l];
}



.div-structure-conversations-options{
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    grid-column-gap: [DM-margin-q];
    background-color: [BG-panel];
    margin: 0 0 [DM-margin-h] 0;
    padding: [DM-margin-h] [DM-margin];
    button, select {
        height: 18pt;
        font-size: 8pt;
        text-transform: uppercase;
        line-height: 9pt;
        border: 1pt solid [AC-trim];
        border-radius: [DM-margin-q];
        padding: [DM-margin-q];
        min-width: 3em;
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.div-structure-center-index-options, .div-structure-center-notebook-options {
    display: grid;
    grid-template-columns: auto auto auto 0.5em auto;
    grid-column-gap: [DM-margin-q];
    background-color: [BG-panel];
    margin-bottom: [DM-margin-h];
    padding: [DM-margin-h] [DM-margin];
    button, select {
        height: 18pt;
        font-size: 8pt;
        text-transform: uppercase;
        line-height: 9pt;
        border: 1pt solid [AC-trim];
        border-radius: [DM-margin-q];
        padding: [DM-margin-q];
        min-width: 3em;
        cursor: pointer;
        white-space: nowrap;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

#id-div-list{
    margin: [DM-margin-q] 0 [DM-margin-q] [DM-margin-q];
}

#id-div-center-index-list{
    margin: [DM-margin-q] 0 [DM-margin-q] [DM-margin-q];
}

.div-structure-body-left{
    display: grid;
    grid-template-rows: 1fr;
    overflow: hidden;
}

.div-structure-body-center{
    display: grid;
    grid-template-rows: 1fr;
    overflow: hidden;
}

.div-structure-body-right{
    display: grid;
    grid-template-rows: 1fr;
    overflow: hidden;
}

.div-chat-title-bar{
    padding: [DM-margin] [DM-margin] [DM-margin-q] [DM-margin];
    background-color: [BG-panel];
}

.div-chat-tab-bar, .div-notebook-tab-bar {
    margin: 0 [DM-margin];
}

.div-chat-tab-bar button, .div-notebook-tab-bar button {
    border: 1pt solid [AC-trim-l];
    border-bottom: none;
    border-radius: [DM-margin-q] [DM-margin-q] 0 0;
    padding: [DM-margin-q];
    cursor: pointer;
}

.div-chat-tab-bar button.active, .div-notebook-tab-bar button.active {
    border-color: [AC-trim];
    text-decoration: underline;
}

.div-structure-right-inset{
    display: grid;
    grid-template-rows: 1fr;
    margin: [DM-margin];
    background-color: [BG-panel];
}

.div-chat-container{
    padding: [DM-margin-h];
    min-width: 0;
}

#id-div-response-title {
    max-height: 2.0em;
    overflow: hidden;
    mask-image: linear-gradient(to right, black calc(100% - 3em), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 3em), transparent 100%);
    border-bottom: 1pt solid [AC-trim];
    cursor: pointer;
    padding-right: 2em;
}

#id-span-subtitle-toggle {
    float: right;
    cursor: pointer;
    margin-left: [DM-margin-q];
    transition: transform 0.3s ease-in-out;
}

#id-span-subtitle-toggle.rotated {
    transform: rotate(180deg);
}

#id-div-response-subtitle {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    margin-top: [DM-margin-q];
}

.div-chat-prompt-inset, .div-chat-context-inset, .div-chat-memory-inset {
    margin: 0 [DM-margin] [DM-margin-q] [DM-margin];
}

#id-prompt, .prompt-style-input {
	box-sizing: border-box;
	min-width: 100%;
	padding: [DM-margin-h];
	margin-bottom: [DM-margin-h];
    font-family: sans-serif;
    line-height: 1.5em;
    min-height: 2.5em;
    resize: vertical;
    scrollbar-width: thin;
    scrollbar-color: [BG-panel] [BG-base];
}

.div-index-item {
    padding: [DM-margin-q];
    border: 1px solid [AC-trim-l];
    margin-bottom: [DM-margin-q];
    cursor: pointer;
}

.div-index-item-selected {
    background-color: [BG-panel2];
}

.hr-chat-response-divider{
    background-color: [BG-panel2];
    border: none;
    padding: 0;
    margin: [DM-margin-q] 0;
}

.div-structure-footer{
    background-color: [BG-panel];
    padding: [DM-margin-q] [DM-margin-h];
}

.div-structure-body-v-i-c {
    grid-template-columns: 1fr 1fr 2fr 0fr;
}

.div-structure-body-v-c {
    grid-template-columns: 1fr 0fr 3fr 0fr;
}

.div-structure-body-i-c {
    grid-template-columns: 0fr 1fr 3fr 0fr;
}

.div-structure-body-c {
    grid-template-columns: 0fr 0fr 4fr 0fr;
}

.div-chat-header{
    font-size: 80%;
}

.div-chat-buttons{
	display: grid;
	grid-template-columns: 1fr 0.5em 1fr 1fr 0.5em 1fr;
    grid-column-gap: [DM-margin-q];
	align-items: center;
    button, select {
        height: 18pt;
        font-size: 8pt;
        text-transform: uppercase;
        line-height: 9pt;
        border: 1pt solid [AC-trim];
        border-radius: [DM-margin-q];
        padding: [DM-margin-s];
        min-width: 3em;
        cursor: pointer;
    }
}

.div-index-item-flex {
    display: flex;
    align-items: center;
}
.index-item-icon {
    font-size: 0.8em;
    padding-right: [DM-margin-q];
}
.index-item-checkbox-margin {
    margin-right: 8pt;
}
.index-item-text-grow {
    flex-grow: 1;
}
.div-index-archive-header {
    margin: [DM-Margin-h] [DM-margin-q];
}
.div-index-archive-empty {
    opacity: 0.5;
}

.div-scroll-container-inner{
    margin: [DM-margin-q];
}

.div-options-chips {
    margin-top: [DM-margin-h];
}

.span-query-chip {
    border-radius: 1em;
    padding: [DM-margin-s] [DM-margin-q];
    margin: 0 [DM-margin-q] 0 0;
    font-size: 80%;
    cursor: pointer;
}

.span-option-chip {
    border: 1px solid [AC-trim];
    border-radius: 1em;
    padding: [DM-margin-s] [DM-margin-q];
    margin: 0 [DM-margin-q] 0 0;
    font-size: 80%;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

.span-clickable-query {
    text-decoration: underline;
}

.consideration-item {
    border: 1px solid [AC-trim-l];
    padding: [DM-margin-q];
    margin-bottom: [DM-margin-q];
    border-radius: [DM-margin-q];
}

/* Styles for input fields in admin_panel.php forms */
#id-form-admin-options input[type="text"],
#id-form-admin-options input[type="password"],
#id-form-admin-options input[type="email"],
#id-form-add-funds input[type="number"] {
    border: 1pt solid [AC-trim];
    border-radius: [DM-margin-q];
}


.div-chat-empty {
    min-height: 100%;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: [BG-panel] [BG-base];
    display: grid;
    grid-template-rows: auto;
    border: 1pt solid [AC-trim-l];
}

.div-chat-empty-header {
	padding: [DM-margin];
	background-color: [BG-panel];
}

.div-chat-empty-inset {
	display: grid;
	place-items: center;
	height: 80%;
    margin: [DM-margin];
}

@media screen and (max-width: 1560px) {

    .div-structure-body-v-i-c {
        grid-template-columns: 1fr 0fr 2fr 0fr;
    }
    .div-structure-body-v-c{
        grid-template-columns: 1fr 0fr 2fr 0fr;
    }
    .div-structure-body-i-c {
        grid-template-columns: 0fr 1fr 2fr 0fr;
    }
    .div-structure-body-c {
        grid-template-columns: 0fr 0fr 3fr 0fr;
    }

    .div-structure-conversations-options {
        margin: 0;
    }

    .div-structure-center-index-options {
        margin: 0;
    }

    .div-structure-left-inset {
        margin: 0;
    }

    .div-structure-center-inset {
        margin: 0;
    }

    .div-structure-right-inset {
        margin: 0;
    }

    .div-structure-index-list {
        padding: 0 [DM-margin-h];
    }

    .div-structure-center-index-list {
        padding: 0 [DM-margin-h];
    }

}

@media screen and (max-width: 780px) {

    .div-structure-body-v-i-c {
        grid-template-columns: 0fr 0fr 1fr 0fr;
    }
    .div-structure-body-v-c{
        grid-template-columns: 1fr 0fr 0fr 0fr;
    }
    .div-structure-body-i-c {
        grid-template-columns: 0fr 1fr 0fr 0fr;
    }
    .div-structure-body-c {
        grid-template-columns: 0fr 0fr 1fr 0fr;
    }

}

@media screen and (max-width: 499px) {
	body {
		font-size: 85%;
	}
}

/* Dialogs */

.div-structure-dialog-overlay{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: [FG-base]22;
    backdrop-filter: blur(3pt);
    display: none;
    z-index: 20;
}

.div-structure-dialogs-container {
    display: block;
    margin-left: 25%;
    margin-right: 25%;
    height: 100%;
    overflow-y: scroll;
    background-color: [BG-panel];
    padding: [DM-margin];
    scrollbar-width: thin;
    scrollbar-color: [BG-panel] [BG-base];
    border-left: 1pt solid [AC-trim];
    border-right: 1pt solid [AC-trim];
    button {
        height: 18pt;
        font-size: 8pt;
        text-transform: uppercase;
        line-height: 9pt;
        border: 1pt solid [AC-trim];
        border-radius: [DM-margin-q];
        padding: [DM-margin-s];
        min-width: 3em;
        cursor: pointer;
    }
}

.div-structure-dialogs-container fieldset{
    background-color: [BG-base];
    border: 1px solid [AC-trim];
    border-radius: 0.5em;
    padding: [DM-margin-h];
}

.div-structure-dialogs-container legend{
    display: block;
    width: calc( 100% + [DM-margin-q] + [DM-margin-q] + 0.5pt );
    background-color: [BG-panel2];
    margin: 0 calc( -[DM-margin-h] - 1pt );
    border: 1px solid [AC-trim];
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
    padding: [DM-margin-s] [DM-margin-q];
}

#id-form-app-options,
#id-form-conversation-options {
    display: none;
}

@media screen and (max-width: 1560px) {
    .div-structure-dialogs-container {
        margin-left: 15%;
        margin-right: 15%;
    }
}

@media screen and (max-width: 780px) {
    .div-structure-dialogs-container {
        margin-left: 0;
        margin-right: 0;
        border-left: none;
        border-right: none;
    }
}

.div-structure-dialogs-container form {
}

.div-structure-dialogs-container form button,
.div-structure-dialogs-container form select {
    height: 24pt;
    font-size: 8pt;
    text-transform: uppercase;
    line-height: 15pt;
    border: 1pt solid [AC-trim];
    border-radius: [DM-margin-q];
    padding: [DM-margin-q];
    min-width: 3em;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.div-structure-dialogs-container form input[type="text"],
.div-structure-dialogs-container form input[type="password"] {
    border: 1pt solid [AC-trim];
    border-radius: [DM-margin-q];
    padding: [DM-margin-q];
    margin-bottom: [DM-margin-h];
    box-sizing: border-box;
    min-width: 30%;
}

.div-structure-dialogs-container label {
    margin-bottom: [DM-margin-q];
    min-width: 20%;
    display: inline-block;
}

.div-structure-dialogs-container select {
    margin-bottom: [DM-margin-h];
}

.underlined-button {
    text-decoration: underline;
}
🌐
style.css ×
Type: Web, text/plain
16.16 Kilobytes
Last Modified 2026-05-04 01:36:10
⬇ Download File