aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2011-02-21 15:10:44 -0300
committerSilvio <silvio@devlet.com.br>2011-02-21 15:10:44 -0300
commitaa2150b2bfddfe4dfbdc8166a2e1abec3fd72641 (patch)
tree784d4b055b5af780e9d2929ef2fb932dc0512fed
parent872ca4b5462b97e5e9afba5e6a77abd20502dd15 (diff)
downloadfinder_menu-aa2150b2bfddfe4dfbdc8166a2e1abec3fd72641.tar.gz
finder_menu-aa2150b2bfddfe4dfbdc8166a2e1abec3fd72641.tar.bz2
Incorporating changes from Chuva Inc
-rw-r--r--finder_menu.css115
-rw-r--r--finder_menu.js2
2 files changed, 89 insertions, 28 deletions
diff --git a/finder_menu.css b/finder_menu.css
index 090b7af..a102c43 100644
--- a/finder_menu.css
+++ b/finder_menu.css
@@ -1,54 +1,113 @@
-.domenabled #finderparent
+html.js #finderparent
{
position:relative;
z-index: 4;
}
-.domenabled #finder
+html.js #finder
{
position:absolute;
top:1em;
}
-.domenabled ul#finder,
-.domenabled ul#finder li,
-.domenabled ul#finder ul
-{
- background-color:#ffffff;
- border:1px solid #eeeeee;
- width:150px;
- list-style-type:none;
- margin:0;
- padding:0;
-}
-.domenabled ul#finder ul.hidden
-{
- top:0px;
- display:none;
- left:-2000px;
- position:absolute;
+html.js ul#finder,
+html.js ul#finder li,
+html.js ul#finder ul {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+}
+html.js ul#finder li {
+ overflow: visible !important;
}
-.domenabled ul#finder ul.shown
+html.js ul#finder ul.hidden
{
+ display: none;
+ position: absolute;
+}
+html.js ul#finder ul.shown {
top:0px;
left:150px;
display:inline;
position:absolute;
}
-.domenabled #finder a.open
-{
- background:#eee;
+html.js #finder .li-open,
+html.js #finder li:hover {
+ filter:alpha(opacity=100) !important;
+ -moz-opacity:1 !important;
+ -khtml-opacity:1 !important;
+ opacity:1 !important;
+}
+html.js #finder a.open {
+ background:#fff;
padding-right:16px;
padding-left:0px;
display:block;
}
-.domenabled #finder a.parent
+html.js #finder a.parent
{
background:#fff;
padding-right:16px;
padding-left:0px;
}
-.domenabled ul#finder li a
-{
- color:#000;
- background-color:#ffffff;
+html.js ul#finder li a {
+ background-color: #ffffff;
+ color: #000;
+ display: block;
text-decoration:none;
}
+
+html.js ul#finder {
+ background: transparent;
+ border: none;
+ width: 230px;
+}
+
+html.js ul#finder li {
+ background: #ffffff;
+ border: 1px solid #eeeeee;
+ height: 20px;
+ overflow: hidden;
+ margin-bottom: 2px;
+ width: 230px;
+}
+
+html.js ul#finder li a,
+html.js ul#finder li a.parent,
+html.js ul#finder li a.open {
+ padding-left: 60px;
+}
+html.js ul#finder ul.shown {
+ background: transparent;
+ border: none;
+ display: inline;
+ left: 234px;
+ margin-top: -1px;
+ position: absolute;
+ top: 0px;
+}
+html.js ul#finder ul.shown ul.shown {
+ left: 174px;
+}
+html.js ul#finder ul.shown li {
+ left: 234px;
+ padding-bottom: 0;
+ width: 170px;
+}
+html.js ul#finder ul.shown li a {
+ padding-left: 2px;
+}
+html.js ul#finder a {
+ display: block;
+}
+#finder ul ul ul {
+ height: 300px;
+ width: 192px !important;
+}
+#finder .jspPane li,
+#finder ul ul ul ul li,
+#finder #hzoom-59-ul-1 li,
+#finder #hzoom-60-ul-1 li,
+#finder #hzoom-66-ul-1 li,
+#finder #hzoom-67-ul-1 li {
+ height: auto !important;
+ overflow: auto !important;
+} \ No newline at end of file
diff --git a/finder_menu.js b/finder_menu.js
index c3a90cb..6145e20 100644
--- a/finder_menu.js
+++ b/finder_menu.js
@@ -122,6 +122,8 @@ function ul2finder()
window.finderOpened[ref.id] = state;
cssjs(classParent,ref,parentClass);
cssjs(classOpen,ref,openClass);
+ cssjs(classParent,ref.parentNode,'li-'+parentClass);
+ cssjs(classOpen,ref.parentNode,'li-'+openClass);
}
/*