Repository navigation
v1.3.3: Updates
Ambient updates
HTML5
table is now supported. Tabular data will display both portrait & landscape, and makes use of the scope and data attributes.
View Codepen example
fieldset is now supported, and makes use of therole attribute on a child container div.
View CodePen example
Layout
am-layout="vertical" on a nav element now supports the values "left-align", "right-align" and "center-align". I.E., am-layout="vertical right-align"
am-layout="vertical-center" now allows vertical centering on any element.
am-wrapperattribute added for container div.
am-layer now defaults to a static z-index, with optional shadows and hover event.
CSS
-
Added the ability to customize the
am-namespace with a prefix variable. You can make Ambient your own. I.E.,oc-layout - Added skin classes for shadows. I.E.,
.am-shadow-z1,.am-shadow-z1-topand.am-shadow-z1-bottom. -
Added LESS variables for
- the base color palette. I.E.,
@am-palette-1-@am-palette-20. Optional Material colors and variables are available. View colors - the
tablecolors, borders and padding. - the base font size, line height, padding, and margin.
- the link focus color and bg.
- the base color palette. I.E.,
Docs and templates
Added a gallery for Ambient examples. View CodePen gallery
Notable changes
.am-btnnow inherits disabled skin class styles (.am-disabled) on inputsformelements are now 100% width.