https://vaadin.com/forum#!/thread/223864
#note:
The stylename you give to a component is added to the root element of a component (in addition to the original style of the component postfixed with the stylename). So in case of the button the following hierarchy of classes is created:
1.v-button-my-stylename .my-stylename
2 .v-button-wrap
3 .v-button-caption
2 .v-button-wrap
3 .v-button-caption
You can then use the following selector to match different styled buttons:
1.my-stylename .v-button-caption {
2 color: ...
3}
2 color: ...
3}
# <div
No comments:
Post a Comment