misc_pterodactyl-panel/resources/assets/styles/components/filemanager.css

78 lines
1.5 KiB
CSS

.filemanager {
& .header {
@apply .flex .text-sm .pb-4 .font-bold .border-b .border-neutral-400 .mb-3;
& > div {
@apply .pr-4;
}
}
& .row {
@apply .flex .text-sm .py-3 .text-sm .border .border-transparent .text-black .rounded;
& > div {
@apply .pr-4;
}
&.clickable {
@apply .no-underline .cursor-pointer;
}
&.active-selection, &.clickable:hover {
@apply .bg-neutral-50 .text-neutral-900 .shadow;
}
& > .icon {
@apply .w-8 .text-center;
& > svg {
@apply .h-4;
}
}
}
.context-menu {
@apply .absolute .bg-white .py-2 .border .rounded .text-neutral-800 .text-sm .cursor-pointer;
& > div:not(:last-of-type) {
@apply .border-b .border-neutral-50 .pb-2 .mb-2;
}
& .context-row {
@apply .flex .flex-row .items-center .py-2 .px-8 .border-t .border-b .border-transparent;
& > .icon {
@apply .flex-none;
& > svg {
@apply .h-4;
}
}
& > .action {
@apply .flex-auto .pl-2;
}
&:hover {
@apply .bg-neutral-50 .border-t .border-b .border-neutral-100;
}
&.danger:hover {
@apply .bg-red-50 .border-t .border-b .border-red-100;
}
}
}
}
.filemanager-breadcrumbs {
@apply .px-4 .py-3 .mb-6 .rounded .bg-white .text-neutral-800 .shadow-md;
& a {
@apply .no-underline .text-blue;
transition: color 50ms ease-in;
&:hover {
@apply .text-blue-darker;
}
}
}