Skip to content
Source
Sign inSign up
TanStack/virtual
Open History to see the last commit

styles.css

124 lines1.6 KB

1* {
2 box-sizing: border-box;
3}
4​
5html {
6 font-family:
7 Inter,
8 ui-sans-serif,
9 system-ui,
10 -apple-system,
11 BlinkMacSystemFont,
12 'Segoe UI',
13 sans-serif;
14 color: #171717;
15 background: #f6f8fa;
17​
18body {
19 margin: 0;
21​
22button {
23 border: 1px solid #c6d0da;
24 border-radius: 6px;
25 background: #ffffff;
26 color: #171717;
27 cursor: pointer;
28 font: inherit;
29 font-size: 13px;
30 padding: 7px 10px;
32​
33button:hover {
34 background: #eef3f7;
36​
37.App {
38 height: 100vh;
39 display: grid;
40 grid-template-rows: auto 1fr;
42​
43.Toolbar {
44 align-items: center;
45 background: #ffffff;
46 border-bottom: 1px solid #d9e0e6;
47 display: flex;
48 gap: 8px;
49 justify-content: space-between;
50 padding: 10px 12px;
52​
53.ToolbarGroup {
54 display: flex;
55 gap: 8px;
57​
58.Status {
59 color: #5c6670;
60 font-size: 13px;
62​
63.Shell {
64 display: grid;
65 min-height: 0;
66 overflow: hidden;
67 place-items: stretch;
69​
70.Messages {
71 min-height: 0;
72 overflow: auto;
73 overflow-anchor: none;
74 width: 100%;
76​
77.MessagesSizer {
78 position: relative;
79 width: 100%;
81​
82.MessageRow {
83 left: 0;
84 padding: 6px 12px;
85 position: absolute;
86 top: 0;
87 width: 100%;
89​
90.Bubble {
91 border: 1px solid #d7dee5;
92 border-radius: 8px;
93 line-height: 1.45;
94 max-width: min(720px, 88vw);
95 padding: 10px 12px;
96 white-space: pre-wrap;
98​
99.Bubble-user {
100 background: #e6f3ff;
101 margin-left: auto;
103​
104.Bubble-assistant {
105 background: #ffffff;
106 margin-right: auto;
108​
109.Meta {
110 color: #637081;
111 font-size: 12px;
112 margin-bottom: 4px;
114​
115@media (max-width: 640px) {
116 .Toolbar {
117 align-items: stretch;
118 flex-direction: column;
119 }
120​
121 .ToolbarGroup {
122 flex-wrap: wrap;
123 }