TAILIEUCHUNG - Hacking Firefox - part 15

Part III — Hacking Menus, Toolbars, and Statusbar /* * This file can be used to customize the look of Mozilla’s user interface * You should consider using !important on rules which you want to * override default settings. */ /* * Do not remove the @namespace line -- it’s required for correct functioning */ @namespace url(“”); /* set default namespace to XUL */ /* * Some possible accessibility enhancements: */ /* * Make all the default font sizes 20 pt: * * * { * font-size: 20pt !important * } */ /* * Make menu items in particular 15 pt instead. | 142 Part III Hacking Menus Toolbars and Statusbar This file can be used to customize the look of Mozilla s user interface You should consider using important on rules which you want to override default settings. Do not remove the namespace line -- it s required for correct functioning namespace url http keymaster gatekeeper set default namespace to XUL Some possible accessibility enhancements Make all the default font sizes 20 pt font-size 20pt important Make menu items in particular 15 pt instead of the default size menupopup font-size 15pt important Give the Location URL Bar a fixed-width font urlbar font-family monospace important Eliminate the throbber and its annoying movement throbber-box display none important For more examples see http unix Note that the same structure following is used for the example rules shown here selector property value Chapter 8 Hacking Menus 143 Readers are encouraged to take a closer look at Chapter 7 where the topic of CSS is covered in more detail. Hiding Menu Options Power users are always concerned about desktop real estate. Personally I do a lot of ridiculous things to squeeze in an extra row here or there including using autohide with the task bar in Windows. Generally this is more difficult to do at the application level. Some applications do allow the user to hide a status bar or title bar or sometimes even all the menus but generally they allow very little customization. The file however does enable us to remove specific menu items. Toolbar items can be added and removed by right-clicking on the toolbar area and selecting the Customize Toolbar option. A dialog with various icons should pop up and these can be dragged to the position of your choice on the toolbar as shown in Figure 8-1. Conversely toolbar items that are of little value to you can be dragged onto the dialog and they will be removed. One example of wasted toolbar space is the .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.