LT-249: Creating warning and response status states for measurement rows
This commit is contained in:
parent
623064ea81
commit
ef89c3dfd7
@ -17,7 +17,7 @@ $textColorActive = #2D2D2D
|
|||||||
|
|
||||||
.roundedButton
|
.roundedButton
|
||||||
align-items: center
|
align-items: center
|
||||||
background-color: $darkUiColor
|
background-color: $uiGrayDarker
|
||||||
border: 1px $uiBorderColorDark solid
|
border: 1px $uiBorderColorDark solid
|
||||||
color: $textSecondaryColor
|
color: $textSecondaryColor
|
||||||
display: flex
|
display: flex
|
||||||
@ -56,7 +56,7 @@ $textColorActive = #2D2D2D
|
|||||||
|
|
||||||
&:hover .roundedButton
|
&:hover .roundedButton
|
||||||
background-color: $boxBackgroundColor
|
background-color: $boxBackgroundColor
|
||||||
color: $darkUiColor
|
color: $uiGrayDarker
|
||||||
|
|
||||||
&.active .roundedButton
|
&.active .roundedButton
|
||||||
background-color: $activeColor
|
background-color: $activeColor
|
||||||
@ -66,5 +66,5 @@ $textColorActive = #2D2D2D
|
|||||||
&:hover .roundedButton
|
&:hover .roundedButton
|
||||||
&.active .roundedButton
|
&.active .roundedButton
|
||||||
svg
|
svg
|
||||||
fill: $darkUiColor
|
fill: $uiGrayDarker
|
||||||
stroke: $darkUiColor
|
stroke: $uiGrayDarker
|
||||||
|
|||||||
@ -1,26 +1,25 @@
|
|||||||
|
// Common pallete
|
||||||
|
$uiYellow = #E29E4A
|
||||||
|
$uiSkyBlue = #6FBDE2
|
||||||
|
$uiGrayDark = #263340
|
||||||
|
$uiGrayDarker = #16202B
|
||||||
|
$uiGrayDarkest = #151A1F
|
||||||
|
|
||||||
// Interface UI Colors
|
// Interface UI Colors
|
||||||
$defaultColor = #94A8B3
|
$defaultColor = #94A8B3
|
||||||
$hoverColor = #ffffff
|
$hoverColor = #ffffff
|
||||||
$activeColor = #40D9B8
|
$activeColor = #40D9B8
|
||||||
$uiBorderColor = #436270
|
$uiBorderColor = #436270
|
||||||
$uiBorderColorDark = #3C5D80
|
$uiBorderColorDark = #3C5D80
|
||||||
$darkUiColor = #16202B
|
|
||||||
$primaryBackgroundColor = #000000
|
$primaryBackgroundColor = #000000
|
||||||
$boxBackgroundColor = #3E5975
|
$boxBackgroundColor = #3E5975
|
||||||
$boxBackgroundColorDark = #22374D
|
$boxBackgroundColorDark = #22374D
|
||||||
|
|
||||||
// Common pallete
|
|
||||||
$uiSkyBlue = #6FBDE2
|
|
||||||
$uiGrayDark = #263340
|
|
||||||
$uiGrayDarker = #16202B
|
|
||||||
$uiGrayDarkest = #151A1F
|
|
||||||
|
|
||||||
// Text Colors
|
// Text Colors
|
||||||
$textPrimaryColor = #ffffff
|
$textPrimaryColor = #ffffff
|
||||||
$textSecondaryColor = #91B9CD
|
$textSecondaryColor = #91B9CD
|
||||||
|
|
||||||
// Other Colors
|
// Other Colors
|
||||||
$errorColor = #E29E4A
|
|
||||||
$menuBackgroundColor = #F2F2F2
|
$menuBackgroundColor = #F2F2F2
|
||||||
|
|
||||||
// Sizes
|
// Sizes
|
||||||
|
|||||||
@ -25,7 +25,7 @@
|
|||||||
font-size: 14px
|
font-size: 14px
|
||||||
padding: 0 10px
|
padding: 0 10px
|
||||||
color: $textPrimaryColor
|
color: $textPrimaryColor
|
||||||
background-color: $darkUiColor
|
background-color: $uiGrayDarker
|
||||||
|
|
||||||
.entrySection
|
.entrySection
|
||||||
#regionsOfMetastaticDisease
|
#regionsOfMetastaticDisease
|
||||||
|
|||||||
@ -1,23 +1,21 @@
|
|||||||
<template name="lesionTableRow">
|
<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='lesionRowSidebar'>
|
||||||
<div class="lesionNumber">
|
<div class="lesionNumber">
|
||||||
{{lesionNumberAbsolute}}
|
{{lesionNumberAbsolute}}
|
||||||
</div>
|
</div>
|
||||||
<div class="lesionNumber">
|
{{#if descriptionRequired}}
|
||||||
{{ #if descriptionRequired }}
|
<div class="warning-icon">
|
||||||
<div>
|
|
||||||
<svg>
|
<svg>
|
||||||
<use xlink:href=/packages/lesiontracker/assets/icons.svg#icon-ui-warning></use>
|
<use xlink:href=/packages/lesiontracker/assets/icons.svg#icon-ui-warning></use>
|
||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
{{ /if }}
|
{{/if}}
|
||||||
{{ #if responseStatus }}
|
{{#if responseStatus}}
|
||||||
<div>
|
<div class="response-status-icon">
|
||||||
CR
|
CR
|
||||||
</div>
|
</div>
|
||||||
{{ /if }}
|
{{/if}}
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="lesionDetails">
|
<div class="lesionDetails">
|
||||||
<div class='location'>
|
<div class='location'>
|
||||||
|
|||||||
@ -28,16 +28,42 @@
|
|||||||
.lesionRowSidebar
|
.lesionRowSidebar
|
||||||
color: $activeColor
|
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
|
.lesionRowSidebar
|
||||||
background: $uiGrayDark
|
background: $uiGrayDark
|
||||||
color: $textSecondaryColor
|
color: $textSecondaryColor
|
||||||
flex: 1
|
flex: 1
|
||||||
max-width: 30px
|
max-width: 30px
|
||||||
padding-right: 5px
|
|
||||||
|
|
||||||
.lesionNumber
|
.lesionNumber
|
||||||
font-size: 14px
|
font-size: 14px
|
||||||
font-weight: 400
|
font-weight: 400
|
||||||
|
margin-right: 5px
|
||||||
padding-top: 10px
|
padding-top: 10px
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
|
|||||||
@ -99,7 +99,7 @@ $seriesSpacing = 2px
|
|||||||
.studyTimepointStudy.active .studyModality
|
.studyTimepointStudy.active .studyModality
|
||||||
box-shadow: inset 0 0 0 3px $activeColor
|
box-shadow: inset 0 0 0 3px $activeColor
|
||||||
.studyBox
|
.studyBox
|
||||||
background-color: $darkUiColor
|
background-color: $uiGrayDarker
|
||||||
border: solid 1px $activeColor
|
border: solid 1px $activeColor
|
||||||
border-radius: 11px
|
border-radius: 11px
|
||||||
display: block
|
display: block
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user