diff options
author | Florian Orben <florian.orben@gmail.com> | 2015-12-04 23:14:31 +0100 |
---|---|---|
committer | Florian Orben <florian.orben@gmail.com> | 2015-12-05 00:22:08 +0100 |
commit | 355056622b3bd1cd6e1f3dda18273a473bc14823 (patch) | |
tree | 5d3a75efa033b406022ae25a2e8c7b7fe8429e7d /web/sass-files/sass/partials/_post.scss | |
parent | 1bee1e06e4d0110db274c076860fa97f76471ddb (diff) | |
download | chat-355056622b3bd1cd6e1f3dda18273a473bc14823.tar.gz chat-355056622b3bd1cd6e1f3dda18273a473bc14823.tar.bz2 chat-355056622b3bd1cd6e1f3dda18273a473bc14823.zip |
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 4376b43a4..3507f3b41 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; @@ -616,11 +618,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 { |