summaryrefslogtreecommitdiffstats
path: root/client/components/cards/checklists.styl
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-02-10 09:54:23 +0200
committerLauri Ojansivu <x@xet7.org>2017-02-10 09:54:23 +0200
commit0065ca3ad6a3a627cde557b6c80f87c8c6267492 (patch)
treef832fde75ee9fba0310a51196c2e7ce90dedcfec /client/components/cards/checklists.styl
parent89959753cd10321fc21cf290bdd06f26b19874b9 (diff)
parent1f7d1f023ff4a6ec2e8923e54fe26c68fa7d9380 (diff)
downloadwekan-0065ca3ad6a3a627cde557b6c80f87c8c6267492.tar.gz
wekan-0065ca3ad6a3a627cde557b6c80f87c8c6267492.tar.bz2
wekan-0065ca3ad6a3a627cde557b6c80f87c8c6267492.zip
Merge branch 'devel' into greenkeeper-xss-0.3.3
Diffstat (limited to 'client/components/cards/checklists.styl')
-rw-r--r--client/components/cards/checklists.styl68
1 files changed, 68 insertions, 0 deletions
diff --git a/client/components/cards/checklists.styl b/client/components/cards/checklists.styl
new file mode 100644
index 00000000..885d7528
--- /dev/null
+++ b/client/components/cards/checklists.styl
@@ -0,0 +1,68 @@
+.js-add-checklist
+ color: #8c8c8c
+
+textarea.js-add-checklist-item, textarea.js-edit-checklist-item
+ overflow: hidden
+ word-wrap: break-word
+ resize: none
+ height: 34px
+
+.delete-text
+ color: #8c8c8c
+ text-decoration: underline
+ word-wrap: break-word
+ float: right
+ padding-top: 6px
+ &:hover
+ color: inherit
+
+.checklist-title
+ .checkbox
+ float: left
+ width: 30px
+ height 30px
+ font-size: 18px
+ line-height: 30px
+
+ .title
+ font-size: 18px
+ line-height: 30px
+
+ .checklist-stat
+ margin: 0 0.5em
+ float: right
+ padding-top: 6px
+ &.is-finished
+ color: #3cb500
+
+ .js-delete-checklist
+ @extends .delete-text
+
+.checklist-items
+ margin: 0 0 0.5em 1.33em
+
+ .item
+ line-height: 25px
+ font-size: 1.1em
+ margin-top: 3px
+ display: flex
+
+ .check-box
+ margin-top: 5px
+ &.is-checked
+ border-bottom: 2px solid #3cb500
+ border-right: 2px solid #3cb500
+
+ .item-title
+ padding-left: 10px;
+ &.is-checked
+ color: #8c8c8c
+ font-style: italic
+
+ .js-delete-checklist-item
+ @extends .delete-text
+ padding: 12px 0 0 0
+
+ .add-checklist-item
+ padding-top: 0.5em
+ display: inline-block