Master-Detail Layout Styling
Style Properties
The following style properties can be used in CSS stylesheets to customize the appearance of this component.
To apply values to these properties globally in your application UI, place them in a CSS block using the html {…} selector.
See Component Style Properties for more information on style properties.
| Property | Supported by |
|---|---|
| Aura, Lumo |
| Aura, Lumo |
| Aura, Lumo |
| Aura, Lumo |
| Aura |
CSS Selectors
The following CSS selectors can be used in stylesheets to target the various parts and states of the component. See the Styling documentation for more details on how to style components.
- Root element
-
vaadin-master-detail-layout
States
- Overlay mode
-
vaadin-master-detail-layout[overlay] - Stack mode
-
vaadin-master-detail-layout[stack] - Horizontal orientation
-
vaadin-master-detail-layout[orientation="horizontal"] - Vertical orientation
-
vaadin-master-detail-layout[orientation="vertical"] - Default (layout) containment
-
vaadin-master-detail-layout[containment="layout"] - Viewport containment
-
vaadin-master-detail-layout[containment="viewport"] - Layout with detail provided
-
vaadin-master-detail-layout[has-detail]