搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Does anything replace userChrome.css?

  • 1 回覆
  • 0 有這個問題
  • 2 次檢視
  • 最近回覆由 sfhowes

more options

TB 115.2.2 (64-bit)

TB was updated today. userChrome.css is now completely ignored. Is there some replacement for customizing the appearance?

I used userChrome.css to enlarge the font sizes in the toolbar, folder, and pane windows, and the line spacing in those windows. Now I have tiny text squished together.

These are the styles no longer working: /* Text In Tab Labels And Tool Bar(s)

  • /

toolbar {

    font-weight: normal !important;
    font-size: 18px !important;
    font-family: Core Sans N43 Ex, sans-serif !important;
}

/* Menu font Top of the window: File/Edit etc

  • /

menu, menulist, menuitem {

    font-family: Core Sans N43 Ex, sans-serif !important;
    font-size: 18px !important;
}

/* Set Font Size In Folder Pane and Thread Pane

  • /
  1. folderTree >treechildren::-moz-tree-cell-text {
   font-size: 16px !important;
   font-family: Core Sans N43 Ex, sans-serif !important;
}
  1. threadTree >treechildren::-moz-tree-cell-text {
   font-size: 16px !important;
   font-family: Core Sans N43 Ex, sans-serif !important;
}

/* After adjusting the font size(s), you find that the spacing between the lines also needs adjusting, here's code to accomplish that.

  • /
  1. folderTree >treechildren::-moz-tree-row {
    height: 20px !important;
}
  1. threadTree >treechildren::-moz-tree-row {
    height: 28px !important;
}

/* this changes the lines use in the headers to link threads

  • /

tree[seltype="cell"] > treechildren::-moz-tree-line, tree[seltype="text"] > treechildren::-moz-tree-line, treechildren::-moz-tree-line {

    border: 1px dotted #006 !important;
}
TB 115.2.2 (64-bit) TB was updated today. userChrome.css is now completely ignored. Is there some replacement for customizing the appearance? I used userChrome.css to enlarge the font sizes in the toolbar, folder, and pane windows, and the line spacing in those windows. Now I have tiny text squished together. These are the styles no longer working: /* Text In Tab Labels And Tool Bar(s) */ toolbar { font-weight: normal !important; font-size: 18px !important; font-family: Core Sans N43 Ex, sans-serif !important; } /* Menu font Top of the window: File/Edit etc */ menu, menulist, menuitem { font-family: Core Sans N43 Ex, sans-serif !important; font-size: 18px !important; } /* Set Font Size In Folder Pane and Thread Pane */ #folderTree >treechildren::-moz-tree-cell-text { font-size: 16px !important; font-family: Core Sans N43 Ex, sans-serif !important; } #threadTree >treechildren::-moz-tree-cell-text { font-size: 16px !important; font-family: Core Sans N43 Ex, sans-serif !important; } /* After adjusting the font size(s), you find that the spacing between the lines also needs adjusting, here's code to accomplish that. */ #folderTree >treechildren::-moz-tree-row { height: 20px !important; } #threadTree >treechildren::-moz-tree-row { height: 28px !important; } /* this changes the lines use in the headers to link threads */ tree[seltype="cell"] > treechildren::-moz-tree-line, tree[seltype="text"] > treechildren::-moz-tree-line, treechildren::-moz-tree-line { border: 1px dotted #006 !important; }

所有回覆 (1)

more options