Skip to content

Commit

Permalink
Merge pull request #2752 from IDEMSInternational/feat/button-variant-…
Browse files Browse the repository at this point in the history
…chat

feat: MX theme button variant 'faq'
  • Loading branch information
ChrisMarsh82 authored Jan 27, 2025
2 parents 83ab1b3 + 62b0928 commit 426464e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/theme/themes/plh_facilitator_mx/_overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,35 @@ body[data-theme="plh_facilitator_mx"] {
}
}
}

ion-button[data-variant~="faq"] {
--border-radius: 0px var(--ion-border-radius-small) var(--ion-border-radius-small) 0px;
--background: white;
--background-activated: var(--ion-color-gray-light);
--padding-top: var(--tiny-padding);
--padding-bottom: var(--tiny-padding);
color: var(--color-surface-black);
min-height: var(--buttons-tall-height);

border: 1px solid var(--ion-color-gray-light);
border-radius: 0px !important;
border-start-end-radius: var(--ion-border-radius-small) !important;
border-end-end-radius: var(--ion-border-radius-small) !important;
border-inline-start: 4px solid var(--ion-color-primary);

&:hover {
--background: var(--ion-color-gray-light);
}
.text.left.null {
text-align: start !important;
p {
margin-inline-end: auto;
text-align: start !important;
width: auto !important;
}
}
}

ion-button[data-language-direction~="rtl"] .children {
position: unset !important;
align-self: unset !important;
Expand Down

0 comments on commit 426464e

Please sign in to comment.