2017-01-16 16:48:23 +01:00
|
|
|
@import "{ohif:design}/app"
|
2016-06-07 19:09:47 +02:00
|
|
|
|
2016-06-16 13:57:04 +02:00
|
|
|
$switchSize = 55px
|
|
|
|
|
$seriesSpacing = 2px
|
2016-06-07 19:09:47 +02:00
|
|
|
|
2016-06-16 17:08:02 +02:00
|
|
|
.quickSwitchWrapper
|
2016-06-29 21:34:05 +02:00
|
|
|
position: fixed
|
2016-06-16 17:08:02 +02:00
|
|
|
top: 0
|
2016-06-29 21:34:05 +02:00
|
|
|
z-index: 1
|
2016-06-21 14:49:23 +02:00
|
|
|
|
2016-06-13 21:30:33 +02:00
|
|
|
&.middle
|
2016-06-16 17:08:02 +02:00
|
|
|
left: 50%
|
2016-06-22 16:06:12 +02:00
|
|
|
|
|
|
|
|
.quickSwitch
|
|
|
|
|
transform(translateX(-50%))
|
2016-06-21 14:49:23 +02:00
|
|
|
|
2016-06-13 21:30:33 +02:00
|
|
|
&.left
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('border-right', '1px solid $uiBorderColor')
|
2016-06-16 17:08:02 +02:00
|
|
|
right: 50%
|
2016-11-23 19:14:51 +01:00
|
|
|
&.right-sidebar-only
|
|
|
|
|
.seriesHover
|
|
|
|
|
.scrollArea
|
|
|
|
|
padding-left: 200px;
|
2016-06-21 14:49:23 +02:00
|
|
|
|
2016-06-13 21:30:33 +02:00
|
|
|
&.right
|
2016-06-16 17:08:02 +02:00
|
|
|
left: 50%
|
2016-11-23 19:14:51 +01:00
|
|
|
&.left-sidebar-only
|
|
|
|
|
.seriesHover
|
|
|
|
|
.scrollArea
|
|
|
|
|
padding-right: 200px;
|
2016-06-16 17:08:02 +02:00
|
|
|
|
2016-06-21 14:49:23 +02:00
|
|
|
&.overlay .quickSwitch
|
2016-06-22 15:03:43 +02:00
|
|
|
transition(z-index 0s linear 0s)
|
|
|
|
|
z-index: 3
|
2016-06-21 14:49:23 +02:00
|
|
|
|
|
|
|
|
&:before
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('background-color', '$primaryBackgroundColor')
|
2016-06-21 14:49:23 +02:00
|
|
|
bottom: 0
|
|
|
|
|
content: ''
|
|
|
|
|
left: 0
|
|
|
|
|
opacity: 0
|
|
|
|
|
position: fixed
|
|
|
|
|
right: 0
|
|
|
|
|
top: 0
|
|
|
|
|
transition(opacity 0.3s ease\, visibility 0s linear 0.3s)
|
|
|
|
|
visibility: hidden
|
2016-06-22 15:03:43 +02:00
|
|
|
z-index: 2
|
2016-06-21 14:49:23 +02:00
|
|
|
|
|
|
|
|
&.overlay:before
|
|
|
|
|
opacity: 0.8
|
|
|
|
|
transition(opacity 0.3s ease\, visibility 0s linear 0s)
|
|
|
|
|
visibility: visible
|
|
|
|
|
|
2016-06-16 17:08:02 +02:00
|
|
|
.quickSwitch
|
2016-06-21 14:49:23 +02:00
|
|
|
position: relative
|
2016-06-22 15:03:43 +02:00
|
|
|
transition(z-index 0s linear 0.3s)
|
|
|
|
|
z-index: 1
|
2016-06-07 19:09:47 +02:00
|
|
|
|
2016-06-14 15:36:54 +02:00
|
|
|
.switchSection
|
2016-06-07 19:09:47 +02:00
|
|
|
display: inline-block
|
2016-06-13 20:51:05 +02:00
|
|
|
float: left
|
2016-06-14 15:36:54 +02:00
|
|
|
height: 100%
|
|
|
|
|
position: relative
|
|
|
|
|
|
2016-06-20 14:51:27 +02:00
|
|
|
&.switchSectionSeries.hover, &.switchSectionStudy:hover
|
2016-06-21 18:55:16 +02:00
|
|
|
.seriesSwitch .seriesItem
|
2016-06-14 15:36:54 +02:00
|
|
|
opacity: 0
|
|
|
|
|
.switchHover
|
2016-06-21 14:49:23 +02:00
|
|
|
opacity: 1
|
2016-06-15 16:14:30 +02:00
|
|
|
.studyHover
|
2016-06-21 18:55:16 +02:00
|
|
|
height: auto
|
|
|
|
|
padding-top: $switchSize
|
|
|
|
|
transition(padding-top 0.3s ease\, visibility 0s linear 0s)
|
|
|
|
|
visibility: visible
|
2016-06-07 19:09:47 +02:00
|
|
|
|
2016-06-20 14:51:27 +02:00
|
|
|
&.switchSectionSeries.hover
|
|
|
|
|
.seriesHover
|
|
|
|
|
.thumbnailsWrapper
|
2016-06-21 18:55:16 +02:00
|
|
|
transform(scale(0.9) translateY($switchSize))
|
2016-06-20 14:51:27 +02:00
|
|
|
transition(all 0.3s ease)
|
|
|
|
|
.thumbnailEntry .seriesDetails
|
|
|
|
|
opacity: 0
|
|
|
|
|
visibility: hidden
|
|
|
|
|
|
|
|
|
|
&:hover .seriesHover
|
|
|
|
|
.thumbnailsWrapper
|
|
|
|
|
transform(scale(1) translateY(0))
|
|
|
|
|
.thumbnailEntry .seriesDetails
|
|
|
|
|
opacity: 1
|
|
|
|
|
transform(translateY(0))
|
|
|
|
|
transition(all 0.3s ease)
|
|
|
|
|
transition-delay(0.3s)
|
|
|
|
|
visibility: visible
|
|
|
|
|
|
|
|
|
|
.seriesHover .thumbnailEntry .seriesDetails
|
|
|
|
|
opacity: 0
|
|
|
|
|
transform(translateY(-36px))
|
|
|
|
|
|
2016-06-21 18:55:16 +02:00
|
|
|
.seriesSwitch .seriesItem
|
2016-06-16 17:08:02 +02:00
|
|
|
transition(opacity 0.3s ease)
|
2016-06-07 19:09:47 +02:00
|
|
|
|
2016-06-14 15:36:54 +02:00
|
|
|
.studySwitch, .seriesSwitch
|
2016-06-16 17:08:02 +02:00
|
|
|
position: relative
|
2016-06-14 15:36:54 +02:00
|
|
|
|
2016-06-07 19:09:47 +02:00
|
|
|
.studySwitch
|
2016-06-21 14:49:23 +02:00
|
|
|
.studyTimepointBrowser
|
|
|
|
|
background-color: transparent
|
2016-06-17 20:03:44 +02:00
|
|
|
.studyTimepointStudy.active .studyModality
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('box-shadow', 'inset 0 0 0 3px $activeColor')
|
2016-06-16 17:08:02 +02:00
|
|
|
.studyBox
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('background-color', '$uiGrayDark')
|
2016-11-17 18:55:28 +01:00
|
|
|
theme('border', 'solid 2px $uiBorderColorDark')
|
2016-06-16 17:08:02 +02:00
|
|
|
border-radius: 11px
|
|
|
|
|
display: block
|
|
|
|
|
height: $switchSize
|
|
|
|
|
width: $switchSize
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
.seriesSwitch
|
|
|
|
|
display: block
|
2016-06-16 13:57:04 +02:00
|
|
|
height: $switchSize + $seriesSpacing
|
|
|
|
|
width: $switchSize + $seriesSpacing
|
|
|
|
|
|
|
|
|
|
.seriesItem
|
2017-01-16 16:48:23 +01:00
|
|
|
theme('background-color', '$boxBackgroundColor')Dark
|
2016-06-16 13:57:04 +02:00
|
|
|
border-radius: 3px
|
|
|
|
|
height: 15px
|
|
|
|
|
margin: $seriesSpacing
|
|
|
|
|
width: 15px
|
|
|
|
|
|
|
|
|
|
&.count
|
|
|
|
|
background-color: transparent
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('color', '$textPrimaryColor')
|
2016-06-16 13:57:04 +02:00
|
|
|
font-size: 12px
|
|
|
|
|
font-weight: 500
|
|
|
|
|
line-height: 17px
|
|
|
|
|
text-align: center
|
|
|
|
|
|
|
|
|
|
&.active
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('background-color', '$activeColor')
|
2016-06-07 19:09:47 +02:00
|
|
|
|
2016-06-16 17:08:02 +02:00
|
|
|
.label
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('color', '$textSecondaryColor')
|
2016-06-16 17:08:02 +02:00
|
|
|
display: block
|
|
|
|
|
font-size: 12px
|
2016-11-17 18:55:28 +01:00
|
|
|
font-weight: 500
|
|
|
|
|
line-height: 12px
|
2016-06-16 17:08:02 +02:00
|
|
|
padding: 0
|
2016-11-17 18:55:28 +01:00
|
|
|
padding-bottom: 3px
|
2016-06-16 17:08:02 +02:00
|
|
|
text-align: center
|
|
|
|
|
|
2016-06-14 15:36:54 +02:00
|
|
|
.switchHover
|
2016-06-20 14:51:27 +02:00
|
|
|
border: 10px solid transparent
|
2016-06-10 17:33:43 +02:00
|
|
|
border-radius: 5px
|
2016-06-20 14:51:27 +02:00
|
|
|
margin: -10px
|
2016-06-14 15:36:54 +02:00
|
|
|
opacity: 0
|
|
|
|
|
overflow: hidden
|
|
|
|
|
position: absolute
|
2016-06-16 17:08:02 +02:00
|
|
|
top: 0
|
2016-06-14 15:36:54 +02:00
|
|
|
z-index: 10000
|
|
|
|
|
|
|
|
|
|
.scrollArea
|
2016-11-15 13:20:02 +01:00
|
|
|
margin-right: -22px;
|
2016-11-22 20:31:38 +01:00
|
|
|
max-height: 610px
|
2016-06-22 19:51:28 +02:00
|
|
|
overflow-x: hidden
|
2016-06-14 15:36:54 +02:00
|
|
|
overflow-y: scroll
|
2016-11-15 13:20:02 +01:00
|
|
|
width: calc(100% + 22px)
|
2017-01-16 16:48:23 +01:00
|
|
|
|
2016-11-15 13:20:02 +01:00
|
|
|
&.is-mac
|
2016-11-15 16:43:28 +01:00
|
|
|
padding-right: 22px
|
2017-01-16 16:48:23 +01:00
|
|
|
|
2016-11-22 20:31:38 +01:00
|
|
|
&.show-scroll-indicator-up:before
|
|
|
|
|
&.show-scroll-indicator-down:after
|
|
|
|
|
font-family: FontAwesome
|
|
|
|
|
display: block
|
|
|
|
|
theme('color', '$activeColor')
|
|
|
|
|
font-size: 2em
|
|
|
|
|
width: 100%
|
|
|
|
|
height: 10px
|
|
|
|
|
position: absolute
|
|
|
|
|
z-index: 1
|
|
|
|
|
text-align: center
|
|
|
|
|
left: 0
|
2017-01-16 16:48:23 +01:00
|
|
|
|
2016-11-22 20:31:38 +01:00
|
|
|
&.show-scroll-indicator-up:before
|
|
|
|
|
top: -10px
|
|
|
|
|
content: '\f102'
|
2017-01-16 16:48:23 +01:00
|
|
|
|
2016-11-22 20:31:38 +01:00
|
|
|
&.show-scroll-indicator-down:after
|
|
|
|
|
bottom: 18px
|
|
|
|
|
content: '\f103'
|
2016-06-07 19:09:47 +02:00
|
|
|
|
2016-06-13 21:30:33 +02:00
|
|
|
.studyHover
|
2016-06-21 18:55:16 +02:00
|
|
|
height: 0
|
|
|
|
|
padding-top: 0
|
|
|
|
|
transition(padding-top 0.3s ease\, visibility 0s linear 0.3s)
|
|
|
|
|
visibility: hidden
|
2016-06-20 14:51:27 +02:00
|
|
|
width: 320px
|
2016-06-13 21:30:33 +02:00
|
|
|
|
2016-06-21 18:55:16 +02:00
|
|
|
.scrollArea
|
|
|
|
|
height: 500px
|
|
|
|
|
|
2016-06-07 19:09:47 +02:00
|
|
|
.seriesHover
|
2016-06-21 18:55:16 +02:00
|
|
|
transform(scale(0))
|
|
|
|
|
transition(all 0.3s ease)
|
2016-06-20 14:51:27 +02:00
|
|
|
width: 731px
|
2016-06-10 17:33:43 +02:00
|
|
|
|
|
|
|
|
.thumbnailEntry
|
|
|
|
|
margin: 0
|
2016-06-13 20:51:05 +02:00
|
|
|
|
2016-06-16 17:08:02 +02:00
|
|
|
.quickSwitchWrapper.left, .quickSwitchWrapper.middle
|
2016-06-14 15:36:54 +02:00
|
|
|
.seriesHover .thumbnailEntry
|
|
|
|
|
float: right
|
|
|
|
|
.studyHover
|
|
|
|
|
left: 0
|
2016-06-20 14:51:27 +02:00
|
|
|
.seriesHover, .thumbnailsWrapper
|
2016-06-14 15:36:54 +02:00
|
|
|
right: 0
|
|
|
|
|
transform-origin(100% 0%)
|
|
|
|
|
|
2016-06-16 17:08:02 +02:00
|
|
|
.quickSwitchWrapper.right
|
2016-06-14 15:36:54 +02:00
|
|
|
.seriesHover .thumbnailEntry
|
|
|
|
|
float: left
|
|
|
|
|
.studyHover
|
|
|
|
|
right: 0
|
2016-06-20 14:51:27 +02:00
|
|
|
.seriesHover, .thumbnailsWrapper
|
2016-06-14 15:36:54 +02:00
|
|
|
left: 0
|
|
|
|
|
transform-origin(0% 0%)
|
|
|
|
|
|
|
|
|
|
// Responsive layout
|
2016-06-16 13:57:04 +02:00
|
|
|
$switchSmallSize = 35px
|
|
|
|
|
$seriesSmallSpacing = 1px
|
2016-06-14 15:36:54 +02:00
|
|
|
|
2016-06-16 13:57:04 +02:00
|
|
|
@media screen and (max-width: 1023px)
|
2016-06-20 14:51:27 +02:00
|
|
|
.switchSectionSeries.hover .seriesHover
|
2016-06-14 15:36:54 +02:00
|
|
|
transform(scale(0.5))
|
2016-06-16 13:57:04 +02:00
|
|
|
@media screen and (min-width: 1024px) and (max-width: 1151px)
|
2016-06-20 14:51:27 +02:00
|
|
|
.switchSectionSeries.hover .seriesHover
|
2016-06-16 17:08:02 +02:00
|
|
|
transform(scale(0.61))
|
2016-06-16 13:57:04 +02:00
|
|
|
@media screen and (min-width: 1152px) and (max-width: 1279px)
|
2016-06-20 14:51:27 +02:00
|
|
|
.switchSectionSeries.hover .seriesHover
|
2016-06-16 17:08:02 +02:00
|
|
|
transform(scale(0.69))
|
2016-06-16 13:57:04 +02:00
|
|
|
@media screen and (min-width: 1280px) and (max-width: 1359px)
|
2016-06-20 14:51:27 +02:00
|
|
|
.switchSectionSeries.hover .seriesHover
|
2016-06-16 17:08:02 +02:00
|
|
|
transform(scale(0.77))
|
2016-06-16 13:57:04 +02:00
|
|
|
@media screen and (min-width: 1360px) and (max-width: 1439px)
|
2016-06-20 14:51:27 +02:00
|
|
|
.switchSectionSeries.hover .seriesHover
|
2016-06-16 17:08:02 +02:00
|
|
|
transform(scale(0.82))
|
2016-06-16 13:57:04 +02:00
|
|
|
@media screen and (min-width: 1440px) and (max-width: 1599px)
|
2016-06-20 14:51:27 +02:00
|
|
|
.switchSectionSeries.hover .seriesHover
|
2016-06-16 17:08:02 +02:00
|
|
|
transform(scale(0.87))
|
|
|
|
|
@media screen and (min-width: 1600px) and (max-width: 1919px)
|
2016-06-20 14:51:27 +02:00
|
|
|
.switchSectionSeries.hover .seriesHover
|
2016-06-16 17:08:02 +02:00
|
|
|
transform(scale(0.97))
|
|
|
|
|
@media screen and (min-width: 1920px)
|
2016-06-20 14:51:27 +02:00
|
|
|
.switchSectionSeries.hover .seriesHover
|
2016-06-14 15:36:54 +02:00
|
|
|
transform(scale(1))
|
|
|
|
|
|
2016-06-16 13:57:04 +02:00
|
|
|
@media screen and (max-width: 1599px)
|
2016-06-13 21:30:33 +02:00
|
|
|
.quickSwitch
|
2016-06-14 15:36:54 +02:00
|
|
|
.switchSection
|
2016-06-16 17:08:02 +02:00
|
|
|
.studySwitch .studyBox
|
2016-06-13 21:30:33 +02:00
|
|
|
border-radius: 7px
|
2016-06-16 13:57:04 +02:00
|
|
|
height: $switchSmallSize
|
|
|
|
|
width: $switchSmallSize
|
|
|
|
|
.seriesSwitch
|
|
|
|
|
height: $switchSmallSize + $seriesSmallSpacing
|
|
|
|
|
width: $switchSmallSize + $seriesSmallSpacing
|
|
|
|
|
.seriesItem
|
|
|
|
|
border-radius: 2px
|
|
|
|
|
height: 10px
|
|
|
|
|
margin: $seriesSmallSpacing
|
|
|
|
|
width: 10px
|
|
|
|
|
&.count
|
2016-06-16 17:08:02 +02:00
|
|
|
font-size: 10px
|
|
|
|
|
font-weight: 300
|
|
|
|
|
line-height: 10px
|