Skip to content

Commit

Permalink
#38 start working on conflict details
Browse files Browse the repository at this point in the history
  • Loading branch information
m4nv3ru committed Sep 25, 2022
1 parent f3695de commit 9253a04
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions ui/src/visualizations/team-awareness/chart/chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default class TeamAwareness extends React.PureComponent {

this.state = {
componentMounted: false,
showModal: true,
colors: this.createColorSchema(_.map(this.props.data.stakeholders, 'id'))
};
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import React from 'react';
import * as styles from './ConflictDetailsModal.scss';

export default class ConflictDetailsModal extends React.Component {
constructor(props) {
super(props);
this.styles = Object.assign({}, styles);
}

render() {
return (
<div className={this.styles.darkBG}>
<div className={this.styles.modal}>
<div className={this.styles.modalHeader}>
<b>Conflict Details</b>
</div>
<div className={this.styles.modalBody}>Here comes the content</div>
<div className={this.styles.modalFooter}>
<button>Close</button>
</div>
</div>
</div>
);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
.darkBG {
background-color: rgba(0, 0, 0, 0.2);
width: 100vw;
height: 100vh;
z-index: 0;
position: absolute;
}


.modal {
background-color: white;
width: 500px;
height: 500px;
z-index: 10;
position: absolute;
margin-left: auto;

border-radius: 5px;
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.04);
}


.modalHeader {
font-size: 2rem;
display: flex;
align-items: center;
flex-direction: row;
justify-content: center;
}
.modalBody {}
.modalFooter {}

0 comments on commit 9253a04

Please sign in to comment.