feat: refine widget interactions
This commit is contained in:
1 parent
a8a7545f40
commit
842e86012d
107 files changed
+3144
-1233
No files matched your search
@@ -70,3 +70,31 @@
|
||||
.ProseMirror {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.homarr-notebook-action {
|
||||
opacity: 0;
|
||||
transform: translateX(2px);
|
||||
transition:
|
||||
opacity 120ms ease,
|
||||
transform 120ms ease;
|
||||
}
|
||||
|
||||
.homarr-notebook:hover .homarr-notebook-action,
|
||||
.homarr-notebook:focus-within .homarr-notebook-action,
|
||||
.homarr-notebook-action[data-visible="true"] {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
@media (any-pointer: coarse) {
|
||||
.homarr-notebook-action {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.homarr-notebook-action {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user