| |
| @use "attribution-inspector"; |
| @use "breakpoints" as *; |
|
|
| |
| @media (min-width: $breakpoint-tablet) { |
| html:not([data-force-narrow]) .right_panel > #results.attribution-inspector-surface { |
| flex: 0 0 auto; |
| min-height: 350px; |
| } |
|
|
| html:not([data-force-narrow]) .right_panel > #attribution_debug_container { |
| flex: 0 0 auto; |
| } |
| } |
|
|
| |
| #attribution_cached_history_dropdown.semantic-search-history-dropdown { |
| max-height: min(32vh, 360px); |
| resize: vertical; |
| overflow-y: auto; |
| } |
|
|
| #attribution_result_info { |
| white-space: pre-line; |
| text-align: center; |
| } |
|
|
| |
| .attribution-target-panel { |
| margin-top: 12px; |
| } |
|
|
| |
| .attribution-target-panel .textarea-wrapper textarea { |
| height: 60px; |
| } |
|
|
| |
| .attribution-max-score-row { |
| margin-top: 10px; |
| flex-wrap: wrap; |
| } |
|
|
| .attribution-use-mapping-label { |
| display: inline-flex; |
| align-items: center; |
| gap: 6px; |
| font-size: inherit; |
| cursor: pointer; |
| user-select: none; |
| } |
|
|
| .attribution-max-score-slider-group { |
| flex: 1 1 180px; |
| min-width: 0; |
| } |
|
|
| .attribution-max-score-range { |
| flex: 1 1 auto; |
| min-width: 80px; |
| max-width: 220px; |
| vertical-align: middle; |
| } |
|
|
| |
| .attribution-max-score-row.semantic-submode-row { |
| .semantic-submode-label { |
| font-size: inherit; |
| } |
|
|
| .attribution-max-score-value { |
| font-size: inherit; |
| font-variant-numeric: tabular-nums; |
| min-width: 2.5em; |
| text-align: right; |
| } |
|
|
| &:not(:has(#attribution_use_mapping:checked)) { |
| .attribution-max-score-slider-group .semantic-submode-label, |
| .attribution-max-score-value { |
| color: var(--text-muted); |
| } |
| } |
|
|
| &:has(#attribution_use_mapping:checked) { |
| .attribution-max-score-slider-group .semantic-submode-label, |
| .attribution-max-score-value { |
| color: var(--text-primary); |
| } |
| } |
| } |
|
|
| .attribution-exclude-prompt-patterns-row { |
| margin-top: 10px; |
| display: flex; |
| flex-direction: column; |
| gap: 4px; |
| } |
|
|
| |
| .attribution-exclude-prompt-patterns-header { |
| flex-wrap: wrap; |
|
|
| &:not(:has(#attribution_exclude_prompt_patterns_enable:checked)) .semantic-submode-label { |
| color: var(--text-muted); |
| } |
|
|
| &:has(#attribution_exclude_prompt_patterns_enable:checked) .semantic-submode-label { |
| color: var(--text-primary); |
| } |
| } |
|
|
| .attribution-exclude-prompt-patterns-input { |
| width: 100%; |
| box-sizing: border-box; |
| font-size: 9pt; |
| padding: 6px 8px; |
| border: 1px solid var(--input-border); |
| border-radius: 4px; |
| background: var(--input-bg); |
| color: var(--text-color); |
|
|
| &:disabled { |
| opacity: 0.55; |
| cursor: not-allowed; |
| } |
| } |
|
|