这些代码该放哪里?

阅读:1969回复:2
2011-12-13 17:46
写私信
楼主#
放进Stylish有效,但放进userChrome.css无效,如果不用Stylish,可以放进哪里?

@-moz-document url-prefix(http://),url-prefix(https://) {

/* 滚动条颜色 */
scrollbar {
   -moz-appearance: none !important;
   background: rgb(0,255,0) !important;
}

/* 滚动条按钮颜色 */
thumb,scrollbarbutton {
   -moz-appearance: none !important;
   background-color: rgb(0,0,255) !important;
}

/* 鼠标悬停时按钮颜色 */

thumb:hover,scrollbarbutton:hover {
   -moz-appearance: none !important;
   background-color: rgb(255,0,0) !important;
}

/* 隐藏上下箭头 */
scrollbarbutton {
   display: none !important;
}

/* 纵向滚动条宽度 */
scrollbar[orient="vertical"] {
   min-width: 15px !important;
}
}
2011-12-13 17:46
写私信
1楼#
userContent.css
可以试试, 有的代码是Stylish独占的
目前还用着Firefox 24
2011-12-13 17:46
写私信
2楼#
放进userchrome.css里话把
@-moz-document url-prefix(http://),url-prefix(https://) {
和最后面的 “}”删除。