|
| 1 | +/*------------------------------------- |
| 2 | +zTree Style |
| 3 | +
|
| 4 | +version: 3.4 |
| 5 | +author: Hunter.z |
| 6 | +email: hunter.z@263.net |
| 7 | +website: http://code.google.com/p/jquerytree/ |
| 8 | +
|
| 9 | +-------------------------------------*/ |
| 10 | + |
| 11 | +.ztree * {padding:0; margin:0; font-size:12px; font-family: Verdana, Arial, Helvetica, AppleGothic, sans-serif} |
| 12 | +.ztree {margin:0; padding:5px; color:#333} |
| 13 | +.ztree li{padding:0; margin:0; list-style:none; line-height:17px; text-align:left; white-space:nowrap; outline:0} |
| 14 | +.ztree li ul{ margin:0; padding:0 0 0 18px} |
| 15 | +.ztree li ul.line{ background:url(../images/line_conn.png) 0 0 repeat-y;} |
| 16 | + |
| 17 | +.ztree li a {padding-right:3px; margin:0; cursor:pointer; height:21px; color:#333; background-color: transparent; text-decoration:none; vertical-align:top; display: inline-block} |
| 18 | +.ztree li a:hover {text-decoration:underline} |
| 19 | +.ztree li a.curSelectedNode {padding-top:0px; background-color:#e5e5e5; color:black; height:21px; opacity:0.8;} |
| 20 | +.ztree li a.curSelectedNode_Edit {padding-top:0px; background-color:#e5e5e5; color:black; height:21px; border:1px #666 solid; opacity:0.8;} |
| 21 | +.ztree li a.tmpTargetNode_inner {padding-top:0px; background-color:#aaa; color:white; height:21px; border:1px #666 solid; |
| 22 | + opacity:0.8; filter:alpha(opacity=80)} |
| 23 | +.ztree li a.tmpTargetNode_prev {} |
| 24 | +.ztree li a.tmpTargetNode_next {} |
| 25 | +.ztree li a input.rename {height:14px; width:80px; padding:0; margin:0; |
| 26 | + font-size:12px; border:1px #585956 solid; *border:0px} |
| 27 | +.ztree li span {line-height:21px; margin-right:2px} |
| 28 | +.ztree li span.button {line-height:0; margin:0; padding: 0; width:21px; height:21px; display: inline-block; vertical-align:middle; |
| 29 | + border:0 none; cursor: pointer;outline:none; |
| 30 | + background-color:transparent; background-repeat:no-repeat; background-attachment: scroll; |
| 31 | + background-image:url("../images/metro.png"); *background-image:url("../images/metro.gif")} |
| 32 | + |
| 33 | +.ztree li span.button.chk {width:13px; height:13px; margin:0 2px; cursor: auto} |
| 34 | +.ztree li span.button.chk.checkbox_false_full {background-position: -5px -5px;} |
| 35 | +.ztree li span.button.chk.checkbox_false_full_focus {background-position: -5px -26px;} |
| 36 | +.ztree li span.button.chk.checkbox_false_part {background-position: -5px -48px;} |
| 37 | +.ztree li span.button.chk.checkbox_false_part_focus {background-position: -5px -68px;} |
| 38 | +.ztree li span.button.chk.checkbox_false_disable {background-position: -5px -89px;} |
| 39 | +.ztree li span.button.chk.checkbox_true_full {background-position: -26px -5px;} |
| 40 | +.ztree li span.button.chk.checkbox_true_full_focus {background-position: -26px -26px;} |
| 41 | +.ztree li span.button.chk.checkbox_true_part {background-position: -26px -48px;} |
| 42 | +.ztree li span.button.chk.checkbox_true_part_focus {background-position: -26px -68px;} |
| 43 | +.ztree li span.button.chk.checkbox_true_disable {background-position: -26px -89px;} |
| 44 | +.ztree li span.button.chk.radio_false_full {background-position: -47px -5px;} |
| 45 | +.ztree li span.button.chk.radio_false_full_focus {background-position: -47px -26px;} |
| 46 | +.ztree li span.button.chk.radio_false_part {background-position: -47px -47px;} |
| 47 | +.ztree li span.button.chk.radio_false_part_focus {background-position: -47px -68px;} |
| 48 | +.ztree li span.button.chk.radio_false_disable {background-position: -47px -89px;} |
| 49 | +.ztree li span.button.chk.radio_true_full {background-position: -68px -5px;} |
| 50 | +.ztree li span.button.chk.radio_true_full_focus {background-position: -68px -26px;} |
| 51 | +.ztree li span.button.chk.radio_true_part {background-position: -68px -47px;} |
| 52 | +.ztree li span.button.chk.radio_true_part_focus {background-position: -68px -68px;} |
| 53 | +.ztree li span.button.chk.radio_true_disable {background-position: -68px -89px;} |
| 54 | + |
| 55 | +.ztree li span.button.switch {width:21px; height:21px} |
| 56 | +.ztree li span.button.root_open{background-position:-105px -63px} |
| 57 | +.ztree li span.button.root_close{background-position:-126px -63px} |
| 58 | +.ztree li span.button.roots_open{background-position: -105px 0;} |
| 59 | +.ztree li span.button.roots_close{background-position: -126px 0;} |
| 60 | +.ztree li span.button.center_open{background-position: -105px -21px;} |
| 61 | +.ztree li span.button.center_close{background-position: -126px -21px;} |
| 62 | +.ztree li span.button.bottom_open{background-position: -105px -42px;} |
| 63 | +.ztree li span.button.bottom_close{background-position: -126px -42px;} |
| 64 | +.ztree li span.button.noline_open{background-position: -105px -84px;} |
| 65 | +.ztree li span.button.noline_close{background-position: -126px -84px;} |
| 66 | +.ztree li span.button.root_docu{ background:none;} |
| 67 | +.ztree li span.button.roots_docu{background-position: -84px 0;} |
| 68 | +.ztree li span.button.center_docu{background-position: -84px -21px;} |
| 69 | +.ztree li span.button.bottom_docu{background-position: -84px -42px;} |
| 70 | +.ztree li span.button.noline_docu{ background:none;} |
| 71 | + |
| 72 | +.ztree li span.button.ico_open{margin-right:2px; background-position: -147px -21px; vertical-align:top; *vertical-align:middle} |
| 73 | +.ztree li span.button.ico_close{margin-right:2px; background-position: -147px 0; vertical-align:top; *vertical-align:middle} |
| 74 | +.ztree li span.button.ico_docu{margin-right:2px; background-position: -147px -42px; vertical-align:top; *vertical-align:middle} |
| 75 | +.ztree li span.button.edit {margin-left:2px; margin-right: -1px; background-position: -189px -21px; vertical-align:top; *vertical-align:middle} |
| 76 | +.ztree li span.button.edit:hover { |
| 77 | + background-position: -168px -21px; |
| 78 | +} |
| 79 | +.ztree li span.button.remove {margin-left:2px; margin-right: -1px; background-position: -189px -42px; vertical-align:top; *vertical-align:middle} |
| 80 | +.ztree li span.button.remove:hover { |
| 81 | + background-position: -168px -42px; |
| 82 | +} |
| 83 | +.ztree li span.button.add {margin-left:2px; margin-right: -1px; background-position: -189px 0; vertical-align:top; *vertical-align:middle} |
| 84 | +.ztree li span.button.add:hover { |
| 85 | + background-position: -168px 0; |
| 86 | +} |
| 87 | +.ztree li span.button.ico_loading{margin-right:2px; background:url(../images/loading.gif) no-repeat scroll 0 0 transparent; vertical-align:top; *vertical-align:middle} |
| 88 | + |
| 89 | +ul.tmpTargetzTree {background-color:#FFE6B0; opacity:0.8; filter:alpha(opacity=80)} |
| 90 | + |
| 91 | +span.tmpzTreeMove_arrow {width:16px; height:21px; display: inline-block; padding:0; margin:2px 0 0 1px; border:0 none; position:absolute; |
| 92 | + background-color:transparent; background-repeat:no-repeat; background-attachment: scroll; |
| 93 | + background-position:-168px -84px; background-image:url("../images/metro.png"); *background-image:url("../images/metro.gif")} |
| 94 | + |
| 95 | +ul.ztree.zTreeDragUL {margin:0; padding:0; position:absolute; width:auto; height:auto;overflow:hidden; background-color:#cfcfcf; border:1px #00B83F dotted; opacity:0.8; filter:alpha(opacity=80)} |
| 96 | +.ztreeMask {z-index:10000; background-color:#cfcfcf; opacity:0.0; filter:alpha(opacity=0); position:absolute} |
0 commit comments