Spaces:
Running
Running
Download src/DocumentChat.css from Ashish50514561/FR-Data-Analysis: direct link, hf CLI and curl.
- Browser
- Download file 6.16 kB
-
https://huggingface.co/spaces/Ashish50514561/FR-Data-Analysis/resolve/main/src/DocumentChat.css
- Command line
-
hf download hf://spaces/Ashish50514561/FR-Data-Analysis/src/DocumentChat.css
-
curl -L -o DocumentChat.css https://huggingface.co/spaces/Ashish50514561/FR-Data-Analysis/resolve/main/src/DocumentChat.css
6.16 kB
| .document-chat { | |
| margin-top: 22px; | |
| padding-top: 18px; | |
| border-top: 1px solid var(--line); | |
| } | |
| .document-chat-heading, | |
| .document-chat-launch-controls { | |
| display: flex; | |
| align-items: end; | |
| justify-content: space-between; | |
| gap: 16px; | |
| } | |
| .document-chat-heading h3 { | |
| margin: 3px 0 0; | |
| color: var(--ink); | |
| font-family: var(--serif); | |
| font-size: 20px; | |
| font-weight: 500; | |
| } | |
| .document-chat-heading .eyebrow { | |
| margin: 0; | |
| } | |
| .document-chat-note, | |
| .document-chat-privacy, | |
| .document-chat-token-count { | |
| margin: 6px 0 0; | |
| color: var(--muted); | |
| font-size: 10px; | |
| line-height: 1.5; | |
| } | |
| .document-chat-launch-controls { | |
| flex: 0 0 auto; | |
| } | |
| .document-chat-model-select { | |
| min-width: 215px; | |
| display: grid; | |
| gap: 5px; | |
| } | |
| .document-chat-model-select > span, | |
| .document-chat-form > label { | |
| color: var(--muted); | |
| font-size: 10px; | |
| font-weight: 700; | |
| } | |
| .document-chat-model-select select, | |
| .document-chat-form input { | |
| min-height: 40px; | |
| padding: 8px 10px; | |
| border: 1px solid var(--line-strong); | |
| border-radius: 8px; | |
| background: var(--surface); | |
| color: var(--ink); | |
| font: inherit; | |
| font-size: 12px; | |
| } | |
| .document-chat-model-select select:focus-visible, | |
| .document-chat-form input:focus-visible { | |
| outline: 3px solid color-mix(in srgb, var(--water) 28%, transparent); | |
| outline-offset: 1px; | |
| border-color: var(--water); | |
| } | |
| .document-chat-panel { | |
| margin-top: 14px; | |
| } | |
| .document-chat-context { | |
| margin-top: 12px; | |
| padding: 10px 12px; | |
| border: 1px solid var(--line); | |
| border-radius: 9px; | |
| background: var(--surface); | |
| color: var(--ink-soft); | |
| } | |
| .document-chat-context summary { | |
| width: fit-content; | |
| color: var(--forest-dark); | |
| font-size: 11px; | |
| font-weight: 700; | |
| cursor: pointer; | |
| } | |
| .document-chat-context > p { | |
| margin: 9px 0 0; | |
| color: var(--muted); | |
| font-size: 10px; | |
| line-height: 1.45; | |
| } | |
| .document-chat-context-options { | |
| margin-top: 10px; | |
| display: grid; | |
| grid-template-columns: repeat(3, minmax(0, 1fr)); | |
| gap: 8px 12px; | |
| } | |
| .document-chat-context-options label { | |
| min-width: 0; | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 7px; | |
| color: var(--ink-soft); | |
| font-size: 10px; | |
| line-height: 1.4; | |
| cursor: pointer; | |
| } | |
| .document-chat-context-options input { | |
| width: 14px; | |
| height: 14px; | |
| margin: 1px 0 0; | |
| flex: 0 0 auto; | |
| accent-color: var(--forest); | |
| } | |
| .document-chat-context ul { | |
| margin: 8px 0 0; | |
| padding-left: 18px; | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 4px 22px; | |
| color: var(--muted); | |
| font-size: 9px; | |
| } | |
| .document-chat-model-consent, | |
| .document-chat-progress { | |
| margin-top: 12px; | |
| padding: 12px 14px; | |
| display: flex; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 10px 14px; | |
| border: 1px solid var(--line); | |
| border-radius: 9px; | |
| background: var(--surface-muted); | |
| } | |
| .document-chat-model-consent p { | |
| margin: 0; | |
| flex: 1 1 420px; | |
| color: var(--ink-soft); | |
| font-size: 11px; | |
| line-height: 1.5; | |
| } | |
| .document-chat-progress > span { | |
| min-width: 180px; | |
| color: var(--ink-soft); | |
| font-size: 11px; | |
| } | |
| .document-chat-progress progress { | |
| width: min(320px, 100%); | |
| height: 9px; | |
| accent-color: var(--forest); | |
| } | |
| .document-chat-progress small { | |
| color: var(--muted); | |
| font-family: var(--mono); | |
| font-size: 9px; | |
| } | |
| .document-chat-license-acknowledgement { | |
| margin: 8px 0; | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 7px; | |
| color: var(--ink-soft); | |
| font-size: 10px; | |
| line-height: 1.4; | |
| cursor: pointer; | |
| } | |
| .document-chat-license-acknowledgement input { | |
| width: 14px; | |
| height: 14px; | |
| margin: 1px 0 0; | |
| flex: 0 0 auto; | |
| accent-color: var(--forest); | |
| } | |
| .document-chat-error { | |
| margin: 12px 0 0; | |
| padding: 10px 12px; | |
| border-left: 3px solid var(--signal); | |
| border-radius: 6px; | |
| background: #fff8f7; | |
| color: #8b4139; | |
| font-size: 11px; | |
| line-height: 1.5; | |
| overflow-wrap: anywhere; | |
| } | |
| .document-chat-token-count { | |
| font-family: var(--mono); | |
| } | |
| .document-chat-transcript { | |
| max-height: 420px; | |
| margin-top: 13px; | |
| padding: 2px 4px 2px 0; | |
| display: grid; | |
| gap: 10px; | |
| overflow-y: auto; | |
| scrollbar-color: var(--line-strong) transparent; | |
| scrollbar-width: thin; | |
| } | |
| .document-chat-message { | |
| min-width: 0; | |
| padding: 10px 12px; | |
| border-left: 3px solid var(--line-strong); | |
| background: var(--surface-muted); | |
| } | |
| .document-chat-message--user { | |
| border-left-color: var(--water); | |
| background: color-mix(in srgb, var(--water) 12%, var(--surface)); | |
| } | |
| .document-chat-message--user h4 { | |
| color: var(--water); | |
| } | |
| .document-chat-message--assistant { | |
| border-left-color: var(--forest); | |
| } | |
| .document-chat-message h4 { | |
| margin: 0 0 5px; | |
| color: var(--muted); | |
| font-size: 9px; | |
| font-weight: 700; | |
| text-transform: uppercase; | |
| } | |
| .document-chat-message > p { | |
| margin: 0; | |
| color: var(--ink-soft); | |
| font-size: 12px; | |
| line-height: 1.55; | |
| white-space: pre-wrap; | |
| overflow-wrap: anywhere; | |
| } | |
| .document-chat-citations { | |
| margin-top: 8px; | |
| display: flex; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 7px 14px; | |
| color: var(--forest-dark); | |
| font-size: 9px; | |
| overflow-wrap: anywhere; | |
| } | |
| .document-chat-citations a { | |
| color: var(--forest-dark); | |
| text-underline-offset: 2px; | |
| } | |
| .document-chat-citations small { | |
| color: var(--muted); | |
| font-family: var(--mono); | |
| } | |
| .document-chat-unverified { | |
| margin: 8px 0 0; | |
| color: #8b5d24; | |
| font-size: 10px; | |
| line-height: 1.45; | |
| } | |
| .document-chat-form { | |
| margin-top: 13px; | |
| display: grid; | |
| gap: 6px; | |
| } | |
| .document-chat-form > div { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .document-chat-form input { | |
| min-width: 0; | |
| flex: 1 1 auto; | |
| } | |
| .document-chat-form .run-button, | |
| .document-chat-form .secondary-button { | |
| min-height: 40px; | |
| } | |
| @media (max-width: 700px) { | |
| .document-chat-heading, | |
| .document-chat-launch-controls { | |
| align-items: stretch; | |
| flex-direction: column; | |
| } | |
| .document-chat-launch-controls { | |
| width: 100%; | |
| } | |
| .document-chat-model-select { | |
| min-width: 0; | |
| } | |
| .document-chat-context-options { | |
| grid-template-columns: minmax(0, 1fr); | |
| } | |
| .document-chat-form > div { | |
| align-items: stretch; | |
| flex-wrap: wrap; | |
| } | |
| .document-chat-form input { | |
| flex-basis: 100%; | |
| } | |
| .document-chat-form .run-button, | |
| .document-chat-form .secondary-button { | |
| flex: 1 1 auto; | |
| } | |
| } |