Sha256: 167aabeab528651b6342418af0e9d8139627018f11539a1951329c32e0a81047

Contents?: true

Size: 1.86 KB

Versions: 18

Compression:

Stored size: 1.86 KB

Contents

////
//// @group   Forms
////

/// The base height for all our form elements
///
/// @type Number (pixels)

$form-element-base-height: 37px !default;

/// Padding that is shared across form elements
///
/// @type Number (em)

$form-element-base-padding: .35em .5em !default;

/// The base height for any large elements
///
/// @type Number (pixels)

$form-element-base-height--large: 48px !default;

/// Padding that is shared across large form elements
///
/// @type Number (em)

$form-element-base-padding--large: .55em .5em !default;

/// Form sizing map for inputs
///
/// @type List

$form-element-sizes: (
  (base, $form-element-base-height, $form-element-base-padding, 1em),
  (large, $form-element-base-height--large, $form-element-base-padding--large, 1.2em)
) !default;

/// Background color for our form elements
///
/// @type String (hex)

$c-form-element-text: $c-typegrey !default;

/// Background color for our form elements
///
/// @type String (hex)

$c-form-element-background: #fff !default;

/// Default border color for all form elements
///
/// @type Variable | String (pixels)

$c-form-element-border: $c-inputgrey !default;

/// Default border active colour for all form elements
///
/// @type Variable | String (pixels)

$c-form-element-border-hover: $c-typecyan !default;

/// Disabled foreground colour for form elements
///
/// @type String (pixels)

$c-form-element-disabled-fg: #ddd !default;
$c-input-disabled-foreground: $c-form-element-disabled-fg;

/// Disabled background colour for form elements
///
/// @type Variable | String (pixels)

$c-form-element-disabled-bg: #fafafa !default;
$c-input-disabled-background: $c-form-element-disabled-fg;

/// Error color for form elements
///
/// @type Variable | String (pixels)

$c-form-error: $c-red !default;

/// Success color for form elements
///
/// @type Variable | String (pixels)

$c-form-success: $c-green !default;

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ustyle-1.19.2 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.16.2 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.16.1 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.15.3 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.14.11 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.14.10 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.14.0 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.12.6 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.12.1 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.12.0 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.11.1 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.10.0 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.8.7 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.8.1 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.8.0 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.7.0 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.6.1 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss
ustyle-1.5.8 vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss