Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added edit mode UI improvements #4954

Merged
merged 5 commits into from
Apr 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "~styles/variables";
@import '../infra_shared/shared';

chef-page-header {
padding-bottom: 0;
Expand Down Expand Up @@ -29,38 +30,6 @@ chef-toolbar {
}
}

::ng-deep {

chef-tab-selector {
chef-option {
margin-right: 4px;
color: $chef-primary-dark;
}

::ng-deep .selected {
background-color: $gray-highlight;
}

::ng-deep .selected::before {
height: 4px;
background-color: $chef-dark-blue;
}

chef-option:focus {
outline: none;
}

::ng-deep chef-option::before {
height: 4px;
background-color: $chef-tab-hover;
}

::ng-deep chef-option:hover::before {
background: $chef-azureish-gray;
}
}
}

form {

chef-form-field {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import "~styles/variables";
@import 'app/page-components/json-tree/json-tree.component.scss';
@import "~styles/mixins";
@import '../infra_shared/shared';

chef-page-header {
padding-bottom: 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "~styles/variables";
@import '../infra_shared/shared';

chef-page-header {
padding-bottom: 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import "~styles/variables";
@import 'app/page-components/json-tree/json-tree.component.scss';
@import '../infra_shared/shared';

chef-page-header {
padding-bottom: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<ng-container *ngIf="!dataBagsListLoading && !authFailure">
<chef-toolbar>
<app-authorized [allOf]="['/api/v0/infra/servers', 'post']">
<chef-button primary (click)="openCreateModal()">Create Databag</chef-button>
<chef-button primary (click)="openCreateModal()">Create Data Bag</chef-button>
</app-authorized>
</chef-toolbar>
<chef-table *ngIf="dataBags.length">
Expand All @@ -43,7 +43,7 @@
<div *ngIf="!authFailure">
<div class="empty-section" *ngIf="!dataBagsListLoading && (dataBags.length === 0)">
<img alt="No preview" src="/assets/img/no_preview.gif"/>
<p>No databags available.</p>
<p>No Data Bags available.</p>
</div>
</div>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ chef-modal {
.divider-constraint {
margin-top: 9px;
width: 643px;
height: 0px;
border: 0.5px solid $chef-key-tab;
height: 1px;
background-color: $chef-key-tab;
}

.dynamic {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import "~styles/variables";
@import 'app/page-components/json-tree/json-tree.component.scss';
@import '../infra_shared/shared';

chef-page-header {
padding-bottom: 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "~styles/variables";
@import '../infra_shared/shared';
@import '../../../../app/page-components/json-tree/json-tree.component.scss';

chef-page-header {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
chef-tab-selector {
chef-option {
margin-right: 4px;
color: $chef-primary-dark;
}

::ng-deep .selected {
background-color: $gray-highlight;
}

::ng-deep .selected::before {
height: 4px;
background-color: $chef-dark-blue;
}

chef-option:focus {
outline: none;
}

::ng-deep chef-option::before {
height: 4px;
background-color: $chef-tab-hover;
}

::ng-deep chef-option:hover::before {
background: $chef-azureish-gray;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ chef-table {
}

::ng-deep button.nav-tab.active {
background: $chef-active-grey;
background-color: $chef-active-grey;
}

::ng-deep button.nav-tab:focus {
Expand Down