@charset "UTF-8";

////
/// @module menu: 菜单
/// @tag Menu
/// @category component
/// @family data-display
/// @varPrefix $menu-
/// @classPrefix {prefix}-menu
/// @order {"size/bounding":10,"size/item":11,"size/sub menu":12,"size/group title":13,"size/divider":14,"size/selected icon":15,"size/arrow":16,"size/checkbox & radio":17,"statement/normal":10,"statement/normal/bounding":100,"statement/normal/text":101,"statement/normal/divider":102,"statement/normal/item":103,"statement/normal/arrow":104,"statement/selected":11,"statement/selected/item":110,"statement/selected/text":111,"statement/selected/selected icon":112,"statement/hover":12,"statement/hover/item":120,"statement/hover/text":121,"statement/hover/arrow":122,"statement/hover/selected icon":123,"statement/disabled":13,"statement/disabled/text":130}
////

$menu-prefix: '.#{$css-prefix}menu';

// Size
// ----------------------------------------


$menu-padding-vertical: $s-2 !default;
$menu-padding-horizontal: $s-5 !default;

/// padding (l, r)
/// @namespace size/bounding
$menu-padding-ver-padding-lr: $s-zero !default;
/// padding (t, b)
/// @namespace size/bounding
$menu-padding-ver-padding-tb: $s-2 !default;
/// padding (l, r)
/// @namespace size/bounding
$menu-padding-hoz-padding-lr: $s-zero !default;
/// padding (t, b)
/// @namespace size/bounding
$menu-padding-hoz-padding-tb: $s-2 !default;

/// padding (l)
/// @namespace size/item
$menu-item-padding-ver-padding-l: $s-5 !default;
/// padding (r)
/// @namespace size/item
$menu-item-padding-ver-padding-r: $s-5 !default;
/// padding (l, r)
/// @namespace size/item
$menu-item-padding-hoz-padding-lr: $s-5 !default;
/// border radius
/// @namespace size/item
$menu-item-border-radius: $corner-zero !default;


/// item height
/// @namespace size/item
$menu-line-height: $s-8 !default;

/// text
/// @namespace size/item
$menu-font-size: $font-size-body-1 !default;

/// text
/// @namespace size/sub menu
$menu-submenu-title-size: $font-size-body-1 !default;

/// padding (l, r)
/// @namespace size/group title
$menu-padding-title-horizontal: $s-3 !default;

/// width
/// @namespace size/divider
$menu-divider-width: $line-1 !default;

/// margin (t, b)
/// @namespace size/divider
$menu-divider-margin-ver: $s-2 !default;

/// margin (l, r)
/// @namespace size/divider
$menu-divider-margin-hoz: $s-3 !default;

/// size
/// @namespace size/selected icon
$menu-icon-selected-size: $icon-xs !default;

/// space to frame
/// @namespace size/selected icon
$menu-icon-selected-right: $s-1 !default;

/// size
/// @namespace size/arrow
$menu-icon-size: $icon-xxs !default;

/// size
/// @namespace size/arrow
$menu-hoz-icon-size: $icon-xs !default;

/// margin (r)
/// @namespace size/checkbox & radio
$menu-icon-margin: $s-1 !default;

// Statement:Normal
// ----------------------------------------

/// shadow
/// @namespace statement/normal/bounding
$menu-shadow: $shadow-1-down !default;

/// color
/// @namespace statement/normal/text
$menu-color: $color-text1-4 !default;

/// style
/// @namespace statement/normal/divider
$menu-divider-style: $line-solid !default;

/// color
/// @namespace statement/normal/divider
$menu-divider-color: $color-line1-1 !default;

/// background
/// @namespace statement/normal/item
$menu-background: $color-white !default;

/// color
/// @namespace statement/normal/text
$menu-color: $color-text1-4 !default;

/// color
/// @namespace statement/normal/arrow
$menu-arrow-color: $color-text1-3 !default;

// Statement:Selected
// ----------------------------------------

/// background
/// @namespace statement/selected/item
$menu-background-selected: $color-white !default;

/// color
/// @namespace statement/selected/text
$menu-color-selected: $color-text1-4 !default;

/// color
/// @namespace statement/selected/selected icon
$menu-icon-selected-color: $color-brand1-6 !default;

// Statement:Hover & Focused
// ----------------------------------------

/// background
/// @namespace statement/hover/item
$menu-background-hover: $color-fill1-2 !default;

/// color
/// @namespace statement/hover/text
$menu-color-hover: $color-text1-4 !default;

/// color
/// @namespace statement/hover/arrow
$menu-arrow-color-hover: $color-text1-4 !default;

/// right
/// @type number
/// @namespace size/arrow
$menu-arrow-right: 10px !default;

/// color
/// @namespace statement/hover/selected icon
$menu-icon-selected-hover-color: $color-brand1-6 !default;

// Statement:Disabled
// ----------------------------------------

/// color
/// @namespace statement/disabled/text
$menu-color-disabled: $color-text1-1 !default;


/// select icon
/// @namespace statement/normal
/// @type icon
$menu-select-icon-content: $icon-content-select !default;

/// fold icon
/// @namespace statement/normal
/// @type icon
$menu-fold-icon-content: $icon-content-arrow-down !default;

/// unfold icon
/// @namespace statement/normal
/// @type icon
$menu-unfold-icon-content: $icon-reset !default;

/// popup fold icon
/// @namespace statement/normal
/// @type icon
$menu-popupfold-icon-content: $icon-content-arrow-right !default;
