mirror of
https://github.com/wekan/wekan.git
synced 2026-03-10 15:42:34 +01:00
Add basic start and due dates for cards.
This commit is contained in:
parent
182c9af123
commit
d4497d7aeb
7 changed files with 290 additions and 1 deletions
50
client/components/cards/cardDate.styl
Normal file
50
client/components/cards/cardDate.styl
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
.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
|
||||
background-color: #42ca00
|
||||
&:hover, &.is-active
|
||||
background-color: darken(#42ca00, 15)
|
||||
|
||||
&.almost-due
|
||||
background-color: #fad900
|
||||
&:hover, &.is-active
|
||||
background-color: darken(#fad900, 15)
|
||||
|
||||
&.due
|
||||
background-color: #fa3f00
|
||||
&:hover, &.is-active
|
||||
background-color: darken(#fa3f00, 15)
|
||||
|
||||
time
|
||||
&::before
|
||||
font: normal normal normal 14px/1 FontAwesome
|
||||
font-size: inherit
|
||||
-webkit-font-smoothing: antialiased
|
||||
content: "\f017" // clock symbol
|
||||
margin-right: 0.3em
|
||||
Loading…
Add table
Add a link
Reference in a new issue