From ee9ea4450d33bf1904786c49f5d3d1b299146cfd Mon Sep 17 00:00:00 2001 From: Erik Ziegler Date: Thu, 9 Jun 2016 11:21:21 +0200 Subject: [PATCH] More study list styling --- .../userAccountMenu/userAccountMenu.html | 10 ++-- .../userAccountMenu/userAccountMenu.js | 4 ++ .../userAccountMenu/userAccountMenu.styl | 14 ++++++ .../basic/loadingText/loadingText.html | 2 +- .../basic/loadingText/loadingText.styl | 4 +- Packages/viewerbase/lib/createStacks.js | 4 ++ .../worklistResult/worklistResult.html | 4 +- .../worklistResult/worklistResult.styl | 49 +++++++++++++++++-- 8 files changed, 77 insertions(+), 14 deletions(-) diff --git a/Packages/lesiontracker/client/components/userAccountMenu/userAccountMenu.html b/Packages/lesiontracker/client/components/userAccountMenu/userAccountMenu.html index 8af506eaf..2b5352a87 100644 --- a/Packages/lesiontracker/client/components/userAccountMenu/userAccountMenu.html +++ b/Packages/lesiontracker/client/components/userAccountMenu/userAccountMenu.html @@ -1,10 +1,12 @@ \ No newline at end of file diff --git a/Packages/worklist/client/components/worklistResult/worklistResult.styl b/Packages/worklist/client/components/worklistResult/worklistResult.styl index 60b3ebe30..8c96bd50e 100644 --- a/Packages/worklist/client/components/worklistResult/worklistResult.styl +++ b/Packages/worklist/client/components/worklistResult/worklistResult.styl @@ -8,6 +8,8 @@ $inputBackgroundColor = #2c363f $inputPlaceholderColor = lightgray $studyListToolbarHeight = 75px +$theadBackgroundColor = #151a1f +$tablePadding = 80px .studyListToolbar height: $studyListToolbarHeight @@ -36,16 +38,44 @@ $studyListToolbarHeight = 75px padding: 0 10px line-height: $studyListToolbarHeight +.theadBackground + background-color: $theadBackgroundColor + width: 100% + height: 122px + position: absolute + z-index: 1 + #studyListContainer + padding: 0 $tablePadding + position: absolute + z-index: 2 + + .loadingTextDiv + color: $textSecondaryColor + font-size: 30px + font-weight: 200 + + .notFound + color: $textSecondaryColor + font-size: 30px + font-weight: 200 + text-align: center + table#tblStudyList thead - background-color: #151a1f + background-color: $theadBackgroundColor white-space: nowrap - border-bottom: solid 1px #6fbde2; tr th padding: 0 + border-bottom: solid 1px #6fbde2 + + &:first-child + padding-left: $tablePadding + + &:last-child + padding-right: $tablePadding div.sortingCell display: inline-block @@ -56,7 +86,6 @@ $studyListToolbarHeight = 75px color: $textPrimaryColor font-weight: 400 padding: 20px - background: #171717 span font-size: 15px @@ -65,8 +94,12 @@ $studyListToolbarHeight = 75px i margin: 0 5px - &:hover, &.active - background: #252525 + &:hover + color: $activeColor + + &.active, &:active + color: $activeColor + input.worklist-search height: 34px @@ -126,6 +159,12 @@ $studyListToolbarHeight = 75px transition(all 0.1s ease) + &:first-child + padding-left: $tablePadding + + &:last-child + padding-right: $tablePadding + &:hover, &:active, &.active background-color: $hoverColor color: white