From b27762ea0b84a694885030be56030ec9417ec8a4 Mon Sep 17 00:00:00 2001 From: nobohan Date: Fri, 27 Apr 2018 10:55:33 +0200 Subject: [PATCH] add webpack config + correct sass file --- Resources/public/sass/person.scss | 20 ++++++++++---------- chill.webpack.config.js | 4 ++++ 2 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 chill.webpack.config.js diff --git a/Resources/public/sass/person.scss b/Resources/public/sass/person.scss index f327d9bc4..78e3d5b40 100644 --- a/Resources/public/sass/person.scss +++ b/Resources/public/sass/person.scss @@ -1,5 +1,5 @@ -@import '../../../../main/Resources/public/sass/config/colors'; +@import '../../../../main/Resources/public/sass/custom/config/colors'; div#header-person-name { background: none repeat scroll 0 0 $chill-green-dark; @@ -54,35 +54,35 @@ div.person-view { figure.person-details { display: flex; flex-flow: row wrap; - + div.cf_title_box:nth-child(4n+1) h2 { @extend .chill-red; } - + div.cf_title_box:nth-child(4n+2) h2 { @extend .chill-green; } - + div.cf_title_box:nth-child(4n+3) h2 { @extend .chill-orange; } - + div.cf_title_box:nth-child(4n+4) h2 { @extend .chill-blue; } - + div.cf_title_box:nth-child(2n+1){ width: 50%; margin-right: 40px; } - + iv.cf_title_box:nth-child(2n+2) { width: calc(50% - 40px); } - + } - - + + } } diff --git a/chill.webpack.config.js b/chill.webpack.config.js new file mode 100644 index 000000000..97222b223 --- /dev/null +++ b/chill.webpack.config.js @@ -0,0 +1,4 @@ +// this file loads all assets from the Chill person bundle + +require('./Resources/public/css/person.css'); +//require('./Resources/public/sass/person.scss');