ohif-viewer/Packages/viewerbase/client/components/studyBrowser/thumbnailEntry/thumbnailEntry.styl

99 lines
1.9 KiB
Stylus
Raw Normal View History

2016-06-07 19:09:47 +02:00
@import "{design}/app"
$seriesCountBackgroundColor = #678696
.thumbnailEntry
cursor: pointer
2016-06-07 19:09:47 +02:00
display: table
margin: 0 auto
&.draggable
cursor: copy
cursor: -webkit-grab
cursor: -moz-grab
2016-06-07 19:09:47 +02:00
.seriesDetails
theme('color', '$textPrimaryColor')
2016-06-07 19:09:47 +02:00
font-size: 14px
line-height: 1.3em
margin-top: 5px
max-width: 217px
2016-06-07 19:09:47 +02:00
min-height: 36px
position: relative
word-wrap: break-word
2016-06-07 19:09:47 +02:00
&.info-only
min-height: auto
.seriesDescription
display: none
.seriesInformation
display: flex
float: none
max-width: none
padding-right: none
.item
flex: 1
text-align: center
.icon, .value
display: inline
float: none
line-height: 25px
.value
margin-left: 0
width: auto
2016-06-07 19:09:47 +02:00
.seriesDescription
float: left
width: calc(100% - 50px)
2016-06-07 19:09:47 +02:00
.seriesInformation
display: table
float: right
padding-right: 4px
max-width: 50px
2016-06-07 19:09:47 +02:00
.item-frames .icon
height: 18px
2016-06-07 19:09:47 +02:00
.value
theme('color', '$textSecondaryColor')
display: inline-block
float: right
2016-06-07 19:09:47 +02:00
font-size: 12px
margin-left: 4px
width: calc(100% - 15px)
2016-06-07 19:09:47 +02:00
.icon
2016-09-03 19:47:39 +02:00
theme('color', '$activeColor')
display: inline-block
float: left
font-size: 10px
font-weight: 900
2016-06-07 19:09:47 +02:00
text-align: right
width: 11px
2016-06-07 19:09:47 +02:00
div
background-color: $seriesCountBackgroundColor
margin-top: 6px
position: relative
&:after
theme('background-color', '$activeColor')
2016-06-07 19:09:47 +02:00
box-shadow: 1px 1px rgba(0, 0, 0, .115)
left: -5px
position: absolute
top: -5px
&
&:after
theme('border', '1px solid $primaryBackgroundColor')
2016-06-07 19:09:47 +02:00
content: ''
display: inline-block
2016-06-07 19:09:47 +02:00
height: 11px
width: 11px