Customize the style of default components
In order to override the style of the default GeoGirafe Web-Components, the ::part CSS-Selector can be used.
The following list shows the which part of each component can be accessed and be customized with CSS:
Theme-Selector
themes-button: the button that opens the themes-listthemes-content: the popup that contains the list of themestheme-card: the card containing the theme icon and the theme nametheme-icon: the theme icontheme-name: the theme name
Example
girafe-theme-select::part(theme-card) {
border: solid 3px blue;
width: 12rem;
}
girafe-theme-select::part(theme-icon) {
max-height: unset;
max-width: unset;
}
girafe-theme-select::part(theme-name) {
width: 15rem;
}