File size: 2,646 Bytes
b82d373
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#logprobsViewer {
    overflow-y: auto;
    max-width: 90dvw;
    max-height: 90dvh;
    min-width: 100px;
    min-height: 50px;
    border-radius: 10px;
    border: 1px solid var(--SmartThemeBorderColor);
    position: fixed;
    padding: 10px;
    display: none;
    flex-direction: column;
    box-shadow: 0 0 10px var(--black70a);
    z-index: 3000;
    left: 0;
    top: 0;
    margin: 0;
    right: unset;
    width: calc(((100dvw - var(--sheldWidth)) / 2) - 1px);
}

.logprobs_panel_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logprobs_panel_title {
    font-weight: bold;
}

.logprobs_panel_controls {
    display: flex;
    align-items: center;
}

.logprobs_panel_content {
    overflow-y: auto;
}

.logprobs_panel_control_button {
    width: 25px;
    height: 25px;
    margin-left: 5px;
    opacity: 0.5;
    transition: all 250ms;
    position: unset !important;
}

.logprobs_panel_control_button:hover {
    opacity: 1;
    cursor: pointer;
}

#logprobs_generation_output {
    user-select: none;
    height: 100%;
    overflow-y: auto;
}

.logprobs_empty_state {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
    min-height: 100px;
    text-align: center;
}

.logprobs_output_prefix {
    opacity: 0.5;
}

.logprobs_candidate_list {
    grid-row-start: 3;
    grid-row-end: 4;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2px;
    padding: 2px;
    border-top: 1px solid var(--SmartThemeBodyColor);
    text-align: center;
}

.logprobs_top_candidate {
    border: none;
    background-color: transparent;
    color: inherit;
    font: inherit;
}

.logprobs_top_candidate:not([disabled]) {
    cursor: pointer;
}

.logprobs_top_candidate.selected {
    background-color: rgba(0, 255, 0, 0.2);
    font-weight: bold;
}

.logprobs_top_candidate:not([disabled]):hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.logprobs_tint_0 {
    background-color: rgba(255, 255, 0, 0.05);
}

.logprobs_tint_0:hover, .logprobs_tint_0.selected {
    background-color: rgba(255, 255, 0, 0.4);
}

.logprobs_tint_1 {
    background-color: rgba(255, 0, 255, 0.05);
}

.logprobs_tint_1:hover, .logprobs_tint_1.selected {
    background-color: rgba(255, 0, 255, 0.4);
}

.logprobs_tint_2 {
    background-color: rgba(0, 255, 255, 0.05);
}

.logprobs_tint_2:hover, .logprobs_tint_2.selected {
    background-color: rgba(0, 255, 255, 0.4);
}

.logprobs_tint_3 {
    background-color: rgba(50, 205, 50, 0.05);
}

.logprobs_tint_3:hover, .logprobs_tint_3.selected {
    background-color: rgba(50, 205, 50, 0.4);
}