notes + css cleanup + tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-10-19 03:09:14 +03:00
parent 6aba5ca9a6
commit 1842223a79
2 changed files with 19 additions and 7 deletions

View File

@ -318,28 +318,37 @@ editor .outline .block:focus {
/*---------------------------------------------------------- List ---*/
.editor .outline .list-item>.view:before,
.editor .outline .list>.children>.block>.view:not(:empty):before {
.editor .outline .list>.children>.block>.view:before {
content: "◼";
color: gray;
}
.editor .outline
.list>.children
>.list>.children>.block>.view:not(:empty):before {
>.list>.children>.block>.view:before {
content: "●";
}
.editor .outline
.list>.children
>.list>.children
>.list>.children>.block>.view:not(:empty):before {
>.list>.children>.block>.view:before {
content: "○";
}
.editor .outline
.list>.children
>.list>.children
>.list>.children
>.list>.children>.block>.view:not(:empty):before {
>.list>.children>.block>.view:before {
content: "▪";
}
/* hide bullets on empty nodes unless they are edited... */
.editor .outline .list>.children>.block>.code:not(:focus)+.view:empty:before {
content: "";
}
/* hide bullets on empty nodes... *//*
.editor .outline .list>.children>.block>.view:empty:before {
content: "";
}
*/
/*------------------------------------------------ Numbered lists ---*/

View File

@ -68,7 +68,6 @@ var setup = function(){
code
```
- _bullet should be either in the middle of the block or at the first line of code (preferred)..._
- show list bullet if node is empty but edited... (???)
- editor as a custom element...
- Nerd fonts (option???)
- multiple node selection
@ -79,6 +78,7 @@ var setup = function(){
- indent/deindent
- edit node
- auto-shift done blocks to the end of siblings... (option?)
- ...or should this be `sort:: done` -- i.e. sort children by done status??
- FEATURE? block templates...
collapsed:: true
- something like: `TPL: [_] <editable/> -- <editable/>`
@ -100,6 +100,9 @@ var setup = function(){
block text
- NOTE: this is only a problem if making list-items manually -- disable???
- empty item height is a bit off...
- DONE show list bullet if node is empty but edited...
collapsed:: true
- _...not sure which is best, so both options are available, see: `editor.css`_
- DONE Q: can we get the caret line in a textarea???
collapsed:: true
- _...this will fix a lot of issues with moving between blocks in edit mode..._
@ -216,7 +219,6 @@ var setup = function(){
- z
- c
- > quote
- ASAP edit mode bullet is off...
- Notes
- NOTE: a note text
- NOTE:
@ -225,7 +227,7 @@ var setup = function(){
- // C-style comment
- ; ASM-style comment
- XXX Highlight
- DONE Done
- DONE Done (toggled via: `ctrl-d`)
- Basic inline *bold*, _italic_ and ~striked~
- Marking ==text==
- Code:
@ -247,6 +249,7 @@ var setup = function(){
_(clicking the checkbox updates the item)_
- [X] done item
- [_] we can also add inline [x] checkboxes and states: [%]
- navigating checkboxes in view mode can be done via `ctrl-left` / `ctrl-right` and toggling is done via `space`
- links
- [example](about:blank)
- https://example.com