This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/styles/global.css

59 lines
1.2 KiB
CSS
Raw Normal View History

2021-10-24 05:48:06 +02:00
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--app-height: 100vh;
--scroll-bar-color: #c5c5c5;
--scroll-bar-bg-color: transparent;
}
2021-10-24 05:48:06 +02:00
#__next {
@apply flex h-screen flex-col;
2021-10-24 05:48:06 +02:00
}
2022-12-13 22:31:32 +01:00
#application-page-content {
overflow-x: hidden;
}
2022-03-16 12:18:09 +01:00
body {
@apply bg-white font-headline text-black dark:bg-black dark:text-white;
2021-10-24 05:48:06 +02:00
overflow: hidden;
2022-12-13 22:31:32 +01:00
scrollbar-width: thin;
scrollbar-color: var(--scroll-bar-color) var(--scroll-bar-bg-color);
z-index: 1000;
height: calc(100vh - 64px);
overflow-y: auto;
2021-10-24 05:48:06 +02:00
}
.h-full-without-header {
height: calc(var(--app-height) - 64px);
2021-10-24 05:48:06 +02:00
}
::-webkit-scrollbar {
scrollbar-color: var(--scroll-bar-color) var(--scroll-bar-bg-color);
width: 5px;
height: 10px;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: var(--scroll-bar-color);
border-radius: 20px;
border: 3px solid var(--scroll-bar-bg-color);
}
/* Firefox Support */
.scrollbar-firefox-support {
scrollbar-width: thin;
scrollbar-color: var(--scroll-bar-color) var(--scroll-bar-bg-color);
z-index: 0;
2021-10-24 05:48:06 +02:00
}
.message-options {
@apply flex h-16 w-9 cursor-pointer items-center justify-center bg-gray-200 transition-colors hover:bg-gray-300 dark:bg-slate-900 hover:dark:bg-slate-800;
}