Skip to content

Commit 2ed6770

Browse files
authored
Merge pull request #4 from mystackbox/css-files
added scss folders and files
2 parents eade28e + 75ae6d0 commit 2ed6770

32 files changed

+238
-5
lines changed

angular.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
}
3333
],
3434
"styles": [
35-
"src/styles.scss"
35+
"src/styles.css"
3636
],
3737
"scripts": [],
3838
"server": "src/main.server.ts",
@@ -96,7 +96,7 @@
9696
}
9797
],
9898
"styles": [
99-
"src/styles.scss"
99+
"src/styles.css"
100100
],
101101
"scripts": []
102102
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"build": "ng build",
88
"watch": "ng build --watch --configuration development",
99
"test": "ng test",
10-
"serve:ssr:angular-masterpage": "node dist/angular-masterpage/server/server.mjs"
10+
"serve:ssr:angular-masterpage": "node dist/angular-masterpage/server/server.mjs",
11+
"watch-css": "sass ./src/scss/styles.scss ./src/styles.css --watch"
1112
},
1213
"private": true,
1314
"dependencies": {

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>AngularMasterpage</title>
5+
<title>Angular Masterpage</title>
66
<base href="/">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<link rel="icon" type="image/x-icon" href="favicon.ico">

src/scss/abstracts/_functions.scss

Whitespace-only changes.

src/scss/abstracts/_index.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@forward 'variables';
2+
@forward 'mixins';
3+
@forward 'functions';
4+
@forward 'media-query';

src/scss/abstracts/_media-query.scss

Whitespace-only changes.

src/scss/abstracts/_mixins.scss

Whitespace-only changes.

src/scss/abstracts/_variables.scss

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/* global font size */
2+
$global-font-size: 14px;
3+
4+
/* global font color */
5+
$global-font-color: rgba(0,0,0, 1);
6+
7+
/* global border radius */
8+
$global-border-radius: 6px;
9+
10+
/* global Layouts gaps */
11+
$global-gap: 10px;
12+
13+
/* global background color variables */
14+
$global-bg-color: rgba(245,245,245, 0.5);
15+
16+
/* global form controls - textbox */
17+
$input-text-border: 1px solid rgba(245,245,245, 0.5);
18+
$input-text-font-size: 10px;
19+
$input-text-font-color: rgba(245,245,245, 0.5);
20+
21+
/* global form controls - placeholder */
22+
$form-placeholder-size: 13px;
23+
$form-placeholder-color: lightgrey;
24+
25+
/* global form controls - error messages */
26+
$error-message-color: red;

src/scss/base/_index.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/* bind the following _partials to scss/styles.scss */
2+
@forward 'reset';
3+
@forward 'typography';

src/scss/base/_reset.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/* Rest to default setting */
2+
* {
3+
//page align
4+
margin: 0;
5+
padding: 0;
6+
}
7+

0 commit comments

Comments
 (0)