13693261870
2022-09-16 354b3dbfbffb3df45212a2a44dbbf48b4acc2594
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>The source code</title>
  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  <style type="text/css">
    .highlight { display: block; background-color: #ddd; }
  </style>
  <script type="text/javascript">
    function highlight() {
      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
    }
  </script>
</head>
<body onload="prettyPrint(); highlight();">
  <pre class="prettyprint lang-js"><span id='Ext-menu-Menu'>/**
</span> * @class Ext.menu.Menu
 */
 
<span id='Ext-menu-Menu-css_var-S-menu-background-color'>/**
</span> * @var {color}
 * The background-color of the Menu
 */
$menu-background-color: #fff !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-separator-border-color'>/**
</span> * @var {color}
 * The border-color of {@link Ext.menu.Separator Menu Separators}
 */
$menu-separator-border-color: $neutral-color !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-separator-background-color'>/**
</span> * @var {color}
 * The background-color of {@link Ext.menu.Separator Menu Separators}
 */
$menu-separator-background-color: #FFF !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-separator-size'>/**
</span> * @var {number}
 * The size of {@link Ext.menu.Separator Menu Separators}
 */
$menu-separator-size: 2px !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-border-color'>/**
</span> * @var {color}
 * The border-color of the Menu
 */
$menu-border-color: $neutral-color !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-border-style'>/**
</span> * @var {string}
 * The border-style of the Menu
 */
$menu-border-style: solid !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-border-width'>/**
</span> * @var {number}
 * The border-width of the Menu
 */
$menu-border-width: null !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-font-size'>/**
</span> * @var {number}
 * The font-size of {@link Ext.menu.Item Menu Items}
 */
$menu-item-font-size: $font-size !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-margin'>/**
</span> * @var {number}
 * The margin of {@link Ext.menu.Item Menu Items}
 */
$menu-item-margin: 1px !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-height'>/**
</span> * @var {number}
 * The height of {@link Ext.menu.Item Menu Items}
 */
$menu-item-height: 24px !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-border-width'>/**
</span> * @var {number}
 * The border-width of {@link Ext.menu.Item Menu Items}
 */
$menu-item-border-width: 1px !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-cursor'>/**
</span> * @var {string}
 * The style of cursor to display when the cursor is over a {@link Ext.menu.Item Menu Item}
 */
$menu-item-cursor: pointer !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-active-background-color'>/**
</span> * @var {color}
 * The background-color of the active {@link Ext.menu.Item Menu Item}
 */
$menu-item-active-background-color: $base-color !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-active-border-color'>/**
</span> * @var {color}
 * The border-color of the active {@link Ext.menu.Item Menu Item}
 */
$menu-item-active-border-color: adjust-color($base-color, $saturation: 23%, $lightness: -3%) !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-background-gradient'>/**
</span> * @var {string/list}
 * The background-gradient for {@link Ext.menu.Item Menu Items}. Can be either the name
 * of a predefined gradient or a list of color stops. Used as the `$type` parameter for
 * {@link Global_CSS#background-gradient}.
 */
$menu-item-background-gradient: null !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-active-border-radius'>/**
</span> * @var {number}
 * The border-radius of {@link Ext.menu.Item Menu Items}
 */
$menu-item-active-border-radius: 0 !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-icon-size'>/**
</span> * @var {number}
 * The size of {@link Ext.menu.Item Menu Item} icons
 */
$menu-item-icon-size: 16px !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-icon-horizontal-spacing'>/**
</span> * @var {number}
 * The space to the left and right of {@link Ext.menu.Item Menu Item} icons
 */
$menu-item-icon-horizontal-spacing: 3px !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-icon-background-position'>/**
</span> * @var {list}
 * The background-position of {@link Ext.menu.Item Menu Item} icons
 */
$menu-item-icon-background-position: center center !default;
 
// private
$menu-item-icon-top: round(($menu-item-height - vertical($menu-item-border-width) - $menu-item-icon-size) / 2) + 1 !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-text-horizontal-spacing'>/**
</span> * @var {number}
 * The space to the left and right of {@link Ext.menu.Item Menu Item} text
 */
$menu-item-text-horizontal-spacing: 4px !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-separator-margin'>/**
</span> * @var {number/list}
 * The margin of {@link Ext.menu.Separator Menu Separators}
 */
$menu-item-separator-margin: 2px 0 !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-check-item-padding'>/**
</span> * @var {number}
 * The padding to the right of {@link Ext.menu.CheckItem Check Items}, to make room
 * for the checkbox
 */
$menu-check-item-padding: 22px !default;
 
// Right (or left in RTL mode) padding on menu items
$menu-item-trailing-padding: 0 !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-arrow-height'>/**
</span> * @var {number}
 * The height of {@link Ext.menu.Item Menu Item} arrows
 */
$menu-item-arrow-height: 9px !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-arrow-width'>/**
</span> * @var {number}
 * The width of {@link Ext.menu.Item Menu Item} arrows
 */
$menu-item-arrow-width: 12px !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-arrow-horizontal-spacing'>/**
</span> * @var {number}
 * The space to the left and right of {@link Ext.menu.Item Menu Item} arrows
 */
$menu-item-arrow-horizontal-spacing: 0 !default;
 
// private
$menu-item-arrow-top: round(($menu-item-height - vertical($menu-item-border-width) - $menu-item-arrow-height) / 2) !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-item-disabled-opacity'>/**
</span> * @var {number}
 * The opacity of disabled {@link Ext.menu.Item Menu Items}
 */
$menu-item-disabled-opacity: .5 !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-scroller-height'>/**
</span> * @var {number}
 * The height of Menu crollers
 */
$menu-scroller-height: 8px !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-scroller-opacity'>/**
</span> * @var {number}
 * The opacity of Menu crollers
 */
$menu-scroller-opacity: 1 !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-scroller-opacity-over'>/**
</span> * @var {number}
 * The opacity of Menu crollers when hovered
 */
$menu-scroller-opacity-over: 1 !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-scroller-opacity-pressed'>/**
</span> * @var {number}
 * The opacity of Menu crollers when pressed
 */
$menu-scroller-opacity-pressed: 1 !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-padding'>/**
</span> * @var {number/list}
 * The padding to apply to the Menu body element
 */
$menu-padding: 2px !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-text-color'>/**
</span> * @var {color}
 * The color of Menu Item text
 */
$menu-text-color: #000 !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-component-margin'>/**
</span> * @var {number/list}
 * The margin non-MenuItems placed in a Menu
 */
$menu-component-margin: null !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-glyph-color'>/**
</span> * @var {color} $menu-glyph-color
 * The color to use for menu icons configured using {@link Ext.menu.Item#glyph glyph}
 */
$menu-glyph-color: $menu-text-color !default;
 
<span id='Ext-menu-Menu-css_var-S-menu-glyph-opacity'>/**
</span> * @var {number} $menu-glyph-opacity
 * The opacity to use for menu icons configured using {@link Ext.menu.Item#glyph glyph}
 */
$menu-glyph-opacity: .5 !default;</pre>
</body>
</html>