2017-04-19 21:51:10 +02:00
|
|
|
@require '{ohif:design}/app'
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
.viewerSection
|
2016-06-29 21:34:05 +02:00
|
|
|
display: flex
|
2016-07-04 16:04:27 +02:00
|
|
|
flex: 1
|
2016-06-07 19:09:47 +02:00
|
|
|
flex-flow: row nowrap
|
|
|
|
|
align-items: stretch
|
2017-04-19 21:51:10 +02:00
|
|
|
height: 'calc(100vh - %s)' % ($toolbarHeight + $topBarHeight)
|
2016-06-07 19:09:47 +02:00
|
|
|
width: 100%
|
|
|
|
|
|
|
|
|
|
.sidebarMenu
|
2016-06-22 19:51:28 +02:00
|
|
|
height: 100%
|
2016-06-29 16:09:52 +02:00
|
|
|
// required transformation to make inner fixed elements relative to this one
|
|
|
|
|
transform(scale(1))
|
2016-06-22 19:51:28 +02:00
|
|
|
transition($sidebarTransition)
|
2016-06-29 16:09:52 +02:00
|
|
|
|
|
|
|
|
.sidebar-option
|
|
|
|
|
height: 100%
|
2017-04-21 00:21:45 +02:00
|
|
|
max-width: inherit
|
|
|
|
|
position: absolute
|
2016-06-29 16:09:52 +02:00
|
|
|
transform(translateX(100%))
|
|
|
|
|
transition($sidebarTransition)
|
|
|
|
|
width: 100%
|
|
|
|
|
|
|
|
|
|
&.active
|
|
|
|
|
transform(translateX(0%))
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
.sidebar-left
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('border-right', '%s solid $uiBorderColor' % $uiBorderThickness)
|
2016-06-29 16:09:52 +02:00
|
|
|
flex: 1
|
|
|
|
|
margin-left: - $studiesSidebarMenuWidth
|
2016-09-09 22:09:38 +02:00
|
|
|
max-width: $studiesSidebarMenuWidth
|
|
|
|
|
order: 1
|
2016-11-21 20:10:57 +01:00
|
|
|
visibility: hidden
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
&.sidebar-open
|
2016-06-29 16:09:52 +02:00
|
|
|
margin-left: 0
|
2016-11-21 20:10:57 +01:00
|
|
|
visibility: visible
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
.mainContent
|
2016-06-29 16:09:52 +02:00
|
|
|
flex: 1
|
2016-06-07 19:09:47 +02:00
|
|
|
height: 100%
|
2017-04-19 21:51:10 +02:00
|
|
|
order: 2
|
2016-06-29 21:34:05 +02:00
|
|
|
overflow: hidden
|
2016-06-29 16:09:52 +02:00
|
|
|
transition($sidebarTransition)
|
2017-04-19 21:51:10 +02:00
|
|
|
width: 100%
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
.sidebar-right
|
2016-06-29 16:09:52 +02:00
|
|
|
flex: 1
|
|
|
|
|
margin-right: - $lesionsSidebarMenuWidth
|
|
|
|
|
max-width: $lesionsSidebarMenuWidth
|
2016-06-23 21:15:41 +02:00
|
|
|
order: 3
|
2016-06-29 16:09:52 +02:00
|
|
|
position: relative
|
2016-11-21 20:10:57 +01:00
|
|
|
visibility: hidden
|
2016-06-29 16:09:52 +02:00
|
|
|
|
|
|
|
|
&[data-timepoints="3"]
|
|
|
|
|
margin-right: - ($lesionsSidebarMenuWidth + 135.5px)
|
|
|
|
|
max-width: $lesionsSidebarMenuWidth + 135.5px
|
|
|
|
|
|
|
|
|
|
&[data-timepoints="4"]
|
|
|
|
|
margin-right: - ($lesionsSidebarMenuWidth + 270px)
|
|
|
|
|
max-width: $lesionsSidebarMenuWidth + 270px
|
2016-06-23 21:15:41 +02:00
|
|
|
|
2016-06-07 19:09:47 +02:00
|
|
|
&.sidebar-open
|
2016-06-29 16:09:52 +02:00
|
|
|
margin-right: 0
|
2016-11-21 20:10:57 +01:00
|
|
|
visibility: visible
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
.studiesListedChanger
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('border-bottom', '%s solid $uiBorderColor' % $uiBorderThickness)
|
2016-06-07 19:09:47 +02:00
|
|
|
padding: 20px 10px
|
|
|
|
|
text-align: center
|