Permalink
Browse files

This commit was generated by cvs2svn to compensate for changes in r2,

which included commits to RCS files with non-trunk default branches.
  • Loading branch information...
1 parent dbcf8e4 commit b4c961911ed9c4cbfb0c031fcbce91844383bf6a @slaarti committed Jan 27, 2006
Showing with 830 additions and 0 deletions.
  1. +16 −0 Makefile
  2. +2 −0 chrome.manifest
  3. +25 −0 content/contents.rdf
  4. +26 −0 content/ljlogin.css
  5. +404 −0 content/ljlogin.js
  6. +42 −0 content/ljlogin.xul
  7. +25 −0 content/loginas.xul
  8. +256 −0 content/md5.js
  9. +34 −0 install.rdf
View
@@ -0,0 +1,16 @@
+all: ljlogin.xpi
+
+ljlogin.xpi: chrome install.rdf chrome.manifest
+ zip -r9 ljlogin.xpi install.rdf chrome.manifest chrome
+
+chrome: chrome/ljlogin.jar
+
+chrome/ljlogin.jar: content/contents.rdf content/ljlogin.xul \
+ content/ljlogin.js content/ljlogin.css \
+ content/loginas.xul
+ if [ ! -d chrome ]; then mkdir chrome; fi
+ zip -r0 chrome/ljlogin.jar content
+
+clean:
+ rm -f ljlogin.xpi chrome/ljlogin.jar
+ if [ -d chrome ]; then rmdir chrome; fi
View
@@ -0,0 +1,2 @@
+content ljlogin jar:chrome/ljlogin.jar!/content/
+overlay chrome://browser/content/browser.xul chrome://ljlogin/content/ljlogin.xul
View
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
+
+ <RDF:Description about="urn:mozilla:package:ljlogin"
+ chrome:name="ljlogin"
+ chrome:author="Chris Pinard"
+ chrome:authorURL="http://www.gweep.net/~slarti/Gweep/"
+ chrome:displayName="LJlogin 1.1.1"
+ chrome:extension="true"
+ chrome:description="Tells you which LiveJournal account you're logged in with, and lets you switch between them.">
+ </RDF:Description>
+
+ <RDF:Seq about="urn:mozilla:package:root">
+ <RDF:li resource="urn:mozilla:package:ljlogin" />
+ </RDF:Seq>
+
+ <RDF:Seq about="urn:mozilla:overlays">
+ <RDF:li resource="chrome://browser/content/browser.xul" />
+ </RDF:Seq>
+ <RDF:Seq about="chrome://browser/content/browser.xul">
+ <RDF:li>chrome://ljlogin/content/ljlogin.xul</RDF:li>
+ </RDF:Seq>
+
+</RDF:RDF>
View
@@ -0,0 +1,26 @@
+#ljlogin-status[class~="loading"] {
+ color: red;
+}
+
+#ljlogin-status[class~="loaded"] {
+ color: green;
+}
+
+menuitem[class~="ljuser"],
+#ljlogin-status[class~="ljuser"] #ljlogin {
+ font-style: normal;
+ font-weight: bold;
+ color: blue;
+}
+
+#ljlogin-status[class~="ljuser"] #ljlogin {
+ background: transparent url(chrome://ljlogin/content/userinfo.gif) 0px 1px no-repeat;
+ padding: 1px 0px 1px 17px;
+}
+
+#ljlogin-status[class~="loggedout"] #ljlogin {
+ color: black;
+ font-style: italic;
+ background: transparent url(chrome://ljlogin/content/anonymous.gif) 0px 1px no-repeat;
+ padding: 1px 0px 1px 17px;
+}
Oops, something went wrong.

0 comments on commit b4c9619

Please sign in to comment.