-
Notifications
You must be signed in to change notification settings - Fork 5
/
styles.css
55 lines (48 loc) · 938 Bytes
/
styles.css
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
.tweet-ranker-container {
display: inline-flex;
align-items: center;
position: relative;
}
.tweet-ranker-rating {
font-weight: bold;
font-size: 13px;
}
.tweet-ranker-loading {
font-style: italic;
font-size: 14px;
color: #657786;
}
.tweet-ranker-error {
font-size: 14px;
color: #E0245E;
}
.tweet-ranker-bar {
height: 8px;
background-color: #E1E8ED;
border-radius: 4px;
margin-top: 4px;
}
.tweet-ranker-bar-fill {
height: 100%;
background-color: #1DA1F2;
border-radius: 4px;
transition: width 0.5s ease-in-out;
}
.tweet-ranker-tooltip {
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
background-color: rgba(0, 0, 0, 0.8);
color: white;
padding: 5px 10px;
border-radius: 4px;
font-size: 12px;
white-space: nowrap;
pointer-events: none;
opacity: 0;
transition: opacity 0.2s;
}
.tweet-ranker-container:hover .tweet-ranker-tooltip {
opacity: 1;
}