Files
attract/src/styles/_tasks.sass

121 lines
2.2 KiB
Sass
Raw Normal View History

.attract-box
2016-09-21 18:26:34 +02:00
margin: 10px
padding: 0 10px 10px
+container-box
&.with-status
border-top: thick solid $color-background-dark
@include status-color-property(border-top-color, '', 'dark')
.item-name
2016-09-21 18:26:34 +02:00
font-size: 1.6em
.dropdown button
height: 38px
margin-left: 10px
.dropdown-menu
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-04 15:15:36 +02:00
.item-properties
padding: 1em
#task-add
margin-left: auto
font-size: .85em
color: $color-primary
.status-indicator
background-color: white
height: 16px
width: 16px
min-width: 16px
2016-09-21 18:26:34 +02:00
margin-left: 10px
border-radius: 50%
2016-09-21 18:26:34 +02:00
transition: all 100ms ease-in-out
.task-list-item
border-right: 5px solid transparent
color: $color-primary-dark
transition: all 150ms ease-in-out
&:hover
text-decoration: none
color: $color-primary
.status-indicator
transform: scale(1.1)
&.active
border-color: $color-background-dark
border-right-color: $color-primary
text-decoration: none
background-color: rgba($color-background, .5)
.status-indicator
2016-09-21 18:26:34 +02:00
transform: scale(1.1)
2016-09-21 18:26:34 +02:00
.status, .type
display: inline-block
margin-right: 10px
text-transform: uppercase
font-size: .8em
text-decoration: none
2016-09-21 18:26:34 +02:00
.type
2016-09-21 19:38:46 +02:00
margin-left: auto
2016-09-21 18:26:34 +02:00
color: $color-text-dark-primary
+text-overflow-ellipsis
2016-09-21 18:26:34 +02:00
.name
margin: 10px
+text-overflow-ellipsis
@include status-color-property(background-color, ' .status-indicator', 'light')
2016-09-21 14:15:25 +02:00
option.invalid_task
color: $color-danger
background-color: hsl(hue($color-danger), 80%, 90%)
.task-list-header
border-right: thin solid $color-background
a
color: $color-text-dark
+text-overflow-ellipsis
a.task-project
color: $color-text-dark-secondary
margin-left: 10px
2016-09-21 18:26:34 +02:00
.input-group-separator
margin: 10px 0
border-top: thin solid $color-background