-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed units from vw/vh to percentage
- Loading branch information
Showing
13 changed files
with
66 additions
and
31 deletions.
There are no files selected for viewing
Binary file modified
BIN
+0 Bytes
(100%)
src/EngagementOrganizer.API/EngagementOrganizer.API/EngagementOrganizer.db
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,9 @@ | |
|
||
*{ | ||
font-family: "Segoe UI"; | ||
} | ||
|
||
.theme-wrapper{ | ||
height: 100%; | ||
margin: 0 1% 0 1%; | ||
} |
2 changes: 1 addition & 1 deletion
2
src/EngagementOrganizer.SPA/src/app/calendar/calendar.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
src/EngagementOrganizer.SPA/src/app/customer-view/customer-view.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
<div *ngFor="let cus of customers" [ngStyle]="getCustomerStyle(cus)" class="customer-tile"> | ||
<div *ngFor="let cus of getCustomersWithAppointmentInYear()" [ngStyle]="getCustomerStyle(cus)" class="customer-tile"> | ||
<div> | ||
<b>({{cus.shortDescription}}) - {{cus.name}}</b> | ||
<div class="action-customer"><button (click)="customerSelectedForEdit.emit(cus)" mat-raised-button color="basic">EDIT</button> | ||
<div class="action-customer"><button (click)="customerSelectedForEdit.emit(cus)" mat-raised-button | ||
color="basic">EDIT</button> | ||
</div> | ||
</div> | ||
<span [innerHTML]="getCustomerSummary(cus)"></span> | ||
</div> | ||
</div> | ||
<div *ngIf="getCustomersWithAppointmentInYear()?.length==0">No customer's appointments for the selcted year</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 8 additions & 2 deletions
10
src/EngagementOrganizer.SPA/src/app/home/home.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
.calendar-container{ | ||
text-align: center; | ||
height: 91%; | ||
} | ||
|
||
.header{ | ||
height: 65px; | ||
padding: 0px 10px 0px 10px; | ||
height: 6%; | ||
padding: 0px 0px; | ||
overflow: hidden; | ||
} | ||
|
||
.calendar-option{ | ||
float:right; | ||
} | ||
|
||
.calendar-app{ | ||
height: 45%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
$event-font-size:1.4vh; | ||
$event-height:2.6vh; | ||
$event-height:37.6%; | ||
$header-font-size:1.0vw; | ||
$month-font-size:1.05vw; | ||
$day-label-font-size:1.6vh; | ||
$day-label-height:1.7vh; | ||
$row-header-height:4vh; | ||
$row-height:7vh; | ||
$util-width: 2.6vw; | ||
$row-height:7.6%; | ||
$util-width: 3%; | ||
$util-font-size:1.1vw; | ||
$cell-border-size:0.5px; | ||
$year-month-col-width:2.7vw; | ||
$calendar-margin-width:0.5vw; | ||
$day-width:((100vw - $year-month-col-width - $util-width - ($calendar-margin-width * 2))/37); | ||
$year-month-col-width:3%; | ||
$day-width:((100% - $year-month-col-width - $util-width)/37); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
|
||
body | ||
body,html | ||
{ | ||
margin: 0; | ||
font-family: 'Segoe UI'; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
.year-box{ | ||
|