Sha256: 6314ade3935864684d9c2c3a172163dd04c10f6c646929b4200c4cf685ca95d2

Contents?: true

Size: 1.88 KB

Versions: 37

Compression:

Stored size: 1.88 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"]';

$user-output-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
$output-bourbon-deprecation-warnings: false;

$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);

$output-bourbon-deprecation-warnings: $user-output-deprecation-warnings-setting;

$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

37 entries across 37 versions & 6 rubygems

Version Path
cortex-0.1.3 spec/dummy/node_modules/bourbon/app/assets/stylesheets/addons/_buttons.scss
english_tea-0.6.2 vendor/assets/stylesheets/bourbon/addons/_buttons.scss
english_tea-0.6.1 vendor/assets/stylesheets/bourbon/addons/_buttons.scss
english_tea-0.6.0 vendor/assets/stylesheets/bourbon/addons/_buttons.scss
english_tea-0.5.3 vendor/assets/stylesheets/bourbon/addons/_buttons.scss
english_tea-0.5.2 vendor/assets/stylesheets/bourbon/addons/_buttons.scss
english_tea-0.5.1 vendor/assets/stylesheets/bourbon/addons/_buttons.scss
english_tea-0.5.0 vendor/assets/stylesheets/bourbon/addons/_buttons.scss
english_tea-0.4.0 vendor/assets/stylesheets/bourbon/addons/_buttons.scss
english_tea-0.3.0 vendor/assets/stylesheets/bourbon/addons/_buttons.scss
wayfarer-jruby-0.0.3 docs/_sass/vendor/bourbon/addons/_buttons.scss
wayfarer-0.0.3 docs/_sass/vendor/bourbon/addons/_buttons.scss
wayfarer-jruby-0.0.2 docs/_sass/vendor/bourbon/addons/_buttons.scss
wayfarer-jruby-0.0.1 docs/_sass/vendor/bourbon/addons/_buttons.scss
bourbon-4.3.4 app/assets/stylesheets/addons/_buttons.scss
dta_rapid-0.3.5 _sass/vendor/bourbon/addons/_buttons.scss
dta_rapid-0.3.4 _sass/vendor/bourbon/addons/_buttons.scss
dta_rapid-0.3.3 _sass/vendor/bourbon/addons/_buttons.scss
dta_rapid-0.3.2 _sass/vendor/bourbon/addons/_buttons.scss
dta_rapid-0.3.1 _sass/vendor/bourbon/addons/_buttons.scss