본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

I am using the following code in userCrome.css

  • 4 답장
  • 2 이 문제를 만남
  • 6 보기
  • 최종 답변자: n3pla2000

more options

I am using the following code in my userCrome.css:

#personal-bookmarks .bookmark-item[container][label="Fleet"] {
 list-style-image:url('ufp.png') !important;
 -moz-image-region:auto !important;
}

#personal-bookmarks .bookmark-item[container][label="Fleet"] > .toolbarbutton-text {
 display:none !important; 
}

#personal-bookmarks .bookmark-item[container][label="Fleet"] > .bookmark-item {
 list-style-image:url('ufp.png') !important;
 -moz-image-region:auto !important; 
}

I was trying to make all folders under the folders not "Fleet" have the same icon as the "Fleet" folder. I also want to define all bookmarks (without their own icon) under the folder "Fleet" with a different icon. In this way all "Fleet" folders use the ufp.png icon, all "Fleet" bookmarks use another icon, unless of course their icon is defined by a favicon or individually in the userChrome.css.

So far this defines all items under "Fleet" as having the ufp.png icon. I even tried the following with the same result...

#personal-bookmarks .bookmark-item[container][label="Fleet"] {
 list-style-image:url('ufp.png') !important;
 -moz-image-region:auto !important;
}

#personal-bookmarks .bookmark-item[container][label="Fleet"] > .toolbarbutton-text {
 display:none !important; 
}

#personal-bookmarks .bookmark-item[container][label="Fleet"] > .bookmark-item[container] {
 list-style-image:url('ufp.png') !important;
 -moz-image-region:auto !important; 
}

Is there some way to inform firefox more precisely what I am attempting to do?

I am using the following code in my userCrome.css: <pre><nowiki> #personal-bookmarks .bookmark-item[container][label="Fleet"] { list-style-image:url('ufp.png') !important; -moz-image-region:auto !important; } #personal-bookmarks .bookmark-item[container][label="Fleet"] > .toolbarbutton-text { display:none !important; } #personal-bookmarks .bookmark-item[container][label="Fleet"] > .bookmark-item { list-style-image:url('ufp.png') !important; -moz-image-region:auto !important; } </nowiki></pre> I was trying to make all folders under the folders not "Fleet" have the same icon as the "Fleet" folder. I also want to define all bookmarks (without their own icon) under the folder "Fleet" with a different icon. In this way all "Fleet" folders use the ufp.png icon, all "Fleet" bookmarks use another icon, unless of course their icon is defined by a favicon or individually in the userChrome.css. So far this defines all items under "Fleet" as having the ufp.png icon. I even tried the following with the same result... <pre><nowiki> #personal-bookmarks .bookmark-item[container][label="Fleet"] { list-style-image:url('ufp.png') !important; -moz-image-region:auto !important; } #personal-bookmarks .bookmark-item[container][label="Fleet"] > .toolbarbutton-text { display:none !important; } #personal-bookmarks .bookmark-item[container][label="Fleet"] > .bookmark-item[container] { list-style-image:url('ufp.png') !important; -moz-image-region:auto !important; } </nowiki></pre> Is there some way to inform firefox more precisely what I am attempting to do?

글쓴이 cor-el 수정일시

모든 댓글 (4)

more options

P.S. the "code" show was altered slightly by the form. The pound symbols were replaced by a numeral "1" followed by period/decimal.

more options

The first two rules set the ufp.jpg icon for a folder with the label "Fleet" and hide the label name.
The third rule specifies the same ufp.jpg image for all items I'm not sure what you intend for bookmarks and folders under Fleet as I only see you using one ufp.jpg icon: "all "Fleet" bookmarks use another icon"

Folders under "Fleet" would have this selector:

#PlacesToolbarItems > .bookmark-item[container][label="Fleet"] .bookmark-item[container] {}

Normal bookmarks under "Fleet" would have this selector:

#PlacesToolbarItems > .bookmark-item[container][label="Fleet"] .bookmark-item:not([container]) {}

글쓴이 cor-el 수정일시

more options

Exactly what I need, I think... I have not tried it out yet. The main reason I did not supply the second icon is; I didn't know how to prevent the first from over taking the sub-folders and bookmarks under "Fleet". I also felt insecure in attempting to assign icons to bookmarks with the "Fleet" folder.

Thank Very Much!

more options

The code:

  1. PlacesToolbarItems > .bookmark-item[container][label="Fleet"] .bookmark-item:not([container]) {}

Does nothing for the bookmarks. The first portion of the code does assign variables to the sub-folders as it is meant to. The second portion shown above does not assign icons to bookmarks without their own icons.