Add responsiveness to file page and use correct file icons based on file type

This commit is contained in:
2024-09-16 11:02:25 +07:00
parent b246d85fac
commit dd8d0c0f4f
21 changed files with 797 additions and 590 deletions

View File

@ -1,3 +1,23 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind utilities;
.tooltip::before {
content: attr(data-tooltip);
position: absolute;
top: -0.5rem;
left: 50%;
transform: translateX(-50%) translateY(-100%);
padding: 0.5rem;
background-color: #333;
color: white;
border-radius: 0.25rem;
opacity: 0;
transition: opacity 0.2s;
white-space: nowrap;
pointer-events: none;
z-index: 10;
}
.tooltip:hover::before {
opacity: 1;
}