Skip to content

Commit

Permalink
implement scss styles
Browse files Browse the repository at this point in the history
  • Loading branch information
orbb1 committed May 6, 2017
1 parent 97c76c6 commit b16c35d
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client/app/app.component.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import template from './app.html';
import './app.css';
import './app.scss';

let appComponent = {
template,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion client/components/dashboard/dashboard.component.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import template from './dashboard.html';
import './dashboard.css';
import './dashboard.scss';

let dashboardComponent = {
template,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.Dashboard-Container {
background-color: #650359;
background-color: black;
border-radius: 5px;
box-shadow: 0 0 5px black;
margin: 10% auto;
Expand All @@ -9,7 +9,6 @@
-webkit-transition: all 1s;
-moz-transition: all 1s;
transition: all 1s;
-o-transition: all 1s;
}
.Dashboard-Header {
font: 20px Calibri, sans-serif;
Expand Down
1 change: 0 additions & 1 deletion client/pages/home/home.component.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import template from './home.html';
import controller from './home.controller';
import './home.css';

let homeComponent = {
template,
Expand Down
Empty file removed client/pages/home/home.css
Empty file.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"angular-mocks": "^1.5.0",
"babel-core": "^6.7.7",
"babel-loader": "^6.2.4",
"babel-polyfill": "^6.7.4",
"babel-plugin-transform-runtime": "^6.7.5",
"babel-polyfill": "^6.7.4",
"babel-preset-es2015": "^6.6.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.7.2",
Expand All @@ -40,8 +40,10 @@
"mocha": "^2.3.0",
"ng-annotate-loader": "0.0.10",
"node-libs-browser": "^0.5.0",
"node-sass": "^4.5.2",
"raw-loader": "^0.5.1",
"run-sequence": "^1.1.0",
"sass-loader": "^6.0.3",
"style-loader": "^0.12.2",
"stylus": "^0.54.5",
"stylus-loader": "^2.1.1",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
loaders: [
{ test: /\.js$/, exclude: [/app\/lib/, /node_modules/], loader: 'ng-annotate!babel' },
{ test: /\.html$/, loader: 'raw' },
{ test: /\.styl$/, loader: 'style!css!stylus' },
{ test: /\.scss$/, loaders: ["style-loader", "css-loader", "sass-loader"] },
{ test: /\.css$/, loader: 'style!css' }
]
},
Expand Down

0 comments on commit b16c35d

Please sign in to comment.