From 63eac434d82c8a18c3c2b437049f8c2401b0349f Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 13 Jun 2011 17:42:59 +0200 Subject: style polish, new jstree (still not working with jquery 1.5) and fresh jquery --- site-media/js/themes/apple/style.css | 3 ++- site-media/js/themes/classic/d.gif | Bin 0 -> 3003 bytes site-media/js/themes/classic/style.css | 22 ++++++++++++++++++++-- site-media/js/themes/default-rtl/style.css | 3 ++- site-media/js/themes/default/style.css | 3 ++- 5 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 site-media/js/themes/classic/d.gif (limited to 'site-media/js/themes') diff --git a/site-media/js/themes/apple/style.css b/site-media/js/themes/apple/style.css index 8f1b3de..db7a143 100644 --- a/site-media/js/themes/apple/style.css +++ b/site-media/js/themes/apple/style.css @@ -42,9 +42,10 @@ #vakata-dragged.jstree-apple ins { background:transparent !important; } #vakata-dragged.jstree-apple .jstree-ok { background:url("d.png") -2px -53px no-repeat !important; } #vakata-dragged.jstree-apple .jstree-invalid { background:url("d.png") -18px -53px no-repeat !important; } -#jstree-marker.jstree-apple { background:url("d.png") -41px -57px no-repeat !important; } +#jstree-marker.jstree-apple { background:url("d.png") -41px -57px no-repeat !important; text-indent:-100px; } .jstree-apple a.jstree-search { color:aqua; } +.jstree-apple .jstree-locked a { color:silver; cursor:default; } #vakata-contextmenu.jstree-apple-context, #vakata-contextmenu.jstree-apple-context li ul { background:#f0f0f0; border:1px solid #979797; -moz-box-shadow: 1px 1px 2px #999; -webkit-box-shadow: 1px 1px 2px #999; box-shadow: 1px 1px 2px #999; } diff --git a/site-media/js/themes/classic/d.gif b/site-media/js/themes/classic/d.gif new file mode 100644 index 0000000..6eb0004 Binary files /dev/null and b/site-media/js/themes/classic/d.gif differ diff --git a/site-media/js/themes/classic/style.css b/site-media/js/themes/classic/style.css index bb15730..492856d 100644 --- a/site-media/js/themes/classic/style.css +++ b/site-media/js/themes/classic/style.css @@ -41,9 +41,10 @@ #vakata-dragged.jstree-classic ins { background:transparent !important; } #vakata-dragged.jstree-classic .jstree-ok { background:url("d.png") -2px -53px no-repeat !important; } #vakata-dragged.jstree-classic .jstree-invalid { background:url("d.png") -18px -53px no-repeat !important; } -#jstree-marker.jstree-classic { background:url("d.png") -41px -57px no-repeat !important; } +#jstree-marker.jstree-classic { background:url("d.png") -41px -57px no-repeat !important; text-indent:-100px; } .jstree-classic a.jstree-search { color:aqua; } +.jstree-classic .jstree-locked a { color:silver; cursor:default; } #vakata-contextmenu.jstree-classic-context, #vakata-contextmenu.jstree-classic-context li ul { background:#f0f0f0; border:1px solid #979797; -moz-box-shadow: 1px 1px 2px #999; -webkit-box-shadow: 1px 1px 2px #999; box-shadow: 1px 1px 2px #999; } @@ -56,4 +57,21 @@ #vakata-contextmenu.jstree-classic-context li.vakata-separator { background:white; border-top:1px solid #e0e0e0; margin:0; } #vakata-contextmenu.jstree-classic-context li ul { margin-left:-4px; } -/* TODO: IE6 support - the `>` selectors */ \ No newline at end of file +/* IE6 BEGIN */ +.jstree-classic li, +.jstree-classic ins, +#vakata-dragged.jstree-classic .jstree-invalid, +#vakata-dragged.jstree-classic .jstree-ok, +#jstree-marker.jstree-classic { _background-image:url("d.gif"); } +.jstree-classic .jstree-open ins { _background-position:-72px 0; } +.jstree-classic .jstree-closed ins { _background-position:-54px 0; } +.jstree-classic .jstree-leaf ins { _background-position:-36px 0; } +.jstree-classic .jstree-open a ins.jstree-icon { _background-position:-56px -36px; } +.jstree-classic .jstree-closed a ins.jstree-icon { _background-position:-56px -19px; } +.jstree-classic .jstree-leaf a ins.jstree-icon { _background-position:-56px -19px; } +#vakata-contextmenu.jstree-classic-context ins { _display:none; } +#vakata-contextmenu.jstree-classic-context li { _zoom:1; } +.jstree-classic .jstree-undetermined a .jstree-checkbox { _background-position:-20px -19px; } +.jstree-classic .jstree-checked a .jstree-checkbox { _background-position:-38px -19px; } +.jstree-classic .jstree-unchecked a .jstree-checkbox { _background-position:-2px -19px; } +/* IE6 END */ \ No newline at end of file diff --git a/site-media/js/themes/default-rtl/style.css b/site-media/js/themes/default-rtl/style.css index 3ad0727..d51aef6 100644 --- a/site-media/js/themes/default-rtl/style.css +++ b/site-media/js/themes/default-rtl/style.css @@ -40,9 +40,10 @@ #vakata-dragged.jstree-default-rtl ins { background:transparent !important; } #vakata-dragged.jstree-default-rtl .jstree-ok { background:url("d.png") -2px -53px no-repeat !important; } #vakata-dragged.jstree-default-rtl .jstree-invalid { background:url("d.png") -18px -53px no-repeat !important; } -#jstree-marker.jstree-default-rtl { background:url("d.png") -41px -57px no-repeat !important; } +#jstree-marker.jstree-default-rtl { background:url("d.png") -41px -57px no-repeat !important; text-indent:-100px; } .jstree-default-rtl a.jstree-search { color:aqua; } +.jstree-default-rtl .jstree-locked a { color:silver; cursor:default; } #vakata-contextmenu.jstree-default-rtl-context, #vakata-contextmenu.jstree-default-rtl-context li ul { background:#f0f0f0; border:1px solid #979797; -moz-box-shadow: 1px 1px 2px #999; -webkit-box-shadow: 1px 1px 2px #999; box-shadow: 1px 1px 2px #999; } diff --git a/site-media/js/themes/default/style.css b/site-media/js/themes/default/style.css index 01a0889..238ce1a 100644 --- a/site-media/js/themes/default/style.css +++ b/site-media/js/themes/default/style.css @@ -40,9 +40,10 @@ #vakata-dragged.jstree-default ins { background:transparent !important; } #vakata-dragged.jstree-default .jstree-ok { background:url("d.png") -2px -53px no-repeat !important; } #vakata-dragged.jstree-default .jstree-invalid { background:url("d.png") -18px -53px no-repeat !important; } -#jstree-marker.jstree-default { background:url("d.png") -41px -57px no-repeat !important; } +#jstree-marker.jstree-default { background:url("d.png") -41px -57px no-repeat !important; text-indent:-100px; } .jstree-default a.jstree-search { color:aqua; } +.jstree-default .jstree-locked a { color:silver; cursor:default; } #vakata-contextmenu.jstree-default-context, #vakata-contextmenu.jstree-default-context li ul { background:#f0f0f0; border:1px solid #979797; -moz-box-shadow: 1px 1px 2px #999; -webkit-box-shadow: 1px 1px 2px #999; box-shadow: 1px 1px 2px #999; } -- cgit v1.1