Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
AUTOMATIC1111
GitHub Repository: AUTOMATIC1111/stable-diffusion-webui
Path: blob/master/extensions-builtin/canvas-zoom-and-pan/style.css
2447 views
1
.canvas-tooltip-info {
2
position: absolute;
3
top: 10px;
4
left: 10px;
5
cursor: help;
6
background-color: rgba(0, 0, 0, 0.3);
7
width: 20px;
8
height: 20px;
9
border-radius: 50%;
10
display: flex;
11
align-items: center;
12
justify-content: center;
13
flex-direction: column;
14
15
z-index: 100;
16
}
17
18
.canvas-tooltip-info::after {
19
content: '';
20
display: block;
21
width: 2px;
22
height: 7px;
23
background-color: white;
24
margin-top: 2px;
25
}
26
27
.canvas-tooltip-info::before {
28
content: '';
29
display: block;
30
width: 2px;
31
height: 2px;
32
background-color: white;
33
}
34
35
.canvas-tooltip-content {
36
display: none;
37
background-color: #f9f9f9;
38
color: #333;
39
border: 1px solid #ddd;
40
padding: 15px;
41
position: absolute;
42
top: 40px;
43
left: 10px;
44
width: 250px;
45
font-size: 16px;
46
opacity: 0;
47
border-radius: 8px;
48
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
49
50
z-index: 100;
51
}
52
53
.canvas-tooltip:hover .canvas-tooltip-content {
54
display: block;
55
animation: fadeIn 0.5s;
56
opacity: 1;
57
}
58
59
@keyframes fadeIn {
60
from {opacity: 0;}
61
to {opacity: 1;}
62
}
63
64
.styler {
65
overflow:inherit !important;
66
}
67