mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 18:38:42 +00:00
add the rest of Clutch to m0k.org's svn
This commit is contained in:
45
web/javascript/menu.js
Normal file
45
web/javascript/menu.js
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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'}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user