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

[ACS-7572] link rules dialog fixes #9607

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
Expand Up @@ -18,6 +18,7 @@
<mat-select
#dropdown
*ngIf="hasPreviousNodes()"
panelClass="adf-breadcrumb-dropdown-panel"
class="adf-dropdown-breadcrumb-path-select"
tabindex="-1"
role="button"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'styles/mat-selectors';

$dropdown-horizontal-offset: 30px;

.adf {
Expand Down Expand Up @@ -47,7 +49,6 @@ $dropdown-horizontal-offset: 30px;
width: 0;
height: 0;
overflow: hidden;
margin-top: 35px;

&-select {
width: 0;
Expand All @@ -64,8 +65,6 @@ $dropdown-horizontal-offset: 30px;
}

&-dropdown-breadcrumb-path-option.adf-dropdown-breadcrumb-path-option-node {
height: 28px;
line-height: 28px;
padding: 0 12px;
font-size: var(--theme-caption-font-size);
}
Expand Down Expand Up @@ -98,3 +97,7 @@ $dropdown-horizontal-offset: 30px;
margin-right: $dropdown-horizontal-offset;
}
}

#{$cdk-overlay-pane}:has(>.adf-breadcrumb-dropdown-panel){
min-width: fit-content;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div class="adf-content-node-selector-content">
<mat-form-field floatPlaceholder="never"
appearance="outline"
class="adf-content-node-selector-content-input"
subscriptSizing="dynamic"
*ngIf="showSearch">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ h2.adf-search-results-label {

&-input {
width: 100%;
margin: 16px 0;

&-icon {
color: var(--adf-theme-foreground-icon-color-054);
Expand All @@ -58,32 +59,13 @@ h2.adf-search-results-label {

.adf-site-dropdown-container {
display: block;
margin-bottom: 15px;

#{$mat-form-field-label} {
padding-top: 16px;
}

#{$mat-floating-label-above} {
padding-top: 0;
.adf-sites-dropdown-form-field {
width: 100%;
}
}
}

.adf-sites-dropdown-form-field {
margin-top: 4px;
margin-bottom: 16px;
}

.adf-site-dropdown-list-element {
width: 100%;
margin-bottom: 0;

.adf-sites-dropdown-select-trigger {
font-size: var(--theme-body-1-font-size);
}
}

&-breadcrumb {
.adf-dropdown-breadcrumb-trigger {
outline: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,6 @@ adf-content-node-selector {
.adf-content-node-selector-dialog {
#{$mat-form-field} {
width: 100%;

#{$mat-select-arrow-wrapper} {
transform: translateY(2px);
padding-right: 4px;
}

#{$mat-form-field-infix} {
border-top: 0.85em solid transparent;
padding-bottom: 6px;
padding-top: 20px;
}

#{$mat-floating-label} {
padding-top: 8px;
}
}

.adf-content-node-selector-content-input-icon {
font-size: 21px;
padding: 18px 0 0;
margin-right: -4px;
}

.adf-dropdown-breadcrumb-icon {
Expand All @@ -81,9 +60,6 @@ adf-content-node-selector {
}

.adf-content-node-selector-dialog-title {
padding-bottom: 4px;
padding-left: 0;
padding-right: 0;
font-size: var(--theme-title-font-size);
font-weight: 600;
font-style: normal;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div id="site-dropdown-container" class="adf-site-dropdown-container">
<mat-form-field class="adf-sites-dropdown-form-field" subscriptSizing="dynamic">
<mat-form-field class="adf-sites-dropdown-form-field" appearance="outline" subscriptSizing="dynamic">
<mat-label>{{ 'NODE_SELECTOR.LOCATION' | translate }}</mat-label>
<mat-select
adf-infinite-select-scroll
Expand Down
3 changes: 2 additions & 1 deletion lib/core/src/lib/styles/_mat-selectors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,5 @@ $mat-floating-label--required: '.mdc-floating-label--required';
$mat-evolution-chip: '.mdc-evolution-chip';
$mat-standard-chip: '.mat-mdc-standard-chip';
$mat-evolution-chip-action: '.mdc-evolution-chip__action';
$mat-evolution-chip-text-label: '.mdc-evolution-chip__text-label'
$mat-evolution-chip-text-label: '.mdc-evolution-chip__text-label';
$cdk-overlay-pane: '.cdk-overlay-pane';