Skip to content

Commit

Permalink
portalicious: icon buttons
Browse files Browse the repository at this point in the history
AB#33097

This one slipped through the cracks with the theming review
  • Loading branch information
aberonni committed Jan 29, 2025
1 parent 2fa2f82 commit b35c87e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
plain
rounded
text
class="lg:mr-9 [&_button:focus]:bg-white [&_button:not(:hover,:focus)]:text-white"
class="lg:mr-9 [&_button:focus]:border-white [&_button:hover]:border-white [&_button]:text-white"
(click)="sidebarVisible.set(true)"
[attr.aria-controls]="sidebarVisible() ? 'menu' : null"
[attr.aria-expanded]="sidebarVisible()"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
(click)="filterChange.emit(undefined)"
text
severity="contrast"
class="absolute end-0 top-1/2 -translate-y-1/2"
styleClass="bg-transparent hover:text-purple-700 focus:text-purple-700"
class="absolute end-1 top-1/2 -translate-y-1/2"
/>
}
</p-iconField>
Expand Down
8 changes: 8 additions & 0 deletions interfaces/Portalicious/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ body {
@apply bg-white;
}
}

&.p-button-text {
@apply rounded-full;

&:hover {
@apply border-grey-100 bg-transparent text-purple;
}
}
}

.p-buttongroup {
Expand Down

0 comments on commit b35c87e

Please sign in to comment.