-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
79 lines (69 loc) · 1.53 KB
/
style.css
File metadata and controls
79 lines (69 loc) · 1.53 KB
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
/* Container for character and bubble */
#ollama-quip-container {
position: fixed;
bottom: 15px;
right: 15px;
z-index: 99999;
display: flex;
flex-direction: column;
align-items: flex-end;
max-width: 250px;
font-family: sans-serif;
/* Animation Properties */
transform: translateX(calc(100% + 20px));
opacity: 0;
pointer-events: none;
transition: transform 0.5s ease-in-out, opacity 0.4s ease-in-out;
}
/* Visible State */
#ollama-quip-container.ollama-visible {
transform: translateX(0);
opacity: 1;
pointer-events: auto;
}
/* The character image */
#ollama-quip-character {
width: 80px;
height: auto;
display: block;
margin-top: 5px;
user-select: none;
-webkit-user-drag: none;
cursor: pointer;
transition: transform 0.2s ease;
}
#ollama-quip-character:hover {
transform: scale(1.05);
}
/* The speech bubble */
#ollama-quip-bubble {
background-color: #f0f0f0;
border: 1px solid #ccc;
border-radius: 10px;
padding: 10px 15px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
position: relative;
margin-bottom: 5px;
}
/* Triangle pointing down from the bubble */
#ollama-quip-bubble::after {
content: '';
position: absolute;
bottom: -10px;
right: 20px;
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #f0f0f0;
filter: drop-shadow(0px 1px 0px #ccc);
}
/* Text inside the bubble */
#ollama-quip-text {
margin: 0;
padding: 0;
font-size: 13px;
color: #333;
line-height: 1.4;
text-align: left;
}