Sha256: f812ad86130387d7c8387b4c9cde9f47b7d8189bf0b06983b178126b0984c25b

Contents?: true

Size: 1.68 KB

Versions: 132

Compression:

Stored size: 1.68 KB

Contents

@charset "UTF-8";

/// Generates variables for all buttons. Please note that you must use interpolation on the variable: `#{$all-buttons}`.
///
/// @example scss - Usage
///   #{$all-buttons} {
///     background-color: #f00;
///   }
///
///   #{$all-buttons-focus},
///   #{$all-buttons-hover} {
///     background-color: #0f0;
///   }
///
///   #{$all-buttons-active} {
///     background-color: #00f;
///   }
///
/// @example css - CSS Output
///   button,
///   input[type="button"],
///   input[type="reset"],
///   input[type="submit"] {
///     background-color: #f00;
///   }
///
///   button:focus,
///   input[type="button"]:focus,
///   input[type="reset"]:focus,
///   input[type="submit"]:focus,
///   button:hover,
///   input[type="button"]:hover,
///   input[type="reset"]:hover,
///   input[type="submit"]:hover {
///     background-color: #0f0;
///   }
///
///   button:active,
///   input[type="button"]:active,
///   input[type="reset"]:active,
///   input[type="submit"]:active {
///     background-color: #00f;
///   }
///
/// @require assign-inputs
///
/// @type List
///
/// @todo Remove double assigned variables (Lines 59–62) in v5.0.0

$buttons-list: 'button',
               'input[type="button"]',
               'input[type="reset"]',
               'input[type="submit"]';

$all-buttons:        assign-inputs($buttons-list);
$all-buttons-active: assign-inputs($buttons-list, active);
$all-buttons-focus:  assign-inputs($buttons-list, focus);
$all-buttons-hover:  assign-inputs($buttons-list, hover);

$all-button-inputs:        $all-buttons;
$all-button-inputs-active: $all-buttons-active;
$all-button-inputs-focus:  $all-buttons-focus;
$all-button-inputs-hover:  $all-buttons-hover;

Version data entries

132 entries across 125 versions & 21 rubygems

Version Path
middleman-core-4.5.1 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.5.0 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.4.3 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.4.2 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.4.0 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.3.11 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.3.10 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.3.8 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.3.7 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.3.6 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.3.5 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.3.4 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.3.3 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.3.2 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.3.1 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
middleman-core-4.3.0 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss
federalist-basic-report-theme-0.1.7 _sass/uswds/lib/addons/_buttons.scss
uswds-jekyll-4.2.0 _sass/uswds/lib/addons/_buttons.scss
middleman-core-4.3.0.rc.4 fixtures/minify-css-app/source/stylesheets/bourbon/addons/_buttons.scss