From 6b002f7566c97e4a2c8da2bde09ec3f87a0413c9 Mon Sep 17 00:00:00 2001 From: David Norton Date: Tue, 20 Jun 2006 17:08:30 +0000 Subject: [PATCH] Got some new icons for the lists Toolbar buttons are now icons --- chrome/chromeFiles/content/scholar/overlay.js | 4 ++-- .../chromeFiles/content/scholar/overlay.xul | 6 +++--- .../skin/default/scholar/overlay.css | 20 ++++++++++++++++++ .../scholar/toolbar-collection-add.png | Bin 0 -> 668 bytes .../scholar/toolbar-collection-edit-gray.png | Bin 0 -> 652 bytes .../scholar/toolbar-collection-edit.png | Bin 0 -> 733 bytes .../skin/default/scholar/toolbar-item-add.png | Bin 0 -> 733 bytes .../skin/default/scholar/treeitem-book.png | Bin 1096 -> 593 bytes .../scholar/treeitem-journalArticle.png | Bin 544 -> 342 bytes .../default/scholar/treesource-collection.png | Bin 399 -> 537 bytes .../default/scholar/treesource-library.png | Bin 171 -> 555 bytes 11 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 chrome/chromeFiles/skin/default/scholar/toolbar-collection-add.png create mode 100644 chrome/chromeFiles/skin/default/scholar/toolbar-collection-edit-gray.png create mode 100644 chrome/chromeFiles/skin/default/scholar/toolbar-collection-edit.png create mode 100644 chrome/chromeFiles/skin/default/scholar/toolbar-item-add.png diff --git a/chrome/chromeFiles/content/scholar/overlay.js b/chrome/chromeFiles/content/scholar/overlay.js index a2806062b3..9f507645de 100644 --- a/chrome/chromeFiles/content/scholar/overlay.js +++ b/chrome/chromeFiles/content/scholar/overlay.js @@ -107,13 +107,13 @@ var ScholarPane = new function() itemsView = new Scholar.ItemTreeView(collection); document.getElementById('items-tree').view = itemsView; - document.getElementById('tb-rename').disabled = collection.isLibrary(); + document.getElementById('tb-collection-rename').disabled = collection.isLibrary(); itemsView.selection.clearSelection(); } else { document.getElementById('items-tree').view = itemsView = null; - document.getElementById('tb-rename').disabled = true; + document.getElementById('tb-collection-rename').disabled = true; } } diff --git a/chrome/chromeFiles/content/scholar/overlay.xul b/chrome/chromeFiles/content/scholar/overlay.xul index 15b976e960..d6dfe01457 100644 --- a/chrome/chromeFiles/content/scholar/overlay.xul +++ b/chrome/chromeFiles/content/scholar/overlay.xul @@ -43,8 +43,8 @@ - - + + - + diff --git a/chrome/chromeFiles/skin/default/scholar/overlay.css b/chrome/chromeFiles/skin/default/scholar/overlay.css index 777dd06a72..1703ad8a1d 100644 --- a/chrome/chromeFiles/skin/default/scholar/overlay.css +++ b/chrome/chromeFiles/skin/default/scholar/overlay.css @@ -26,6 +26,26 @@ tree #items-tree } +#tb-collection-add +{ + list-style-image: url('chrome://scholar/skin/toolbar-collection-add.png'); +} + +#tb-collection-rename +{ + list-style-image: url('chrome://scholar/skin/toolbar-collection-edit.png'); +} + +#tb-collection-rename[disabled="true"] +{ + list-style-image: url('chrome://scholar/skin/toolbar-collection-edit-gray.png'); +} + +#tb-add +{ + list-style-image: url('chrome://scholar/skin/toolbar-item-add.png'); +} + #scholar-pane toolbar { border-bottom: none; diff --git a/chrome/chromeFiles/skin/default/scholar/toolbar-collection-add.png b/chrome/chromeFiles/skin/default/scholar/toolbar-collection-add.png new file mode 100644 index 0000000000000000000000000000000000000000..529fe8fe04c5b750ce3b4d48118465d73c74c970 GIT binary patch literal 668 zcmV;N0%QG&P)g@#5J*h%>dq^uaFBvVQ$3&c*y#>&P@VnG_z zkezqQ&je1b~~$O}L9 zo^;|X_f#3CS5n-cFHBf|3c+u^PpWoka6G0Rsr|AOXUJ zbHD{5nUGu>5YB96PUmjGgM{$-j5TbT8bBGbz2R zHjvpHkWu0*cCs9&;{|Ugi`d3|T+)Vj%kXX`qqQ>4W)|B!_mMlW`2x#YyU0W#8Pyvn z-<;pE4zUG8k-yYxmFW4%eIAbtF|hR_$8YW;YMMc&ZY1$9z5S(QZA)e!-q6)Y`+^>Z zzdYprlOaC7jZYg%{Ey!L(s5u9Pz1(+vk%UU4EzNDb1nO~@as(g0000Wf{=DDsqxgG#BX;-j@Ni)O41AwVCKWQ7?3KrMyM0$Km!AnwI#a9F;`Mr+_51y= z`1?cno$Y{!s#dGTPAZj(r_bkucs#BoHZ+IBA=K-2u-R;GrBeAlo6V{j05i)GfL3-~ zE|;)guVFA4fYE3KvMm-1(ChUOi^ag>@qo+af=Z?GC^1lJhMwjlz?RH}pR2GTr_xqvK>A>Z3fp)tM$Kz2%fkT2M zIvJ+ZDI5+5G6EVon?j+0U@!>HW|P4w(QGy&@N+ty9!Py7Wl43Oo6QD#y&f|Qg+kD1 zG?)9PN$Q~5)t%- zb+f|VZuf-CH*Ub+uQ8EGoKvZkKDp0000Ln`3m6cBjUs{~SZF1Q|l+PQ4$F&BPWU{LQ5Rm}%Yp+9Uy#II9~vucwq!AZ0U3VS=&d(VjEIGJ6F` zxEYZ+Do*Dgo&xS90WcC^bwyaXLaY<13Xc{ys@jsg}$ z5G+=Y;0}5=7O5P92480MbaXQ7%}6B`AYHKOFX}h+}d5}LKg{F2q&8;J?*AuZJvty1~9)ANwocD zyswqfv|ByYH|QiPmSI$m{Oe0B$hidL4Saj?irNjUNTgedgFr;v@FyS$FAiPZ+kvpX z-^tbQJARF~w@xzf^f?uc>#?PNS(q}q__!blpq^>0+$ab5#~RNbYmZJJIiAFc>3MLM zPag)Sv-P!|JI?j?{%Z?=0rqdL^*1#yN_MoZL{i~%zgRlF`+VQf|HkwKvQRq#2{xLW P00000NkvXXu0mjfz!^#T literal 0 HcmV?d00001 diff --git a/chrome/chromeFiles/skin/default/scholar/toolbar-item-add.png b/chrome/chromeFiles/skin/default/scholar/toolbar-item-add.png new file mode 100644 index 0000000000000000000000000000000000000000..6332fefea4be19eeadf211b0b202b272e8564898 GIT binary patch literal 733 zcmV<30wVp1P)9VHk(~TedF+gQSL8D5xnVSSWAVY>J9b+m>@{iq7_KE}go~11+5s4;8hc+i0Xa zI1j@EX5!S+Me6HNqKzU5YQwL;-W5$p%ZMKMeR<%zp69-~?<4?8|C8S?bklXr4v&Ov zb&06v2|-x?qB`90yn>Qi%Sh2^G4n)$ZdyvTPf9}1)_buUT7>`e2G&2VU@~Bb(o+Mz zi4)>IxlSY${Dj4k={-9RzU^W5g9|2V5RZ2ZulL9s2xQbZ@r6eP9Ra5u(s|C0Nj#&4>wTSkb?%#=9?@ z^oxDy-O@tyN{L@by(WWvQ3%CyEu8x{+#Jb4-h&K9Owi)2pgg+heWDyked|3R$$kL@A z#sp1v-r+=G4B8D6DqsDH0@7OztA7aT9qc1Py{()w`m``?Y0&gi2=ROcc-9+nU^I6< zT=e_Y=vSnG@?3Ue{BW5ONFttcE!R-R_W4O01|0-|K-YNXLo2`4Qv z`r1LxR6#yf3FB%T95gJnaKKivA~Z}S9A(ZxEDK}O3T04USJ P00000NkvXXu0mjf^IS-S literal 0 HcmV?d00001 diff --git a/chrome/chromeFiles/skin/default/scholar/treeitem-book.png b/chrome/chromeFiles/skin/default/scholar/treeitem-book.png index 90f3f49584e8b67f03d80a0de0fdcd75ec704e15..b0f4dd7928cc5714e002fd2a6e8f2faac0073f00 100644 GIT binary patch literal 593 zcmV-X0l6k>CGhc0FIuigU9U^L+D`6bSr zIEp(+L4eIgaZT(|{B!*DbrTYc1t0J9*MLJm+n zOEVloE20S^g6s|1rvjjuW1W$TV;&TbK2|slm=91)Q{X{Kg;c!Saglq7xo8`(>{A}G zw@`8gScq(adr(4@;>^%e<~7+uNMv&?8L0#%0yj~@DW&fPImKeyFHkRKuNERO3(SOB z?S)niZbFEN`0<|w+LjBKR#DU7F3d&rQGGY&Y)Fv0w002i=Jm_>x9jBX>wg3XCKK`E f>xbvJ_5i;DeEQXvyE?}U00000NkvXXu0mjfKqCEw literal 1096 zcmeAS@N?(olHy`uVBq!ia0vp^{6H+g!3-q-bzC(AQtTz3zOL+7IQe;vtz$RL{0S7| zEbxddW?Nn~YUU}gyL332`Z|Nrmbzn3mqmY$lv zYSqer|Nedb`fc{y`Oc2+UN){)M&=O_kyoxYUvyn z9K3AlQY#B9Gc|*jwCar1tiON%E?v6P+0r@EJ;cSrF(x8r$BrG1^-Y%gmfh*K$ER%F z)v+QqF}1R)A;~*7Gbm9^K(w>7v$>yqfmn6lE!Sg$Z&Yj+J<@uaSd!tDoyl`EQ`)RIb~~WVr5!tVr5yCje)hSh=Q8DW`bAj%IcZU zhIW-j74P1?n?7}hshVN3XIMpCc3)oef!=jlK8cnlR%g$g*}Zd@f`pW*zNv|}iJz&* z+@fB672V$M-tXVPKYIAEqou{!-ri74*HBeEFC*jSi|4>-8U^$Wf%U>GGJ*CnmIV0) zGdMiEkp|@K^K@|xskoJ#(7>dYCdS5+@chA(N6#KUZT`T*(%Rzca`cF*ila@YWTa&! ztE+0NXsD?|c&u};JP=T@H_@?C64H`qed2!n$g!i%J2^W& z9qNj_vZ8h|UTEq$qch=iQPJm5+&ny7-Cf=X`t)_R*RR;Je$~3h>UH}TZd@sOijCni WhvvSpS)rh^g2B_(&t;ucLK6VGAtx~a diff --git a/chrome/chromeFiles/skin/default/scholar/treeitem-journalArticle.png b/chrome/chromeFiles/skin/default/scholar/treeitem-journalArticle.png index 9c3f25a218e50765a825084edfd5dbc090ccca41..813f712f726c935f9adf8d2f2dd0d7683791ef11 100644 GIT binary patch delta 326 zcmV-M0lEI51l9tO8Gi%-006c6H|hWY00d`2O+f$vugEtAis=9V02y>eSaefwW^{L9 za%BKPWN%_+AW3auXJt}lVPtu6$z?nM008JoL_t&-83n;HZc{-R2Ef_Jo`Ez$xPp#? zD4|J{Q*bUzP;erI(oxbuiU>CtC60sN{`)c0qMbYQ0sye{D}NJ&i|74XBO@atBO}lG zw6(EB2v=)8=8!`U`I|raoss)|-r87#=4#}ae>vuuhwQV<$WtEkWor{nb2+}1uTD-@ ztJOz9|KPR*i)%zF!`?K!1RZE@t%j4Kl<5Z00WJYirV>C0_-+_VDKT9GI>0*sF%duq z_@NBbRG8iaIzPZ01OWhafS;ymngZSeI*9ff0DwudBxW5=006U|6fN2-XBGeelwI!r Y0|T^`&t6P+6951J07*qoM6N<$f}&i4c>n+a literal 544 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJbFq_W2nPqp?T7vkfZS;TJ|V9E z|Noz};p&tX=ey@0Z<%oj$o=u>-ZEpLbqMY;GaOOLy!300mV`Tq8cw|O)SaG&r=A= z%uQu5u+%p)&^Ivo_QLcOP{jmK7srr_IkqRSi!~XDxLmxE;pOe1=_a5eA#mjXf6K_? z#h=T*85}z|UFUpvP~MElvIAK=O(zJOxbIZfxG?Qg?N0V78N0({Z!@jSzTNkD*F1NH z>(Z56RtL@&`LuUEn4Wlrc~$*!seoYjz%%Rz?%tWxEqGx@bVmx44bv{yN#__uFU?)@ nlIg|#DE`OUv+kd6->CoO8E;YD(yBQ?w=sCS`njxgN@xNA?==_I diff --git a/chrome/chromeFiles/skin/default/scholar/treesource-collection.png b/chrome/chromeFiles/skin/default/scholar/treesource-collection.png index c6613f54cdc4f3dc84f4e6c763a8c1ed7f9fa935..784e8fa48234f4f64b6922a6758f254ee0ca08ec 100644 GIT binary patch delta 523 zcmV+m0`&cl1DOPn8Gi-<001BJ|6u?C00d`2O+f$vugEtAis=9V02y>eSaefwW^{L9 za%BKPWN%_+AW3auXJt}lVPtu6$z?nM00FB>L_t(I%f*wsiWETMxZ8V0!t+`;Y=S zCH)IKPdm;zP$R}ULiyv;!R~{7wO)X=ZcmE!;pFS;FMW7!p}f{NG3nHZ{D5<3d8&tLh%a4 zAqqnjMkr3m&fkMdECD3N5}Unig5wy40;>lo4j~k+e}9DH6jVXIv_>i<3t0WV$rOhu z6zzS`W**G}QkXBc0eHy~QTWvgi$&RSh{AXwwz6q6ECJ+g5N1D5)RS(G<%!e*%R#46 ztN@Ra=5$FUmZjvaS^&!G(cY7r+lcEp@_)Wv0q(8G^sHIn|Nf1?0ltVIf8pDjP5=M^ N07*qoLO{ri67-^Vlm-W~h;=JMay`~SY!36wg&toqEN(v$P^kIqgzG(B$r zl*ql4LU#4}?&$H@*5$IL-F{Q6^@bLUb&W=A>h)LEXsxJHeYact9MF83k|4ie24kQN zIDnbrYmhrQ3p^r=85p>QK$!8;-MT+OLDdr1h?3y^w370~qErUo#N?v<+|-oJLS?-v|XG0|S%xvNh*{8pJ>voQqNuOEUBG6hbm{QyB~_^^FYl4NShhFg*oS z5$@^Y7*a7O^}Hohg94As#RhIELyl9g{=U!jVqX8}D$fB2#o+x7ZGX9>&hkv$y@&rh z^NLoBwqzlp8<8h!H4?-Z9@xnxnjtK8L9d{|#_+?D8AU7K%AWsbw<(_W%|&^S)j%s4 NJYD@<);T3K0RV(4un7PF diff --git a/chrome/chromeFiles/skin/default/scholar/treesource-library.png b/chrome/chromeFiles/skin/default/scholar/treesource-library.png index 6b70306639e6f5075d9cbeca945330df86f586f0..8443c23eb944cf8ef49c9d13cd496502f46f1885 100644 GIT binary patch literal 555 zcmV+`0@VG9P)i3lOYrtSl@<#7b-w zf}j{s!5HvocfT|9z82@(O@vrwU^wRt=bd>tXQpGD!`Kvuv@XEI8~tgUP2L`{+*)U@I@ zrVtr5X14??iAF(=0+k>q)v`Scm$9&=i`*knBsnaUVL1>ti*O1xfzmiD$%Md-h*6M( z@*iB)icu3eU424Ok{kp%Y!1dvp%f0`ac9vcupx^$vU0xuKpJcBvej0UYk%)EV>mIx2hV}QRf#LX^Uh(%`7hZ~|KEf#uQ31s002ovPDHLkV1hgQ{`mj^ literal 171 zcmeAS@N?(olHy`uVBq!ia0vp^{6Ngd!3HEhbh*6;Qk(@Ik;Oo