TAILIEUCHUNG - Hacking Firefox - part 7

Để thay đổi sự xuất hiện tab nền thậm chí nhiều hơn, bạn có thể thay đổi độ mờ, font chữ và kích thước font với mã sau đây. Hãy nhớ rằng những thay đổi phong cách văn bản hầu hết các nền mà bạn có thể thực hiện bằng cách sử dụng Cascading Style Sheets cũng có thể được thực hiện để các thành phần cửa sổ trình duyệt | 62 Part I Basic Hacking You can play with the color font and font size of the active tab by adding the following before or after the snippet you just added Change visual appearance of selected tab tab selected true -moz-appearance none important background-color F0F0F0 important font-family Arial Helvetica sans-serif important font-size 110 important font-weight bold important To vary the background tab appearance even more you can change the opacity font and font size with the following code. Remember that most text background style changes that you can make using Cascading Style Sheets can also be implemented to browser window elements. For best results and easier reading add this code above or below the two example CSS definitions that we just covered Change visual appearance of background tab s tab not selected true -moz-appearance none important -moz-opacity important font-family Arial Helvetica sans-serif important font-size 90 important These changes are illustrated in Figure 4-5. Notice that distinguishing between active and background tabs is much easier. You may have to add or omit some of the style entries in the preceding examples depending on the theme you are using or the extensions you have installed because of the changes that they might apply. Using a Tiled Image for the Window s Background While the following basic example is readily available on the site specifically from the Mozilla Firefox FAQpage at http support firefox tips this section shows you how to extend it to your liking and to get it to work for you. Use a background image for the toolbars Substitute your image file for menubar toolbox toolbar .tabbrowser-tabs background-image url important background-color none important The beauty of this hack is that it shares the same screen elements as the previous section where you modified the background colors so all you have to do is mock up the same ids and screen elements to your

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.