diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-12-07 10:13:35 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-12-07 10:13:35 -0500 |
commit | b06f11fd632f146a204b4ef1357a8c099bade072 (patch) | |
tree | 5c2a788e5ffc0c6aa7422d41af58fb5c8926e3bf /web/sass-files/sass/partials/_post.scss | |
parent | 5c684a199b099cb465802282816ae1d93a74a954 (diff) | |
parent | 355056622b3bd1cd6e1f3dda18273a473bc14823 (diff) | |
download | chat-b06f11fd632f146a204b4ef1357a8c099bade072.tar.gz chat-b06f11fd632f146a204b4ef1357a8c099bade072.tar.bz2 chat-b06f11fd632f146a204b4ef1357a8c099bade072.zip |
Merge pull request #1627 from florianorben/ux-formatting-task-list
fix misaligned checkbox; remove list-style from list-elements with checkboxes
Diffstat (limited to 'web/sass-files/sass/partials/_post.scss')
-rw-r--r-- | web/sass-files/sass/partials/_post.scss | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss index af603f692..3b7184550 100644 --- a/web/sass-files/sass/partials/_post.scss +++ b/web/sass-files/sass/partials/_post.scss @@ -1,3 +1,5 @@ +@charset "UTF-8"; + .custom-textarea { white-space:pre-wrap; word-wrap:break-word; @@ -615,11 +617,36 @@ body.ios { padding: 0 0 0 20px } + li.list-item--task-list ul, li.list-item--task-list ol { + margin-left: 20px; + } + + li.list-item--task-list ul { + padding-left: 0; + } + + li:not(.list-item--task-list) li.list-item--task-list, li:not(.list-item--task-list) li.list-item--task-list ~ li { + margin-left: -20px; + } + li input[type="checkbox"]:disabled { - vertical-align: sub; + vertical-align: top; cursor: default; } } + + ul li.list-item--task-list, ul li.list-item--task-list ~ li { + list-style-type: none; + } + + ul li.list-item--task-list ~ li:not(.list-item--task-list) { + text-indent: 3px; + + &:before { + content: "⦁"; + margin-right: 8px; + } + } } .post__link { |