mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
* Forms and board tweaks for small screen sizes * Re-style game status indicators * Re-style viewing/offline indicator * Better eyecons 👁 * Re-organise CSS according to ITCSS principles * Pick new font from Google Fonts * Fix up tests * Move some things into partials
29 lines
560 B
SCSS
29 lines
560 B
SCSS
@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;
|
|
}
|