parent
2928ba52d3
commit
a42d4c7893
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -175,7 +175,7 @@ export default class Folder extends Mixins(GlobalMixin) {
|
|||
top: 2px; left: 2px;
|
||||
|
||||
> .img-outer {
|
||||
background-color: var(--color-loading-light);
|
||||
background-color: var(--color-background-dark);
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 50%;
|
||||
|
@ -192,12 +192,13 @@ export default class Folder extends Mixins(GlobalMixin) {
|
|||
height: 100%;
|
||||
filter: brightness(50%);
|
||||
|
||||
opacity: 1;
|
||||
transition: opacity 0.15s ease, filter 0.2s ease-in-out;
|
||||
will-change: opacity, filter;
|
||||
transition: filter 0.2s ease-in-out;
|
||||
will-change: filter;
|
||||
transform: translateZ(0);
|
||||
&.p-loading { opacity: 0; }
|
||||
&.p-load-fail { display: none; }
|
||||
|
||||
&.p-loading, &.p-load-fail {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.folder:hover & {
|
||||
filter: brightness(100%);
|
||||
|
|
|
@ -281,7 +281,7 @@ div.img-outer {
|
|||
will-change: padding;
|
||||
transition: padding 0.1s ease;
|
||||
background-clip: content-box, padding-box;
|
||||
background-color: var(--color-loading-light);
|
||||
background-color: var(--color-background-dark);
|
||||
|
||||
.selected > & { padding: 5%; }
|
||||
|
||||
|
@ -290,9 +290,6 @@ div.img-outer {
|
|||
object-fit: cover;
|
||||
cursor: pointer;
|
||||
width: 100%; height: 100%;
|
||||
opacity: 1;
|
||||
transition: opacity 0.15s ease;
|
||||
will-change: opacity;
|
||||
transform: translateZ(0);
|
||||
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
|
@ -300,7 +297,7 @@ div.img-outer {
|
|||
user-select: none;
|
||||
|
||||
.selected > & { box-shadow: 0 0 3px 2px var(--color-primary); }
|
||||
.p-loading > & { opacity: 0; }
|
||||
.p-loading > & { display: none; }
|
||||
}
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue