LT-249: Creating warning and response status states for measurement rows
This commit is contained in:
1 parent
623064ea81
commit
ef89c3dfd7
6 files changed
+47
-24
No files matched your search
+1
-1
@@ -25,7 +25,7 @@
|
||||
font-size: 14px
|
||||
padding: 0 10px
|
||||
color: $textPrimaryColor
|
||||
background-color: $darkUiColor
|
||||
background-color: $uiGrayDarker
|
||||
|
||||
.entrySection
|
||||
#regionsOfMetastaticDisease
|
||||
|
||||
@@ -1,23 +1,21 @@
|
||||
<template name="lesionTableRow">
|
||||
<div class="lesionTableRow" data-measurementid="{{_id}}">
|
||||
<div class="lesionTableRow {{#if descriptionRequired}}warning{{/if}}{{#if responseStatus}}response-status{{/if}}" data-measurementid="{{_id}}">
|
||||
<div class='lesionRowSidebar'>
|
||||
<div class="lesionNumber">
|
||||
{{lesionNumberAbsolute}}
|
||||
</div>
|
||||
<div class="lesionNumber">
|
||||
{{ #if descriptionRequired }}
|
||||
<div>
|
||||
{{#if descriptionRequired}}
|
||||
<div class="warning-icon">
|
||||
<svg>
|
||||
<use xlink:href=/packages/lesiontracker/assets/icons.svg#icon-ui-warning></use>
|
||||
</svg>
|
||||
</div>
|
||||
{{ /if }}
|
||||
{{ #if responseStatus }}
|
||||
<div>
|
||||
{{/if}}
|
||||
{{#if responseStatus}}
|
||||
<div class="response-status-icon">
|
||||
CR
|
||||
</div>
|
||||
{{ /if }}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="lesionDetails">
|
||||
<div class='location'>
|
||||
|
||||
@@ -28,16 +28,42 @@
|
||||
.lesionRowSidebar
|
||||
color: $activeColor
|
||||
|
||||
&.response-status .lesionRowSidebar .response-status-icon
|
||||
background-color: $defaultColor
|
||||
border-radius: 11px
|
||||
color: $uiGrayDark
|
||||
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
|
||||
|
||||
.lesionRowSidebar
|
||||
background: $uiGrayDark
|
||||
color: $textSecondaryColor
|
||||
flex: 1
|
||||
max-width: 30px
|
||||
padding-right: 5px
|
||||
|
||||
.lesionNumber
|
||||
font-size: 14px
|
||||
font-weight: 400
|
||||
margin-right: 5px
|
||||
padding-top: 10px
|
||||
text-align: center
|
||||
|
||||
|
||||
+1
-1
@@ -99,7 +99,7 @@ $seriesSpacing = 2px
|
||||
.studyTimepointStudy.active .studyModality
|
||||
box-shadow: inset 0 0 0 3px $activeColor
|
||||
.studyBox
|
||||
background-color: $darkUiColor
|
||||
background-color: $uiGrayDarker
|
||||
border: solid 1px $activeColor
|
||||
border-radius: 11px
|
||||
display: block
|
||||
|
||||
Reference in new issue
Block a user