mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-25 18:55:44 +03:00
Make focus ring follow the radius
This still won't work on Safari because its outline radius doesn't inherit from border radius Future Safari will fix this
This commit is contained in:
parent
462d299b96
commit
07edae4cc3
1 changed files with 5 additions and 1 deletions
|
@ -1505,15 +1505,19 @@ ul.link-list li a .icon {
|
|||
margin-top: 24px;
|
||||
}
|
||||
.timeline:not(.flat) > li {
|
||||
--item-radius: 16px;
|
||||
border: 1px solid var(--divider-color);
|
||||
margin: 16px 0;
|
||||
background-color: var(--bg-color);
|
||||
border-radius: 16px;
|
||||
border-radius: var(--item-radius);
|
||||
overflow: hidden;
|
||||
box-shadow: 0px 1px var(--bg-blur-color);
|
||||
transition: transform 0.4s var(--timing-function);
|
||||
--back-transition: transform 0.4s ease-out;
|
||||
}
|
||||
.timeline:not(.flat) > li > a {
|
||||
border-radius: var(--item-radius);
|
||||
}
|
||||
.timeline:not(.flat) > li:not(:has(.status-carousel)) {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue