@immich/ui 0.17.3 → 0.17.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,18 +29,20 @@
|
|
|
29
29
|
.immich-scrollbar::-webkit-scrollbar {
|
|
30
30
|
width: 8px;
|
|
31
31
|
height: 8px;
|
|
32
|
+
visibility: hidden;
|
|
32
33
|
}
|
|
33
|
-
|
|
34
34
|
/* Track */
|
|
35
35
|
.immich-scrollbar::-webkit-scrollbar-track {
|
|
36
36
|
background: #f1f1f1;
|
|
37
37
|
border-radius: 16px;
|
|
38
|
+
visibility: hidden;
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
/* Handle */
|
|
41
42
|
.immich-scrollbar::-webkit-scrollbar-thumb {
|
|
42
43
|
background: rgba(85, 86, 87, 0.408);
|
|
43
44
|
border-radius: 16px;
|
|
45
|
+
visibility: hidden;
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
/* Handle on hover */
|
|
@@ -48,4 +50,18 @@
|
|
|
48
50
|
background: #4250afad;
|
|
49
51
|
border-radius: 16px;
|
|
50
52
|
}
|
|
53
|
+
|
|
54
|
+
/*
|
|
55
|
+
* Show scrollbar elements when hovering or actively scrolling
|
|
56
|
+
* Applies to the main scrollbar, track, and thumb components
|
|
57
|
+
* Changes visibility from hidden to visible on user interaction
|
|
58
|
+
*/
|
|
59
|
+
.immich-scrollbar:hover::-webkit-scrollbar,
|
|
60
|
+
.immich-scrollbar:active::-webkit-scrollbar,
|
|
61
|
+
.immich-scrollbar:hover::-webkit-scrollbar-track,
|
|
62
|
+
.immich-scrollbar:active::-webkit-scrollbar-track,
|
|
63
|
+
.immich-scrollbar:hover::-webkit-scrollbar-thumb,
|
|
64
|
+
.immich-scrollbar:active::-webkit-scrollbar-thumb {
|
|
65
|
+
visibility: visible;
|
|
66
|
+
}
|
|
51
67
|
</style>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
variants: {
|
|
42
42
|
fillColor: {
|
|
43
43
|
default: 'bg-gray-300 dark:bg-gray-400',
|
|
44
|
-
primary: 'bg-primary',
|
|
44
|
+
primary: 'bg-primary/50 dark:bg-primary',
|
|
45
45
|
secondary: 'bg-dark/50',
|
|
46
46
|
success: 'bg-success/50',
|
|
47
47
|
danger: 'bg-danger/50',
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
>
|
|
88
88
|
<Switch.Thumb>
|
|
89
89
|
{#snippet child()}
|
|
90
|
-
<div class={cleanClass(label && 'flex justify-between gap-1')}>
|
|
90
|
+
<div class={cleanClass(label && 'flex items-center justify-between gap-1')}>
|
|
91
91
|
{#if label}
|
|
92
92
|
<Label id={labelId} for={inputId} {label} {...labelProps} />
|
|
93
93
|
{/if}
|