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

79 lines
1.5 KiB
CSS
Raw Normal View History

2018-08-04 05:32:01 +00:00
.filemanager {
& .header {
2019-02-10 01:07:11 +00:00
@apply .flex .text-xs .text-neutral-600 .pb-4 .font-bold .border-b .border-neutral-200 .mb-3 .uppercase;
2018-08-04 05:32:01 +00:00
& > div {
@apply .pr-4;
}
}
& .row {
2018-08-19 05:03:19 +00:00
@apply .flex .text-sm .py-3 .text-sm .border .border-transparent .text-black .rounded;
2018-08-04 05:32:01 +00:00
& > div {
@apply .pr-4;
}
&.clickable {
2019-02-04 01:45:22 +00:00
@apply .no-underline .cursor-pointer;
2018-08-19 05:03:19 +00:00
}
2018-08-19 05:03:19 +00:00
&.active-selection, &.clickable:hover {
2019-02-10 01:07:11 +00:00
@apply .bg-neutral-50 .text-neutral-900;
2018-08-04 05:32:01 +00:00
}
& > .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;
}
}
}
2018-08-04 05:32:01 +00:00
}
.filemanager-breadcrumbs {
2019-02-10 01:07:11 +00:00
@apply .px-4 .py-3 .mb-6 .rounded .bg-white .text-neutral-400 .border .border-neutral-100 .shadow;
& a {
2019-02-10 01:07:11 +00:00
@apply .no-underline .text-neutral-400;
transition: color 100ms linear;
&:hover {
2019-02-10 01:07:11 +00:00
@apply .text-primary-500;
}
}
}