From 58ebd3bc0f00c532e97e9a5571471ffab87934ba Mon Sep 17 00:00:00 2001
From: AL-LCL <alvin@alvinhavel.com>
Date: Fri, 19 May 2023 10:39:49 +0200
Subject: GOD-VIEW

---
 server/web/src/design/GlobalStyle.tsx | 52 +++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 server/web/src/design/GlobalStyle.tsx

(limited to 'server/web/src/design/GlobalStyle.tsx')

diff --git a/server/web/src/design/GlobalStyle.tsx b/server/web/src/design/GlobalStyle.tsx
new file mode 100644
index 0000000..25c47bf
--- /dev/null
+++ b/server/web/src/design/GlobalStyle.tsx
@@ -0,0 +1,52 @@
+import { createGlobalStyle } from 'styled-components';
+
+// NOTE : rem unit is used instead of px. But
+// the UI is still dependant on px units, mostly
+// because of some javascript calculations
+export const GlobalStyle = createGlobalStyle`
+    ::-webkit-scrollbar {
+        height: 0.2rem;
+        width: 0.4rem;
+    }
+
+    ::-webkit-scrollbar-track {
+        background-color: rgb(5, 32, 58);
+    }
+
+    ::-webkit-scrollbar-thumb {
+        background-color: rgb(31, 113, 145);
+    }
+
+    ::placeholder {
+        text-transform: capitalize;
+        color: rgb(204, 204, 204);
+        opacity: 1;
+    }
+
+    * {
+        box-sizing: border-box;
+        outline: none;
+    }
+
+    body {
+        font-family: Arial, Helvetica, sans-serif;
+        background-color: rgb(5, 32, 58);
+        color: rgb(255, 255, 255);
+        font-size: 0.7rem;
+        font-weight: 100;
+        margin: 0;
+    }
+
+    button, svg {
+        cursor: pointer;
+    }
+
+    button {
+        transition: 150ms;
+
+        :active {
+            transform: translateY(0.125rem);
+            transition: 150ms;
+        }
+    }
+`;
-- 
cgit v1.2.3

