File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed
packages/webui/src/client Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 66
77.properties-panel {
88 position : fixed ;
9- background : #fff ;
9+ background : #7b7b7b ;
1010 color : #000 ;
11- top : 45 px ;
11+ top : 50 px ;
1212 right : 0 ;
13- bottom : 20 px ;
13+ bottom : 10 px ;
1414 width : calc (#{$notification-center-width } + 4.6875rem );
1515 z-index : 292 ;
1616
2626 }
2727
2828 .propertiespanel-pop-up {
29- background : #303030 ;
29+ background : #252525 ;
3030 border-radius : 1px ;
3131 box-shadow : 0 2px 10px rgba (0 , 0 , 0 , 0.7 );
3232 margin : 1px ;
33- height : 100 % ;
33+ height : 98.2 % ;
3434 width : 87% ;
3535
3636 & :first-child {
4141 margin-bottom : 0.9375rem ;
4242 }
4343
44+ > .propertiespanel-pop-up_close {
45+ position : absolute ;
46+ top : 25px ;
47+ right : 70px ;
48+ color : white ;
49+ }
50+
4451 > .propertiespanel-pop-up__header {
45- background : #484848 ;
52+ background : #3d3d3d ;
4653 color : #ddd ;
4754
4855 min-width : 2.5rem ;
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import { DBPart } from '@sofie-automation/corelib/dist/dataModel/Part'
2828import { RundownId } from '@sofie-automation/corelib/dist/dataModel/Ids'
2929import { SchemaFormInPlace } from '../../lib/forms/SchemaFormInPlace'
3030import { RundownUtils } from '../../lib/rundown'
31+ import * as CoreIcon from '@nrk/core-icons/jsx'
3132
3233interface PendingChange {
3334 operationId : string
@@ -39,7 +40,7 @@ interface PendingChange {
3940}
4041
4142export function PropertiesPanel ( ) : JSX . Element {
42- const { listSelectedElements } = useSelection ( )
43+ const { listSelectedElements, clearSelections } = useSelection ( )
4344 const selectedElement = listSelectedElements ( ) ?. [ 0 ]
4445 const { t } = useTranslation ( )
4546
@@ -117,6 +118,10 @@ export function PropertiesPanel(): JSX.Element {
117118 return (
118119 < div className = "properties-panel" >
119120 < div className = "propertiespanel-pop-up" >
121+ < div className = "propertiespanel-pop-up_close" onClick = { clearSelections } >
122+ < CoreIcon . NrkClose />
123+ </ div >
124+
120125 { rundownId && selectedElement ?. type === 'part' && (
121126 < >
122127 < div className = "propertiespanel-pop-up__header" >
You can’t perform that action at this time.
0 commit comments