mirror of
https://github.com/arkorty/Osborne.git
synced 2026-03-18 00:57:14 +00:00
212 lines
5.2 KiB
CSS
212 lines
5.2 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=JetBrains+Mono:wght@400;500;700&family=Bitcount_Grid_Single&display=swap");
|
|
|
|
@layer base {
|
|
:root {
|
|
--background: rgb(251, 241, 199);
|
|
--foreground: rgb(60, 56, 54);
|
|
--card: rgb(235, 219, 178);
|
|
--card-foreground: rgb(60, 56, 54);
|
|
--popover: rgb(235, 219, 178);
|
|
--popover-foreground: rgb(60, 56, 54);
|
|
--primary: rgb(211, 134, 155);
|
|
--primary-foreground: rgb(251, 241, 199);
|
|
--secondary: rgb(184, 187, 38);
|
|
--secondary-foreground: rgb(80, 73, 69);
|
|
--muted: rgb(168, 153, 132);
|
|
--muted-foreground: rgb(102, 92, 84);
|
|
--accent: rgb(250, 189, 47);
|
|
--accent-foreground: rgb(80, 73, 69);
|
|
--destructive: rgb(204, 36, 29);
|
|
--destructive-foreground: rgb(251, 241, 199);
|
|
--border: rgb(213, 196, 161);
|
|
--input: rgb(213, 196, 161);
|
|
--ring: rgb(211, 134, 155);
|
|
--radius: 0.5rem;
|
|
--chart-1: rgb(250, 189, 47);
|
|
--chart-2: rgb(131, 165, 152);
|
|
--chart-3: rgb(69, 133, 136);
|
|
--chart-4: rgb(254, 128, 25);
|
|
--chart-5: rgb(251, 73, 52);
|
|
--info: rgb(131, 165, 152);
|
|
--info-foreground: rgb(40, 40, 40);
|
|
--warning: rgb(215, 153, 33);
|
|
--warning-foreground: rgb(40, 40, 40);
|
|
--success: rgb(184, 187, 38);
|
|
--success-foreground: rgb(40, 40, 40);
|
|
--error: rgb(251, 73, 52);
|
|
--error-foreground: rgb(40, 40, 40);
|
|
}
|
|
|
|
.dark {
|
|
--background: rgb(40, 40, 40);
|
|
--foreground: rgb(235, 219, 178);
|
|
--card: rgb(60, 56, 54);
|
|
--card-foreground: rgb(235, 219, 178);
|
|
--popover: rgb(60, 56, 54);
|
|
--popover-foreground: rgb(235, 219, 178);
|
|
--primary: rgb(211, 134, 155);
|
|
--primary-foreground: rgb(40, 40, 40);
|
|
--secondary: rgb(80, 73, 69);
|
|
--secondary-foreground: rgb(235, 219, 178);
|
|
--muted: rgb(80, 73, 69);
|
|
--muted-foreground: rgb(168, 153, 132);
|
|
--accent: rgb(80, 73, 69);
|
|
--accent-foreground: rgb(235, 219, 178);
|
|
--destructive: rgb(204, 36, 29);
|
|
--destructive-foreground: rgb(235, 219, 178);
|
|
--border: rgb(102, 92, 84);
|
|
--input: rgb(102, 92, 84);
|
|
--ring: rgb(211, 134, 155);
|
|
--chart-1: rgb(250, 189, 47);
|
|
--chart-2: rgb(131, 165, 152);
|
|
--chart-3: rgb(69, 133, 136);
|
|
--chart-4: rgb(254, 128, 25);
|
|
--chart-5: rgb(251, 73, 52);
|
|
--info: rgb(131, 165, 152);
|
|
--info-foreground: rgb(235, 219, 178);
|
|
--warning: rgb(215, 153, 33);
|
|
--warning-foreground: rgb(235, 219, 178);
|
|
--success: rgb(184, 187, 38);
|
|
--success-foreground: rgb(235, 219, 178);
|
|
--error: rgb(251, 73, 52);
|
|
--error-foreground: rgb(235, 219, 178);
|
|
}
|
|
}
|
|
|
|
@layer base {
|
|
body {
|
|
font-family: var(--font-roboto), sans-serif;
|
|
}
|
|
textarea {
|
|
font-family: var(--font-jetbrains-mono), monospace;
|
|
}
|
|
}
|
|
|
|
/* Responsive panel behavior */
|
|
@layer utilities {
|
|
@media (max-width: 1279px) {
|
|
.panel-responsive-hide {
|
|
transform: translateX(-100%);
|
|
}
|
|
.panel-responsive-hide.right-panel {
|
|
transform: translateX(100%);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
.panel-responsive-show {
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Hide scrollbars but keep functionality */
|
|
@layer utilities {
|
|
.hide-scrollbar {
|
|
/* Firefox */
|
|
scrollbar-width: none;
|
|
/* Internet Explorer and Edge */
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.hide-scrollbar::-webkit-scrollbar {
|
|
/* WebKit browsers (Chrome, Safari, Edge) */
|
|
display: none;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.hide-scrollbar::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.hide-scrollbar::-webkit-scrollbar-thumb {
|
|
background: transparent;
|
|
}
|
|
|
|
/* Scroll shadows for indicating scrollable content */
|
|
.scroll-shadow {
|
|
position: relative;
|
|
}
|
|
|
|
.scroll-shadow::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 12px;
|
|
background: linear-gradient(to bottom,
|
|
hsl(var(--foreground) / 0.08),
|
|
hsl(var(--foreground) / 0.04),
|
|
transparent);
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
z-index: 10;
|
|
}
|
|
|
|
.scroll-shadow::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 12px;
|
|
background: linear-gradient(to top,
|
|
hsl(var(--foreground) / 0.08),
|
|
hsl(var(--foreground) / 0.04),
|
|
transparent);
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
z-index: 10;
|
|
}
|
|
|
|
.scroll-shadow.scroll-top::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.scroll-shadow.scroll-bottom::after {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* Extremely small button styling */
|
|
@layer utilities {
|
|
.btn-micro {
|
|
min-height: 20px;
|
|
line-height: 1;
|
|
font-size: 11px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.ui-font {
|
|
font-family: var(--font-bitcount-grid, "Bitcount Grid Single", monospace);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.otp-input {
|
|
background-color: var(--card);
|
|
color: var(--card-foreground);
|
|
border-color: var(--border);
|
|
font-family: var(--font-bitcount-grid, "Bitcount Grid Single", monospace);
|
|
font-size: 1.2rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.otp-input:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 2px var(--primary);
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
|