Skip to main content

All Questions

0 votes
2 answers
1k views

Css won't compile when running angularjs and angular app side by side

I am running into a problem with my css when trying to convert to a hybrid angularjs/angular application using angular-cli. ERROR in ./src/styles.scss (./node_modules/@angular-devkit/build-angular/...
lostintranslation's user avatar
1 vote
0 answers
587 views

Angular2: config file with APP_INITIALIZER - css conflict?

I've created with angular-cli an Angular 2 App and it's working quite well. Since I've the need to set some parameters in a config file in assets folder (in order to make it available in dist folder),...
G. Aro's user avatar
  • 11
0 votes
2 answers
1k views

How to set if else condition on mouse over function

I need to change the color of the data(text) in the table column when mouse is pointed over on that text. I don't need to change the color in first column of the table. I implemented following code. ...
MinMin7's user avatar
  • 63
0 votes
0 answers
82 views

angular-cli - ZoneAwareError when trying to add a second stylesheet

I have several issues with trying to add a second stylesheet to my angular-cli app. Problem #1: I have a stylesheet which has a dot in it's name. mystyle.thestyle.scss This is loaded from a component ...
user3607282's user avatar
  • 2,555
0 votes
1 answer
2k views

Angular-cli build generated CSS not being interpreted in DOM

I've got an issue currently when building my Angular 2 app using @angular/cli. When I run ng build --prod to generate a dist build, everything works out fine, except that the generated styles....
Andrew Ip's user avatar
2 votes
1 answer
216 views

What is the right way to write Sass functions?

I am working on Angular 2 using Webpack. I created my SCSS file in my component and put below code inside it but SCSS mixins not working and other CSS is still working properly, also if I create ...
Ahmer Ali Ahsan's user avatar
5 votes
1 answer
2k views

Add the CSS from the node_modules folder using angular cli

I've installed a new library with npm, so far so good. Now I want to import the css in there to my project, obviously I shouldn't link directly to the node_modules folder. So, is there a simple to do ...
Eliya Cohen's user avatar
  • 11.5k