Skip to content

Commit

Permalink
fix(orb-ui): agent view styles adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-mendonca-encora committed Oct 20, 2023
1 parent be403b4 commit 1e66487
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
</div>
</div>
</nb-tab>
<nb-tab tabTitle="Proviosioning Commands">
<nb-tab tabTitle="Provisioning Commands">
<div class="row">
<div class="card-col col-6">
<ngx-agent-provisioning [agent]="agent" [provisioningType]="default"></ngx-agent-provisioning>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
</ng-container>
</nb-tab>
</nb-tabset>
<span *ngIf="agent?.state === agentStates.new" class="summary-accent">
<p *ngIf="agent?.state === agentStates.new" class="summary-accent">
Agent needs to be connected to have a backend.
</span>
</p>
</nb-card-body>
</nb-card>
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ nb-card {
span {
text-align: end;
}

p {
margin-top: 1rem;
margin-bottom: 1rem;
font-family: Open Sans, sans-serif !important;
color: #969fb9 !important;
}
.active-dataset {
list-style-type: none;
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nb-card>
<nb-card-header>Active Groups</nb-card-header>
<nb-card-body>
<span class="error-accent" *ngIf="errors?.nogroup">{{ errors.nogroup }}</span>
<span class="summary-accent" *ngIf="errors?.nogroup">{{ errors.nogroup }}</span>

<ng-container *ngFor="let group of groups; last as isLast" >
<button class='agent-group-button'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,6 @@ nb-card {
color: #df316f !important;
font-weight: 500;
}
.summary-accent {
color: #969fb9 !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</nb-accordion-item>
</nb-accordion>
</div>
<span *ngIf="errors?.nodatasets" class="error-accent">{{
<span *ngIf="errors?.nodatasets" class="summary-accent">{{
errors.nodatasets
}}</span>
</nb-card-body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,6 @@ nb-list-item {
padding: 0.5em !important;
}

.error-accent {
color: #df316f !important;
font-weight: 500;
}

.agent-policy-button {
color: #ffffff;
Expand Down

0 comments on commit 1e66487

Please sign in to comment.