Skip to content

Commit

Permalink
refactor(styles): remove some useless styles
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-le-singe committed Aug 9, 2016
1 parent efbdc96 commit bf23317
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 23 deletions.
7 changes: 0 additions & 7 deletions src/common/components/views/About/About.css

This file was deleted.

7 changes: 0 additions & 7 deletions src/common/components/views/About/index.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import React, { PropTypes } from 'react'
import classNames from 'classnames'

import titleStyles from 'common/styles/local/title.css'
import styles from './About.css'

const contextTypes = {
router: PropTypes.object
Expand All @@ -19,9 +15,6 @@ export default function About(props, context) {
<h1>About</h1>
<button onClick={closeView}>Close</button>
</header>
<div className="page-content">
<h1 className={classNames(styles.title, titleStyles.h1)}>About</h1>
</div>
</div>
)
}
Expand Down
1 change: 0 additions & 1 deletion src/common/components/views/Hello/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export default function Hello(props, context) {
<h1>Hello</h1>
<button onClick={closeView}>Close</button>
</header>
<div className="page-content">Hello <span className="text">World!</span></div>
</div>
)
}
Expand Down
6 changes: 1 addition & 5 deletions src/common/styles/global/views/hello.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.page-hello {
color: green;

@nest & .text {
color: blue;
}
color: black;
}
3 changes: 0 additions & 3 deletions src/common/styles/local/title.css

This file was deleted.

0 comments on commit bf23317

Please sign in to comment.