mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-09-26 07:08:59 +03:00
202 lines
4.8 KiB
CSS
202 lines
4.8 KiB
CSS
@import "/themes/tailwind-base.css";
|
|
@import "/themes/theme-default.css";
|
|
@import "/themes/theme-blue.css";
|
|
@import "/themes/theme-green.css";
|
|
@import "/themes/theme-high-contrast.css";
|
|
@import "/themes/theme-nord.css";
|
|
@import "/themes/theme-red.css";
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
/* Duplicated var names with color space modifiers for swatches in vscode. See https://github.com/tailwindlabs/tailwindcss/discussions/10619 */
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
.scrollbar-container {
|
|
@apply scrollbar-thin scrollbar-track-background_alt scrollbar-thumb-border scrollbar-track-rounded-full scrollbar-thumb-rounded-full;
|
|
}
|
|
}
|
|
|
|
html {
|
|
overscroll-behavior: none;
|
|
}
|
|
|
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
.no-scrollbar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
/* Hide scrollbar for IE, Edge and Firefox */
|
|
.no-scrollbar {
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
scrollbar-width: none; /* Firefox */
|
|
}
|
|
|
|
/* static fonts */
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 100;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-Thin.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: italic;
|
|
font-weight: 100;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-ThinItalic.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 200;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-ExtraLight.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: italic;
|
|
font-weight: 200;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-ExtraLightItalic.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-Light.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: italic;
|
|
font-weight: 300;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-LightItalic.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-Regular.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-Italic.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-Medium.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: italic;
|
|
font-weight: 500;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-MediumItalic.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-SemiBold.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: italic;
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-SemiBoldItalic.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-Bold.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: italic;
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-BoldItalic.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 800;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-ExtraBold.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: italic;
|
|
font-weight: 800;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-ExtraBoldItalic.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 900;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-Black.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: italic;
|
|
font-weight: 900;
|
|
font-display: swap;
|
|
src: url("./assets/fonts/Inter-BlackItalic.woff2") format("woff2");
|
|
}
|
|
|
|
.react-resizable-handle {
|
|
z-index: 30;
|
|
background-image: none !important;
|
|
}
|
|
|
|
/* Live masonry grid: only the bottom-right corner resizes, drawn as a corner
|
|
bracket on the real se handle (drop-shadow keeps it legible over footage). */
|
|
.grid-layout .react-resizable-handle-se::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: 5px;
|
|
bottom: 5px;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-right: 2.5px solid rgba(233, 238, 246, 0.92);
|
|
border-bottom: 2.5px solid rgba(233, 238, 246, 0.92);
|
|
border-bottom-right-radius: 3px;
|
|
filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.9));
|
|
}
|
|
|
|
.react-grid-item.react-grid-placeholder {
|
|
border: 3px solid #a00000 !important;
|
|
opacity: 0.5 !important;
|
|
}
|
|
|
|
.react-grid-layout,
|
|
.react-grid-layout .react-grid-item {
|
|
transition: none !important;
|
|
}
|