Skip to content

Commit 3b25ebd

Browse files
committed
show the +1 over the tooltip
1 parent 0eab80b commit 3b25ebd

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.ladle/style.css

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,34 +34,32 @@ body {
3434

3535
.plus-one {
3636
position: absolute;
37+
z-index: 2147483648;
3738
bottom: 100%;
3839
animation: plus-one 1s forwards;
3940
font-weight: bold;
40-
font-size: 12px;
41-
color: rgba(10, 60, 90, 0.9);
42-
background-color: rgba(255, 255, 255, 0.2);
41+
font-size: 15px;
42+
color: #276ef1da;
4343
border-radius: 4px;
4444
}
4545

4646
[data-theme="dark"] .plus-one {
47-
color: rgba(117, 194, 242, 0.9);
48-
background-color: rgba(0, 0, 0, 0.2);
47+
color: #72a4ffda;
4948
}
5049

5150
@keyframes plus-one {
5251
0% {
5352
opacity: 0;
54-
transform: translateY(100%) scale(0.5);
53+
transform: translateY(100%) scale(0.2);
5554
}
5655
25% {
57-
opacity: 1;
5856
transform: translateY(-50%) scale(1);
5957
}
6058
50% {
6159
opacity: 1;
6260
}
6361
100% {
6462
opacity: 0;
65-
transform: translateY(0);
63+
transform: translateY(0%) scale(1);
6664
}
6765
}

0 commit comments

Comments
 (0)