Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factorize breakpoints map handling #9439

Merged
merged 4 commits into from
Dec 5, 2016

Commits on Dec 3, 2016

  1. Factorize breakpoint map handling in grid gutters and margins

    Factorize breakpoint map handling in `grid-column-gutter` and
    `grid-column-margin` mixins.
    
    Changes:
    - Add the `-zf-breakpoint-value` mixin which generate its content with
    the value `$-zf-bp-value` depending on its parameter, like
    `grid-column-gutter` and `grid-column-margin` did (see the `@mixin
    -zf-breakpoint-value` doc)
    - Use the `-zf-breakpoint-value` mixin in `grid-column-gutter` and
    `grid-column-margin` and remove duplicated code.
    - Rename the `grid-column-gutter` function to `-zf-breakpoint-value`
    and move it to `/scss/util/_breakpoint.scss`. This function had a
    generic behaviour.
    ncoden committed Dec 3, 2016
    Configuration menu
    Copy the full SHA
    d199ab7 View commit details
    Browse the repository at this point in the history
  2. Factorize function -zf-breakpoint-value into -zf-get-bp-val

    - Allow the `-zf-get-bp-val` function to take a single value as
    responsive config `$map` and return it regardless of `$value`.
    - Remove useless function `-zf-breakpoint-value`
    ncoden committed Dec 3, 2016
    Configuration menu
    Copy the full SHA
    e7487a3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    827763b View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2016

  1. Configuration menu
    Copy the full SHA
    ac6a982 View commit details
    Browse the repository at this point in the history