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

82 lines
1.6 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:not(:last-of-type) {
2018-08-04 05:32:01 +00:00
@apply .pr-4;
}
}
& .row {
@apply .flex .text-sm .py-3 .text-sm .border .border-transparent .text-black .rounded .no-underline;
2018-08-04 05:32:01 +00:00
& > div:not(:last-of-type) {
2018-08-04 05:32:01 +00:00
@apply .pr-4;
}
&.active-selection, &: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;
2018-08-04 05:32:01 +00:00
& > svg {
@apply .h-4;
}
}
}
.context-menu {
2019-02-10 01:26:08 +00:00
@apply .absolute .bg-white .py-2 .border .border-neutral-300 .shadow-lg .rounded .text-neutral-600 .text-sm .cursor-pointer;
& > div:not(:last-of-type) {
2019-02-10 01:26:08 +00:00
@apply .border-b .border-neutral-100 .pb-2 .mb-2;
}
& .context-row {
2019-02-10 01:26:08 +00:00
@apply .flex .flex-row .items-center .py-2 .px-8 .mx-2 .rounded;
transition: background-color 50ms linear;
& > .icon {
@apply .flex-none;
& > svg {
@apply .h-4;
}
}
& > .action {
@apply .flex-auto .pl-2;
}
&:hover {
2019-02-10 01:26:08 +00:00
@apply .bg-neutral-50 .text-neutral-800;
}
2019-02-10 01:26:08 +00:00
&.danger {
@apply .border .border-transparent;
transition: border 50ms linear;
&:hover {
@apply .bg-red-50 .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;
}
}
}