Files
attract/src/styles/_tasks.sass

166 lines
3.0 KiB
Sass
Raw Normal View History

.item-list.task
overflow-x: hidden
.attract-box
2016-09-21 18:26:34 +02:00
margin: 10px
padding: 10px
2016-09-21 18:26:34 +02:00
+container-box
&.with-status
border-top: thick solid $color-background-dark
@include status-color-property(border-top-color, '', 'dark')
2017-05-10 23:34:46 +02:00
@include status-color-property(color, ' select', 'dark')
@include status-color-property(border-bottom-color, ' select', 'dark')
.item-name
2016-09-21 18:26:34 +02:00
font-size: 1.6em
margin: 0
+text-overflow-ellipsis
span.item-name
2016-10-21 14:47:55 +02:00
padding-left: 5px
margin-top: 0
2016-11-03 13:07:46 +01:00
color: $color-text-dark-secondary
2016-10-21 14:47:55 +02:00
.item-description
padding: 10px 5px
color: $color-text-dark-primary
2016-09-21 18:26:34 +02:00
.dropdown button
height: 38px
margin-left: 10px
.dropdown-menu
2016-10-24 16:20:35 +02:00
top: 36px
left: initial
right: 0
padding-top: 0
padding-bottom: 0
border: thin solid $color-background
box-shadow: 1px 1px 2px rgba(black, .1), 0 5px 25px rgba(black, .1)
li
display: flex
height: 100%
width: 100%
padding: 0
margin: 0
&.divider
height: 2px
&.item-delete a:hover
color: $color-danger
a
padding: 10px 15px 10px 12px
flex: 1
height: 100%
color: $color-text-dark-primary
i
position: relative
top: -1px
left: -4px
font-size: .9em
2016-10-21 14:47:55 +02:00
.table.item-properties
.table-body
text-shadow: 1px 1px 0 white
.table-row
.table-cell
2016-11-03 16:07:55 +01:00
padding: 3px 10px
2016-10-21 14:47:55 +02:00
vertical-align: top
2016-11-03 16:07:55 +01:00
line-height: 1.6em
2016-10-21 14:47:55 +02:00
border: none
color: $color-text-dark-primary
2016-10-21 14:47:55 +02:00
@include status-color-property(color, '', 'dark')
&:first-child
width: 120px
2016-10-21 17:01:32 +02:00
max-width: 200px
2016-10-21 14:47:55 +02:00
text-align: right
font-weight: bold
padding-right: 10px
border-right: thin solid $color-background-dark
2016-10-21 17:01:32 +02:00
+text-overflow-ellipsis
2016-10-21 14:47:55 +02:00
&.properties-assignees
.table-cell span
display: block
&.properties-status
cursor: help
2016-10-21 14:47:55 +02:00
2016-10-21 16:00:58 +02:00
.attract-box+.attract-box
margin-top: 0
#item-add
margin-left: auto
font-size: .85em
color: $color-primary
.status-indicator
position: absolute
height: 100%
top: 0
bottom: 0
width: 5px
.task-list-item
position: relative
2016-10-13 19:25:22 +02:00
color: $color-text-dark
&:hover
2016-10-14 15:49:40 +02:00
color: $color-text-dark-primary
2016-10-13 19:25:22 +02:00
background-color: $color-background-light
text-decoration: none
&.active
text-decoration: none
.status, .due_date
display: inline-block
margin-right: 10px
text-transform: uppercase
font-size: .8em
text-decoration: none
.due_date
margin-left: auto
color: $color-text-dark-primary
+text-overflow-ellipsis
&.late
color: $color-danger
2016-10-20 12:54:03 +02:00
.name
padding: 5px 5px 5px 10px
+text-overflow-ellipsis
2016-10-20 12:54:03 +02:00
.shotname
color: $color-text-dark-secondary
margin-left: 15px
2016-10-20 12:54:03 +02:00
padding-right: 10px
position: relative
+text-overflow-ellipsis
2016-10-20 12:54:03 +02:00
&:after
position: absolute
width: 2px
height: 2px
right: 0
border-radius: 50%
bottom: 9px
display: block
content: ''
border: thin solid $color-text-dark-hint
.status-indicator+.name
margin-left: 5px
2016-10-13 19:25:22 +02:00
@include status-color-property(background-color, ' .status-indicator', '')
2016-09-21 14:15:25 +02:00
option.invalid_task
color: $color-danger
background-color: hsl(hue($color-danger), 80%, 90%)