OHIF-195: Migrate styles from PIM back to OHIF for user preferences
This commit is contained in:
parent
51d6a64c45
commit
7837aaf2d9
@ -1,13 +1,15 @@
|
|||||||
<template name="userPreferencesDialog">
|
<template name="userPreferencesDialog">
|
||||||
{{#dialogSimple (extend this class='themed' dialogClass='dialog-user-preferences modal-lg' title='User Preferences')}}
|
{{#dialogSimple (extend this class='themed' dialogClass='dialog-user-preferences modal-lg' title='User Preferences')}}
|
||||||
<ul class="nav nav-tabs">
|
<div class="dialog-separator-after">
|
||||||
<li role="presentation" class="{{tabClasses 'hotkeys'}}">
|
<ul class="nav nav-tabs">
|
||||||
<a href="#" data-id="hotkeys">Keyboard Shortcuts</a>
|
<li role="presentation" class="{{tabClasses 'hotkeys'}}">
|
||||||
</li>
|
<a href="#" data-id="hotkeys">Keyboard Shortcuts</a>
|
||||||
<li role="presentation" class="{{tabClasses 'wwwc'}}">
|
</li>
|
||||||
<a href="#" data-id="wwwc">Window W/L</a>
|
<li role="presentation" class="{{tabClasses 'wwwc'}}">
|
||||||
</li>
|
<a href="#" data-id="wwwc">Window/Levels</a>
|
||||||
</ul>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<div class="{{#unless eq instance.activeTab.get 'hotkeys'}}hidden{{/unless}}">
|
<div class="{{#unless eq instance.activeTab.get 'hotkeys'}}hidden{{/unless}}">
|
||||||
{{>hotkeysForm (extend contextName='viewer')}}
|
{{>hotkeysForm (extend contextName='viewer')}}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
.dialog-user-preferences
|
.dialog-user-preferences
|
||||||
|
|
||||||
.form-content
|
.form-content
|
||||||
|
theme('border-bottom', '1px solid $uiBorderColor')
|
||||||
margin-bottom: 10px
|
margin-bottom: 10px
|
||||||
margin-left: -15px
|
margin-left: -15px
|
||||||
margin-right: -15px
|
margin-right: -15px
|
||||||
@ -12,3 +13,64 @@
|
|||||||
|
|
||||||
.popover
|
.popover
|
||||||
width: 300px
|
width: 300px
|
||||||
|
|
||||||
|
.nav-tabs
|
||||||
|
border-bottom: 0
|
||||||
|
margin-bottom: 3px
|
||||||
|
position: relative
|
||||||
|
z-index: 1
|
||||||
|
|
||||||
|
&>li
|
||||||
|
font-size: 14px
|
||||||
|
font-weight: normal
|
||||||
|
height: 40px
|
||||||
|
line-height: 40px
|
||||||
|
margin-bottom: 0
|
||||||
|
|
||||||
|
&>a
|
||||||
|
display: block
|
||||||
|
width: 100%
|
||||||
|
line-height: inherit
|
||||||
|
margin: 0
|
||||||
|
height: inherit
|
||||||
|
padding: 0 10px 0 10px
|
||||||
|
|
||||||
|
&:after
|
||||||
|
background-color: transparent
|
||||||
|
bottom: -3px
|
||||||
|
content: ' '
|
||||||
|
display: block
|
||||||
|
height: 3px
|
||||||
|
transition(background-color 0.3s ease)
|
||||||
|
width: 100%
|
||||||
|
|
||||||
|
&>a, &.active>a
|
||||||
|
&, &:hover, &:active, &:focus
|
||||||
|
theme('color', '$activeColor')
|
||||||
|
background-color: transparent
|
||||||
|
border: 0
|
||||||
|
|
||||||
|
&.active>a
|
||||||
|
font-weight: bold
|
||||||
|
|
||||||
|
&:after
|
||||||
|
theme('background-color', '$activeColor')
|
||||||
|
|
||||||
|
.form-themed
|
||||||
|
|
||||||
|
table
|
||||||
|
color: #fff
|
||||||
|
|
||||||
|
th, td
|
||||||
|
font-size: 14px
|
||||||
|
font-weight: 300
|
||||||
|
|
||||||
|
th
|
||||||
|
line-height: 60px
|
||||||
|
|
||||||
|
td
|
||||||
|
line-height: 20px
|
||||||
|
|
||||||
|
|
||||||
|
input[type=text]
|
||||||
|
font-weight: 300
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user