2018-12-12 18:06:25 +01:00
|
|
|
@import "{ohif:viewerbase}/app"
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
$height = 25px
|
|
|
|
|
|
2016-06-08 17:03:43 +02:00
|
|
|
.roundedButtonGroup
|
2017-10-23 15:53:03 +02:00
|
|
|
position: relative
|
|
|
|
|
z-index: 0
|
2016-06-07 19:09:47 +02:00
|
|
|
|
2016-06-08 17:03:43 +02:00
|
|
|
.roundedButtonWrapper
|
2016-06-07 19:09:47 +02:00
|
|
|
cursor: pointer
|
|
|
|
|
display: inline-block
|
|
|
|
|
float: left
|
2017-03-29 22:14:57 +02:00
|
|
|
margin-left: -2px
|
2016-06-07 19:09:47 +02:00
|
|
|
text-decoration: none
|
2016-06-08 17:03:43 +02:00
|
|
|
text-align: center
|
|
|
|
|
|
2016-11-10 17:23:51 +01:00
|
|
|
&.disabled
|
|
|
|
|
opacity: 0.5
|
|
|
|
|
cursor: not-allowed
|
|
|
|
|
|
2016-06-08 17:03:43 +02:00
|
|
|
.roundedButton
|
|
|
|
|
align-items: center
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('background-color', '$uiGrayDark')
|
|
|
|
|
theme('border', '2px solid $uiBorderColorDark')
|
|
|
|
|
theme('color', '$textSecondaryColor')
|
2016-06-08 17:03:43 +02:00
|
|
|
display: flex
|
|
|
|
|
font-size: 11px
|
|
|
|
|
font-weight: 500
|
|
|
|
|
justify-content: center
|
|
|
|
|
height: $height
|
|
|
|
|
line-height: $height
|
|
|
|
|
padding: 0 22px
|
2017-03-29 22:14:57 +02:00
|
|
|
position: relative
|
2016-06-08 17:03:43 +02:00
|
|
|
text-transform: uppercase
|
2018-07-04 17:40:03 +02:00
|
|
|
transition($sidebarTransition)
|
2017-03-29 22:14:57 +02:00
|
|
|
z-index: 1
|
2016-06-08 17:03:43 +02:00
|
|
|
|
|
|
|
|
svg
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('fill', '$defaultColor')
|
|
|
|
|
theme('stroke', '$defaultColor')
|
2016-06-08 17:03:43 +02:00
|
|
|
|
|
|
|
|
svg
|
|
|
|
|
span
|
|
|
|
|
margin: 0 2px
|
2016-08-23 19:24:51 +02:00
|
|
|
|
2016-07-22 18:23:36 +02:00
|
|
|
i
|
|
|
|
|
line-height: 15px
|
|
|
|
|
font-size: 15px
|
2016-06-08 17:03:43 +02:00
|
|
|
|
|
|
|
|
.bottomLabel
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('color', '$textSecondaryColor')
|
2016-06-08 17:03:43 +02:00
|
|
|
font-size: 12px
|
2016-08-09 15:13:09 +02:00
|
|
|
font-weight: 500
|
2016-06-08 17:03:43 +02:00
|
|
|
line-height: 12px
|
|
|
|
|
margin-top: 8px
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
&:first-child
|
|
|
|
|
margin-left: 0
|
2016-06-08 17:03:43 +02:00
|
|
|
.roundedButton
|
|
|
|
|
border-bottom-left-radius: $height
|
|
|
|
|
border-top-left-radius: $height
|
2016-06-07 19:09:47 +02:00
|
|
|
|
2016-06-08 17:03:43 +02:00
|
|
|
&:last-child .roundedButton
|
2016-06-07 19:09:47 +02:00
|
|
|
border-bottom-right-radius: $height
|
|
|
|
|
border-top-right-radius: $height
|
2016-06-08 17:03:43 +02:00
|
|
|
|
|
|
|
|
&:hover .roundedButton
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('color', '$uiGrayDark')
|
|
|
|
|
theme('background-color', '$boxBackgroundColor')
|
2016-06-08 17:03:43 +02:00
|
|
|
|
|
|
|
|
&.active .roundedButton
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('background-color', '$activeColor')
|
|
|
|
|
theme('border-color', '$uiBorderColorActive')
|
2016-11-06 15:21:32 +01:00
|
|
|
theme('color', '$uiGrayDark')
|
2017-03-29 22:14:57 +02:00
|
|
|
z-index: 2
|
2016-06-08 17:03:43 +02:00
|
|
|
|
|
|
|
|
&:hover .roundedButton
|
|
|
|
|
&.active .roundedButton
|
|
|
|
|
svg
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('fill', '$uiGrayDark')
|
|
|
|
|
theme('stroke', '$uiGrayDark')
|