odin-codespace/todo/dist/bundle.js

2 lines
282 KiB
JavaScript
Raw Normal View History

(()=>{"use strict";var t={426:(t,e,n)=>{n.d(e,{Z:()=>d});var a=n(537),o=n.n(a),r=n(645),i=n.n(r)()(o());i.push([t.id,':root {\n --font-size: 18px;\n}\n\nbody,\nhtml {\n margin: 0;\n padding: 0;\n font-size: var(--font-size);\n line-height: 1.7;\n}\n\ntable {\n width: 100%;\n margin-bottom: 30px;\n padding: 0 5px;\n}\n\ntr {\n height: 2em;\n}\n\nbutton {\n padding: 10px 20px;\n margin: 10px;\n border-radius: 5px;\n cursor: pointer;\n border: none;\n width: 100%;\n font-size: 1rem;\n}\n\n\ninput[type="checkbox"] {\n /* appearance: none; */\n /* For iOS < 15 to remove gradient background */\n /* background-color: #fff; */\n /* Not removed via appearance */\n /* margin: 0; */\n width: 1.2rem;\n height: 1.2rem;\n}\n\n.container {\n display: flex;\n}\n\n.nav {\n display: flex;\n flex-direction: column;\n min-width: 250px;\n width: 350px;\n padding: 20px;\n}\n\n.projects {\n display: flex;\n flex-direction: column;\n}\n\n.project-heading {\n padding-left: 15px;\n}\n\n.project-add {\n display: none;\n width: 100%;\n}\n\n.project-add input {\n padding: 10px;\n}\n\n.project-add-active {\n display: flex;\n flex-direction: column;\n padding: 15px 10px;\n}\n\n.active,\n.project-btn:hover {\n background-color: gray;\n}\n\n.project-btn .project-delete-btn {\n visibility: hidden;\n float: right;\n}\n\n.project-btn:hover .project-delete-btn {\n visibility: visible;\n float: right;\n}\n\n\n.popup-buttons {\n display: flex;\n gap: 10px;\n}\n\n.popup-buttons button {\n width: 100%;\n margin: 10px 0;\n}\n\n.itag {\n float: left;\n}\n\n/* TODOS */\n\n.todos {\n flex: 1;\n padding: 0 20px;\n margin: 0 20px;\n display: flex;\n flex-direction: column;\n \n}\n\n.todos p {\n text-align: center;\n}\n\n.todo-add {\n display: none;\n width: 100%;\n}\n\n.todo-add-active {\n display: flex;\n flex-direction: column;\n padding: 15px 10px;\n width: 100%;\n}\n\n.todo-add input {\n padding: 10px;\n}\n\n.todo-add-inputs {\n display: flex;\n gap: 10px;\n}\n\n.todo-add-inputs input {\n flex: 1 1 auto;\n}\n\n.todo-delete-btn {\n visibility: hidden;\n background: none;\n width: auto;\n padding: 0;\n margin: 0;\n}\n\n.todo-row:hover .todo-delete-btn {\n visibility: visible;\n}\n\n.add-todo-btn {\n width: initial;\n}\n\n.completed {\n text-decoration: line-through 3px;\n}\n',"",{version:3,sources:["webpack://./src/style.css"],names:[],mappings:"AAAA;IACI,iBAAiB;AACrB;;AAEA;;IAEI,SAAS;IACT,UAAU;IACV,2BAA2B;IAC3B,gBAAgB;AACpB;;AAEA;IACI,WAAW;IACX,mBAAmB;IACnB,cAAc;AAClB;;AAEA;IACI,WAAW;AACf;;AAEA;IACI,kBAAkB;IAClB,YAAY;IACZ,kBAAkB;IAClB,eAAe;IACf,YAAY;IACZ,WAAW;IACX,eAAe;AACnB;;;AAGA;IACI,sBAAsB;IACtB,+CAA+C;IAC/C,4BAA4B;IAC5B,+BAA+B;IAC/B,eAAe;IACf,aAAa;IACb,cAAc;AAClB;;AAEA;IACI,aAAa;AACjB;;AAEA;IACI,aAAa;IACb,sBAAsB;IACtB,gBAAgB;IAChB,YAAY;IACZ,aAAa;AACjB;;AAEA;IACI,aAAa;IACb,sBAAsB;AAC1B;;AAEA;IACI,kBAAkB;AACtB;;AAEA;IACI,aAAa;IACb,WAAW;AACf;;AAEA;IACI,aAAa;AACjB;;AAEA;IACI,aAAa;IACb,sBAAsB;IACtB,kBAAkB;AACtB;;AAEA;;IAEI,sBAAsB;AAC1B;;AAEA;IACI,kBAAkB;IAClB,YAAY;AAChB;;AAEA;IACI,mBAAmB;IACnB,YAAY;AAChB;;;AAGA;IACI,aAAa;IACb,SAAS;AACb;;AAEA;IACI,WAAW;IACX,cAAc;AAClB;;AAEA;IACI,WAAW;AACf;;AAEA,UAAU;;AAEV;IACI,OAAO;IACP,eAAe;IACf,cAAc;IACd,aAAa;IACb,sBAAsB;;AAE1B;;AAEA;IACI,kBAAkB;AACtB;;AAEA;IACI,aAAa;IACb,WAAW;AACf;;AAEA;IACI,aAAa;IACb,sBAAsB;IACtB,kBAAkB;IAClB,WAAW;AACf;;AAEA;IACI,aAAa;AACjB;;AAEA;IACI,aAAa;IACb,SAAS;AACb;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,kBAAkB;IAClB,gBAAgB;IAChB,WAAW;IACX,UAAU;IACV,SAAS;AACb;;AAEA;IACI,mBAAmB;AACvB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,iCAAiC;AACrC",sourcesContent:[':root {\n --font-size: 18px;\n}\n\nbody,\nhtml {\n margin: 0;\n padding: 0;\n font-size: var(--font-size);\n line-height: 1.7;\n}\n\ntable {\n width: 100%;\n margin-bottom: 30px;\n padding: 0 5px;\n}\n\ntr {\n height: 2em;\n}\n\nbutton {\n padding: 10px 20px;\n margin: 10px;\n border-radius: 5px;\n cursor: pointer;\n
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVuZGxlLmpzIiwibWFwcGluZ3MiOiJ3RkFHSUEsRSxNQUEwQixHQUE0QixLQUUxREEsRUFBd0JDLEtBQUssQ0FBQ0MsRUFBT0MsR0FBSSxzMEVBd0t0QyxHQUFHLENBQUMsUUFBVSxFQUFFLFFBQVUsQ0FBQyw2QkFBNkIsTUFBUSxHQUFHLFNBQVcsd29DQUF3b0MsZUFBaUIsQ0FBQyx1MEVBQXkwRSxXQUFhLE1BRWprSCxTLFVDektBRCxFQUFPRSxRQUFVLFNBQVVDLEdBQ3pCLElBQUlDLEVBQU8sR0E0RVgsT0F6RUFBLEVBQUtDLFNBQVcsV0FDZCxPQUFPQyxLQUFLQyxLQUFJLFNBQVVDLEdBQ3hCLElBQUlDLEVBQVUsR0FDVkMsT0FBK0IsSUFBWkYsRUFBSyxHQW9CNUIsT0FuQklBLEVBQUssS0FDUEMsR0FBVyxjQUFjRSxPQUF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