diff --git a/web/package/agama-web-ui.changes b/web/package/agama-web-ui.changes index 8e5c3a7250..6d1eac996f 100644 --- a/web/package/agama-web-ui.changes +++ b/web/package/agama-web-ui.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 19 16:35:10 UTC 2026 - David Diaz + +- Restore PF/Alert default styles, removing some custom overrides + (gh#agama-project/agama#3305). + ------------------------------------------------------------------- Wed Mar 18 22:29:48 UTC 2026 - Imobach Gonzalez Sosa diff --git a/web/src/assets/styles/index.scss b/web/src/assets/styles/index.scss index cfa7437705..aa3275c63e 100644 --- a/web/src/assets/styles/index.scss +++ b/web/src/assets/styles/index.scss @@ -330,41 +330,9 @@ strong { // } :not(.pf-v6-c-alert-group__item) > .pf-v6-c-alert { - --pf-v6-c-alert--m-info__title--Color: var(--agm-t--color--waterhole); - --pf-v6-c-alert__icon--FontSize: var(--pf-t--global--font--size--md); - --pf-v6-c-content--MarginBlockEnd: var(--pf-t--global--spacer--xs); - // --pf-v6-c-alert--BoxShadow: var(--pf-t--global--box-shadow--sm); - --pf-v6-c-alert--BoxShadow: none; - --pf-v6-c-alert--PaddingBlockStart: var(--pf-t--global--spacer--sm); - --pf-v6-c-alert--PaddingBlockEnd: var(--pf-t--global--spacer--sm); - --pf-v6-c-alert--PaddingInlineStart: var(--pf-t--global--spacer--md); - --pf-v6-c-alert--PaddingInlineEnd: var(--pf-t--global--spacer--md); - border-width: 0; - border-radius: 0; - border-inline-start-width: var(--pf-t--global--border--width--box--status--default); - &:has(.pf-v6-c-alert__description) { row-gap: var(--pf-t--global--spacer--xs); } - - $pf-alert-modifiers: "custom", "info", "success", "warning", "danger"; - - @each $modifier in $pf-alert-modifiers { - &.pf-m-#{$modifier} { - background: linear-gradient( - to right in srgb, - color-mix(in srgb, var(--pf-v6-c-alert--m-#{$modifier}--BorderColor), transparent 94%), - color-mix(in srgb, var(--pf-v6-c-alert--m-#{$modifier}--BorderColor), transparent 96%), - color-mix(in srgb, var(--pf-v6-c-alert--m-#{$modifier}--BorderColor), transparent 98%), - transparent - ); - } - } - - &.pf-m-plain { - border: 0; - background: none; - } } .pf-v6-c-alert-group.pf-m-toast { diff --git a/web/src/components/core/InstallationFinished.tsx b/web/src/components/core/InstallationFinished.tsx index a767dd89df..95e28ca8fd 100644 --- a/web/src/components/core/InstallationFinished.tsx +++ b/web/src/components/core/InstallationFinished.tsx @@ -43,7 +43,7 @@ const TpmAlert = () => { const title = _("TPM sealing requires the new system to be booted directly."); return ( - + diff --git a/web/src/components/core/IssuesAlert.tsx b/web/src/components/core/IssuesAlert.tsx index 387722b85c..c7eafccbad 100644 --- a/web/src/components/core/IssuesAlert.tsx +++ b/web/src/components/core/IssuesAlert.tsx @@ -32,6 +32,7 @@ export default function IssuesAlert({ issues }) { return ( diff --git a/web/src/components/core/LoginPage.tsx b/web/src/components/core/LoginPage.tsx index 75da3f8a60..389783f1c4 100644 --- a/web/src/components/core/LoginPage.tsx +++ b/web/src/components/core/LoginPage.tsx @@ -99,7 +99,7 @@ user privileges.", /> {authError && ( - + {error.description} )} diff --git a/web/src/components/core/ProgressBackdrop.tsx b/web/src/components/core/ProgressBackdrop.tsx index 464ef13f14..4c041a3f9e 100644 --- a/web/src/components/core/ProgressBackdrop.tsx +++ b/web/src/components/core/ProgressBackdrop.tsx @@ -158,6 +158,7 @@ export default function ProgressBackdrop({ } title={ + {_( "All network connections managed through this interface are currently set to be \ used only during installation and will not be copied to the installed system", diff --git a/web/src/components/network/WifiConnectionForm.tsx b/web/src/components/network/WifiConnectionForm.tsx index b98807cf5e..153889e10e 100644 --- a/web/src/components/network/WifiConnectionForm.tsx +++ b/web/src/components/network/WifiConnectionForm.tsx @@ -57,7 +57,7 @@ const securityFrom = (supported: string[]) => { const PublicNetworkAlert = () => { return ( - + {_("You will connect to a public network without encryption. Your data may not be secure.")} diff --git a/web/src/components/storage/FixableConfigInfo.tsx b/web/src/components/storage/FixableConfigInfo.tsx index 2a8a25ea5d..5e752922f8 100644 --- a/web/src/components/storage/FixableConfigInfo.tsx +++ b/web/src/components/storage/FixableConfigInfo.tsx @@ -51,7 +51,7 @@ export default function FixableConfigInfo({ issues }: FixableConfigInfoProps) { ); return ( - + ); diff --git a/web/src/components/storage/PotentialDataLossAlert.tsx b/web/src/components/storage/PotentialDataLossAlert.tsx index ffa5fef630..d0be6755b7 100644 --- a/web/src/components/storage/PotentialDataLossAlert.tsx +++ b/web/src/components/storage/PotentialDataLossAlert.tsx @@ -48,7 +48,7 @@ export default function PotentialDataLossAlert({ } return ( - + {!isCompact && ( diff --git a/web/src/components/storage/ProposalFailedInfo.tsx b/web/src/components/storage/ProposalFailedInfo.tsx index a28b32e892..057bc43909 100644 --- a/web/src/components/storage/ProposalFailedInfo.tsx +++ b/web/src/components/storage/ProposalFailedInfo.tsx @@ -82,7 +82,7 @@ const Description = () => { */ export default function ProposalFailedInfo() { return ( - + ); diff --git a/web/src/components/storage/UnsupportedModelInfo.tsx b/web/src/components/storage/UnsupportedModelInfo.tsx index aa61952710..41ad3dd363 100644 --- a/web/src/components/storage/UnsupportedModelInfo.tsx +++ b/web/src/components/storage/UnsupportedModelInfo.tsx @@ -36,7 +36,7 @@ export default function UnsupportedModelInfo(): React.ReactNode { if (config) return null; return ( - +