Avatar for Username

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში. აქ არავინ უნდა მოგთხოვოთ ტელეფონზე დარეკვა, შეტყობინების გაგზავნა ან პირადი მონაცემების გაზიარება. რამე საეჭვოს შემჩნევისას გთხოვთ გვაცნობოთ „დარღვევის მოხსენებით“.

ვრცლად

Show Menubar using userchrome.css

  • 2 პასუხი
  • 2 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 47 ნახვა
  • ბოლოს გამოეხმაურა eddythorn

Using the userChrome.css file, I am trying to accomplish two things: 1) Hide the appmenu button; 2) Show the Menu bar. I am able to turn off the appmenu button, but I can't get the Menu bar to display.

Here is the code I am using: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

  1. appmenu-button {display: none !important; }
  2. toolbar-menubar {display: list !important; }

Please help. Thank you. Eddy

Using the userChrome.css file, I am trying to accomplish two things: 1) Hide the appmenu button; 2) Show the Menu bar. I am able to turn off the appmenu button, but I can't get the Menu bar to display. Here is the code I am using: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ #appmenu-button {display: none !important; } #toolbar-menubar {display: list !important; } Please help. Thank you. Eddy

გადაწყვეტა შერჩეულია

Thanks cor-el. I will keep your solution in mind. I was able to figure out my problem - instead of using 'display: list', I used 'display: inline' (for the toolbar-menubar).

პასუხის ნახვა სრულად 👍 0

ყველა პასუხი (2)

Why don't you make the Menu bar visible via View > Toolbars?

Note that toolbars require display: -moz-box !important;


Firefox 27 uses this code, see line 276 in this file (open via the location bar):

chrome://global/content/xul.css
toolbar[type="menubar"][autohide="true"][inactive="true"]:not([customizing="true"]) {
  min-height: 0 !important;
  height: 0 !important;
  -moz-appearance: none !important;
  border-style: none !important;
}

So you need at least set the height

შერჩეული გადაწყვეტა

Thanks cor-el. I will keep your solution in mind. I was able to figure out my problem - instead of using 'display: list', I used 'display: inline' (for the toolbar-menubar).