Renaming styles

This commit is contained in:
Piotr Pekala
2019-01-29 07:20:31 -08:00
parent a6b4c4a9c8
commit 41eb0d882d
15 changed files with 20 additions and 28 deletions

View File

@ -5,6 +5,6 @@
</div> </div>
</div> </div>
<div class="default-content"> <div class="default-content">
<div class="example-container mat-elevation-z8"></div> <div class="container mat-elevation-z8"></div>
</div> </div>
</div> </div>

View File

@ -5,7 +5,7 @@
</div> </div>
</div> </div>
<div class="default-content"> <div class="default-content">
<div class="example-container mat-elevation-z8"> <div class="container mat-elevation-z8">
<mat-nav-list> <mat-nav-list>
<mat-list-item> <mat-list-item>
<button mat-button routerLink="/server/{{serverId}}/preferences/vpcs/templates"> <button mat-button routerLink="/server/{{serverId}}/preferences/vpcs/templates">

View File

@ -5,7 +5,7 @@
</div> </div>
</div> </div>
<div class="default-content"> <div class="default-content">
<div class="example-container mat-elevation-z8"> <div class="container mat-elevation-z8">
<mat-vertical-stepper [linear]="true"> <mat-vertical-stepper [linear]="true">
<mat-step label="QEMU VM Name"> <mat-step label="QEMU VM Name">
<form [formGroup]="firstStepForm"> <form [formGroup]="firstStepForm">

View File

@ -6,15 +6,15 @@
</div> </div>
</div> </div>
<div class="default-content"> <div class="default-content">
<div class="example-container mat-elevation-z8"> <div class="container mat-elevation-z8">
<mat-nav-list *ngIf="settings"> <mat-nav-list *ngIf="settings">
<mat-list-item> <mat-list-item>
<mat-checkbox class="example-margin" [(ngModel)]="settings.enable_hardware_acceleration"> <mat-checkbox [(ngModel)]="settings.enable_hardware_acceleration">
Enable Hardware Acceleration (KVM/HAXM) Enable Hardware Acceleration (KVM/HAXM)
</mat-checkbox> </mat-checkbox>
</mat-list-item> </mat-list-item>
<mat-list-item *ngIf="settings.enable_hardware_acceleration"> <mat-list-item *ngIf="settings.enable_hardware_acceleration">
<mat-checkbox class="example-margin" [(ngModel)]="settings.require_hardware_acceleration"> <mat-checkbox [(ngModel)]="settings.require_hardware_acceleration">
Require Hardware Acceleration (KVM/HAXM) Require Hardware Acceleration (KVM/HAXM)
</mat-checkbox> </mat-checkbox>
</mat-list-item> </mat-list-item>

View File

@ -195,7 +195,7 @@
</mat-option> </mat-option>
</mat-select> </mat-select>
</mat-form-field> </mat-form-field>
<button mat-raised-button color="primary" class="configButton" (click)="configureCustomAdapters()">Configure custom adapters</button><br/> <button mat-raised-button class="configButton" (click)="configureCustomAdapters()">Configure custom adapters</button><br/>
<mat-checkbox [(ngModel)]="qemuTemplate.legacy_networking"> <mat-checkbox [(ngModel)]="qemuTemplate.legacy_networking">
Use the legacy networking mode Use the legacy networking mode
</mat-checkbox> </mat-checkbox>
@ -324,7 +324,7 @@
</div> </div>
</div> </div>
<div class="default-content" *ngIf="qemuTemplate"> <div class="default-content" *ngIf="qemuTemplate">
<div class="example-container mat-elevation-z8"> <div class="container mat-elevation-z8">
<table class="table" mat-table [dataSource]="adapters"> <table class="table" mat-table [dataSource]="adapters">
<ng-container matColumnDef="adapter_number"> <ng-container matColumnDef="adapter_number">
<th mat-header-cell *matHeaderCellDef> Adapter number </th> <th mat-header-cell *matHeaderCellDef> Adapter number </th>

View File

@ -32,8 +32,7 @@
} }
.shadowed { .shadowed {
opacity: 0.4; display: none;
margin-right: 80%;
transition: 0.25s; transition: 0.25s;
} }
@ -42,13 +41,6 @@
transition: 0.25s; transition: 0.25s;
} }
.configurator {
position: absolute;
top: 60px;
left: 40%;
min-width: 40%;
}
th { th {
border: 0px!important; border: 0px!important;
} }

View File

@ -6,7 +6,7 @@
</div> </div>
</div> </div>
<div class="default-content"> <div class="default-content">
<div class="example-container mat-elevation-z8"> <div class="container mat-elevation-z8">
<mat-nav-list *ngIf="server"> <mat-nav-list *ngIf="server">
<mat-list-item *ngFor='let template of qemuTemplates' routerLink="{{template.template_id}}"> <mat-list-item *ngFor='let template of qemuTemplates' routerLink="{{template.template_id}}">
{{template.name}} {{template.name}}

View File

@ -6,7 +6,7 @@
</div> </div>
</div> </div>
<div class="default-content"> <div class="default-content">
<div class="example-container mat-elevation-z8"> <div class="container mat-elevation-z8">
<mat-nav-list *ngIf="server"> <mat-nav-list *ngIf="server">
<mat-list-item *ngFor='let template of vpcsTemplates' routerLink="{{template.template_id}}"> <mat-list-item *ngFor='let template of vpcsTemplates' routerLink="{{template.template_id}}">
{{template.name}} {{template.name}}

View File

@ -79,7 +79,7 @@
<app-template [server]="server" (onNodeCreation)="onNodeCreation($event)"></app-template> <app-template [server]="server" (onNodeCreation)="onNodeCreation($event)"></app-template>
</mat-toolbar-row> </mat-toolbar-row>
<mat-toolbar-row> <mat-toolbar-row *ngIf="!readonly">
<button mat-icon-button routerLink="/server/{{server.id}}/preferences"> <button mat-icon-button routerLink="/server/{{server.id}}/preferences">
<mat-icon>settings_applications</mat-icon> <mat-icon>settings_applications</mat-icon>
</button> </button>

View File

@ -25,7 +25,7 @@
</div> </div>
</div> </div>
<div class="default-content"> <div class="default-content">
<div class="example-container mat-elevation-z8"> <div class="container mat-elevation-z8">
<mat-table #table [dataSource]="dataSource" matSort> <mat-table #table [dataSource]="dataSource" matSort>
<ng-container matColumnDef="name"> <ng-container matColumnDef="name">
<mat-header-cell *matHeaderCellDef mat-sort-header> Name </mat-header-cell> <mat-header-cell *matHeaderCellDef mat-sort-header> Name </mat-header-cell>

View File

@ -3,7 +3,7 @@
<div class="default-content"> <div class="default-content">
<app-server-discovery></app-server-discovery> <app-server-discovery></app-server-discovery>
<div class="example-container mat-elevation-z8"> <div class="container mat-elevation-z8">
<mat-table #table [dataSource]="dataSource"> <mat-table #table [dataSource]="dataSource">
<ng-container matColumnDef="id"> <ng-container matColumnDef="id">
<mat-header-cell *matHeaderCellDef> ID </mat-header-cell> <mat-header-cell *matHeaderCellDef> ID </mat-header-cell>

View File

@ -10,19 +10,19 @@
</mat-expansion-panel-header> </mat-expansion-panel-header>
<div> <div>
<mat-checkbox class="example-margin" [(ngModel)]="settings.crash_reports" <mat-checkbox [(ngModel)]="settings.crash_reports"
>Send anonymous crash reports</mat-checkbox >Send anonymous crash reports</mat-checkbox
> >
</div> </div>
<div> <div>
<mat-checkbox class="example-margin" [(ngModel)]="settings.experimental_features" <mat-checkbox [(ngModel)]="settings.experimental_features"
>Enable experimental features (WARNING: IT CAN BREAK YOU LABS!)</mat-checkbox >Enable experimental features (WARNING: IT CAN BREAK YOU LABS!)</mat-checkbox
> >
</div> </div>
<div> <div>
<mat-checkbox class="example-margin" [(ngModel)]="settings.angular_map" <mat-checkbox [(ngModel)]="settings.angular_map"
>Enable experimental Angular Map (WARNING: IT CAN BREAK YOU LABS!)</mat-checkbox >Enable experimental Angular Map (WARNING: IT CAN BREAK YOU LABS!)</mat-checkbox
> >
</div> </div>

View File

@ -1,5 +1,5 @@
<div mat-dialog-content> <div mat-dialog-content>
<div class="example-header"> <div class="header">
<mat-form-field floatPlaceholder="never"> <mat-form-field floatPlaceholder="never">
<input matInput #filter placeholder="Filter templates" /> <input matInput #filter placeholder="Filter templates" />
</mat-form-field> </mat-form-field>

View File

@ -1,4 +1,4 @@
.example-header { .header {
min-height: 64px; min-height: 64px;
display: flex; display: flex;
align-items: baseline; align-items: baseline;

View File

@ -63,7 +63,7 @@ header {
flex: 1 1 auto; flex: 1 1 auto;
} }
.example-container > * { .container > * {
width: 100%; width: 100%;
} }