From 1ba0647eedcf8b69e148fff7bc41836dea45c381 Mon Sep 17 00:00:00 2001
From: Sova <108209320+NceSova@users.noreply.github.com>
Date: Sun, 23 Jun 2024 12:35:11 +0300
Subject: [PATCH] new ui refactor
---
index.html | 2 +-
main.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index b178b89..0240c7a 100644
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
-
\ No newline at end of file
diff --git a/main.js b/main.js
index 98300ff..5458948 100644
--- a/main.js
+++ b/main.js
@@ -1 +1 @@
-(()=>{"use strict";var e={523:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(601),o=n.n(r),i=n(314),a=n.n(i)()(o());a.push([e.id,"* {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n\nbody {\n height: 100vh;\n}\n\n.main-container {\n height: 100%;\n display: grid;\n grid-template-columns: 4fr 7fr;\n}\n\n.main-sidebar {\n display: grid;\n grid-template-rows: 64px 1fr 1fr;\n}\n\n.form-sidebar {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n.title-sidebar {\n height: 100%;\n border: 2px solid cyan;\n font-size: 2rem;\n display: grid;\n place-content: center;\n}\n\ndialog form {\n width: 300px;\n display: flex;\n flex-direction: column;\n align-items: center;\n & textarea {\n width: 100%;\n height: 150px;\n }\n}\n\ndialog {\n transform: translateX(-50%);\n left: 50%;\n}\ndialog::backdrop {\n backdrop-filter: blur(4px);\n}\n\n.main-grid {\n border: 2px solid blue;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n grid-template-rows: repeat(auto-fit, 200px);\n display: grid;\n justify-items: center;\n padding: 16px;\n gap: 24px;\n}\n\n.note-container {\n width: clamp(200px, 100%, 400px);\n height: 200px;\n border-radius: 16px;\n border: 2px solid red;\n display: grid;\n grid-template-rows: 2fr 4fr 1fr;\n}\n\n.title {\n height: fit-content;\n padding: 12px;\n width: 100%;\n font-size: x-large;\n font-weight: 600;\n border: none;\n border-radius: 16px;\n}\n\n.description {\n padding: 12px;\n width: 100%;\n height: 100%;\n border: none;\n}\n\n.note-container input:focus {\n outline: 2px dotted blue;\n}\n\n.note-container input {\n border-radius: 16px;\n}\n\n.note-container textarea {\n resize: none;\n border-radius: 16px;\n &:focus {\n outline: 2px dotted blue;\n }\n}\n",""]);const s=a},314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s