Blame Raw
· · · 148 lines (2.8 KB)
0 contributors
1#logprobsViewer {
2 overflow-y: auto;
3 max-width: 90dvw;
4 max-height: 90dvh;
5 min-width: 100px;
6 min-height: 50px;
7 border-radius: 10px;
8 border: 1px solid var(--SmartThemeBorderColor);
9 position: fixed;
10 padding: 10px;
11 display: none;
12 flex-direction: column;
13 box-shadow: 0 0 10px var(--black70a);
14 z-index: 3000;
15 left: 0;
16 top: 0;
17 margin: 0;
18 right: unset;
19 width: calc(((100dvw - var(--sheldWidth)) / 2) - 1px);
20}
21
22.logprobs_panel_header {
23 display: flex;
24 justify-content: space-between;
25 align-items: center;
26}
27
28.logprobs_panel_title {
29 font-weight: bold;
30}
31
32.logprobs_panel_controls {
33 display: flex;
34 align-items: center;
35}
36
37.logprobs_panel_content {
38 overflow-y: auto;
39}
40
41.logprobs_panel_control_button {
42 width: 25px;
43 height: 25px;
44 margin-left: 5px;
45 opacity: 0.5;
46 transition: all var(--animation-duration-2x);
47 position: unset !important;
48}
49
50.logprobs_panel_control_button:hover {
51 opacity: 1;
52 cursor: pointer;
53}
54
55#logprobs_generation_output {
56 user-select: none;
57 height: 100%;
58 overflow-y: auto;
59 word-break: break-all;
60}
61
62.logprobs_empty_state {
63 display: flex;
64 justify-content: center;
65 align-items: center;
66 opacity: 0.5;
67 min-height: 100px;
68 text-align: center;
69}
70
71.logprobs_output_prefix {
72 opacity: 0.5;
73}
74
75.logprobs_output_prefix:hover {
76 background-color: rgba(255, 0, 50, 0.4);
77}
78
79.logprobs_output_prefix:hover~.logprobs_output_prefix {
80 background-color: rgba(255, 0, 50, 0.4);
81}
82
83.logprobs_candidate_list {
84 grid-row-start: 3;
85 grid-row-end: 4;
86 display: grid;
87 grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
88 gap: 2px;
89 padding: 2px;
90 border-top: 1px solid var(--SmartThemeBodyColor);
91 text-align: center;
92}
93
94.logprobs_top_candidate {
95 border: none;
96 background-color: transparent;
97 color: inherit;
98 font: inherit;
99}
100
101.logprobs_top_candidate:not([disabled]) {
102 cursor: pointer;
103}
104
105.logprobs_top_candidate.selected {
106 background-color: rgba(0, 255, 0, 0.2);
107 font-weight: bold;
108}
109
110.logprobs_top_candidate:not([disabled]):hover {
111 background-color: rgba(0, 0, 0, 0.3);
112}
113
114.logprobs_tint_0 {
115 background-color: rgba(255, 255, 0, 0.05);
116}
117
118.logprobs_tint_0:hover,
119.logprobs_tint_0.selected {
120 background-color: rgba(255, 255, 0, 0.4);
121}
122
123.logprobs_tint_1 {
124 background-color: rgba(255, 0, 255, 0.05);
125}
126
127.logprobs_tint_1:hover,
128.logprobs_tint_1.selected {
129 background-color: rgba(255, 0, 255, 0.4);
130}
131
132.logprobs_tint_2 {
133 background-color: rgba(0, 255, 255, 0.05);
134}
135
136.logprobs_tint_2:hover,
137.logprobs_tint_2.selected {
138 background-color: rgba(0, 255, 255, 0.4);
139}
140
141.logprobs_tint_3 {
142 background-color: rgba(50, 205, 50, 0.05);
143}
144
145.logprobs_tint_3:hover,
146.logprobs_tint_3.selected {
147 background-color: rgba(50, 205, 50, 0.4);
148}