截流自动化的商城平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dtree.css 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /**************** 主题换肤 ****************/
  2. /* 默认风格*/
  3. .dtree-theme-item-this{background-color: #d2d2d2!important;}
  4. .dtree-theme-item:hover{background-color: #eaeceb!important;}
  5. .dtree-theme-item cite{font-size:12px!important;}
  6. .dtree-theme-item:hover cite{color:#fe7786!important;}
  7. .dtree-theme-dtreefont{font-size: 16px!important;}
  8. .dtree-theme-ficon{color:#000!important;}
  9. .dtree-theme-icon{color:orange!important;}
  10. .dtree-theme-checkbox:hover{color:#fe7786!important;}
  11. .dtree-theme-choose{color:#fe7786!important;}
  12. /* layui主题风格*/
  13. .dtree-layui-item-this{background: none!important;}
  14. .dtree-layui-item:hover{background: none!important;}
  15. .dtree-layui-item cite{font-size:14px!important;}
  16. .dtree-layui-item:hover cite{opacity:0.5;filter:Alpha(opacity=50);text-decoration: underline;}
  17. .dtree-layui-dtreefont{font-size: 18px!important;}
  18. .dtree-layui-ficon{font-size: 18px!important;color:#393D49!important;}
  19. .dtree-layui-icon{color:#666!important;}
  20. .dtree-layui-checkbox:hover{color:#5FB878!important;}
  21. .dtree-layui-choose{color:#5FB878!important;}
  22. /* laySimple主题风格*/
  23. .dtree-laySimple-item-this{background-color: #d2d2d2!important;}
  24. .dtree-laySimple-item:hover{background-color: #eaeceb!important;}
  25. .dtree-laySimple-item cite{font-size:12px!important;}
  26. .dtree-laySimple-item:hover cite{color:#01AAED!important;}
  27. .dtree-laySimple-dtreefont{font-size: 16px!important;}
  28. .dtree-laySimple-ficon{font-size: 14px!important;color:#393D49!important;}
  29. .dtree-laySimple-icon{color:#393D49!important;}
  30. .dtree-laySimple-checkbox:hover{color:#01AAED!important;}
  31. .dtree-laySimple-choose{color:#01AAED!important;}
  32. /**************** 树基础 ****************/
  33. /* 菜单栏*/
  34. .dtree-menubar {padding-left: 10px;}
  35. .dtree-menubar .layui-btn-group .layui-btn-sm{height: 20px;line-height: 20px;padding: 0 5px;font-size: 12px;}
  36. .dtree-menubar .layui-btn-group .layui-btn-sm i{font-size: 12px!important;}
  37. /* 工具栏*/
  38. .dtree-toolbar{position: absolute;z-index: 940520;padding: 0;background-color: #eceaeb;}
  39. .dtree-toolbar .layui-nav-child{position: static;}
  40. .dtree-toolbar .layui-nav-child dd{cursor: pointer;}
  41. .dtree-toolbar .layui-nav-child dd a i{font-size:16px;display: inline-block;margin: 0px 1px;color:#fe7786;}
  42. .dtree-toolbar .layui-nav-child dd a i:hover{font-weight: bold;}
  43. .dtree-toolbar .layui-nav-bar{display: none!important;}
  44. .dtree-toolbar-tool{padding: 30px;}
  45. .dtree-toolbar-fixed{position: absolute;right: 5px;top: 2px;font-style: normal;transition: all .3s;-webkit-transition: all .3s;}
  46. /*.dtree-toolbar-fixed a{border:1px solid #fe7786;}*/
  47. .dtree-toolbar-fixed a i{font-size:14px;display: inline-block;margin: 0px 1px;color:#fe7786;}
  48. .dtree-toolbar-fixed a i:hover{opacity:0.8;filter:Alpha(opacity=80);}
  49. /* 树基本*/
  50. .dtree{width:260px;}
  51. .dtree-nav-item{line-height:33px;padding-left:16px;}
  52. .dtree-nav-ul-sid{display: none;}
  53. .dtree-none-text{font-size: 12px;text-align: center;color: gray;}
  54. /* 树线*/
  55. .dtree-nav-first-line,.dtree-nav-line,.dtree-nav-last-line{position: relative;}
  56. .dtree-nav-first-line:before{content:"";position: absolute;height: 0;border-left: 1px dotted #c0c4cc;}
  57. .dtree-nav-first-line:after{content:"";position: absolute;height: 0;border-top: 1px dotted #c0c4cc;}
  58. .dtree-nav-line:before{content:"";position: absolute;top: 0;left: 7px;width: 0;height: 100%;border-left: 1px dotted #c0c4cc;}
  59. .dtree-nav-line:after{content:"";position: absolute;top: 16px;left: 8px;width: 9px;height: 0;border-top: 1px dotted #c0c4cc;}
  60. .dtree-nav-last-line:before{content:"";position: absolute;top: 0;left: 7px;width: 0;height: 17px;border-left: 1px dotted #c0c4cc;}
  61. .dtree-nav-last-line:after{content:"";position: absolute;top: 16px;left: 8px;width: 9px;height: 0;border-top: 1px dotted #c0c4cc;}
  62. /* 图标及复选框*/
  63. .dtreefont{cursor: pointer;}
  64. .dtreefont-special{margin: 0 4px;}
  65. .dtree-nav-checkbox-div{display: inline-block;}
  66. .dtree-nav-checkbox-div>i{display: inline-block;margin: 0px 1px;}
  67. .dtree-nav-checkbox-div>i:last-child{margin-right: 4px;}
  68. .dtree-nav-checkbox-div>i:hover{opacity:0.8;filter:Alpha(opacity=80);}
  69. /* 行 文字*/
  70. .dtree-nav-div{display:block;vertical-align:top;position:relative;}
  71. .dtree-nav-div cite{font-style: normal;cursor: pointer;}
  72. .dtree-nav-div:hover cite{opacity:0.7;filter:Alpha(opacity=70);transition: all .3s;-webkit-transition: all .3s;}
  73. /* 规则属性*/
  74. .dtree-nav-show {display: block!important;}
  75. .dtree-nav-hide {display: none!important;}
  76. .dtree-nav-this {}
  77. .dtree-icon-hide {opacity:0;filter:Alpha(opacity=0);}
  78. .dtree-icon-null-open,.dtree-icon-null-close,.dtree-icon-null{margin: 0 2px;}
  79. .dtree-disabled{cursor: not-allowed; color:#c2c2c2!important;}
  80. .dtree-disabled:hover{color:#c2c2c2!important;}
  81. .dtree-nav-div cite.dtree-disabled{font-style: normal; cursor: not-allowed; color:#c2c2c2!important;}
  82. .dtree-nav-div>cite.dtree-disabled:hover{color:#c2c2c2!important;}
  83. /** 下拉树属性*/
  84. .dtree-select{position: absolute;max-height: 500px;height: 350px;overflow: auto;width: 99%;z-index: 123;display: none;border:1px solid silver;top: 42px;}
  85. .dtree-select-show{display: block!important;}
  86. /* 简单适配*/
  87. @media screen and (max-width:1700px) and (min-width:1300px){
  88. .dtree-nav-item {padding-left: 15px;}
  89. }