From c4de15efd5c098797d085f8f9a346d966473e868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20D=C3=ADaz=20Gonz=C3=A1lez?= Date: Mon, 8 Jan 2024 16:28:46 +0000 Subject: [PATCH 1/2] [web] Place CSS overrides styles before Agama ones To allow styles with same specificity defined later win. --- web/src/assets/styles/index.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/assets/styles/index.scss b/web/src/assets/styles/index.scss index 056b7d48dd..9c4e142efa 100644 --- a/web/src/assets/styles/index.scss +++ b/web/src/assets/styles/index.scss @@ -1,3 +1,6 @@ +// PatternFly overrides +@use "~/assets/styles/patternfly-overrides.scss"; + @use "~/assets/fonts.scss"; @use "~/assets/styles/variables.scss"; // TODO: merge app and global @@ -8,5 +11,3 @@ @use "~/assets/styles/composition.scss"; @use "~/assets/styles/blocks.scss"; -// PatternFly overrides -@use "~/assets/styles/patternfly-overrides.scss"; From 41d4403edd6ba596ca14019109df920fa43d5e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20D=C3=ADaz=20Gonz=C3=A1lez?= Date: Mon, 8 Jan 2024 16:30:14 +0000 Subject: [PATCH 2/2] [web] Restore Agama selectors look&feel By setting their list-type and margins to none explicitely after overriding the PatternFly defaults at d4a99e181d8. --- web/src/assets/styles/blocks.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/src/assets/styles/blocks.scss b/web/src/assets/styles/blocks.scss index 8141e1ad7e..dfb31909dc 100644 --- a/web/src/assets/styles/blocks.scss +++ b/web/src/assets/styles/blocks.scss @@ -260,11 +260,15 @@ span.notification-mark[data-variant="sidebar"] { } ul[data-type="agama/list"] { + list-style: none; + margin-inline: 0; + li { border: 2px solid var(--color-gray-dark); padding: var(--spacer-normal); text-align: start; background: var(--color-gray-light); + margin-block-end: 0; &:nth-child(n+2) { border-top: 0;