差異處
這裏顯示兩個版本的差異處。
| Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
|
dokuwiki:dev:nodetree [2020/09/15 21:50] ghsrobert |
dokuwiki:dev:nodetree [2020/09/17 06:31] (目前版本) ghsrobert [NodeTree] 插多圖 |
||
|---|---|---|---|
| 行 3: | 行 3: | ||
| ===== ListTree ===== | ===== ListTree ===== | ||
| - | 或是移植 TiddlyWiki 5 的[[http:// | + | 或是先移植 TiddlyWiki 5 的[[http:// |
| + | |||
| + | ==== 測試 ==== | ||
| + | - 直接把[[http:// | ||
| + | - 測試:< | ||
| + | <div list-tree> | ||
| + | * 是誰太勇敢 | ||
| + | * 說喜歡離別 | ||
| + | * 只要今天不要明天 | ||
| + | * 眼睜睜看著愛從指縫 | ||
| + | * 中溜走 | ||
| + | * 還說再見 | ||
| + | |||
| + | * 不夠時間好好來恨你 | ||
| + | * 終於明白恨人不容易 | ||
| + | * 不願愛得沒有答案結局 | ||
| + | </ | ||
| + | * 是誰太勇敢 | ||
| + | * 說喜歡離別 | ||
| + | * 只要今天不要明天 | ||
| + | * 眼睜睜看著愛從指縫 | ||
| + | * 中溜走 | ||
| + | * 還說再見 | ||
| + | |||
| + | * 不夠時間好好來恨你 | ||
| + | * 終於明白恨人不容易 | ||
| + | * 不願愛得沒有答案結局 | ||
| + | </ | ||
| + | |||
| + | .list-tree > li: | ||
| + | |||
| + | .list-tree > li: | ||
| + | |||
| + | .list-tree > li:before { | ||
| + | border-left: | ||
| + | height: 100%; | ||
| + | - 純 HTML(不用 wrap plugin) + 英文測試(拿去論壇發問用):< | ||
| + | < | ||
| + | * Starry, starry night | ||
| + | * Paint your palette blue and gray | ||
| + | * Look out on a summer' | ||
| + | * With eyes that know the darkness in my soul | ||
| + | * Shadows on the hills | ||
| + | * Sketch the trees and daffodils | ||
| + | * Catch the breeze and the winter chills | ||
| + | * In colors on the snowy linen land | ||
| + | |||
| + | * Now I understand | ||
| + | * What you tried to say to me | ||
| + | * And how you suffered for your sanity | ||
| + | * And how you tried to set them free | ||
| + | * They would not listen, they did not know how | ||
| + | * Perhaps they' | ||
| + | < | ||
| + | </ | ||
| + | < | ||
| + | * Starry, starry night | ||
| + | * Paint your palette blue and gray | ||
| + | * Look out on a summer' | ||
| + | * With eyes that know the darkness in my soul | ||
| + | * Shadows on the hills | ||
| + | * Sketch the trees and daffodils | ||
| + | * Catch the breeze and the winter chills | ||
| + | * In colors on the snowy linen land | ||
| + | |||
| + | * Now I understand | ||
| + | * What you tried to say to me | ||
| + | * And how you suffered for your sanity | ||
| + | * And how you tried to set them free | ||
| + | * They would not listen, they did not know how | ||
| + | * Perhaps they' | ||
| + | < | ||
| + | </ | ||
| + | - / | ||
| + | /* top-level: Lines if multiple top elements. No lines if single top element. */ | ||
| + | |||
| + | .list-tree > ul > li: | ||
| + | |||
| + | .list-tree > ul > li: | ||
| + | |||
| + | .list-tree > ul > li:before { | ||
| + | border-left: | ||
| + | height: 100%; | ||
| + | } | ||
| + | .list-tree > ul > li:after { border-left: | ||
| + | </ | ||
| + | * 原本 TW 的結構是 '' | ||
| + | * 左上角多餘一小段直線,則要用 li:after 去設為零邊線 | ||
| + | </ | ||
| + | |||
| + | ===== NodeTree ===== | ||
| + | / | ||
| + | - 以 [[https:// | ||
| + | - 將各個 image 取代為 [[https:// | ||
| + | - < | ||
| + | ^ NodeTree class ^ 備註 | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | </ | ||
| + | - 在 userall.css 中,最前面加上< | ||
| + | - '' | ||
| + | - 測試:< | ||
| + | * 行嗎 | ||
| + | * 來棵樹 | ||
| + | * 吧 | ||
| + | </ | ||
| + | - userall.css 改為: | ||
| + | - <code css> | ||
| + | - <code css> | ||
| + | - 放棄 '' | ||
| + | ^ NodeTree class ^ 備註 | ||
| + | | '' | ||
| + | </ | ||
| + | - < | ||
| + | <div tp> | ||
| + | * 行嗎 | ||
| + | * 來棵樹 | ||
| + | * 吧 | ||
| + | </ | ||
| + | - 有樹根加子目< | ||
| + | <div tp> | ||
| + | * 行嗎 | ||
| + | * 子目 | ||
| + | * 子目 | ||
| + | * 來棵樹 | ||
| + | * 子目 | ||
| + | * 子目 | ||
| + | * 子目 | ||
| + | * 吧 | ||
| + | * 子目 | ||
| + | * 子目 | ||
| + | </ | ||
| + | - 解決樹根位置:< | ||
| + | margin: 0; | ||
| + | }</ | ||
| + | - 之前的設計,下面有子目的話,還是都要弄 '' | ||
| + | <div tp> | ||
| + | * <div tp> | ||
| + | * 子目 | ||
| + | * 子目 | ||
| + | * <div tp> | ||
| + | * 子目 | ||
| + | * 子目 | ||
| + | * 子目 | ||
| + | * <div tp> | ||
| + | * 子目 | ||
| + | * 子目 | ||
| + | </ | ||
| + | ---- | ||
| + | </ | ||