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
/*Line 695*/ | |
.layout-wrapper .topbar .topbar-left { | |
padding: 17.5px 10px; | |
background-color: #f0f3f5; | |
} | |
/*Line 686*/ | |
.layout-wrapper .topbar .logo { | |
width: 230px; | |
height: 40px; |
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
<div class="mat-elevation-z8"> | |
<table mat-table [dataSource]="dataSource" matSort> | |
<ng-container matColumnDef="codigo"> | |
<th mat-header-cell *matHeaderCellDef mat-sort-header>Código </th> | |
<td mat-cell *matCellDef="let row"> {{row?.codigo || '-'}} </td> | |
</ng-container> | |
<ng-container matColumnDef="descricao"> | |
<th mat-header-cell *matHeaderCellDef mat-sort-header>Descrição </th> | |
<td mat-cell *matCellDef="let row"> {{row?.descricao || '-'}} </td> | |
</ng-container> |
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
import { NgxLoadingModule, ngxLoadingAnimationTypes } from 'ngx-loading'; | |
NgxLoadingModule.forRoot({ | |
animationType: ngxLoadingAnimationTypes.pulse, // Aqui voce decide o estilo do loading ([ctrl]+[space]) | |
backdropBackgroundColour: 'rgba(0,0,0,0.1)', | |
backdropBorderRadius: '4px', | |
primaryColour: '#008e57', | |
secondaryColour: '#008e57', | |
tertiaryColour: '#008e57' | |
}) |
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
// Instanciar a data de hoje | |
let today = new Date(); // Tue Dec 11 2018 10:54:05 GMT-0200 (Horário de Verão de Brasília) | |
// Instanciar a data de domingo da semana corrente | |
let firstDayOfWeek = new Date(); | |
firstDayOfWeek.setDate(today.getDate() - today.getDay()/** 2 */); | |
firstDayOfWeek.setMonth(today.getMonth()); | |
// Sun Dec 09 2018 10:54:05 GMT-0200 (Horário de Verão de Brasília) | |
// Instanciar a data de sábado da semana corrente | |
let lastDayOfWeek = new Date(); | |
lastDayOfWeek.setDate(today.getDate() + (6 - today.getDay()/** 2 */)); |