123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396 |
- .tree {
- margin: auto;
- padding: 0 0 0 9px;
- overflow-x: hidden;
- overflow-y: auto;
- position: relative;
- }
- .tree:before {
- display: inline-block;
- content: "";
- position: absolute;
- top: -20px;
- bottom: 16px;
- left: 0;
- z-index: 1;
- border: 1px dotted #67b2dd;
- border-width: 0 0 0 1px;
- }
- .tree .tree-branch-name,
- .tree .tree-item-name {
- cursor: pointer;
- }
- .tree .tree-branch {
- width: auto;
- min-height: 20px;
- cursor: pointer;
- }
- .tree .tree-branch .tree-branch-header {
- position: relative;
- height: 20px;
- line-height: 20px;
- }
- .tree .tree-branch .tree-branch-header:hover {
- background-color: #F0F7FC;
- }
- .tree .tree-branch .tree-branch-header .tree-branch-name,
- .tree .tree-item .tree-item-name {
- display: inline;
- z-index: 2;
- }
- .tree .tree-branch .tree-branch-header > .tree-branch-name > .ace-icon:first-child,
- .tree .tree-item > .tree-item-name > .ace-icon:first-child {
- display: inline-block;
- position: relative;
- z-index: 2;
- top: -1px;
- }
- .tree .tree-branch .tree-branch-header > .tree-branch-name > .ace-icon.selectable {
- color: #F9E8CE;
- width: 13px;
- height: 13px;
- line-height: 13px;
- font-size: 11px;
- text-align: center;
- border-radius: 3px;
- -webkit-box-sizing: content-box;
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- background-color: #FAFAFA;
- border: 1px solid #CCC;
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
- top: -1px;
- display: inline-block;
- position: relative;
- margin-left: 3px;
- }
- .tree .tree-selected .tree-branch-header > .tree-branch-name > .ace-icon.selectable {
- background-color: #F9A021;
- border-color: #F9A021;
- color: #FFF;
- }
- .tree .tree-branch > .tree-branch-header > .tree-branch-name > .tree-label {
- margin-left: 2px;
- }
- .tree .tree-branch > .tree-branch-header > .tree-branch-name > .ace-icon:first-child {
- margin: -2px 0 0 -2px;
- }
- .tree .tree-branch:last-child:after {
- display: inline-block;
- content: "";
- position: absolute;
- z-index: 1;
- top: 15px;
- bottom: 0;
- left: -15px;
- border-left: 1px solid #FFF;
- }
- .tree .tree-branch .tree-branch-children {
- margin: 0 0 0 23px;
- padding: 0;
- position: relative;
- }
- .tree .tree-branch .tree-branch-children:before {
- display: inline-block;
- content: "";
- position: absolute;
- z-index: 1;
- top: -14px;
- bottom: 16px;
- left: -14px;
- border: 1px dotted #67b2dd;
- border-width: 0 0 0 1px;
- }
- .tree .tree-item {
- position: relative;
- height: 20px;
- line-height: 20px;
- cursor: pointer;
- }
- .tree .tree-item:hover {
- background-color: #F0F7FC;
- }
- .tree .tree-item > .tree-item-name > .ace-icon:first-child {
- margin-right: 3px;
- }
- .tree .tree-item > .tree-item-name > .tree-label > .ace-icon:first-child {
- margin-left: 3px;
- margin-right: 3px;
- }
- .tree .tree-item > .ace-icon:first-child {
- margin-top: -1px;
- }
- .tree .tree-branch,
- .tree .tree-item {
- position: relative;
- list-style: none;
- }
- .tree .tree-branch:before,
- .tree .tree-item:before {
- display: inline-block;
- content: "";
- position: absolute;
- top: 14px;
- left: -13px;
- width: 18px;
- height: 0;
- border-top: 1px dotted #67b2dd;
- z-index: 1;
- }
- .tree .tree-selected {
- background-color: rgba(98, 168, 209, 0.1);
- color: #6398B0;
- }
- .tree .tree-selected:hover {
- background-color: rgba(98, 168, 209, 0.1);
- }
- .tree .tree-item,
- .tree .tree-branch {
- border: 1px solid #FFF;
- }
- .tree .tree-branch .tree-branch-header {
- border-radius: 0;
- }
- .tree .tree-item,
- .tree .tree-branch .tree-branch-header {
- margin: 0;
- padding: 5px;
- color: #4D6878;
- -webkit-box-sizing: content-box;
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- }
- .tree .tree-item > .tree-item-name > .ace-icon:first-child {
- color: #F9E8CE;
- width: 13px;
- height: 13px;
- line-height: 13px;
- font-size: 11px;
- text-align: center;
- border-radius: 3px;
- -webkit-box-sizing: content-box;
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- background-color: #FAFAFA;
- border: 1px solid #CCC;
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
- }
- .tree .tree-selected > .tree-item-name > .ace-icon:first-child {
- background-color: #F9A021;
- border-color: #F9A021;
- color: #FFF;
- }
- .tree .tree-plus.ace-icon:first-child,
- .tree .tree-minus.ace-icon:first-child {
- display: inline-block;
- font-style: normal;
- border: 1px solid #DDD;
- vertical-align: middle;
- height: 11px;
- width: 11px;
- -webkit-box-sizing: content-box;
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- text-align: center;
- border: 1px solid #8BAEBF;
- line-height: 10px;
- background-color: #FFF;
- position: relative;
- z-index: 2;
- }
- .tree .tree-plus.ace-icon:first-child:before,
- .tree .tree-minus.ace-icon:first-child:before {
- content: "";
- display: block;
- width: 7px;
- height: 0;
- border-top: 1px solid #4D6878;
- position: absolute;
- top: 5px;
- left: 2px;
- }
- .tree .tree-plus.ace-icon:first-child:after {
- content: "";
- display: block;
- height: 7px;
- width: 0;
- border-left: 1px solid #4D6878;
- position: absolute;
- top: 2px;
- left: 5px;
- }
- .tree .tree-unselectable .tree-item > .tree-item-name > .tree-label > .ace-icon:first-child {
- color: #5084A0;
- width: 13px;
- height: 13px;
- line-height: 13px;
- font-size: 10px;
- text-align: center;
- border-radius: 0;
- background-color: transparent;
- border: none;
- box-shadow: none;
- }
- .tree .ace-icon[class*="-down"] {
- transform: rotate(-45deg);
- }
- .tree .ace-icon[class*="-download"] {
- transform: none;
- }
- .tree .fa-spin {
- height: auto;
- }
- .tree .tree-loading {
- margin-left: 36px;
- }
- .tree img {
- display: inline;
- veritcal-align: middle;
- }
- .ztree li{
- line-height:30px!important;
- outline: 0;
- list-style: none;
- text-decoration: none;
- }
- .ztree:before{
- display: inline-block;
- content: "";
- top: 0;
- bottom: 0px;
- left: 0px;
- z-index: 1;
- border: 1px dotted #67B2DD;
- border-width: 0 0 0 1px;
- }
- .ztree ul{
- position: relative!important;
- margin: 0;
- padding-left: 10px;
- margin-left: 6px;
- top: -6px;
- padding-top: 10px;
- padding-bottom: 10px;
- }
- .ztree li{
- position:relative!important;
- padding-left: 4px;
- margin-top:1px;
- }
- .ztree ul:before,.ztree li:before{
- position:absolute!important;
- }
- .ztree{
- padding:0;
- }
- span.icon-folder {
- margin-left: 7px;
- position: absolute!important;
- top: 10px;
- }
- /* 复选框样式 */
- .ztree .chk.fa.fa-check{
- background-color: #F9A021;
- border-color: #F9A021;
- color: #FFF;
- }
- .ico_close,.a_docu{
- margin-right: 6px;
- font-size: 14px;
- top: 2px;
- position: relative;
- }
- /* 折叠时文件夹的颜色 */
- .ftclose{
- color:#FF892A!important;
- }
- /* 打开时文件夹的颜色 */
- .ftopen{
- color:brown!important;
- }
- /* 最后一项开头图标标识颜色 */
- .a_docu{
- color:#478FCA!important;
- }
- /* 最后一项开头图标默认颜色 */
- .a_docu_default {
- color: #404B55 !important;
- }
- .node_name{
- position: relative;
- top: 1px;
- color: #000;
- }
- .node_name input{
- height:18px;
- }
- .ztree li:before{
- display: inline-block;
- content: "";
- top: 16px;
- left: -2px;
- width: 26px;
- height: 0;
- border-top: 1px dotted #67B2DD;
- z-index: 1;
- }
- .ztree ul:before{
- display: inline-block;
- content: "";
- top: -9px;
- bottom: 24px;
- left: 7px;
- z-index: 1;
- border: 1px dotted #67B2DD;
- border-width: 0 0 0 1px;
- }
- .ztree li a{
- cursor: pointer;
- }
- .activeLiClick{
- background:rgba(98,168,209,.1);
- }
- .activeLiMouse{
- background:rgba(98,168,209,.1);
- }
- .curSelectedNode{
- background:rgba(98,168,209,.1);
- }
- .ztree li span.button.add {
- margin-left: 2px;
- margin-right: -1px;
- background-position: -144px 0;
- vertical-align: top;
- }
- .ztree .chk{
- color: #F9E8CE;
- width: 13px;
- height: 13px;
- line-height: 13px;
- font-size: 11px;
- border-radius: 3px;
- -webkit-box-sizing: content-box;
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- background-color: #FAFAFA;
- border: 1px solid #CCC;
- box-shadow: 0 1px 2px rgba(0,0,0,.05);
- margin:0 6px 0 25px;
- text-align: center;
- }
- .ztree .chk.focus{
- border:solid 1px #ff7c34;
- }
- .ztree .chk.fa-check {
- background-color: #F9A021;
- border-color: #F9A021;
- color: #FFF;
- }
- .ztree li a span:first-child{
- position: relative;
- top: 2px;
- margin-right: 2px;
- margin-left: 25px;
- width:18px;
- }
|