為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Does anything replace userChrome.css?

  • 1 回覆
  • 0 有這個問題
  • 37 次檢視
  • 最近回覆由 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