Skip to content

Commit

Permalink
[ACS-7998] - Add permissions input (#9704)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikiwanekhyland authored and VitoAlbano committed Jul 9, 2024
1 parent 92e5b6e commit c2ccdc7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

.adf-add-permission-dialog {
.adf-add-permission-dialog-title {
margin-bottom: 28px;
margin-left: 20px;
margin-right: 20px;
font-size: var(--theme-title-font-size);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<mat-form-field appearance="outline" floatPlaceholder="never" class="adf-permission-search-input">
<mat-form-field appearance="fill" class="adf-permission-search-input">
<input
matInput
id="searchInput"
class="adf-permission-search-input-control"
[formControl]="searchInput"
type="text"
title="{{ 'PERMISSION_MANAGER.ADD-PERMISSION.SEARCH' | translate }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,32 @@ $search-result-height: calc(100% - 60px);
&-input {
width: 100%;

#{$mat-form-field-wrapper} {
#{$mat-form-field-flex} {
align-items: center;

#{$mat-form-field-infix} {
padding-top: 0;
padding-bottom: 0;
}
}
}

#{$mat-form-field-subscript-wrapper} {
height: 16px;
}

.adf-permission-search-input-control {
&:focus::placeholder {
color: var(--theme-primary-color);
}
}

.adf-permission-search-icon {
padding: 0 0 12px;
width: 1em;
height: 1em;
font-size: 20px;
cursor: pointer;

&:hover {
Expand Down

0 comments on commit c2ccdc7

Please sign in to comment.