A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
feat: gray out checked item in checklist (closes streetwriters/notesnook#122)
thecodrr5d7f387c0a49
diff --git a/apps/web/src/components/editor/editor.css b/apps/web/src/components/editor/editor.cssindex 67bb4230f..bfcc548b0 100644--- a/apps/web/src/components/editor/editor.css+++ b/apps/web/src/components/editor/editor.css@@ -183,18 +183,35 @@ table[data-mce-selected] {.tox-checklist > li::before,.checklist > li::before {- content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");- cursor: pointer;- height: 1em;+ content: "";+ border: 1px solid var(--disabled);+ border-radius: 2px;margin-left: -1.5em;margin-top: 0.125em;+ cursor: pointer;position: absolute;- width: 1em;+ height: 13px;+ width: 13px;}.tox-checklist li.tox-checklist--checked::before,.checklist li.checked::before {- content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");+ content: "";+ width: 16px;+ height: 16px;+ display: inline-block;+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 294.31006 294.31006'%3E%3Cpath stroke='%23000' stroke-miterlimit='10' stroke-width='18.6666' d='M9.3333 9.3333v275.64346h275.64346V9.3333zm102.6663 228.35474-.62097556-.62097556-1.86715778 1.86715778-75.28862-75.91084L69.68752 128.17968444l40.44492222 40.44492222 113.86626-113.86626L259.46337556 90.22302z'/%3E%3C/svg%3E")+ no-repeat 50% 50%;+ mask-size: cover;+ background-color: var(--primary);+ border-radius: 2px;+ border: none;+}++.tox-checklist li.tox-checklist--checked,+.checklist li.checked {+ color: var(--fontTertiary) !important;+ text-decoration: line-through;}[dir="rtl"] .tox-checklist > li::before,