From ace25bbe5e6882257d07018bc7de349058158d62 Mon Sep 17 00:00:00 2001 From: Paul Nagle Date: Sun, 21 Jan 2024 13:00:31 +0000 Subject: [PATCH] Final accordian css --- src/app/pages/listfull/listfull.page.scss | 37 ++++++++++++++--------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/src/app/pages/listfull/listfull.page.scss b/src/app/pages/listfull/listfull.page.scss index 6b33d69..64a61ec 100644 --- a/src/app/pages/listfull/listfull.page.scss +++ b/src/app/pages/listfull/listfull.page.scss @@ -3,20 +3,28 @@ margin-end: 5px !important; } +ion-item[slot=header] { + // border: 1px; + // border-style: solid; + border-radius: 5px 5px 5px 5px; + border-color: var(--ion-color-primary); +} ion-accordion { margin: 0 auto; } - -// ion-accordion { -// border: 1px; -// border-style: ridge; -// border-radius: 0px 0px 5px 5px; -// } -// ion-accordion.accordion-expanding, -// ion-accordion.accordion-expanded { -// width: calc(100% - 2px); -// } +ion-accordion.accordion-expanding, +ion-accordion.accordion-expanded { + // width: calc(100% - 8px); + padding-top: 4px; + padding-left: 4px; + padding-right: 4px; + padding-bottom: 4px; + border: 1px; + border-style: solid; + border-radius: 5px 5px 5px 5px; + border-color: var(--ion-color-primary); +} ion-accordion.accordion-collapsing ion-item[slot='header'], ion-accordion.accordion-collapsed ion-item[slot='header'] { @@ -31,7 +39,8 @@ ion-accordion.accordion-expanded ion-item[slot='header'] { } .ion-padding { - padding-top: 0px !important; - padding-left: 6px !important; - padding-right: 6px !important; -} \ No newline at end of file + padding-top: 0px; + padding-left: 0px; + padding-right: 0px; + padding-bottom: 0px; +}