Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

userChrome.css questions

  • 6 відповідей
  • 1 має цю проблему
  • 1 перегляд
  • Остання відповідь від Thomas Mercer-Hursh

more options

I have been tinkering with userChrome.css to fix some of the "features" of the display in 78 and have had some success and some puzzles. See the current iteration at the end of this post.

Questions: Removing the folder pane options worked and the margin moved, but it seem like it should move more. Does anyone have an idea of the limit of the margin?

The vertical spacing did seem to reduce a little ... how can I reduce it more. I confess to having no idea what this piece is doing.

Likewise in the message window. We got a little reduction, but it could be much more compressed.

The new unread mail is peculiar. If the mail is redirected by message filters to another folder, sure enough it turns red. But, if the mail just goes into the account mail inbox, then the folder flashes red for a few seconds and then returns to black.

Documentation sure would be helpful ...

/* Remove folder pane icons and reduce left margin */

  1. folderTree treechildren::-moz-tree-image {

list-style-image: none !important; margin-left: -20px; }

/* Reduce vertical alignment display width to compact folders */

  1. folderTree treechildren::-moz-tree-indentation {

width: 1px !important; }

/* Reduce vertical spacing in message window */

  1. threadTree treechildren::-moz-tree-row {

height: 10pt !important; }

/* Make folders with new unread mail red */

  1. folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true) {
 color: #FF0000 !important;

}

I have been tinkering with userChrome.css to fix some of the "features" of the display in 78 and have had some success and some puzzles. See the current iteration at the end of this post. Questions: Removing the folder pane options worked and the margin moved, but it seem like it should move more. Does anyone have an idea of the limit of the margin? The vertical spacing did seem to reduce a little ... how can I reduce it more. I confess to having no idea what this piece is doing. Likewise in the message window. We got a little reduction, but it could be much more compressed. The new unread mail is peculiar. If the mail is redirected by message filters to another folder, sure enough it turns red. But, if the mail just goes into the account mail inbox, then the folder flashes red for a few seconds and then returns to black. Documentation sure would be helpful ... /* Remove folder pane icons and reduce left margin */ #folderTree treechildren::-moz-tree-image { list-style-image: none !important; margin-left: -20px; } /* Reduce vertical alignment display width to compact folders */ #folderTree treechildren::-moz-tree-indentation { width: 1px !important; } /* Reduce vertical spacing in message window */ #threadTree treechildren::-moz-tree-row { height: 10pt !important; } /* Make folders with new unread mail red */ #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true) { color: #FF0000 !important; }

Обране рішення

Annoying ... all those number dot space instances are actually #

Читати цю відповідь у контексті 👍 0

Усі відповіді (6)

more options

Try this:

/* Hide Folder pane icons */
#folderTree treechildren::-moz-tree-image {
list-style-image: none !important;
margin-left: -20px !important;
 }

/* Reduce vertical alignment display width */
#folderTree treechildren::-moz-tree-indentation {
width: 1px !important;
}

/* Threads and Folder Panes spacing */
#threadTree treechildren::-moz-tree-row {
   height: 12pt !important;
   min-height: 12pt !important;

#folderTree treechildren::-moz-tree-row {
   height: 12pt !important;
   min-height: 12pt !important;
}

/* Highlight Folders if subfolders have unread messages */
treechildren::-moz-tree-cell-text(subfoldersHaveUnreadMessages-true) {
  color: red !important;
}

/* Make Folders having Unread_Messages distinct from others */
treechildren::-moz-tree-cell-text(hasUnreadMessages-true, newMessages-false) {
  color: green !important;
}

/* Change Folder Display to indicate New Message(s) arrived */
treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true) {
  color: orange !important;
  font-weight: bold !important;
}
more options

We will give this a try, thanks. But, to clarify, we are happy with the way that folders with unread messages are currently displayed (in bold). Some folders are left like this for long periods of time because their content is suitable for processing in a batch. Our only issue is with folders with *new* unread mail so that we are aware there is something new to process.

So, I'm going to omit the subfoldersHaveUnreadMessages-true and hasUnreadMessages-true in the test.

more options

For the record, this is what we ended up with.

/* Remove folder pane icons and reduce left margin */

  1. folderTree treechildren::-moz-tree-image {

list-style-image: none !important; margin-left: -25px; }

/* Reduce vertical alignment display width to compact folders */

  1. folderTree treechildren::-moz-tree-indentation {

width: 1px !important; }

/* Reduce vertical spacing in message window */

  1. threadTree treechildren::-moz-tree-row {

height: 12pt !important; min-height: 12pt !important }

/*Reduce vertical spacing in folder window */

  1. folderTree treechildren::-moz-tree-row {
  height: 11pt !important;
  min-height: 11pt !important;

}

/* Make folders with new unread mail red */ treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true) {

 color: #FF0000 !important;
 font-weight: bold !important;

}

I am not sure of the impact of moz-tree-indentation, but the rest of it really worked to tighten up the folder display and the message display so that there is a lot more information shown and folders with new mail stand out nicely.

more options

Вибране рішення

Annoying ... all those number dot space instances are actually #

more options

To avoid display errors when posting code in this forum, surround the code with < pre > and < /pre > tags (without the spaces).

more options

Ah, yes, familiar with that from other forums ... but haven't posted much here.