T-249: Adjusting measurements panel styles

This commit is contained in:
Bruno Alves de Faria 2016-06-23 13:38:49 -03:00 committed by Erik Ziegler
parent bca32d88e0
commit 1ffbf15ea3
10 changed files with 80 additions and 66 deletions

View File

@ -9,6 +9,12 @@ $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

View File

@ -1,15 +1,13 @@
<template name="lesionTable"> <template name="lesionTable">
<div id="lesionTableContainer"> <div id="lesionTableContainer">
<div class="lesionTableLayoutChanger viewerRoundedButtonGroup"> <div class="lesionTableLayoutChanger viewerRoundedButtonGroup">
{{ >roundedButtonGroup buttonGroupData }} {{>roundedButtonGroup buttonGroupData}}
</div> </div>
<div class="lesionTableTimepointHeaderRow"> <div class="lesionTableTimepointHeaderRow">
<div class="spacer"> {{#each timepoints}}
</div> {{>lesionTableTimepointHeader}}
{{ #each timepoints }} {{/each}}
{{ >lesionTableTimepointHeader }}
{{ /each }}
</div> </div>
{{ >lesionTableView }} {{>lesionTableView}}
</div> </div>
</template> </template>

View File

@ -1,17 +1,15 @@
@import "{design}/app" @import "{design}/app"
#lesionTableContainer #lesionTableContainer
width: 100% background-color: $primaryBackgroundColor
height: calc(100% - 105px) height: calc(100% - 105px)
background-color: #000000 width: 100%
.lesionTableTimepointHeaderRow .lesionTableTimepointHeaderRow
display: flex display: flex
padding: 2px 2px 0 44px
.spacer
width: 20px
.lesionTableLayoutChanger .lesionTableLayoutChanger
margin: 0 auto
padding: 20px padding: 20px
text-align: center text-align: center
margin: 0 auto

View File

@ -3,59 +3,62 @@
$headerRowHeight = 63px $headerRowHeight = 63px
.lesionTableHeaderRow .lesionTableHeaderRow
border-top: 2px solid black background-color: $uiGrayDarkest
background: #151a1f
color: $textSecondaryColor color: $textSecondaryColor
fill: $textSecondaryColor
width: 316px
height: $headerRowHeight
display: flex display: flex
fill: $textSecondaryColor
height: $headerRowHeight
line-height: $headerRowHeight line-height: $headerRowHeight
margin-top: 2px
width: 316px
div div
align-items: stretch
flex: 1 flex: 1
justify-content: space-around justify-content: space-around
align-items: stretch
text-align: center text-align: center
.add .add
padding: 0 10px
max-width: 40px
cursor: pointer cursor: pointer
max-width: 30px
padding-left: 2px
svg svg
height: $headerRowHeight height: $headerRowHeight
max-width: 11px max-width: 11px
.type .type
color: $textSecondaryColor
font-size: 22px
font-weight: 300
line-height: $headerRowHeight
padding: 0 10px padding: 0 10px
text-align: left text-align: left
font-weight: 300
color: #91b9cd
height: $headerRowHeight
font-size: 13pt
.numberOfLesions .numberOfLesions
float: right float: right
color: #6fbde2 color: $uiSkyBlue
font-weight: 100 font-weight: 300
font-size: 40px font-size: 40px
max-width: 50px max-width: 54px
margin-right: 5px
height: $headerRowHeight height: $headerRowHeight
line-height: $headerRowHeight line-height: 66px
.max .max
height: $headerRowHeight height: $headerRowHeight
max-width: 64px
text-align: right
.maxNumLesions .maxNumLesions
margin: 21px auto background-color: $textSecondaryColor;
height: 20px
line-height: 20px
width: 47px
font-size: 12px
text-transform: uppercase
font-weight: 500
border-radius: 3px border-radius: 3px
color: black color: black
background-color: $textSecondaryColor; display: table
font-size: 12px
font-weight: 500
height: 19px
line-height: 17px
margin-left: auto
margin-top: 22px
padding: 2px 6px 0
text-transform: uppercase

View File

@ -2,45 +2,51 @@
.lesionTableRow .lesionTableRow
display: flex display: flex
border-top: 2px solid black
height: 63px height: 63px
margin-top: 2px
width: 100% width: 100%
.lesionRowSidebar .lesionRowSidebar
flex: 1 background: $uiGrayDark
color: $textSecondaryColor color: $textSecondaryColor
background: $darkUiColor flex: 1
max-width: 30px max-width: 30px
padding-right: 5px
.lesionNumber .lesionNumber
font-size: 14px
font-weight: 400
padding-top: 10px
text-align: center text-align: center
font-weight: 200
padding: 3px
&.active &.active
border-left: 4px $activeColor solid border-left: 4px $activeColor solid
.lesionDetails .lesionDetails
flex: 1 flex: 1
padding-left: 20px padding: 5px 2px 0 14px
padding-top: 5px
display: flex display: flex
flex-direction: column flex-direction: column
align-items: stretch align-items: stretch
.location .location
flex: 1 flex: 1
font-weight: 200 font-weight: 400
font-size: 14px font-size: 14px
color: $textSecondaryColor color: $textSecondaryColor
height: 20px height: 30px
line-height: 30px
margin-left: -2px
width: 100% width: 100%
.timepointData .timepointData
display: flex display: flex
margin-top: 1px
div div
font-weight: 200
padding-bottom: 10px
flex: 1 flex: 1
font-size: 14px
font-weight: 400
justify-content: space-around justify-content: space-around
line-height: 18px
padding-bottom: 10px

View File

@ -1,10 +1,10 @@
<template name="lesionTableTimepointHeader"> <template name="lesionTableTimepointHeader">
<div class="lesionTableTimepointHeader"> <div class="lesionTableTimepointHeader">
<div class="timepointName"> <div class="timepointName">
{{ timepointName }} {{timepointName}}
</div> </div>
<div class="timepointDate"> <div class="timepointDate">
{{ formatDA latestDate "DD-MMM-YY"}} {{formatDA latestDate "DD-MMM-YY"}}
</div> </div>
</div> </div>
</template> </template>

View File

@ -2,16 +2,21 @@
.lesionTableTimepointHeader .lesionTableTimepointHeader
flex: 1 flex: 1
padding-left: 20px
justify-content: space-around justify-content: space-around
div div
text-align: center border-left: $uiBorderColor $uiBorderThickness solid
font-weight: 400
padding-left: 12px
text-align: left
.timepointName .timepointName
color: $textSecondaryColor color: $textSecondaryColor
font-size: 12px
line-height: 12px
.timepointDate .timepointDate
font-weight: 200
color: $textPrimaryColor color: $textPrimaryColor
border-left: $uiBorderColor $uiBorderThickness solid font-size: 14px
line-height: 20px
padding-bottom: 6px

View File

@ -5,7 +5,6 @@
overflow-y: auto overflow-y: auto
margin-right: -16px margin-right: -16px
padding-bottom: 100px padding-bottom: 100px
padding-right: 16px
-webkit-overflow-scrolling: touch -webkit-overflow-scrolling: touch

View File

@ -1,7 +1,6 @@
@import "{design}/app" @import "{design}/app"
$circleSize = 46px $circleSize = 46px
$progressTextColor = #6fbde2
.radialProgress .radialProgress
height: $circleSize height: $circleSize
@ -34,7 +33,7 @@ $progressTextColor = #6fbde2
font-weight: 700 font-weight: 700
font-size: 17px font-size: 17px
text-align: center text-align: center
color: $progressTextColor color: $uiSkyBlue
top: 0 top: 0
svg svg

View File

@ -8,13 +8,13 @@ $inputBackgroundColor = #2c363f
$inputPlaceholderColor = lightgray $inputPlaceholderColor = lightgray
$studyListToolbarHeight = 75px $studyListToolbarHeight = 75px
$theadBackgroundColor = #151a1f $theadBackgroundColor = $uiGrayDarkest
$tablePadding = 8% $tablePadding = 8%
$bodyCellHeight = 40px $bodyCellHeight = 40px
.studyListToolbar .studyListToolbar
height: $studyListToolbarHeight height: $studyListToolbarHeight
background: #151a1f background: $uiGrayDarkest
border-bottom: 2px solid black border-bottom: 2px solid black
padding: 0 30px padding: 0 30px
@ -35,7 +35,7 @@ $bodyCellHeight = 40px
.studyCount .studyCount
font-size: 40px font-size: 40px
font-weight: 100 font-weight: 100
color: #6fbde2 color: $uiSkyBlue
padding: 0 10px padding: 0 10px
line-height: $studyListToolbarHeight line-height: $studyListToolbarHeight
@ -149,7 +149,7 @@ $bodyCellHeight = 40px
background-color: black background-color: black
&:nth-child(even) &:nth-child(even)
background-color: #151a1f background-color: $uiGrayDarkest
td td
height: $bodyCellHeight height: $bodyCellHeight