-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#38 start working on conflict details
- Loading branch information
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
ui/src/visualizations/team-awareness/components/ConflictDetailsModal/ConflictDetailsModal.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
); | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...c/visualizations/team-awareness/components/ConflictDetailsModal/ConflictDetailsModal.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {} |