45 lines
845 B
JavaScript
45 lines
845 B
JavaScript
![]() |
/*
|
||
|
* Copyright © Dave Perrett and Malcolm Jarvis
|
||
|
* This code is licensed under the GPL version 2.
|
||
|
* For more details, see http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||
|
*
|
||
|
* Menu Configuration Properties
|
||
|
*/
|
||
|
|
||
|
Menu = {
|
||
|
|
||
|
context: {
|
||
|
|
||
|
menu_style: {
|
||
|
width: '210px',
|
||
|
backgroundColor: '#fff',
|
||
|
border: 'none',
|
||
|
padding: '5px 0',
|
||
|
textAlign: 'left'},
|
||
|
|
||
|
item_style: {
|
||
|
backgroundColor: 'transparent',
|
||
|
margin: '0',
|
||
|
padding: '0 10px 2px 20px',
|
||
|
color: '#000',
|
||
|
fontSize: '14px',
|
||
|
cursor: 'default',
|
||
|
border: 'none'},
|
||
|
|
||
|
item_hover_style: {
|
||
|
backgroundColor: '#24e',
|
||
|
color: '#fff',
|
||
|
border: 'none'},
|
||
|
|
||
|
item_disabled_style: {
|
||
|
backgroundColor: 'transparent',
|
||
|
margin: '0',
|
||
|
padding: '0 10px 2px 20px',
|
||
|
color: '#aaa',
|
||
|
fontSize: '1.5em',
|
||
|
cursor: 'default',
|
||
|
border: 'none'}
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|