Created
January 16, 2023 14:41
-
-
Save TatuLund/8619e79db96480fe4cbb9c3627afc579 to your computer and use it in GitHub Desktop.
"binder" variant for vaadin-tabsheet
This file contains hidden or 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
| 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