ohif-viewer/Packages/lesiontracker/client/components/lesionTableRow/lesionTableRow.styl
2016-07-22 11:12:04 +02:00

141 lines
2.6 KiB
Stylus

@import "{design}/app"
.lesionTableRow
display: flex
margin-left: -6px
margin-top: 2px
padding-left: 6px
// required transformation to make inner fixed elements relative to this one
transform(scale(1))
width: calc(100% + 6px)
&:before
background-color: $activeColor
border-top-left-radius: 7px
border-bottom-left-radius: 7px
content: ''
display: block
height: 100%
left: 0
opacity: 0
pointer-events: none
position: fixed
top: 0
transition(all 0.3s ease)
width: 5px
&.active
&:before
opacity: 1
.lesionRowSidebar
color: $activeColor
.rowOptions
height: 35px
visibility: visible
&.response-status .lesionRowSidebar .response-status-icon
background-color: $defaultColor
border-radius: 11px
color: $uiGray
font-size: 12px
font-weight: 700
height: 21px
line-height: 22px
margin: 5px auto 0
text-align: center
width: 21px
&.warning .lesionRowSidebar
color: $textPrimaryColor
background-color: $uiYellow
.warning-icon, svg
width: 22px
height: 20px
.warning-icon
margin: 7px auto 0
svg
fill: $textPrimaryColor
.rowOptions
background-color: $uiGrayDarker
height: 0
overflow: hidden
transition(all 0.3s ease)
visibility: hidden
.rowAction
color: $defaultColor
cursor: pointer
line-height: 35px
transition(all 0.3s ease)
&:hover, &:active
color: $textPrimaryColor
svg
fill: $textPrimaryColor
stroke: $textPrimaryColor
svg
fill: $defaultColor
stroke: $defaultColor
transition(all 0.3s ease)
&.edit-icon
width: 14px
height: 13px
&.close-icon
width: 11px
height: 11px
.lesionRowSidebar
background: $uiGray
color: $textSecondaryColor
cursor: pointer
flex: 1
max-width: 30px
transition(all 0.3s ease)
.lesionNumber
font-size: 14px
font-weight: 400
margin-right: 5px
padding-top: 10px
text-align: center
.lesionDetails
flex: 1
padding: 5px 2px 0 0
&>*
padding-left: 14px
.location
font-weight: 400
font-size: 14px
color: $textSecondaryColor
height: 30px
line-height: 30px
margin-left: -2px
width: 100%
.timepointData
display: flex
height: 27px
margin-top: 1px
div
flex: 1
font-size: 14px
font-weight: 400
justify-content: space-around
line-height: 18px
padding-bottom: 10px