memos/web/src/less/memo-resources.less

56 lines
1.1 KiB
Plaintext
Raw Normal View History

2022-09-09 02:53:02 +03:00
.resource-wrapper {
@apply w-full flex flex-col justify-start items-start;
> .images-wrapper {
2022-11-17 16:01:26 +03:00
@apply w-full flex mt-2 pb-1;
2022-09-09 02:53:02 +03:00
> .memo-img {
2022-11-17 16:01:26 +03:00
@apply w-auto h-auto shrink-0 grow-0;
2022-09-09 02:53:02 +03:00
> img {
2022-11-17 16:01:26 +03:00
@apply rounded;
}
}
&.row {
@apply flex-row justify-start items-start overflow-x-auto overflow-y-hidden;
> .memo-img {
@apply mr-2 last:mr-0;
> img {
@apply w-auto max-h-40;
}
}
}
&.col {
@apply flex-col justify-start items-start;
> .memo-img {
@apply w-full h-auto shrink-0 mb-2 last:mb-0 hide-scrollbar;
> img {
@apply w-full h-auto;
}
2022-09-09 02:53:02 +03:00
}
}
}
2022-10-01 05:02:16 +03:00
> .other-resource-wrapper {
@apply w-full flex flex-row justify-start flex-wrap;
> .other-resource-container {
2022-11-12 16:22:51 +03:00
@apply mt-1 mr-1 max-w-full flex flex-row justify-start items-center flex-nowrap bg-gray-100 px-2 py-1 rounded cursor-pointer hover:bg-gray-200;
2022-10-01 05:02:16 +03:00
> .icon-img {
@apply w-4 h-auto mr-1 text-gray-500;
}
> .name-text {
@apply text-gray-500 text-sm max-w-xs truncate font-mono;
}
}
}
2022-09-09 02:53:02 +03:00
}