-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from paulnagle/virtual_accordians
Accordians for virtualna
- Loading branch information
Showing
3 changed files
with
122 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
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.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'] { | ||
--background: var(--ion-color-light); | ||
--color: var(--ion-color-light-contrast); | ||
} | ||
|
||
ion-accordion.accordion-expanding ion-item[slot='header'], | ||
ion-accordion.accordion-expanded ion-item[slot='header'] { | ||
--background: var(--ion-color-primary); | ||
--color: var(--ion-color-primary-contrast); | ||
} | ||
|
||
.ion-padding { | ||
padding-top: 0px; | ||
padding-left: 0px; | ||
padding-right: 0px; | ||
padding-bottom: 0px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters