Switch styles to scss, add custom bootstrap.
lbs-gitea/maptology/master This commit looks good

Reconfigured project to use scss (sass, see http://sass-lang.com/guide))
instead of regular css files to support inheritance, variables, etc. in
style files.
Replaced reference to pre-built bootstrap with a custom build via the
sass compiler to enable customization of colors, fonts, etc. (see
https://github.com/angular/angular-cli/wiki/stories-include-bootstrap
for more details on how to do this).
Added custom variable file to play around with this setup.
This commit is contained in:
2017-11-22 11:39:22 +01:00
parent 852fb2ffd0
commit 1aa36628d5
14 changed files with 29 additions and 8 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { ConsoleService } from './console.service';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
styleUrls: ['./app.component.scss']
})
export class AppComponent implements OnInit {
title = 'Maptology';
@@ -5,7 +5,7 @@ import { Observable } from 'rxjs/Observable';
@Component({
selector: 'app-console',
templateUrl: './console.component.html',
styleUrls: ['./console.component.css'],
styleUrls: ['./console.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class ConsoleComponent implements OnInit {
+1 -1
View File
@@ -7,7 +7,7 @@ import { User } from '../../api/models/user.model';
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.css'],
styleUrls: ['./login.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class LoginComponent implements OnInit {
@@ -10,7 +10,7 @@ import { HttpErrorResponse } from '@angular/common/http';
@Component({
selector: 'app-notices',
templateUrl: './notices.component.html',
styleUrls: ['./notices.component.css'],
styleUrls: ['./notices.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class NoticesComponent implements OnInit {