前端 UI 框架,Foundation 6.0.3/6.0.2 发布

jopen 9年前

Foundation 是一个易用、强大而且灵活的框架,用于构建基于任何设备上的 Web 应用。提供多种 Web 上的 UI 组件,如表单、按钮、Tabs 等等。

Foundation 陆续发布了 Foundation 6.0.2 和 Foundation 6.0.3 版本,主要都是 bug 修复。

Foundation 6.0.2 主要改进:

  • Cleaned up the contents of the npm and Bower packages so they have less files.

  • Added !default flags to Sass variables missing them. This prevented some settings variables from being modified. These components were fixed:

    • Breadcrumbs

    • Base typography

    • Pagination

  • Added a Sass variable, $block-grid-max, to change how many block grid CSS classes are created. This allows you to go higher than six-up with block grids.

  • Fix dropdown menus not working with touch devices if clickOpen="false".

  • Removed an unneeded JS file, motion-ui.js, which was the same as foundation.util.motion.js.

  • Fixed the .end class not properly floating columns to the left.

  • Fixed the last element in a block grid not properly floating to the left.

  • Orbit adds the .is-active class to the first slide if it's not already there.

  • Fixed an issue with hover dropdowns when clicked on.

  • Fixed a Sass compile error when $breakpoint-classes contains every breakpoint in $breakpoint.

Foundation 6.0.3 主要修复了在同一个实例中 hover dropdowns 无效的问题。

下载:https://github.com/zurb/foundation-sites/archive/v6.0.3.zip