PXE templates
parent
3d23eb86ab
commit
245f050913
|
|
@ -0,0 +1,86 @@
|
||||||
|
mat-form-field {
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-group {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
width: 48%;
|
||||||
|
}
|
||||||
|
|
||||||
|
:host {
|
||||||
|
display: block;
|
||||||
|
padding: 20px;
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-form-field {
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-step-label {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
margin: 8px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-stepper-header {
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 16px;
|
||||||
|
border-bottom: 1px solid #e0e0e0;
|
||||||
|
border-radius: 8px 8px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-stepper-horizontal-line {
|
||||||
|
border-color: #3f51b5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-stepper-horizontal {
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 0;
|
||||||
|
border-radius: 8px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-step-header {
|
||||||
|
background-color: #e8eaf6;
|
||||||
|
color: #3f51b5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-step-header .mat-step-icon {
|
||||||
|
background-color: #3f51b5;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-stepper-content {
|
||||||
|
padding: 16px;
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 0 0 8px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
background-color: #e8eaf6;
|
||||||
|
padding: 16px;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: 12px;
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-raised-button {
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-button {
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
@ -41,10 +41,10 @@
|
||||||
</form>
|
</form>
|
||||||
</mat-step>
|
</mat-step>
|
||||||
<mat-step>
|
<mat-step>
|
||||||
<ng-template matStepLabel>Vista previa y edición</ng-template>
|
<ng-template matStepLabel>Vista previa y guardar</ng-template>
|
||||||
<pre>{{ previewContent }}</pre>
|
<pre>{{ previewContent }}</pre>
|
||||||
<div class="button-group">
|
<div class="button-group">
|
||||||
<button mat-flat-button color="primary" (click)="onEdit()" >Guardar Cambios</button>
|
<button mat-flat-button color="primary" (click)="onEdit()" >Guardar</button>
|
||||||
<button mat-button matStepperPrevious>Atrás</button>
|
<button mat-button matStepperPrevious>Atrás</button>
|
||||||
</div>
|
</div>
|
||||||
</mat-step>
|
</mat-step>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue