|
阅读:4229回复:14
如何让v16下拉地址栏背景变成每条都不一样的颜色
昨晚刚升级的v16
今天发现智能地址栏的背景都变成一样颜色了,白茫茫一片 貌似以前是每条的背景有深有浅,很醒目 能不能恢复以前的那种啊? |
|
|
1楼#
发布于:2012-10-10 11:50
以前的好像也没有深浅间隔吧,只是有横线分隔而已
|
|
|
|
2楼#
发布于:2012-10-10 11:50
没有么?
那能不能回复以前的样子? |
|
|
3楼#
发布于:2012-10-10 11:50
还没升级,复制出来的分隔线css。
.autocomplete-richlistitem {
border-bottom-color: rgb(44, 44, 44);
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-bottom-style: none;
border-bottom-width: 1px;
border-collapse: separate;
border-image-outset: 0 0 0 0;
border-image-repeat: stretch stretch;
border-image-slice: 100% 100% 100% 100%;
border-image-source: none;
border-image-width: 1 1 1 1;
border-left-color: rgb(44, 44, 44);
border-left-style: none;
border-left-width: 1px;
border-right-color: rgb(44, 44, 44);
border-right-style: none;
border-right-width: 1px;
border-spacing: 0px 0px;
border-top-color: rgb(44, 44, 44);
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-top-style: none;
border-top-width: 1px;
} |
|
|
4楼#
发布于:2012-10-10 11:50
一直用这个(userChrome.css)
/*
_________________________________________________________________________
| | |
| Title: | Awesome Bar Background Color Based on Type (WOW) |
| Description: | Different Colors based on Bookmark, tag, or regular |
| Author: | -=Ben=- |
| Date Created: | July 3, 2008 |
| Last Updated: | July 3, 2008 |
| Version: | 1.0.0.2 |
|__________________|______________________________________________________|
*/
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
.autocomplete-richlistitem[type="tag"]
{
background-color: #F4D7F4;
color: #000000;
}
.autocomplete-richlistitem[type="bookmark"]
{
background-color: #B3ECFF;
color: #000000;
}
.autocomplete-richlistitem[type="favicon"]
{
background-color: #E0FFE0;
color: #000000;
}
.autocomplete-richlistitem:focus
{
background-color: #0A246A;
color: #FFFFFF;
} |
|
|
|
5楼#
发布于:2012-10-10 11:50
Bug 587909改的,目的是为了让结果更“明显”。
然后就有人开了Bug 774219想改回来。 |
|
|
6楼#
发布于:2012-10-10 11:50
alanfly:还没升级,复制出来的分隔线css。 呵呵,这个怎么用的啊? |
|
|
7楼#
发布于:2012-10-10 11:50
kmc:一直用这个(userChrome.css) 用了这个好像只是让地址栏下拉变成了绿色 我是想让每条的背景不一样,醒目写哦 |
|
|
8楼#
发布于:2012-10-10 11:50
|
|
|
9楼#
发布于:2012-10-10 11:50
用了这个好像只是让地址栏下拉变成了绿色 历史记录是绿色,有书签的是蓝色,有书签还加了标签的是红色。 不过你说的分隔线确实是没有了,用alanfly分享的那个css也不行。不过我好像已经习惯了…… |
|
|
|
10楼#
发布于:2012-10-10 11:50
|
|
|
|
11楼#
发布于:2012-10-10 11:50
|
|
|
12楼#
发布于:2012-10-10 11:50
旧的分隔线
.autocomplete-richlistitem:not(:first-child) {
border-top: 1px solid ThreeDLightShadow;
} |
|
|
13楼#
发布于:2012-10-10 11:50
|
|
|
|
14楼#
发布于:2012-10-10 11:50
|
|