fnsign_embedded-omnisearch/styles.css
2026-05-09 14:53:31 +02:00

216 lines
4 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* === Embedded Omnisearch Plugin Styles === */
/* --- Wrapper --- */
.eo-wrap {
margin: 16px 0 10px;
width: 100%;
box-sizing: border-box;
font-family: var(--font-interface);
}
/* --- Input --- */
.eo-input-wrap {
position: relative;
}
.eo-wrap input.omnisearch-input-field {
width: 100%;
box-sizing: border-box;
padding: 10px 44px 10px 12px;
border: 0;
border-radius: 6px;
background: var(--background-secondary);
color: var(--text-normal);
font-size: 0.8rem;
outline: none;
box-shadow: inset 0 0 0 1px var(--background-modifier-border);
}
.eo-wrap input.omnisearch-input-field:focus,
.eo-wrap input.omnisearch-input-field.has-value {
box-shadow: inset 0 0 0 3px var(--background-modifier-border-hover) !important;
}
.eo-wrap input.omnisearch-input-field::selection {
background: var(--text-selection);
}
/* --- Clear button --- */
.eo-clear {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
width: 20px;
height: 20px;
border-radius: 999px;
border: none;
background: transparent;
color: var(--text-muted);
cursor: pointer;
z-index: 10;
font-size: 12px;
line-height: 20px;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.15s;
}
.eo-clear:hover {
color: var(--text-normal);
background: transparent;
box-shadow: none;
}
/* --- Status --- */
.eo-status {
margin: 6px 0 0;
font-size: 0.85em;
color: var(--text-muted);
}
/* --- Results --- */
.eo-results {
margin-top: 8px;
width: 100%;
}
/* --- Results Table --- */
.eo-results-table {
width: 100%;
table-layout: fixed;
border-collapse: collapse;
border-spacing: 0;
margin: 0;
border: 0;
background: transparent;
}
.eo-results-table,
.eo-results-table thead,
.eo-results-table tbody,
.eo-results-table tr,
.eo-results-table th,
.eo-results-table td,
.eo-results-table colgroup,
.eo-results-table col {
border: 0 !important;
box-shadow: none !important;
background: transparent;
box-sizing: border-box;
}
.eo-col-file {
width: 24%;
}
.eo-col-score {
width: 8%;
}
.eo-col-preview {
width: 68%;
}
.eo-results-head-cell,
.eo-results-cell {
padding: 8px 10px;
vertical-align: top;
}
.eo-results-head-cell {
padding-top: 6px;
padding-bottom: 8px;
text-align: left;
font-size: 0.85em;
font-weight: 600;
color: var(--text-muted);
}
.eo-results-row:hover,
.eo-results-row:hover .eo-results-cell {
background: var(--background-secondary);
}
.eo-results-file,
.eo-results-preview {
overflow-wrap: anywhere;
}
.eo-results-link {
font-weight: 600;
text-decoration: none;
color: var(--text-normal);
}
.eo-results-link:hover {
text-decoration: underline;
color: var(--text-accent);
}
.eo-results-score,
.eo-results-head-score {
text-align: left;
color: var(--text-muted);
white-space: nowrap;
}
.eo-results-score {
font-size: 0.85em;
}
.eo-results-preview {
font-size: 0.9em;
line-height: 1.5;
color: var(--text-muted);
}
/* --- Pagination --- */
.eo-page-bar {
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
margin: 8px 0 0;
}
.eo-page-btn {
padding: 6px 16px;
border: 1px solid var(--background-modifier-border);
border-radius: 4px;
background: var(--background-secondary);
color: var(--text-normal);
cursor: pointer;
font-size: 1em;
transition: border-color 0.15s;
}
.eo-page-btn:hover:not(:disabled) {
border-color: var(--background-modifier-border-hover);
}
.eo-page-info {
font-size: 0.85em;
color: var(--text-muted);
min-width: 80px;
text-align: center;
}
/* --- Popover --- */
.eo-popover {
position: fixed;
padding: 4px 10px;
background: var(--background-secondary);
color: var(--text-muted);
border: 1px solid var(--background-modifier-border);
border-radius: 4px;
font-size: 0.8em;
pointer-events: none;
z-index: 9999;
max-width: 500px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}