1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-25 14:04:23 +00:00

- Use automatic width for context menu in Web UI

This commit is contained in:
Christophe Dumez 2010-01-13 19:28:38 +00:00
parent e20c3cd0b6
commit 75f75854c2

View File

@ -156,10 +156,10 @@ a.propButton img {
} }
/* context menu specific */ /* context menu specific */
#contextmenu { border:1px solid #999; padding:0; background:#eee; width:200px; list-style-type:none; display:none; } #contextmenu { border:1px solid #999; padding:0; background:#eee; list-style-type:none; display:none; }
#contextmenu .separator { border-top:1px solid #999; } #contextmenu .separator { border-top:1px solid #999; }
#contextmenu li { margin:0; padding:0; } #contextmenu li { margin:0; padding:0; }
#contextmenu li a { display:block; padding:5px 10px 5px 35px; width:155px; font-size:12px; text-decoration:none; font-family:tahoma,arial,sans-serif; color:#000; background-position:8px 2px; background-repeat:no-repeat; } #contextmenu li a { display:block; padding:5px 10px 5px 35px; font-size:12px; text-decoration:none; font-family:tahoma,arial,sans-serif; color:#000; background-position:8px 2px; background-repeat:no-repeat; }
#contextmenu li a:hover { background-color:#ddd; } #contextmenu li a:hover { background-color:#ddd; }
#contextmenu li a.disabled { color:#ccc; font-style:italic; } #contextmenu li a.disabled { color:#ccc; font-style:italic; }
#contextmenu li a.disabled:hover { background-color:#eee; } #contextmenu li a.disabled:hover { background-color:#eee; }