~bigbes/lethe

ref: 74314eeb68171bddd6ed722efaa9fc4164428990 lethe/web/src/styles/session.css -rw-r--r-- 2.8 KiB
74314eeb — Eugene Blikh docs(lethe-web-ui-login): record verify checks a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/* Session view — ported from prototype.css */

/* ─── Session aside (turn list) ─── */
.session-aside {
  border-right: 1px solid var(--rule-2);
  overflow: auto;
  background: var(--paper-3);
  min-height: 0;
  flex: 0 0 240px;
  width: 240px;
}

.session-aside-row {
  display: grid;
  grid-template-columns: 24px 14px 1fr 36px;
  padding: 3px 10px;
  font-size: 11px;
  gap: 8px;
  background: transparent;
  border-left: 2px solid transparent;
  cursor: pointer;
  align-items: center;
}

.session-aside-row:hover {
  background: var(--paper-2);
}

.session-aside-row.selected {
  background: var(--paper-2);
  border-left: 2px solid var(--accent);
}

/* ─── Transcript ─── */
.transcript {
  overflow: auto;
  min-height: 0;
  flex: 1;
}

/* ─── Turn cards ─── */
.turn {
  padding: 10px 16px;
  border-bottom: 1px solid var(--rule-2);
  border-left: 3px solid transparent;
  cursor: pointer;
}

.turn.user      { background: var(--turn-user); border-left-color: var(--ink-4); }
.turn.assistant { background: var(--turn-asst); border-left-color: var(--accent); }
.turn.tool      { background: var(--turn-tool); }

.turn.selected  { outline: 1px solid var(--accent); outline-offset: -1px; }

/* ─── Turn meta line ─── */
.turn-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
  font-size: 10.5px;
  color: var(--ink-3);
}

.turn-meta .role-USER      { font-family: var(--mono); font-weight: 600; color: var(--ink-2); letter-spacing: 0.04em; }
.turn-meta .role-ASSISTANT { font-family: var(--mono); font-weight: 600; color: var(--accent-ink); letter-spacing: 0.04em; }
.turn-meta .role-TOOL      { font-family: var(--mono); font-weight: 600; color: var(--ink-3); letter-spacing: 0.04em; }

/* ─── Turn body ─── */
.turn-body {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  flex: none;
  overflow: visible;
}

.turn.tool .turn-body {
  font-family: var(--mono);
  font-size: 11.5px;
  white-space: pre-wrap;
}

/* ─── Markdown inside turn body ─── */
.turn-body p { margin: 0 0 0.5em; }
.turn-body p:last-child { margin-bottom: 0; }
.turn-body ul,
.turn-body ol { margin: 0.25em 0 0.5em 1.4em; padding: 0; }
.turn-body li { margin-bottom: 0.2em; }
.turn-body code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--paper-2);
  border-radius: 2px;
  padding: 0 3px;
}
.turn-body pre {
  background: var(--paper-2);
  border: 1px solid var(--rule-2);
  border-radius: 3px;
  padding: 8px 10px;
  overflow-x: auto;
  margin: 0.4em 0;
}
.turn-body pre code {
  background: transparent;
  padding: 0;
  font-size: 11.5px;
}
.turn-body blockquote {
  border-left: 3px solid var(--rule);
  margin: 0.4em 0;
  padding-left: 10px;
  color: var(--ink-3);
}
.turn-body h1,
.turn-body h2,
.turn-body h3 {
  font-size: inherit;
  font-weight: 600;
  margin: 0.5em 0 0.25em;
}