This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a90f70c
commit 53fd5fa
Showing
11 changed files
with
137 additions
and
37 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
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 * as React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
const StyledElementPane = styled.div` | ||
position: relative; | ||
flex-grow: 3; | ||
flex-shrink: 0; | ||
flex-basis: 60%; | ||
overflow: scroll; | ||
/*FadeOut*/ | ||
&::after { | ||
content: ''; | ||
position: sticky; | ||
bottom: 0; | ||
display: block; | ||
width: 100%; | ||
height: 40px; | ||
background: linear-gradient(to bottom, rgba(247,247,247,0) 0%, rgba(247,247,247,0.5) 15%, rgba(247,247,247,1) 100%); | ||
} | ||
`; | ||
|
||
const ElementPane: React.StatelessComponent<{}> = props => <StyledElementPane>{props.children}</StyledElementPane>; | ||
|
||
export default ElementPane; |
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,9 @@ | ||
{ | ||
"name": "element-pane", | ||
"displayName": "Element Pane", | ||
"flag": "alpha", | ||
"version": "1.0.0", | ||
"tags": ["atom", "element-pane"], | ||
"patterns": { | ||
} | ||
} |
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,16 @@ | ||
import { colors } from '../../colors'; | ||
import * as React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
const StyledPatternsPane = styled.div` | ||
box-sizing: border-box; | ||
flex-grow: 2; | ||
flex-shrink: 0; | ||
flex-basis: 40%; | ||
border-top: 2px solid ${colors.grey70.toString()}; | ||
overflow: scroll; | ||
`; | ||
|
||
const PatternsPane: React.StatelessComponent<{}> = props => <StyledPatternsPane>{props.children}</StyledPatternsPane>; | ||
|
||
export default PatternsPane; |
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,10 @@ | ||
{ | ||
"name": "patterns-pane", | ||
"displayName": "Patterns Pane", | ||
"flag": "alpha", | ||
"version": "1.0.0", | ||
"tags": ["atom", "patterns-pane"], | ||
"patterns": { | ||
"color": "color" | ||
} | ||
} |
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,19 @@ | ||
import { colors } from '../../colors'; | ||
import * as React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
const StyledPreviewPane = styled.div` | ||
flex-grow: 1; | ||
flex-shrink: 0; | ||
background: ${colors.white.toString()}; | ||
border-radius: 6px 6px 0 0; | ||
box-shadow: 0 3px 9px 0 ${colors.black.toRGBString(0.15)}; | ||
overflow: hidden; | ||
`; | ||
|
||
const PreviewPane: React.StatelessComponent<{}> = props => <StyledPreviewPane dangerouslySetInnerHTML={{ | ||
__html: | ||
'<webview id="preview" style="height: 100%;" src="./preview.html" partition="electron" nodeintegration />' | ||
}} />; | ||
|
||
export default PreviewPane; |
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,10 @@ | ||
{ | ||
"name": "preview-pane", | ||
"displayName": "Preview Pane", | ||
"flag": "alpha", | ||
"version": "1.0.0", | ||
"tags": ["atom", "preview-pane"], | ||
"patterns": { | ||
"colors": "colors" | ||
} | ||
} |
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,12 @@ | ||
import * as React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
const StyledProjectPane = styled.div` | ||
flex-grow: 1; | ||
flex-shrink: 0; | ||
flex-basis: 60%; | ||
`; | ||
|
||
const ProjectPane: React.StatelessComponent<{}> = props => <StyledProjectPane>{props.children}</StyledProjectPane>; | ||
|
||
export default ProjectPane; |
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,9 @@ | ||
{ | ||
"name": "project-pane", | ||
"displayName": "Project Pane", | ||
"flag": "alpha", | ||
"version": "1.0.0", | ||
"tags": ["atom", "project-pane"], | ||
"patterns": { | ||
} | ||
} |
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,12 @@ | ||
import * as React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
const StyledPropertyPane = styled.div` | ||
flex-grow: 1; | ||
flex-shrink: 0; | ||
flex-basis: 40%; | ||
`; | ||
|
||
const PropertyPane: React.StatelessComponent<{}> = props => <StyledPropertyPane>{props.children}</StyledPropertyPane>; | ||
|
||
export default PropertyPane; |
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,9 @@ | ||
{ | ||
"name": "property-pane", | ||
"displayName": "Property Pane", | ||
"flag": "alpha", | ||
"version": "1.0.0", | ||
"tags": ["atom", "property-pane"], | ||
"patterns": { | ||
} | ||
} |