CSS fix to the top menu item, using the m.jpg instead m.gif (rendering broken within menu), and additional comments.

This commit is contained in:
mgalli%geckonnection.com 2005-08-12 01:39:53 +00:00
Родитель f9e11978e8
Коммит 42b7fe8803
2 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@ -76,13 +76,15 @@
<menubar class="chromeclass-menubar">
<menu id="menu-button" width="24" > <!-- hack has to fix -->
<menu id="menu-button" > <!-- hack has to fix -->
<menupopup id="menu_FilePopup">
<menuitem id="menu_close"/>
<menuitem id="menu_closeWindow" command="cmd_closeWindow"
key="key_closeWindow" label="about"/>
<menuitem id="command_BrowserOpenTab" label="new Tab" />
<menu id="menu-zoom" label ="Text zoom">
<!-- this only works with keyboard/ oncommand approach, if we use the workaroung (onmousedown),
the menu disappears -->
<menu id="menu-zoom" label="Text zoom">
<menupopup >
<menuitem id="" oncommand="BrowserResetZoomPlus()" label="ZOOM + " />
<menuitem id="" oncommand="BrowserResetZoomMinus()" label="ZOOM - " />

Просмотреть файл

@ -67,9 +67,9 @@ toolbar *, #appcontent * {
}
#menu-button {
background: url("chrome://minimo/skin/m.gif") no-repeat 50% 50%;
width:20px;
height:12px;
background: url("chrome://minimo/skin/m.jpg") no-repeat 50% 50%;
width:20px !important;
height:12px !important;
}
#back-button