TAILIEUCHUNG - wiley Hacking Firefox ™ More Than 150 Hacks, Mods, and Customizations phần 3

Một trong những con vật cưng của tôi peeves với nhiều chủ đề là số tiền padding không gian xung quanh các biểu tượng trên thanh công cụ khi sử dụng các nhãn văn bản trên thanh công cụ. Hầu hết các bố trí chủ đề đang hướng về phía bằng cách sử dụng kích thước biểu tượng tiêu chuẩn mà không cần văn bản, | Chapter 4 Hacking Themes and Icons 65 One cool trick you can do is break up the elements and give them different background images. Reducing Space around Toolbar Icons One of my pet peeves with many themes is the amount of space padding around toolbar icons when using the text label on the toolbar. Most theme layouts are geared toward using the standard icon size without text but I prefer using small icons with text descriptions and most themes including the default theme do not have optimal spacing in this mode. Whether you have selected Icons and Text or Text with or without Use Small Icon Firefox adds just a bit too much spacing which bloats the toolbar. To customize your toolbar right-click on the toolbar and choose Customize from the popup menu. Once again to apply this example enter the following in your save and restart Firefox Reducing Space Around Toolbar Icons .toolbarbutton-1 toolbar mode text .toolbarbutton-text padding 3px 3px 0px 3px important margin 0px 0px 0px 0px important min-width 0px important display -moz-box .toolbarbutton-menubutton-stack .toolbarbutton-menubutton-button .toolbarbutton-menubutton-stack hover .toolbarbutton-menubutton-button hover .toolbarbutton-menubutton-stack hover active .toolbarbutton-menubutton-button hover active padding 0px 0px 0px 0px important margin 0px 0px 0px 0px important min-width 0px important display -moz-box A larger space gain is realized when you have toolbar text labels enabled. Figure 4-7 displays the default theme with toolbar text enabled. Figure 4-8 shows the effects of applying the toolbar style changes with small icons. 66 Part I Basic Hacking Figure 4-7 Main window with small icons and toolbar text enabled Figure 4-8 Main window with toolbar-spacing hack applied Chapter 4 Hacking Themes and Icons 67 To achieve the tightest fit you can override the padding margin and minimum width for the toolbar buttons by setting most to zero and tweaking some of the padding. To do this you have to .

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.