46 lines
835 B
JavaScript
46 lines
835 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: '310px',
|
|
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'}
|
|
}
|
|
|
|
|
|
}
|