9 directories, 58 files

tinai

Home / tinai
/* Index lists: content column and center index items, trigger buttons, toolbar rows, counts and loading indicators. */

/* Shared 18pt toolbar button/select sizing for the toolbar rows */
.div-structure-content-options button,
.div-structure-content-options select,
.div-structure-center-index-options button,
.div-structure-center-index-options select,
.div-structure-center-document-options button,
.div-structure-center-document-options select {
	height: 18pt;
	font-size: 8pt;
	text-transform: uppercase;
	line-height: 9pt;
	border: 1pt solid var(--AC-btn);
	border-radius: var(--DM-margin-q);
	padding: var(--DM-margin-q);
	min-width: 3em;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.div-structure-center-index-options button,
.div-structure-center-index-options select,
.div-structure-center-document-options button,
.div-structure-center-document-options select {
	text-align: center;
}

.div-structure-content-options{
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    grid-column-gap: var(--DM-margin-q);
    background-color: var(--BG-panel);
    margin: 0 0 var(--DM-margin-h) 0;
    padding: var(--DM-margin-h) var(--DM-margin);
}

.div-structure-center-index-options, .div-structure-center-document-options {
    display: grid;
    grid-template-columns: auto auto auto 0.5em auto;
    grid-column-gap: var(--DM-margin-q);
    background-color: var(--BG-panel);
    margin-bottom: var(--DM-margin-h);
    padding: var(--DM-margin-h) var(--DM-margin);
}

.div-structure-center-document-options {
    grid-template-columns: auto;
}

#id-div-document-type-label {
    font-size: 8pt;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 18pt;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#id-div-list,
#id-div-center-index-list{
    margin: var(--DM-margin-q) 0 var(--DM-margin-q) var(--DM-margin-q);
    min-width: 0;
    overflow: hidden;
}
.div-index-item {
    padding: var(--DM-margin-q);
    border: 1px solid var(--BD-panel-l);
    margin-bottom: var(--DM-margin-q);
    cursor: pointer;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.div-index-item:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 6px var(--BD-panel);
}

.div-index-item:focus {
    outline: 3px solid var(--BD-panel);
}

.btn-new-scratchpad,
.btn-new-conversation {
    width: 100%;
    height: 18pt;
    font-size: 8pt;
    text-transform: uppercase;
    font-weight: bold;
    border: 1pt solid var(--AC-btn);
    border-radius: var(--DM-margin-q);
    padding: var(--DM-margin-q);
    cursor: pointer;
    background-color: var(--BG-panel);
    color: var(--AC-btn-text);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-bottom: var(--DM-margin-q);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

select.btn-new-document {
    /* !important required: Chromium base-select ignores the flex display on first paint otherwise */
    display: flex !important;
    justify-content: center;
}

select.btn-new-document::picker-icon {
    margin-inline-start: 0.5em;
}

.div-index-new-row {
    display: flex;
    gap: var(--DM-margin-q);
    margin-bottom: var(--DM-margin-q);
}

.div-index-new-row .btn-new-conversation {
    flex: 1;
    width: auto;
    margin-bottom: 0;
}

.div-index-item-selected {
    background-color: var(--BG-panel2);
}

.div-index-item-flex {
    display: flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}
.index-item-icon {
    font-size: 0.8em;
    padding-right: var(--DM-margin-q);
    flex-shrink: 0;
}
.index-item-checkbox-margin {
    margin-right: 8pt;
    flex-shrink: 0;
}
.index-item-text-grow {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}
.index-item-count {
    font-size: 0.8em;
    opacity: 0.6;
    margin-left: var(--DM-margin-q);
    flex-shrink: 0;
}
.index-item-indicator,
.index-item-spinner {
    font-size: 0.85em;
    margin-left: auto;
    margin-right: var(--DM-margin-q);
    color: var(--AC-trim);
    animation: index-pulse 1.2s ease-in-out infinite;
    display: inline-block;
    flex-shrink: 0;
    line-height: 1;
}
.div-index-item-loading {
    border-color: var(--AC-trim);
}
@keyframes index-pulse {
    0%, 100% {
        opacity: 0.15;
    }
    50% {
        opacity: 1;
    }
}

.div-index-archive-header {
    margin: var(--DM-margin-h) var(--DM-margin-q);
}
.div-index-archive-empty {
    opacity: 0.5;
}
.bookmark-icon-active {
    opacity: 1.0;
}

.bookmark-icon-inactive {
    opacity: 0.2;
}
🌐
index-lists.css ×
Type: Web, text/plain
4.77 Kilobytes
Last Modified 2026-11-04 09:48:28
⬇ Download File