summaryrefslogtreecommitdiffstats
path: root/client/components/cards/cardDate.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/cardDate.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/cardDate.styl')
-rw-r--r--client/components/cards/cardDate.styl58
1 files changed, 58 insertions, 0 deletions
diff --git a/client/components/cards/cardDate.styl b/client/components/cards/cardDate.styl
new file mode 100644
index 00000000..1631baa5
--- /dev/null
+++ b/client/components/cards/cardDate.styl
@@ -0,0 +1,58 @@
+.edit-card-date
+ .fields
+ .left
+ width: 56%
+ .right
+ width: 38%
+ .datepicker
+ width: 100%
+ table
+ width: 100%
+ border: none
+ border-spacing: 0
+ border-collapse: collapse
+ thead
+ background: none
+ td, th
+ box-sizing: border-box
+
+
+.card-date
+ display: block
+ border-radius: 4px
+ padding: 1px 3px
+
+ background-color: #dbdbdb
+ &:hover, &.is-active
+ background-color: #b3b3b3
+
+ &.current, &.almost-due, &.due, &.long-overdue
+ color: #fff
+
+ &.current
+ background-color: #5ba639
+ &:hover, &.is-active
+ background-color: darken(#5ba639, 10)
+
+ &.almost-due
+ background-color: #edc909
+ &:hover, &.is-active
+ background-color: darken(#edc909, 10)
+
+ &.due
+ background-color: #fa3f00
+ &:hover, &.is-active
+ background-color: darken(#fa3f00, 10)
+
+ &.long-overdue
+ background-color: #fd5d47
+ &:hover, &.is-active
+ background-color: darken(#fd5d47, 7)
+
+ time
+ &::before
+ font: normal normal normal 14px/1 FontAwesome
+ font-size: inherit
+ -webkit-font-smoothing: antialiased
+ content: "\f017" // clock symbol
+ margin-right: 0.3em \ No newline at end of file