Skip to content

Instantly share code, notes, and snippets.

@TatuLund
Created January 16, 2023 14:41
Show Gist options
  • Select an option

  • Save TatuLund/8619e79db96480fe4cbb9c3627afc579 to your computer and use it in GitHub Desktop.

Select an option

Save TatuLund/8619e79db96480fe4cbb9c3627afc579 to your computer and use it in GitHub Desktop.
"binder" variant for vaadin-tabsheet
vaadin-tabs[theme~="binder"] > vaadin-tab {
background: var(--lumo-contrast-10pct);
}
vaadin-tabs[theme~="binder"][orientation="horizontal"] > vaadin-tab {
border: 1px solid var(--lumo-contrast-30pct);
border-bottom: none;
border-top-left-radius: var(--lumo-border-radius-m);
border-top-right-radius: var(--lumo-border-radius-m);
}
vaadin-tabs[theme~="binder"] > vaadin-tab[selected] {
background: var(--lumo-base-color);
border-left: 1px solid var(--lumo-contrast-30pct);
}
vaadin-tabs[theme~="binder"]::part(tabs) {
gap: var(--lumo-space-s);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment