From 355056622b3bd1cd6e1f3dda18273a473bc14823 Mon Sep 17 00:00:00 2001 From: Florian Orben Date: Fri, 4 Dec 2015 23:14:31 +0100 Subject: fix misaligned checkbox; remove list-style from list-elements with checkboxes --- web/sass-files/sass/partials/_post.scss | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'web/sass-files/sass/partials/_post.scss') 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 { -- cgit v1.2.3-1-g7c22