.related-tasks { margin-bottom: 2rem; position: relative; } .related-tasks-header { align-content: center; align-items: center; background: $whitish; display: flex; justify-content: space-between; min-height: 36px; .related-tasks-title { @extend %medium; @extend %bold; margin-left: 1rem; } .add-button { background: $grayer; border: 0; display: inline-block; padding: .5rem; transition: background .25s; &:hover, &.is-active { background: $primary-light; } svg { fill: $white; height: 1.25rem; margin-bottom: -.2rem; width: 1.25rem; } } } .related-tasks-body { width: 100%; .row { @extend %small; align-content: center; align-items: center; border-bottom: 1px solid $whitish; display: flex; justify-content: center; padding: .5rem 0 .5rem .5rem; position: relative; text-align: left; width: 100%; &:hover { background: transparent; .task-settings { opacity: 1; transition: all .2s ease-in; } } &:last-child { border: 0; } .tasks { overflow: hidden; width: 100%; } .status { flex-shrink: 0; width: 100px; } .assigned-to { cursor: pointer; flex-shrink: 0; width: 150px; } } .related-task-create-form { padding: 0; &.active { padding: .5rem 0 .5rem .5rem; } } .status { position: relative; text-align: left; &:hover { .icon { opacity: 1; transition: opacity .2s ease-in; } } .not-clickable { &:hover { color: $grayer; } } .popover { a { text-align: left; width: 100%; } .point { text-align: center; } } .icon { @include svg-size(.8rem); fill: $gray-light; margin-left: .2rem; opacity: 0; } } .pop-status { @include popover(200px, 0, 40%); padding-right: 1rem; &.fix { bottom: 0; top: auto; } } .task-name { display: flex; justify-content: space-between; position: relative; a { display: inline-block; max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; svg, span { margin-right: .25rem; } } svg, span { margin-right: .25rem; } input { @extend %medium; margin-right: 1rem; padding: 3px; width: 85%; } &.loading { margin: 0; padding: 8px; text-align: center; width: 100%; span { animation: loading .5s linear, spin 1s linear infinite; } } } .iocaine, .iocaine:hover { background: rgba($primary-light, .3); .icon-iocaine { @extend %large; display: inline-block; margin-right: .5rem; vertical-align: top; } a, svg { color: $primary-dark; fill: $primary-dark; &:hover { color: currentColor; fill: currentColor; } } } .blocked, .blocked:hover { background: $red-light; color: $white; a, svg { color: $white; fill: $white; &:hover { color: currentColor; fill: currentColor; } } } .icon-iocaine { display: none; } .task-settings { align-items: center; display: flex; opacity: 0; svg { @include svg-size(1.1rem); fill: $gray-light; margin-right: 2rem; transition: fill .2s ease-in; &:hover { cursor: pointer; fill: $grayer; } &.icon-close:hover { fill: $red-light; } } } .assigned-to { position: relative; text-align: left; } .task-assignedto { position: relative; &.editable { cursor: pointer; } &:hover { .icon { opacity: 1; transition: opacity .3s linear; } } figcaption { max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .icon { @include svg-size(.8rem); fill: $gray-light; opacity: 0; position: absolute; right: .5rem; top: .5rem; transition: opacity .3s linear; } } .avatar { align-items: center; display: flex; img { flex-basis: 35px; // width & height they are only required for IE height: 35px; width: 35px; } figcaption { margin-left: .5rem; } } }