Spaces:
Build error
Build error
Mehdi commited on
Upload styles/globals.css with huggingface_hub
Browse files- styles/globals.css +99 -47
styles/globals.css
CHANGED
|
@@ -2,54 +2,106 @@
|
|
| 2 |
@tailwind components;
|
| 3 |
@tailwind utilities;
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
::-webkit-scrollbar-track {
|
| 30 |
-
background: #1e293b;
|
| 31 |
-
}
|
| 32 |
-
|
| 33 |
-
::-webkit-scrollbar-thumb {
|
| 34 |
-
background: #475569;
|
| 35 |
-
border-radius: 4px;
|
| 36 |
-
}
|
| 37 |
-
|
| 38 |
-
::-webkit-scrollbar-thumb:hover {
|
| 39 |
-
background: #64748b;
|
| 40 |
-
}
|
| 41 |
-
|
| 42 |
-
@keyframes gradient {
|
| 43 |
-
0% { background-position: 0% 50%; }
|
| 44 |
-
50% { background-position: 100% 50%; }
|
| 45 |
-
100% { background-position: 0% 50%; }
|
| 46 |
-
}
|
| 47 |
|
| 48 |
-
.
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
}
|
| 52 |
|
| 53 |
-
|
| 54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
}
|
|
|
|
| 2 |
@tailwind components;
|
| 3 |
@tailwind utilities;
|
| 4 |
|
| 5 |
+
@layer base {
|
| 6 |
+
:root {
|
| 7 |
+
--background: 0 0% 100%;
|
| 8 |
+
--foreground: 222.2 84% 4.9%;
|
| 9 |
+
--card: 0 0% 100%;
|
| 10 |
+
--card-foreground: 222.2 84% 4.9%;
|
| 11 |
+
--popover: 0 0% 100%;
|
| 12 |
+
--popover-foreground: 222.2 84% 4.9%;
|
| 13 |
+
--primary: 221.2 83.2% 53.3%;
|
| 14 |
+
--primary-foreground: 210 40% 98%;
|
| 15 |
+
--secondary: 210 40% 96.1%;
|
| 16 |
+
--secondary-foreground: 222.2 84% 4.9%;
|
| 17 |
+
--muted: 210 40% 96.1%;
|
| 18 |
+
--muted-foreground: 215.4 16.3% 46.9%;
|
| 19 |
+
--accent: 210 40% 96.1%;
|
| 20 |
+
--accent-foreground: 222.2 84% 4.9%;
|
| 21 |
+
--destructive: 0 84.2% 60.2%;
|
| 22 |
+
--destructive-foreground: 210 40% 98%;
|
| 23 |
+
--border: 214.3 31.8% 91.4%;
|
| 24 |
+
--input: 214.3 31.8% 91.4%;
|
| 25 |
+
--ring: 221.2 83.2% 53.3%;
|
| 26 |
+
--radius: 0.5rem;
|
| 27 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
+
.dark {
|
| 30 |
+
--background: 222.2 84% 4.9%;
|
| 31 |
+
--foreground: 210 40% 98%;
|
| 32 |
+
--card: 222.2 84% 4.9%;
|
| 33 |
+
--card-foreground: 210 40% 98%;
|
| 34 |
+
--popover: 222.2 84% 4.9%;
|
| 35 |
+
--popover-foreground: 210 40% 98%;
|
| 36 |
+
--primary: 217.2 91.2% 59.8%;
|
| 37 |
+
--primary-foreground: 222.2 84% 4.9%;
|
| 38 |
+
--secondary: 217.2 32.6% 17.5%;
|
| 39 |
+
--secondary-foreground: 210 40% 98%;
|
| 40 |
+
--muted: 217.2 32.6% 17.5%;
|
| 41 |
+
--muted-foreground: 215 20.2% 65.1%;
|
| 42 |
+
--accent: 217.2 32.6% 17.5%;
|
| 43 |
+
--accent-foreground: 210 40% 98%;
|
| 44 |
+
--destructive: 0 62.8% 30.6%;
|
| 45 |
+
--destructive-foreground: 210 40% 98%;
|
| 46 |
+
--border: 217.2 32.6% 17.5%;
|
| 47 |
+
--input: 217.2 32.6% 17.5%;
|
| 48 |
+
--ring: 224.3 76.3% 94.1%;
|
| 49 |
+
}
|
| 50 |
}
|
| 51 |
|
| 52 |
+
@layer base {
|
| 53 |
+
* {
|
| 54 |
+
@apply border-border;
|
| 55 |
+
}
|
| 56 |
+
body {
|
| 57 |
+
@apply bg-background text-foreground;
|
| 58 |
+
font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
/* Persian Font Support */
|
| 62 |
+
@font-face {
|
| 63 |
+
font-family: 'Vazirmatn';
|
| 64 |
+
src: url('/fonts/Vazirmatn-Regular.woff2') format('woff2');
|
| 65 |
+
font-weight: 400;
|
| 66 |
+
font-style: normal;
|
| 67 |
+
font-display: swap;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
@font-face {
|
| 71 |
+
font-family: 'Vazirmatn';
|
| 72 |
+
src: url('/fonts/Vazirmatn-Bold.woff2') format('woff2');
|
| 73 |
+
font-weight: 700;
|
| 74 |
+
font-style: normal;
|
| 75 |
+
font-display: swap;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
/* RTL Support */
|
| 79 |
+
.rtl {
|
| 80 |
+
direction: rtl;
|
| 81 |
+
text-align: right;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
.ltr {
|
| 85 |
+
direction: ltr;
|
| 86 |
+
text-align: left;
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
/* Custom scrollbar */
|
| 90 |
+
::-webkit-scrollbar {
|
| 91 |
+
width: 8px;
|
| 92 |
+
height: 8px;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
::-webkit-scrollbar-track {
|
| 96 |
+
background: hsl(var(--muted));
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
::-webkit-scrollbar-thumb {
|
| 100 |
+
background: hsl(var(--primary) / 0.5);
|
| 101 |
+
border-radius: var(--radius);
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
::-webkit-scrollbar-thumb:hover {
|
| 105 |
+
background: hsl(var(--primary));
|
| 106 |
+
}
|
| 107 |
}
|