Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
spderosso committed Nov 4, 2019
1 parent 33add26 commit ffce840
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 20 deletions.
@@ -1,4 +1,3 @@
<div class="dv-mat-button">
<button mat-button (click)="signOut()">{{buttonLabel}}</button>
</div>

Expand Up @@ -61,9 +61,8 @@
</div>
<div *ngIf="showOptionToSubmit" class="form-group">
<div class="dv-mat-button">
<button mat-button type="submit"
[disabled]="!createEventForm.valid">
{{buttonLabel}}
<button mat-button type="submit" [disabled]="!createEventForm.valid">
{{buttonLabel}}
</button>
</div>
</div>
Expand Down
Expand Up @@ -28,8 +28,7 @@
<div *ngIf="showOptionToSubmit" class="form-group">
<div class="dv-mat-button">
<button class="property-update-object-btn"
mat-button type="submit"
[disabled]="!updateObjectForm.valid">
mat-button type="submit" [disabled]="!updateObjectForm.valid">
{{buttonLabel}}
</button>
</div>
Expand Down
Expand Up @@ -106,7 +106,7 @@ <h5>{{ viewDate | calendarDate:(view + 'ViewTitle'):'en' }}</h5>
<br />
<div class="dv-mat-button">
<button mat-button class="create-schedule-submit-button"
type="submit" (click)="onSubmit()">
type="submit" (click)="onSubmit()">
{{buttonLabel}}
</button>
</div>
Expand Down
Expand Up @@ -36,7 +36,7 @@
<div *ngIf="!submitMatIconName">
<div class="dv-mat-button">
<button mat-button type="submit" [disabled]="!canSubmit()">
{{buttonLabel}}
{{buttonLabel}}
</button>
</div>
</div>
Expand Down
6 changes: 4 additions & 2 deletions packages/compiler/src/app/app.compiler.ts
Expand Up @@ -133,11 +133,13 @@ export class AppCompiler {
}
}

const globalStyleFileScss = path.join(this.projectDir, 'src', 'styles.scss');
const globalStyleFileScss = path.join(
this.projectDir, 'src', 'styles.scss');
const globalStyleScss: string = existsSync(globalStyleFileScss) ?
readFileSync(globalStyleFileScss, 'utf8') : '';

// Read user defined css and compile it into scss
// CSS is valid SCSS. Thus, if the user provided a global CSS file we
// add the CSS code to the SCSS file content.
const globalStyleFileCss = path.join(this.projectDir, 'src', 'styles.css');
const globalStyleCss: string = existsSync(globalStyleFileCss) ?
readFileSync(globalStyleFileCss, 'utf8') : '';
Expand Down
13 changes: 6 additions & 7 deletions packages/themes/scss/template.scss
@@ -1,5 +1,5 @@

/* default color palatte */
// Base template
// default color palette
$primaryColor: #00237d !default;
$textColor: #000000 !default;
$linkColor: #0000EE !default;
Expand All @@ -19,7 +19,7 @@ $navbarLinkHoverColor: #0000EE !default;
$navbarVerticalAlign: middle !default;
$navbarPadding: 0 0;

$mainFont: 'Arial', san-serif !default;
$mainFont: 'Arial', sans-serif !default;
$textFont: $mainFont !default;
$headingFontWeight: bold !default;

Expand Down Expand Up @@ -99,7 +99,7 @@ nav {
}

html,
body{
body {
background: $backgroundColor;
font-family: $mainFont;
}
Expand Down Expand Up @@ -131,8 +131,8 @@ main {

// About mat-button
// there are three ways to overwrite the button information
// 1. Have a wrapper class called "dv-mat-button" on every
// in any concept [CHOSEN]
// 1. Have a wrapper class called "dv-mat-button" on every button in
// concept components [CHOSEN]
// 2. Put an important tag after class "mat-button"
// 3. Not use mat-button

Expand All @@ -154,7 +154,6 @@ main {
}
}


@import "~@angular/material/theming";
@import "~@angular/material/prebuilt-themes/indigo-pink.css";
@import "~css-star-rating/dist/css/star-rating.min.css";
Expand Down
4 changes: 1 addition & 3 deletions samples/sn/src/styles.scss
Expand Up @@ -52,8 +52,7 @@ $navbarButtonPadding: 0 5px;
border-left: 1px solid black;
width: 1px;
height: 15px;
margin-left: 4px;
margin-right: 4px;
margin: 3px 4px 0px 4px;
}

.write-comment-container {
Expand Down Expand Up @@ -88,7 +87,6 @@ ul {
min-height: 100vh;
}


.navbar {
.container {
.navbar-brand {
Expand Down

0 comments on commit ffce840

Please sign in to comment.