Sha256: 305ee7d64aff59f73c7692a95b0f639e1715db99d448ab143d94257948d9d49e

Contents?: true

Size: 567 Bytes

Versions: 12

Compression:

Stored size: 567 Bytes

Contents

@charset "UTF-8";

/// Append pseudo-classes to a selector(s).
///
/// @argument {list | string} $inputs
///   A selector, or list of selectors, to apply the pseudo-class to.
///
/// @argument {pseudo-class} $pseudo [null]
///   The pseudo-class to be appended.
///
/// @return {list}
///
/// @access private

@function _assign-inputs(
    $inputs,
    $pseudo: null
  ) {

  $list: ();

  @each $input in $inputs {
    $input: unquote($input);
    $input: if($pseudo, $input + ":" + $pseudo, $input);
    $list: append($list, $input, comma);
  }

  @return $list;
}

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
spice-rack-0.4.0 _sass/bourbon/bourbon/utilities/_assign-inputs.scss
spice-rack-0.3.0 _sass/bourbon/bourbon/utilities/_assign-inputs.scss
spice-rack-0.2.0 _sass/bourbon/bourbon/utilities/_assign-inputs.scss
spice-rack-0.1.0 _sass/bourbon/bourbon/utilities/_assign-inputs.scss
bourbon-5.0.0.beta.7 core/bourbon/utilities/_assign-inputs.scss
garth-jekyll-theme-0.1.9 _sass/bourbon/bourbon/utilities/_assign-inputs.scss
bourbon-5.0.0.beta.6 core/bourbon/utilities/_assign-inputs.scss
bourbon-5.0.0.beta.5 core/bourbon/utilities/_assign-inputs.scss
bourbon-5.0.0.beta.4 core/bourbon/utilities/_assign-inputs.scss
bourbon-5.0.0.beta.3 core/bourbon/utilities/_assign-inputs.scss
bourbon-5.0.0.beta.2 core/bourbon/utilities/_assign-inputs.scss
bourbon-5.0.0.beta.1 core/bourbon/functions/_assign-inputs.scss