2016-06-07 19:09:47 +02:00
|
|
|
@import "{design}/app"
|
|
|
|
|
|
|
|
|
|
$switchSize = 50px
|
2016-06-13 21:30:33 +02:00
|
|
|
$switchTop = 5px
|
|
|
|
|
$switchHeight = 70px
|
|
|
|
|
$switchWrapperWidth = 140px
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
.quickSwitch
|
|
|
|
|
height: 80px
|
2016-06-13 20:51:05 +02:00
|
|
|
position: absolute
|
2016-06-13 21:30:33 +02:00
|
|
|
top: $switchTop
|
|
|
|
|
width: $switchWrapperWidth
|
|
|
|
|
|
|
|
|
|
&.middle
|
|
|
|
|
left: 'calc(50% - %s)' % ($switchWrapperWidth / 2)
|
|
|
|
|
|
|
|
|
|
&.left
|
|
|
|
|
left: 'calc(50% - %s - 20px)' % $switchWrapperWidth
|
|
|
|
|
&.right
|
|
|
|
|
left: calc(50% + 20px)
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
div.switchSection
|
|
|
|
|
display: inline-block
|
2016-06-13 20:51:05 +02:00
|
|
|
float: left
|
2016-06-07 19:09:47 +02:00
|
|
|
margin: 0 5px
|
|
|
|
|
|
|
|
|
|
.label
|
2016-06-13 20:51:05 +02:00
|
|
|
color: $textSecondaryColor
|
2016-06-07 19:09:47 +02:00
|
|
|
display: block
|
|
|
|
|
font-size: 12px
|
2016-06-13 20:51:05 +02:00
|
|
|
font-weight: 300
|
|
|
|
|
text-align: center
|
|
|
|
|
text-transform: uppercase
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
.studySwitch
|
|
|
|
|
display: block
|
|
|
|
|
margin: 0 auto
|
|
|
|
|
width: $switchSize
|
|
|
|
|
height: $switchSize
|
|
|
|
|
border-radius: 11px
|
|
|
|
|
background-color: $darkUiColor
|
|
|
|
|
border: solid 1px $activeColor
|
|
|
|
|
|
|
|
|
|
.seriesSwitch
|
|
|
|
|
display: block
|
|
|
|
|
width: $switchSize
|
|
|
|
|
height: $switchSize
|
|
|
|
|
|
|
|
|
|
svg
|
|
|
|
|
width: $switchSize
|
|
|
|
|
height: $switchSize
|
|
|
|
|
|
|
|
|
|
.mirror-x
|
|
|
|
|
transform(scaleX(-1));
|
|
|
|
|
|
2016-06-13 21:30:33 +02:00
|
|
|
.studyHover, .seriesHover
|
2016-06-07 19:09:47 +02:00
|
|
|
position: absolute
|
|
|
|
|
z-index: 10000
|
2016-06-13 21:30:33 +02:00
|
|
|
top: $switchHeight
|
2016-06-07 19:09:47 +02:00
|
|
|
width: 400px
|
|
|
|
|
height: 500px
|
2016-06-10 17:33:43 +02:00
|
|
|
background: black
|
|
|
|
|
opacity: 0.8
|
|
|
|
|
border-radius: 5px
|
2016-06-07 19:09:47 +02:00
|
|
|
transition(all 0.3s ease)
|
|
|
|
|
|
2016-06-13 21:30:33 +02:00
|
|
|
.studyHover
|
|
|
|
|
left: -350px
|
|
|
|
|
width: 400px
|
|
|
|
|
|
2016-06-07 19:09:47 +02:00
|
|
|
.seriesHover
|
|
|
|
|
left: 50px
|
|
|
|
|
width: 700px
|
|
|
|
|
|
|
|
|
|
&.tiny
|
|
|
|
|
width: 0
|
|
|
|
|
height: 0
|
|
|
|
|
opacity: 0
|
2016-06-10 17:33:43 +02:00
|
|
|
|
|
|
|
|
.thumbnailEntry
|
|
|
|
|
margin: 0
|
|
|
|
|
width: 33%
|
|
|
|
|
display: inline-block
|
2016-06-13 20:51:05 +02:00
|
|
|
|
2016-06-13 21:30:33 +02:00
|
|
|
$switchSizeSmall = 35px
|
2016-06-13 20:51:05 +02:00
|
|
|
@media screen and (max-width: 1600px)
|
2016-06-13 21:30:33 +02:00
|
|
|
.quickSwitch
|
|
|
|
|
&.left
|
|
|
|
|
left: 'calc(50% - %s - 8px)' % $switchWrapperWidth
|
|
|
|
|
&.right
|
|
|
|
|
left: calc(50% + 8px)
|
|
|
|
|
height: 45px
|
|
|
|
|
div.switchSection
|
|
|
|
|
.label
|
|
|
|
|
font-size: 8px
|
|
|
|
|
font-weight: 400
|
|
|
|
|
padding: 0
|
|
|
|
|
.studySwitch
|
|
|
|
|
border-radius: 7px
|
|
|
|
|
.studySwitch, .seriesSwitch
|
|
|
|
|
&, svg
|
|
|
|
|
width: $switchSizeSmall
|
|
|
|
|
height: $switchSizeSmall
|