Skip to content

v1.3.3: Updates

Choose a tag to compare

@ionlyseespots ionlyseespots released this 19 Mar 18:30
· 182 commits to master since this release

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-top and .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 table colors, borders and padding.
    • the base font size, line height, padding, and margin.
    • the link focus color and bg.

Docs and templates

Added a gallery for Ambient examples. View CodePen gallery

Notable changes

  • .am-btn now inherits disabled skin class styles (.am-disabled) on inputs
  • form elements are now 100% width.