From bf23317d1ffc84270fd98d532c721cc31d30fd85 Mon Sep 17 00:00:00 2001 From: kiki le singe Date: Tue, 9 Aug 2016 17:23:27 +0200 Subject: [PATCH] refactor(styles): remove some useless styles --- src/common/components/views/About/About.css | 7 ------- src/common/components/views/About/index.jsx | 7 ------- src/common/components/views/Hello/index.jsx | 1 - src/common/styles/global/views/hello.css | 6 +----- src/common/styles/local/title.css | 3 --- 5 files changed, 1 insertion(+), 23 deletions(-) delete mode 100755 src/common/components/views/About/About.css delete mode 100755 src/common/styles/local/title.css diff --git a/src/common/components/views/About/About.css b/src/common/components/views/About/About.css deleted file mode 100755 index 8d9a034..0000000 --- a/src/common/components/views/About/About.css +++ /dev/null @@ -1,7 +0,0 @@ -:root { - --titleColor: #ff0000; -} - -.title { - color: var(--titleColor); -} diff --git a/src/common/components/views/About/index.jsx b/src/common/components/views/About/index.jsx index 86fd623..949b697 100755 --- a/src/common/components/views/About/index.jsx +++ b/src/common/components/views/About/index.jsx @@ -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 @@ -19,9 +15,6 @@ export default function About(props, context) {

About

-
-

About

-
) } diff --git a/src/common/components/views/Hello/index.jsx b/src/common/components/views/Hello/index.jsx index 83db65d..039991b 100755 --- a/src/common/components/views/Hello/index.jsx +++ b/src/common/components/views/Hello/index.jsx @@ -15,7 +15,6 @@ export default function Hello(props, context) {

Hello

-
Hello World!
) } diff --git a/src/common/styles/global/views/hello.css b/src/common/styles/global/views/hello.css index 8894b9c..27b9819 100755 --- a/src/common/styles/global/views/hello.css +++ b/src/common/styles/global/views/hello.css @@ -1,7 +1,3 @@ .page-hello { - color: green; - - @nest & .text { - color: blue; - } + color: black; } diff --git a/src/common/styles/local/title.css b/src/common/styles/local/title.css deleted file mode 100755 index 8ccce6e..0000000 --- a/src/common/styles/local/title.css +++ /dev/null @@ -1,3 +0,0 @@ -.h1 { - text-decoration: underline; -}