Sha256: a1b4292cbe9f007988a3d4942f8e3b15a494e082c9883a19cd72f8bb93d5b80e

Contents?: true

Size: 1.84 KB

Versions: 3

Compression:

Stored size: 1.84 KB

Contents

$button-font-size: $font-size !default;
$button-line-height: 1.5 !default;
$button-padding-v: 0.4375em !default;
$button-padding-h: 1.25em !default;
$button-padding: $button-padding-v $button-padding-h !default;

$small-button-font-size: $font-size-xs !default;
$small-button-line-height: 1.5 !default;
$small-button-padding-v: 0.25em !default;
$small-button-padding-h: 0.875em !default;
$small-button-padding: $small-button-padding-v $small-button-padding-h !default;

$default-button-colors: (
  normal: (
    bg: $white-color,
    text: $ui-color,
    border: $border-color
  ),
  hover: (
    bg: $white-color,
    text: #66cc33,
    border: #66cc33
  ),
  active: (
    bg: $white-color,
    text: #22AA11,
    border: #22AA11
  ),
  disable: (
    bg: $white-color,
    text: $lightest-grey-color,
    border: $lighter-line-color
  )
) !default;

$primary-button-colors: (
  normal: (
    bg: $ui-color,
    text: $white-color,
    border: $ui-color
  ),
  hover: (
    bg: #66cc33,
    text: $white-color,
    border: #66cc33
  ),
  active: (
    bg: #22AA11,
    text: $white-color,
    border: #22AA11
  ),
  disable: (
    bg: $border-color,
    text: $white-color,
    border: $border-color
  )
) !default;

$warning-button-colors: map-merge($default-button-colors, (
  normal: (
    bg: $white-color,
    text: $red-color,
    border: $red-color
  ),
  hover: (
    bg: $red-color,
    text: $white-color,
    border: $red-color
  ),
  active: (
    bg: #EE6633,
    text: $white-color,
    border: #EE6633
  )
)) !default;

$icon-button-colors: map-merge($default-button-colors, (
  normal: (
    bg: $white-color,
    text: $lighter-grey-color,
    border: $border-color
  ),
  hover: (
    bg: $white-color,
    text: $lighter-grey-color,
    border: $link-color
  ),
  active: (
    bg: $white-color,
    text: $lighter-grey-color,
    border: $link-color
  )
)) !default;

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tao_ui-0.2.2 lib/assets/stylesheets/tao/ui/shared/variables/_buttons.scss
tao_ui-0.2.1 lib/assets/stylesheets/tao/ui/shared/variables/_buttons.scss
tao_ui-0.2.0 lib/assets/stylesheets/tao/ui/shared/variables/_buttons.scss