aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/CustomGrid/CustomGrid.module.css
diff options
context:
space:
mode:
authorBlaster4385 <venkatesh@tablaster.dev>2025-01-13 00:40:01 +0530
committerBlaster4385 <venkatesh@tablaster.dev>2025-01-13 01:05:28 +0530
commit2425e3dc2af22c3281122715d60bd4506d48938a (patch)
tree0d1d352f6593f389c880244fa20fa16e47c35253 /frontend/src/components/CustomGrid/CustomGrid.module.css
Initial application
Diffstat (limited to 'frontend/src/components/CustomGrid/CustomGrid.module.css')
-rw-r--r--frontend/src/components/CustomGrid/CustomGrid.module.css41
1 files changed, 41 insertions, 0 deletions
diff --git a/frontend/src/components/CustomGrid/CustomGrid.module.css b/frontend/src/components/CustomGrid/CustomGrid.module.css
new file mode 100644
index 0000000..fb58936
--- /dev/null
+++ b/frontend/src/components/CustomGrid/CustomGrid.module.css
@@ -0,0 +1,41 @@
+.container {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+
+.grid {
+ display: grid;
+ grid-template-rows: repeat(14, 40px);
+ grid-gap: 2px;
+}
+
+.row {
+ display: grid;
+ grid-template-columns: repeat(14, 40px);
+ grid-gap: 2px;
+}
+
+.cell {
+ width: 40px;
+ height: 40px;
+ background-color: var(--bg0_s);
+ border: 1px solid var(--fg);
+ border-radius: 4px;
+ cursor: pointer;
+}
+
+.cell.active {
+ background-color: var(--fg0);
+}
+
+.button {
+ margin: 10px;
+ padding: 10px 20px;
+ background-color: var(--fg);
+ color: var(--bg);
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+}