差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
dokuwiki:dev:nodetree [2020/09/16 02:13] ghsrobert [ListTree] 初步測試還有些問題 |
dokuwiki:dev:nodetree [2020/09/17 06:31] (目前版本) ghsrobert [NodeTree] 插多圖 |
||
---|---|---|---|
行 3: | 行 3: | ||
===== ListTree ===== | ===== ListTree ===== | ||
- | 或是移植 TiddlyWiki 5 的[[http:// | + | 或是先移植 TiddlyWiki 5 的[[http:// |
==== 測試 ==== | ==== 測試 ==== | ||
行 19: | 行 19: | ||
* 終於明白恨人不容易 | * 終於明白恨人不容易 | ||
* 不願愛得沒有答案結局 | * 不願愛得沒有答案結局 | ||
- | </ | + | </ |
* 是誰太勇敢 | * 是誰太勇敢 | ||
* 說喜歡離別 | * 說喜歡離別 | ||
行 30: | 行 30: | ||
* 終於明白恨人不容易 | * 終於明白恨人不容易 | ||
* 不願愛得沒有答案結局 | * 不願愛得沒有答案結局 | ||
- | {{http:// | + | </ |
.list-tree > li: | .list-tree > li: | ||
行 39: | 行 39: | ||
border-left: | border-left: | ||
height: 100%; | 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:// | ||
+ | - <div> | ||
+ | ^ 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> | ||
+ | * 子目 | ||
+ | * 子目 | ||
+ | </ | ||
+ | ---- | ||
+ | </ |