mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-29 12:48:57 +03:00
Slight style adjustments
This commit is contained in:
parent
b9c287b29e
commit
afd9d2cf97
2 changed files with 12 additions and 7 deletions
|
@ -928,9 +928,11 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
|
|||
-webkit-touch-callout: none;
|
||||
}
|
||||
}
|
||||
:is(.status-link, .status-focus):is(:focus, .is-active) {
|
||||
background-color: var(--link-bg-hover-color);
|
||||
outline-offset: -2px;
|
||||
@media not (pointer: coarse) {
|
||||
:is(.status-link, .status-focus):is(:focus, .is-active) {
|
||||
background-color: var(--link-bg-hover-color);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
}
|
||||
@media (hover: hover) {
|
||||
.status-link:hover {
|
||||
|
|
|
@ -1863,8 +1863,8 @@ a.card:is(:hover, :focus):visited {
|
|||
.status-actions {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
top: -6px;
|
||||
right: 8px;
|
||||
background-color: var(--bg-color);
|
||||
border-radius: 8px;
|
||||
z-index: 1;
|
||||
|
@ -1873,7 +1873,7 @@ a.card:is(:hover, :focus):visited {
|
|||
overflow: clip;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transform: translateX(8px);
|
||||
transform: translate3d(0, 6px, 0);
|
||||
transform-origin: right center;
|
||||
transition: all 0.15s ease-out 0.3s, border-color 0.3s ease-out;
|
||||
|
||||
|
@ -1920,7 +1920,10 @@ a.card:is(:hover, :focus):visited {
|
|||
transform: translateX(0);
|
||||
}
|
||||
@media (pointer: coarse) {
|
||||
.status:has(&):hover {
|
||||
& {
|
||||
border-color: var(--outline-hover-color);
|
||||
}
|
||||
.status-focus:has(&):has(.status:hover) {
|
||||
transition: background-color 0.1s ease-out 0.3s;
|
||||
background-color: var(--bg-faded-blur-color);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue