2024-08-02 18:35:07 +02:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
|
|
|
|
|
|
2024-05-27 20:30:25 +02:00
|
|
|
@tailwind base;
|
|
|
|
|
@tailwind components;
|
|
|
|
|
@tailwind utilities;
|
|
|
|
|
|
2024-07-26 17:04:58 +02:00
|
|
|
/* OHIF Theme */
|
|
|
|
|
|
2024-05-27 20:30:25 +02:00
|
|
|
@layer base {
|
|
|
|
|
:root {
|
2024-07-26 17:04:58 +02:00
|
|
|
--highlight: 191 74% 63%;
|
|
|
|
|
--background: 236 62% 5%;
|
|
|
|
|
--foreground: 0 0% 98%;
|
|
|
|
|
--card: 236 62% 5%;
|
|
|
|
|
--card-foreground: 0 0% 98%;
|
2024-08-02 18:35:07 +02:00
|
|
|
--popover: 219 90% 15%;
|
2024-07-26 17:04:58 +02:00
|
|
|
--popover-foreground: 0 0% 98%;
|
|
|
|
|
--primary: 214 98% 60%;
|
|
|
|
|
--primary-foreground: 0 0% 98%;
|
|
|
|
|
--secondary: 214 66% 48%;
|
2024-10-08 18:25:44 +02:00
|
|
|
--secondary-foreground: 200 50% 84%;
|
2024-07-26 17:04:58 +02:00
|
|
|
--muted: 234 64% 10%;
|
2024-08-02 18:35:07 +02:00
|
|
|
--muted-foreground: 200 46% 65%;
|
|
|
|
|
--accent: 217 79% 24%;
|
2024-07-26 17:04:58 +02:00
|
|
|
--accent-foreground: 0 0% 98%;
|
|
|
|
|
--destructive: 0 62.8% 30.6%;
|
|
|
|
|
--destructive-foreground: 0 0% 98%;
|
|
|
|
|
--border: 0 0% 14.9%;
|
|
|
|
|
--input: 236 45% 21%;
|
|
|
|
|
--ring: 214 98% 60%;
|
|
|
|
|
--chart-1: 220 70% 50%;
|
|
|
|
|
--chart-2: 160 60% 45%;
|
|
|
|
|
--chart-3: 30 80% 55%;
|
|
|
|
|
--chart-4: 280 65% 60%;
|
|
|
|
|
--chart-5: 340 75% 55%;
|
|
|
|
|
--radius: 0.5rem;
|
|
|
|
|
}
|
2024-05-27 20:30:25 +02:00
|
|
|
|
2024-07-26 17:04:58 +02:00
|
|
|
.dark {
|
|
|
|
|
--background: 0 0% 3.9%;
|
|
|
|
|
--foreground: 0 0% 98%;
|
|
|
|
|
--card: 0 0% 3.9%;
|
|
|
|
|
--card-foreground: 0 0% 98%;
|
|
|
|
|
--popover: 0 0% 3.9%;
|
|
|
|
|
--popover-foreground: 0 0% 98%;
|
|
|
|
|
--primary: 214 98% 60%;
|
|
|
|
|
--primary-foreground: 0 0% 98%;
|
|
|
|
|
--secondary: 0 0% 14.9%;
|
|
|
|
|
--secondary-foreground: 0 0% 98%;
|
|
|
|
|
--muted: 0 0% 14.9%;
|
|
|
|
|
--muted-foreground: 0 0% 63.9%;
|
|
|
|
|
--accent: 0 0% 14.9%;
|
|
|
|
|
--accent-foreground: 0 0% 98%;
|
|
|
|
|
--destructive: 0 62.8% 30.6%;
|
|
|
|
|
--destructive-foreground: 0 0% 98%;
|
|
|
|
|
--border: 0 0% 14.9%;
|
|
|
|
|
--input: 236 45% 21%;
|
|
|
|
|
--ring: 214 98% 60%;
|
|
|
|
|
--chart-1: 220 70% 50%;
|
|
|
|
|
--chart-2: 160 60% 45%;
|
|
|
|
|
--chart-3: 30 80% 55%;
|
|
|
|
|
--chart-4: 280 65% 60%;
|
|
|
|
|
--chart-5: 340 75% 55%;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-05-27 20:30:25 +02:00
|
|
|
|
2024-07-26 17:04:58 +02:00
|
|
|
/* ORIGINAL THEME for comparison and testing
|
2024-05-27 20:30:25 +02:00
|
|
|
|
2024-07-26 17:04:58 +02:00
|
|
|
@layer base {
|
|
|
|
|
:root {
|
|
|
|
|
--background: 0 0% 100%;
|
|
|
|
|
--foreground: 240 10% 3.9%;
|
|
|
|
|
--card: 0 0% 100%;
|
|
|
|
|
--card-foreground: 240 10% 3.9%;
|
|
|
|
|
--popover: 0 0% 100%;
|
|
|
|
|
--popover-foreground: 240 10% 3.9%;
|
|
|
|
|
--primary: 240 5.9% 10%;
|
|
|
|
|
--primary-foreground: 0 0% 98%;
|
|
|
|
|
--secondary: 240 4.8% 95.9%;
|
|
|
|
|
--secondary-foreground: 240 5.9% 10%;
|
|
|
|
|
--muted: 240 4.8% 95.9%;
|
|
|
|
|
--muted-foreground: 240 3.8% 46.1%;
|
|
|
|
|
--accent: 240 4.8% 95.9%;
|
|
|
|
|
--accent-foreground: 240 5.9% 10%;
|
|
|
|
|
--destructive: 0 72.22% 50.59%;
|
|
|
|
|
--destructive-foreground: 0 0% 98%;
|
|
|
|
|
--border: 240 5.9% 90%;
|
|
|
|
|
--input: 240 5.9% 90%;
|
|
|
|
|
--ring: 240 5% 64.9%;
|
|
|
|
|
--radius: 0.5rem;
|
2024-05-27 20:30:25 +02:00
|
|
|
|
2024-07-26 17:04:58 +02:00
|
|
|
--chart-1: 12 76% 61%;
|
|
|
|
|
--chart-2: 173 58% 39%;
|
|
|
|
|
--chart-3: 197 37% 24%;
|
|
|
|
|
--chart-4: 43 74% 66%;
|
|
|
|
|
--chart-5: 27 87% 67%;
|
|
|
|
|
}
|
2024-05-27 20:30:25 +02:00
|
|
|
|
|
|
|
|
|
2024-07-26 17:04:58 +02:00
|
|
|
.dark {
|
|
|
|
|
--background: 240 10% 3.9%;
|
|
|
|
|
--foreground: 0 0% 98%;
|
|
|
|
|
--card: 240 10% 3.9%;
|
|
|
|
|
--card-foreground: 0 0% 98%;
|
|
|
|
|
--popover: 240 10% 3.9%;
|
|
|
|
|
--popover-foreground: 0 0% 98%;
|
|
|
|
|
--primary: 0 0% 98%;
|
|
|
|
|
--primary-foreground: 240 5.9% 10%;
|
|
|
|
|
--secondary: 240 3.7% 15.9%;
|
|
|
|
|
--secondary-foreground: 0 0% 98%;
|
|
|
|
|
--muted: 240 3.7% 15.9%;
|
|
|
|
|
--muted-foreground: 240 5% 64.9%;
|
|
|
|
|
--accent: 240 3.7% 15.9%;
|
|
|
|
|
--accent-foreground: 0 0% 98%;
|
|
|
|
|
--destructive: 0 62.8% 30.6%;
|
|
|
|
|
--destructive-foreground: 0 85.7% 97.3%;
|
|
|
|
|
--border: 240 3.7% 15.9%;
|
|
|
|
|
--input: 240 3.7% 15.9%;
|
|
|
|
|
--ring: 240 4.9% 83.9%;
|
|
|
|
|
|
|
|
|
|
--chart-1: 220 70% 50%;
|
|
|
|
|
--chart-2: 160 60% 45%;
|
|
|
|
|
--chart-3: 30 80% 55%;
|
|
|
|
|
--chart-4: 280 65% 60%;
|
|
|
|
|
--chart-5: 340 75% 55%;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-05-27 20:30:25 +02:00
|
|
|
|
2024-07-26 17:04:58 +02:00
|
|
|
*/
|
2024-05-27 20:30:25 +02:00
|
|
|
|
2024-07-26 17:04:58 +02:00
|
|
|
/* Theme Copy Example
|
2024-05-27 20:30:25 +02:00
|
|
|
|
2024-07-26 17:04:58 +02:00
|
|
|
@layer base {
|
|
|
|
|
:root {
|
|
|
|
|
--background: 0 0% 100%;
|
|
|
|
|
--foreground: 224 71.4% 4.1%;
|
|
|
|
|
--card: 0 0% 100%;
|
|
|
|
|
--card-foreground: 224 71.4% 4.1%;
|
|
|
|
|
--popover: 0 0% 100%;
|
|
|
|
|
--popover-foreground: 224 71.4% 4.1%;
|
|
|
|
|
--primary: 262.1 83.3% 57.8%;
|
|
|
|
|
--primary-foreground: 210 20% 98%;
|
|
|
|
|
--secondary: 220 14.3% 95.9%;
|
|
|
|
|
--secondary-foreground: 220.9 39.3% 11%;
|
|
|
|
|
--muted: 220 14.3% 95.9%;
|
|
|
|
|
--muted-foreground: 220 8.9% 46.1%;
|
|
|
|
|
--accent: 220 14.3% 95.9%;
|
|
|
|
|
--accent-foreground: 220.9 39.3% 11%;
|
2024-10-17 15:30:42 +02:00
|
|
|
--destructive: 360 84.2% 60.2%;
|
2024-07-26 17:04:58 +02:00
|
|
|
--destructive-foreground: 210 20% 98%;
|
|
|
|
|
--border: 220 13% 91%;
|
|
|
|
|
--input: 220 13% 91%;
|
|
|
|
|
--ring: 262.1 83.3% 57.8%;
|
2024-05-27 20:30:25 +02:00
|
|
|
--radius: 0.5rem;
|
2024-07-26 17:04:58 +02:00
|
|
|
--chart-1: ;
|
|
|
|
|
--chart-2: ;
|
|
|
|
|
--chart-3: ;
|
|
|
|
|
--chart-4: ;
|
|
|
|
|
--chart-5: ;
|
2024-05-27 20:30:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dark {
|
2024-07-26 17:04:58 +02:00
|
|
|
--background: 224 71.4% 4.1%;
|
|
|
|
|
--foreground: 210 20% 98%;
|
|
|
|
|
--card: 224 71.4% 4.1%;
|
|
|
|
|
--card-foreground: 210 20% 98%;
|
|
|
|
|
--popover: 224 71.4% 4.1%;
|
|
|
|
|
--popover-foreground: 210 20% 98%;
|
|
|
|
|
--primary: 263.4 70% 50.4%;
|
|
|
|
|
--primary-foreground: 210 20% 98%;
|
|
|
|
|
--secondary: 215 27.9% 16.9%;
|
|
|
|
|
--secondary-foreground: 210 20% 98%;
|
|
|
|
|
--muted: 215 27.9% 16.9%;
|
|
|
|
|
--muted-foreground: 217.9 10.6% 64.9%;
|
|
|
|
|
--accent: 215 27.9% 16.9%;
|
|
|
|
|
--accent-foreground: 210 20% 98%;
|
2024-10-17 15:30:42 +02:00
|
|
|
--destructive: 360 84.2% 60.2%;
|
2024-07-26 17:04:58 +02:00
|
|
|
--destructive-foreground: 210 20% 98%;
|
|
|
|
|
--border: 215 27.9% 16.9%;
|
|
|
|
|
--input: 215 27.9% 16.9%;
|
|
|
|
|
--ring: 263.4 70% 50.4%;
|
|
|
|
|
--chart-1: ;
|
|
|
|
|
--chart-2: ;
|
|
|
|
|
--chart-3: ;
|
|
|
|
|
--chart-4: ;
|
|
|
|
|
--chart-5: ;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-05-27 20:30:25 +02:00
|
|
|
|
2024-07-26 17:04:58 +02:00
|
|
|
*/
|
2024-05-27 20:30:25 +02:00
|
|
|
|
2024-08-02 18:35:07 +02:00
|
|
|
/* Updated Playground page styles */
|
|
|
|
|
|
|
|
|
|
@layer base {
|
|
|
|
|
html {
|
|
|
|
|
font-family: 'Inter', sans-serif;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
2024-09-24 21:44:59 +02:00
|
|
|
@apply !bg-black;
|
2024-08-02 18:35:07 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h2.section-header {
|
|
|
|
|
@apply py-4 text-2xl font-normal text-white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h3.section-header {
|
|
|
|
|
@apply py-3 text-xl text-white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.row {
|
2024-08-07 17:08:52 +02:00
|
|
|
@apply mb-6 flex flex-row flex-wrap rounded-md border py-10;
|
2024-08-02 18:35:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.example {
|
|
|
|
|
@apply flex-initial px-6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.example2 {
|
|
|
|
|
@apply flex-initial px-4;
|
|
|
|
|
}
|
2024-05-27 20:30:25 +02:00
|
|
|
|
2024-07-26 17:04:58 +02:00
|
|
|
/* Additional CSS edits to components */
|
2024-05-27 20:30:25 +02:00
|
|
|
|
2024-07-26 17:04:58 +02:00
|
|
|
/* Tooltip */
|
2024-05-27 20:30:25 +02:00
|
|
|
|
2024-07-26 17:04:58 +02:00
|
|
|
.TooltipContent[data-side='bottom'] {
|
|
|
|
|
animation-name: slideDown;
|
2024-05-27 20:30:25 +02:00
|
|
|
}
|
2024-09-24 21:44:59 +02:00
|
|
|
|
|
|
|
|
/* Custom CSS to hide default number input arrows */
|
|
|
|
|
input[type='number']::-webkit-inner-spin-button,
|
|
|
|
|
input[type='number']::-webkit-outer-spin-button {
|
|
|
|
|
@apply appearance-none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input[type='number'] {
|
|
|
|
|
-moz-appearance: textfield; /* For Firefox */
|
|
|
|
|
}
|