-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace SASS with JSS.
- Loading branch information
Showing
83 changed files
with
1,277 additions
and
985 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
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 was deleted.
Oops, something went wrong.
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,3 @@ | ||
import React from 'react' | ||
|
||
export const styles = (Target) => (props) => <Target {...{ ...props, classes: {} }} /> |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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 @@ | ||
import { createSheet } from '../../theme' | ||
|
||
export const styles = createSheet(() => ({ | ||
'bodyContent': { | ||
display: 'table', | ||
width: '100%', | ||
border: '2px solid black', | ||
padding: '10px', | ||
boxSizing: 'border-box' | ||
}, | ||
|
||
'tabs': { | ||
position: 'relative', | ||
top: '2px', | ||
|
||
'& > div': { | ||
display: 'inline-block', | ||
padding: '10px 20px 10px 0', | ||
borderLeft: 'none', | ||
cursor: 'pointer', | ||
|
||
'&$active': { | ||
fontWeight: 'bold', | ||
borderBottom: 'none', | ||
textDecoration: 'underline' | ||
} | ||
} | ||
}, | ||
|
||
'active': {} | ||
})) |
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 was deleted.
Oops, something went wrong.
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,17 @@ | ||
import { createSheet } from '../../theme' | ||
|
||
export const styles = createSheet(() => ({ | ||
'bodySchema': { | ||
width: '100%', | ||
borderSpacing: '0', | ||
padding: '10px 50px 10px 20px', | ||
boxSizing: 'border-box' | ||
}, | ||
|
||
'even': { | ||
backgroundColor: 'rgb(27, 37, 52)' | ||
}, | ||
'odd': { | ||
backgroundColor: 'rgb(14, 24, 39)' | ||
} | ||
})) |
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 was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
src/components/BodySchemaSwitcher/BodySchemaSwitcher.styles.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,12 @@ | ||
import { createSheet } from '../../theme' | ||
|
||
export const styles = createSheet(() => ({ | ||
'select': { | ||
background: 'transparent', | ||
color: 'white', | ||
border: '1px solid white', | ||
borderRadius: '5px', | ||
marginLeft: '15px', | ||
fontSize: 'medium' | ||
} | ||
})) |
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 |
---|---|---|
@@ -1,18 +1,21 @@ | ||
import React, { Component } from 'react' | ||
import PropTypes from 'prop-types' | ||
import { styles } from './ContentContainer.styles' | ||
|
||
import './ContentContainer.scss' | ||
|
||
@styles | ||
export default class ContentContainer extends Component { | ||
render () { | ||
const { classes } = this.props | ||
|
||
return ( | ||
<div className='content-container'> | ||
<div className={classes.contentContainer}> | ||
{this.props.children} | ||
</div> | ||
) | ||
} | ||
} | ||
|
||
ContentContainer.propTypes = { | ||
children: PropTypes.any | ||
children: PropTypes.any, | ||
classes: PropTypes.object | ||
} |
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
import { createSheet } from '../../theme' | ||
|
||
export const styles = createSheet(() => ({ | ||
'contentContainer': { | ||
padding: '20px' | ||
} | ||
})) |
Oops, something went wrong.