mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 10:26:13 -04:00
fix: tooltip
This commit is contained in:
parent
f611e4e5d0
commit
ecf6c0a401
10 changed files with 23 additions and 17 deletions
|
@ -116,8 +116,8 @@
|
|||
@if $enable-transitions {
|
||||
// Animations, excluding touch devices
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
&[data-placement="bottom"]:focus,
|
||||
&[data-placement="bottom"]:hover &:focus,
|
||||
// Default (top)
|
||||
&:focus,
|
||||
&:hover {
|
||||
&::before,
|
||||
&::after {
|
||||
|
@ -130,6 +130,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Bottom
|
||||
&[data-placement="bottom"] {
|
||||
&:focus,
|
||||
&:hover {
|
||||
|
@ -145,6 +146,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Left
|
||||
&[data-placement="left"] {
|
||||
&:focus,
|
||||
&:hover {
|
||||
|
@ -160,6 +162,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Right
|
||||
&[data-placement="right"] {
|
||||
&:focus,
|
||||
&:hover {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue