Cye3s
千年狐狸
千年狐狸
  • UID155
  • 注册日期2004-11-25
  • 最后登录2024-04-28
  • 发帖数1322
  • 经验95枚
  • 威望0点
  • 贡献值34点
  • 好评度14点
  • 社区居民
  • 忠实会员
阅读:8084回复:20

无聊蛋疼,Firefox https 3色安全标识

楼主#
更多 发布于:2012-06-12 17:28
原始出处
http://userstyles.org/styles/60351/fire ... field-lite
强化版
http://userstyles.org/styles/59403/fire ... text-field

14.0以上版本的简化版,目前作者还在测试中(可能要出墙,你懂的)
https://dl.dropbox.com/u/41351198/Firef ... 20Fx15.css

我改的效果

图片:QQ截图20120612171603.png


代码来了,丢userChrome.css,记得保存成UTF-8,如果你不用中文"信任"什么的,自己改成英文,那格式就随便啦,ASCII就行
/*identity-box color for FF13 ,userChrome.css 保存成UTF-8*/
/* hidden */
#urlbar-throbber,
#identity-icon-labels {
  visibility: collapse !important;
}
#urlbar[pageproxystate="valid"] #identity-box.chromeUI #page-proxy-favicon{
  opacity: 0 !important;
}
/* other */
#urlbar-icons {
  font-size: 1em !important;
}
/* image */
#identity-box.chromeUI #page-proxy-stack {
  background: url("chrome://branding/content/icon16.png") no-repeat center center !important;
}
#main-window #urlbar[pageproxystate="invalid"] #page-proxy-stack {
  background: transparent !important;
}
/* text */
#identity-box:after {
  display: -moz-box;
  -moz-box-align: center;
  -moz-padding-end: 3px;
  color: rgba(0,0,0,.76);
  text-shadow: none;  
  font-size: 1em;
}

#urlbar #identity-box.verifiedIdentity:after {
  content: "信任";
}
#urlbar #identity-box.verifiedDomain:after {
  content: "安全";
}
#urlbar #identity-box.mixedContent:after {
  content: "混合";
}
#urlbar #identity-box.chromeUI:after {
  content: "Firefox";
}

#urlbar[pageproxystate="invalid"] #identity-box:after,
#urlbar:not([level]) #identity-box:after {
  content: "" !important;
  -moz-padding-end: 0px;
}
#identity-box.verifiedDomain {
  background-image: -moz-linear-gradient(#FFFCC7,#F2E88E) !important;
}
#identity-box.verifiedDomain:not([open]):hover {
  background-image: -moz-linear-gradient(#FBEE7B,#F2E785) !important;
}
#identity-box.verifiedDomain[open] {
  background-image: -moz-linear-gradient(#D1B84C,#FEF5A2) !important;
}
#identity-box.mixedContent {
  background-image: -moz-linear-gradient(#FFF7F6,#FFD6D2) !important;
}
#identity-box.mixedContent:not([open]):hover  {
  background-image: -moz-linear-gradient(#FFE2DF,#FFD6D2) !important;
}
#identity-box.mixedContent[open] {
  background-image: -moz-linear-gradient(#C8ABA8,#FFD6D2) !important;
}
#urlbar[pageproxystate="invalid"] #identity-box {
  background-image: -moz-linear-gradient(hsl(0,0%,98%), hsl(0,0%,92%)) !important;
}
#urlbar[pageproxystate="invalid"] #identity-box:not([open]):hover {
  background-image: -moz-linear-gradient(hsl(0,0%,95%), hsl(0,0%,87%)) !important;
}
#urlbar[pageproxystate="invalid"] #identity-box[open] {
  background-image: -moz-linear-gradient(hsl(0,0%,92%), hsl(0,0%,82%)) !important;
}

最新喜欢:

railgunrailgu...
我很懒...
Cye3s
千年狐狸
千年狐狸
  • UID155
  • 注册日期2004-11-25
  • 最后登录2024-04-28
  • 发帖数1322
  • 经验95枚
  • 威望0点
  • 贡献值34点
  • 好评度14点
  • 社区居民
  • 忠实会员
1楼#
发布于:2012-06-12 17:28
Re: 无聊蛋痛,Firefox Https 3色标识
14+作者也在测试,还没正式发-_-
我很懒...
Cye3s
千年狐狸
千年狐狸
  • UID155
  • 注册日期2004-11-25
  • 最后登录2024-04-28
  • 发帖数1322
  • 经验95枚
  • 威望0点
  • 贡献值34点
  • 好评度14点
  • 社区居民
  • 忠实会员
2楼#
发布于:2012-06-12 17:28
kmc:为什么我这里连Paypal都只是黄色的安全而不是信任?回到原帖

这个开了木有
我很懒...
Cye3s
千年狐狸
千年狐狸
  • UID155
  • 注册日期2004-11-25
  • 最后登录2024-04-28
  • 发帖数1322
  • 经验95枚
  • 威望0点
  • 贡献值34点
  • 好评度14点
  • 社区居民
  • 忠实会员
3楼#
发布于:2012-06-12 17:28
SB的官方为啥不改成这样的,这样图标也能保留,哈哈
LS的效果不错
我很懒...
Cye3s
千年狐狸
千年狐狸
  • UID155
  • 注册日期2004-11-25
  • 最后登录2024-04-28
  • 发帖数1322
  • 经验95枚
  • 威望0点
  • 贡献值34点
  • 好评度14点
  • 社区居民
  • 忠实会员
4楼#
发布于:2012-06-12 17:28
kmc
统统枪毙一小时!
回到原帖

你要不去英文论坛发个,让老外看看这效果
我很懒...
游客

返回顶部