Sha256: 46c92a14344d5e8aac77269cf7a0a4e48ba7a99b62bb145aa55ea4b8bbb97a4e

Contents?: true

Size: 560 Bytes

Versions: 23

Compression:

Stored size: 560 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

23 entries across 23 versions & 4 rubygems

Version Path
baseline-scss-0.5.0 src/vendors/bourbon/utilities/_assign-inputs.scss
baseline-scss-0.4.4 src/vendors/bourbon/utilities/_assign-inputs.scss
baseline-scss-0.4.3 src/vendors/bourbon/utilities/_assign-inputs.scss
baseline-scss-0.4.2 src/vendors/bourbon/utilities/_assign-inputs.scss
baseline-scss-0.4.1 src/vendors/bourbon/utilities/_assign-inputs.scss
baseline-scss-0.4.0 src/vendors/bourbon/utilities/_assign-inputs.scss
baseline-scss-0.3.3 src/vendors/bourbon/utilities/_assign-inputs.scss
baseline-scss-0.3.2 src/vendors/bourbon/utilities/_assign-inputs.scss
baseline-scss-0.3.1 src/vendors/bourbon/utilities/_assign-inputs.scss
baseline-scss-0.3.0 src/vendors/bourbon/utilities/_assign-inputs.scss
bourbon-7.3.0 core/bourbon/utilities/_assign-inputs.scss
bourbon-7.2.0 core/bourbon/utilities/_assign-inputs.scss
bourbon-7.1.0 core/bourbon/utilities/_assign-inputs.scss
geekspace-3.2.0 _sass/bourbon/bourbon/utilities/_assign-inputs.scss
geekspace-3.1.2 _sass/bourbon/bourbon/utilities/_assign-inputs.scss
geekspace-3.1.1 _sass/bourbon/bourbon/utilities/_assign-inputs.scss
bourbon-7.0.0 core/bourbon/utilities/_assign-inputs.scss
bourbon-6.0.0 core/bourbon/utilities/_assign-inputs.scss
bourbon-5.1.0 core/bourbon/utilities/_assign-inputs.scss
bourbon-5.0.1 core/bourbon/utilities/_assign-inputs.scss