Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix urlbaricon working animation, add alert emblem styles.

  • Loading branch information...
commit cd532eec8c22759fa94f9047b9bbaf4606cae9c3 1 parent 39306fe
Max Goodman chromakode authored

Showing 2 changed files with 31 additions and 2 deletions. Show diff stats Hide diff stats

  1. +4 2 content/urlBarIcon.xml
  2. +27 0 skin/socialite.css
6 content/urlBarIcon.xml
@@ -8,13 +8,15 @@
8 8
9 9 <content>
10 10 <xul:stack>
11   - <xul:image anonid="imgSite" xbl:inherits="src=icon,tooltiptext=name"/>
  11 + <xul:image anonid="imgSite" xbl:inherits="src,tooltiptext=name"/>
  12 + <xul:image anonid="imgAlert" src="chrome://socialite/skin/alert_emblem.png"/>
12 13 </xul:stack>
13 14 </content>
14 15
15 16 <implementation>
16 17 <field name="isWorking">false</field>
17   -
  18 + <field name="isAlert">false</field>
  19 +
18 20 <property name="name"
19 21 onget="return this.getAttribute('name');"
20 22 onset="this.setAttribute('name', val); return val;"/>
27 skin/socialite.css
@@ -94,6 +94,33 @@ notification[value="socialite-submitbar-notification"] {
94 94 opacity: 1;
95 95 }
96 96
  97 +.socialite-urlbar-icon image[anonid="imgSite"] {
  98 + position: absolute;
  99 + top: 0px;
  100 + left: 0px;
  101 + width: 16px;
  102 + height: 16px;
  103 +}
  104 +
  105 +
  106 +.socialite-urlbar-icon image[anonid="imgAlert"] {
  107 + position: absolute;
  108 + top: 12px;
  109 + left: 12px;
  110 + width: 6px;
  111 + height: 6px;
  112 + display: none;
  113 +}
  114 +
  115 +.socialite-urlbar-icon[isAlert=true] image[anonid="imgAlert"] {
  116 + display: block;
  117 +}
  118 +
  119 +
  120 +hbox[anonid="loadedSiteSelector"] {
  121 + -moz-binding: url(chrome://socialite/content/socialiteBar.xml#socialite-loaded-site-selector);
  122 +}
  123 +
97 124 .socialite-form-error {
98 125 color: red;
99 126 }

0 comments on commit cd532ee

Please sign in to comment.
Something went wrong with that request. Please try again.