OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
@import "helpers"
$ian-bg-color: var(--body-background)
$ian-bg-hover-color: var(--bgColor-neutral-muted)
$ian-bg-read-color: var(--bgColor-muted)
$ian-bg-read-hover-color: hsl(from var(--bgColor-neutral-muted) h s calc(l - 0.5))
$ian-bg-selected-color: var(--codeMirror-selection-bgColor)
$ian-bg-selected-hover-color: hsl(from var(--codeMirror-selection-bgColor) h calc(s - 30) l)
// This needs to be set in the itemSize of
// the virtual scroller
$ian-height: 100px
$subject-font-size: 14px
.op-ian-item
display: block
background: $ian-bg-color
margin: 0
padding: 15px 10px
font-size: 0.9rem
border-top: 1px solid var(--borderColor-default)
height: $ian-height
&:hover
background: $ian-bg-hover-color
&:first-child
border-top: none
&:last-of-type
border-bottom: 1px solid var(--borderColor-default)
&_selected
background: $ian-bg-selected-color
&:hover
background: $ian-bg-selected-hover-color
&_read
background: $ian-bg-read-color
&:hover
background: $ian-bg-read-hover-color
&--row
@include unset-button-styles
width: 100%
height: 100%
display: grid
grid-template-rows: auto $subject-font-size auto
grid-template-areas: "header" "body" "footer"
grid-gap: 10px
align-items: center
cursor: pointer
&--top-line
grid-area: header
display: grid
grid-template-columns: max-content max-content minmax(0, max-content) minmax(0, max-content) auto minmax(20px, max-content)
grid-template-areas: "status wpIdLink project reason count buttons"
grid-column-gap: 5px
font-size: var(--body-font-size)
align-items: baseline
&--middle-line
grid-area: body
display: grid
grid-template-columns: auto 1fr
grid-column-gap: 5px
line-height: normal
&--bottom-line
grid-area: footer
&--work-package-subject
@include text-shortener
font-weight: var(--base-text-weight-bold)
&.-read
font-weight: normal
&--work-package-id-link
grid-area: wpIdLink
&--project
grid-area: project
color: var(--fgColor-muted)
@include text-shortener
&--project-link,
&--work-package-id-link
color: var(--fgColor-muted)
font-weight: var(--base-text-weight-bold)
&--reason-count
grid-area: count
@include indicator-bubble
justify-self: flex-end
margin-right: 5px
&--reason-wrapper
grid-area: reason
@include text-shortener
color: var(--fgColor-muted)
&--status
grid-area: status
margin-right: 5px
&--buttons
grid-area: buttons
font-size: 16px
&--button
&:hover
color: var(--accent-color)
&_shown-on-focus
@include show-on-focus
&--loading-indicator
height: 100%
display: block
grid-area: loadingIndicator
svg
// Height - padding
height: calc(#{$ian-height} - 30px)
&--loading
display: grid
grid-template-columns: max-content auto minmax(20px, max-content)
grid-template-areas: "loadingIndicator count buttons"
grid-column-gap: 5px