Skip to content

Commit

Permalink
[ACS-5539] Icon and pressed state of buttons updated as per the figma (
Browse files Browse the repository at this point in the history
…#3449)

* Updated the icon as per the figma

* pressed state for buttons updated

* review comments resolved

* Resolved the review comments
  • Loading branch information
pkunduGL committed Sep 27, 2023
1 parent ce543ff commit c5f1e22
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ app-details-manager {
outline: none;
border-radius: 4px;

&:focus {
background-color: var(--theme-selected-background-color);
outline: 2px solid var(--theme-blue-button-color);
border-radius: 4px;
}

&:focus-visible {
outline: 2px solid var(--theme-blue-button-color);
border-radius: 4px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,19 @@ import { MatIconModule } from '@angular/material/icon';
[attr.title]="'APP.ACTIONS.DETAILS' | translate"
(click)="onClick()"
>
<mat-icon>menu_open</mat-icon>
<mat-icon>view_sidebar</mat-icon>
</button>
`,
styles: [
`
.app-toggle-info-drawer button:focus {
border: 2px solid var(--theme-blue-button-color);
border-radius: 6px;
outline: none;
background-color: var(--theme-selected-background-color);
}
`
],
encapsulation: ViewEncapsulation.None,
host: { class: 'app-toggle-info-drawer' }
})
Expand Down

0 comments on commit c5f1e22

Please sign in to comment.