Skip to content

Commit 2e07c39

Browse files
committed
Enhance media library item styling and transitions for folder icons
1 parent 77f2fc0 commit 2e07c39

3 files changed

Lines changed: 23 additions & 9 deletions

File tree

resources/css/components/media-library.css

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,23 @@
133133
text-decoration: underline;
134134
}
135135

136-
/* Smooth transitions for folder icons */
137-
.thumbnail-ctn svg {
136+
.thumbnail-ctn svg, .thumbnail-ctn img {
137+
@apply w-12 h-12;
138+
/* Smooth transitions for folder icons */
138139
transition: all 0.2s ease-in-out;
139140
}
140141

142+
.thumbnail-ctn svg {
143+
color: rgba(var(--gray-500), 1);
144+
}
145+
146+
.thumbnail-ctn svg.folder-icon {
147+
color: rgba(var(--c-500), 1);
148+
&.active {
149+
color: rgba(var(--c-600), 1);
150+
}
151+
}
152+
141153
/* Custom scrollbar */
142154
.media-library::-webkit-scrollbar {
143155
width: 8px;
@@ -270,9 +282,12 @@
270282
}
271283
.thumbnail-ctn {
272284
@apply py-4 flex items-center justify-center;
273-
img, svg {
285+
img {
274286
@apply w-48 h-48;
275287
}
288+
svg {
289+
@apply w-24 h-24;
290+
}
276291
}
277292
.information-ctn {
278293
@apply font-mono pb-2;

0 commit comments

Comments
 (0)