|Raised||2||0 1px 2px 0 rgba(0,0,0,0.10);|
|Overlay||8||0 4px 8px 0 rgba(0,0,0,0.10);|
|Sticky Nav||12||0 6px 12px 0 rgba(0,0,0,0.10);|
|Temporary Nav||16||0 8px 16px 0 rgba(0,0,0,0.10);|
|Pop-out||24||0 12px 24px 0 rgba(0,0,0,0.10);|
- All layers are the same thickness.
- The implied thickness of one layer is one pixel.
- Layers live on distinct z coordinate planes and uses the offset of the y axis and blur of the box-shadow to represent this depth.
- Items with the same layer cannot occupy the same space.
- Components with different layers can be stacked one top of one another (i.e. an overlay layer may exist on top of a raised layer).
- The only defined style of a layer is its elevation and shadow. The layer container can be styled as needed.
Content on layer
- Content appears on same plane as layer, content does not add to a layer's elevation.
- Content on a layer is bound by the edges of the layer container. Content cannot cross boundaries of the layer.
- Borders are the only overarching limitation of the content on layer, however limitations on the content per component may occur. See individual components for more details.
Each type of layer lives on a different imagined plane of the UI giving each its own distinct elevation. Elevation is the implied measured distance above the base layer. The affect of the elevation on a layer is defined by the intensity and depth of the shadow it casts.
The range of imagined planes in the UI are on a scale from 0 to 24, with zero being the base and 24 the highest point. The higher the elevation is the larger the shadow each layer will cast. Each unit on the elevation scale is equal to the pixel value of the coded blur applied to shadow.
Each layer is a defined marker along the elevation scale. There is not a layer for each level of the scale.