mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 01:18:27 +00:00
web/ProcessingQueueItem: prettier file actions reveal
This commit is contained in:
parent
ae8eee099f
commit
788098cc88
@ -161,6 +161,7 @@
|
|||||||
class="processing-item"
|
class="processing-item"
|
||||||
role="listitem"
|
role="listitem"
|
||||||
tabindex={$queueVisible ? 0 : -1}
|
tabindex={$queueVisible ? 0 : -1}
|
||||||
|
class:queue-hidden={!$queueVisible}
|
||||||
>
|
>
|
||||||
<div class="processing-info">
|
<div class="processing-info">
|
||||||
<div class="file-title">
|
<div class="file-title">
|
||||||
@ -352,9 +353,10 @@
|
|||||||
height: 90%;
|
height: 90%;
|
||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
|
|
||||||
visibility: hidden;
|
transform: translateX(5px);
|
||||||
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.2s;
|
transition: opacity 0.15s, transform 0.15s;
|
||||||
|
|
||||||
mask-image: linear-gradient(
|
mask-image: linear-gradient(
|
||||||
90deg,
|
90deg,
|
||||||
@ -363,11 +365,18 @@
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.queue-hidden .file-actions {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
:global([dir="rtl"]) .file-actions {
|
:global([dir="rtl"]) .file-actions {
|
||||||
left: 0;
|
left: 0;
|
||||||
right: unset;
|
right: unset;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 18px;
|
padding-right: 18px;
|
||||||
|
|
||||||
|
transform: translateX(-5px);
|
||||||
|
|
||||||
mask-image: linear-gradient(
|
mask-image: linear-gradient(
|
||||||
-90deg,
|
-90deg,
|
||||||
rgba(255, 255, 255, 0) 0%,
|
rgba(255, 255, 255, 0) 0%,
|
||||||
@ -377,8 +386,8 @@
|
|||||||
|
|
||||||
.processing-item:hover .file-actions,
|
.processing-item:hover .file-actions,
|
||||||
.processing-item:focus-within .file-actions {
|
.processing-item:focus-within .file-actions {
|
||||||
visibility: visible;
|
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user