From 0127a9c698b04e013131143b2c49f4b3fbe231a8 Mon Sep 17 00:00:00 2001 From: piro Date: Sat, 20 Oct 2007 19:00:09 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=B9=E3=82=BF=E3=82=A4=E3=83=AB=E5=88=87?= =?UTF-8?q?=E3=82=8A=E6=9B=BF=E3=81=88=E6=A9=9F=E8=83=BD=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1254 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/config.xul | 20 ++++++ content/treestyletab/res/style-default.png | Bin 0 -> 1380 bytes content/treestyletab/res/style-mixed.png | Bin 0 -> 1544 bytes content/treestyletab/res/style-vertigo.png | Bin 0 -> 1489 bytes content/treestyletab/treestyletab.js | 5 ++ defaults/preferences/treestyletab.js | 1 + images/style-default-l.png | Bin 0 -> 2630 bytes locale/en-US/treestyletab/treestyletab.dtd | 5 ++ locale/ja/treestyletab/treestyletab.dtd | 5 ++ skin/classic/treestyletab/config.css | 7 ++ skin/classic/treestyletab/treestyletab.css | 78 +++++++++++++++++++++ 11 files changed, 121 insertions(+) create mode 100644 content/treestyletab/res/style-default.png create mode 100644 content/treestyletab/res/style-mixed.png create mode 100644 content/treestyletab/res/style-vertigo.png create mode 100644 images/style-default-l.png create mode 100644 skin/classic/treestyletab/config.css diff --git a/content/treestyletab/config.xul b/content/treestyletab/config.xul index 8f6e0ef6..2b9ee5b1 100644 --- a/content/treestyletab/config.xul +++ b/content/treestyletab/config.xul @@ -1,5 +1,6 @@ + %mainDTD; @@ -17,6 +18,9 @@ + + + + + + + + + 6A{@YV=5b={2n0T$DsUZ z>mM(Ad(~j0LO9ahMkCDX{ja6&)&z%%sLq!9^O)4|ALp7 z(@t^5xv%R~Dzc!!Gcb@!l$MreG#W7slgs61l42N!!i+|v`Ir@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HcmV?d00001 diff --git a/content/treestyletab/res/style-vertigo.png b/content/treestyletab/res/style-vertigo.png new file mode 100644 index 0000000000000000000000000000000000000000..57fb7e3e84fdb11ee3dcdafe1dc9b692a292cb0e GIT binary patch literal 1489 zcmV;?1upuDP) zoSQv8^Mb-Aisxe|O}!ETynRG?VjQSIE{TatCP#BeTDCsLDv(Q}moL3udu}eD?=oJH zx%be?GiP>e+V0>Z#(@guk}7R`pqEEdvPP}&_7!W?ikP)27u5<(OdAX2668b6F3p+{8;oM+ z)hN^-|tD~x$AVgsgw?3Y19f$z0%u9j)($dq}6%{Rdy<=!-NLV5YM_w0a z3yR_71MVTK;*z8W z%a1>JGWn@JEf9^D6yvf|f4tl3cIf8l%NgcMp-Q8fTyY^6nDfR!!Fh*%bO zwW{(1KHv38mn@U)a1#a~pKMtM0IdIF^LW0?AFbUcLt`IvR&ypxSYthTn)7FAUGh?5 z(uc`k;Ukg!g#jw6nw%gSjAfE9Tb63ZkR5iVIUGbj+7lvJHa=toXSp+zNC z2LQ%aS_EcT<;N>!tK!oEMhZZ6n^XFhpj`5$yJ#R#mNXXtHYUZt^6DgWF|m(1D>gB} zO5Bj{er)fCF1Q51=D@fv=mfZuxNdREXZT1Yk;qS}tRp9g24k7z%aZ0If04+K0oJC? z+h*)3^Z=LvpaRI@2~d{||Gl0JN1bul02uz*FbGsZf6NEJwCouinrH z2K#W&1;dI}GiF@~xAAs&ZS}2N_gHUF;V$&!KFX7fhzv)5s9Kt9XGkWy;R|6EQVuiU z9kWw@MV>L$k?ne-@}`U3{TaVj*hen~qEv$UMhnk2wZXwEpk6zBT2q!a%gOcc9u_$F zIQNgxw|%$GF)9k5N46K*L`l_cOo}J#`wQ|7VC`1$b|0y~kuUDEbF^pK8NkqI|FA>4 z!>}?Gh%^}Y+AL`^QK21$j^U92fI1zy zjm%b-G*=|_!_9v%vsI+VcBQGi^7M6s6R*FofBqb2&+-yh)R6u?q+=auIcaR0^xJ*!_oId!3BcN`ytT=O r#Y8qN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#66`&972QaN@!E(%5 ni3O-ndQh3ei6H*}bF3l6@Ft&i$0*|RF$5UundsJOJ3ads*U0nE literal 0 HcmV?d00001 diff --git a/locale/en-US/treestyletab/treestyletab.dtd b/locale/en-US/treestyletab/treestyletab.dtd index e1fb5e06..493544d6 100644 --- a/locale/en-US/treestyletab/treestyletab.dtd +++ b/locale/en-US/treestyletab/treestyletab.dtd @@ -9,6 +9,11 @@ + + + + + diff --git a/locale/ja/treestyletab/treestyletab.dtd b/locale/ja/treestyletab/treestyletab.dtd index 2083deb4..d13e6a8d 100644 --- a/locale/ja/treestyletab/treestyletab.dtd +++ b/locale/ja/treestyletab/treestyletab.dtd @@ -9,6 +9,11 @@ + + + + + diff --git a/skin/classic/treestyletab/config.css b/skin/classic/treestyletab/config.css new file mode 100644 index 00000000..36d804fc --- /dev/null +++ b/skin/classic/treestyletab/config.css @@ -0,0 +1,7 @@ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +radio.image .radio-label-box, +radio.image label.radio-label { + -moz-box-align: center; +} + diff --git a/skin/classic/treestyletab/treestyletab.css b/skin/classic/treestyletab/treestyletab.css index 7c396d58..469d74ad 100644 --- a/skin/classic/treestyletab/treestyletab.css +++ b/skin/classic/treestyletab/treestyletab.css @@ -1,5 +1,8 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* Default style */ + tabbrowser[treestyletab-vertical="true"] .tabbrowser-tabs { background: darkgray !important; } @@ -78,6 +81,79 @@ tabbrowser[treestyletab-tabbar-position="right"] .tabbrowser-tab[selected="true" } +/* Vertigo style */ + +tabbrowser[treestyletab-vertical="true"][treestyletab-style="vertigo"] .tabbrowser-tabs { + background: transparent !important; +} +tabbrowser[reestyletab-tabbar-position="left"][treestyletab-style="vertigo"] .tabbrowser-tabs { + border-right: 1px solid #aaa !important; +} +tabbrowser[reestyletab-tabbar-position="right"][treestyletab-style="vertigo"] .tabbrowser-tabs { + border-left: 1px solid #aaa !important; +} + +tabbrowser[treestyletab-vertical="true"][treestyletab-style="vertigo"] .tabbrowser-tab { + background: transparent !important; + -moz-border-top-colors: transparent transparent !important; + -moz-border-bottom-colors: transparent transparent !important; +} +tabbrowser[treestyletab-vertical="true"][treestyletab-style="vertigo"] .tabbrowser-tab:hover { + background: #e0e8f6 !important; + -moz-border-top-colors: #e0e8f6 #e0e8f6 !important; + -moz-border-bottom-colors: #e0e8f6 #e0e8f6 !important; +} +tabbrowser[treestyletab-vertical="true"][treestyletab-style="vertigo"] .tabbrowser-tab[selected="true"] { + background: #c1d2ee !important; + -moz-border-top-colors: #c1d2ee #c1d2ee !important; + -moz-border-bottom-colors: #c1d2ee #c1d2ee !important; +} + +tabbrowser[treestyletab-tabbar-position="left"][treestyletab-style="vertigo"] .tabbrowser-tab, +tabbrowser[treestyletab-tabbar-position="right"][treestyletab-style="vertigo"] .tabbrowser-tab { + -moz-border-left-colors: transparent transparent !important; + -moz-border-right-colors: transparent transparent !important; +} +tabbrowser[treestyletab-tabbar-position="left"][treestyletab-style="vertigo"] .tabbrowser-tab:hover, +tabbrowser[treestyletab-tabbar-position="right"][treestyletab-style="vertigo"] .tabbrowser-tab:hover { + -moz-border-left-colors: #e0e8f6 #e0e8f6 !important; + -moz-border-right-colors: #e0e8f6 #e0e8f6 !important; +} +tabbrowser[treestyletab-tabbar-position="left"][treestyletab-style="vertigo"] .tabbrowser-tab[selected="true"], +tabbrowser[treestyletab-tabbar-position="right"][treestyletab-style="vertigo"] .tabbrowser-tab[selected="true"] { + -moz-border-left-colors: #c1d2ee #c1d2ee !important; + -moz-border-right-colors: #c1d2ee #c1d2ee !important; +} + + +/* Mixed style */ + +tabbrowser[treestyletab-vertical="true"][treestyletab-style="mixed"] .tabbrowser-tab:hover { + background: #e0e8f6 !important; + -moz-border-top-colors: #e0e8f6 #e0e8f6 !important; + -moz-border-bottom-colors: ThreeDShadow #e0e8f6 !important; +} +tabbrowser[treestyletab-vertical="true"][treestyletab-style="mixed"] .tabbrowser-tab[selected="true"] { + background: #c1d2ee !important; + -moz-border-top-colors: #c1d2ee #c1d2ee !important; + -moz-border-bottom-colors: ThreeDShadow #c1d2ee !important; +} + +tabbrowser[treestyletab-tabbar-position="left"][treestyletab-style="mixed"] .tabbrowser-tab:hover, +tabbrowser[treestyletab-tabbar-position="right"][treestyletab-style="mixed"] .tabbrowser-tab:hover { + -moz-border-left-colors: ThreeDLightShadow #e0e8f6 !important; + -moz-border-right-colors: ThreeDLightShadow #e0e8f6 !important; +} +tabbrowser[treestyletab-tabbar-position="left"][treestyletab-style="mixed"] .tabbrowser-tab[selected="true"], +tabbrowser[treestyletab-tabbar-position="right"][treestyletab-style="mixed"] .tabbrowser-tab[selected="true"] { + -moz-border-left-colors: ThreeDLightShadow #c1d2ee !important; + -moz-border-right-colors: ThreeDLightShadow #c1d2ee !important; +} + + + + +/* Tree UI */ .treestyletab-twisty-container { margin: 0 3px 0 -3px; @@ -107,6 +183,8 @@ tab[treestyletab-subtree-collapsed="true"] .treestyletab-twisty { } +/* Drop Markers */ + .treestyletab-drop-marker-container { -moz-box-align: center; -moz-box-pack: center;