nestable.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. /**
  2. * Nestable
  3. */
  4. .dd {
  5. position: relative;
  6. display: block;
  7. margin: 0; padding: 0;
  8. max-width: 600px;
  9. list-style: none;
  10. font-size: 13px;
  11. line-height: 20px;
  12. }
  13. .dd-list { display: block; position: relative; margin: 0; padding: 0; list-style: none; }
  14. .dd-list .dd-list { padding-left: 30px; }
  15. .dd-collapsed .dd-list { display: none; }
  16. .dd-handle{width: 100%;}
  17. .dd-item,
  18. .dd-empty,
  19. .dd-placeholder {
  20. display: block;
  21. position: relative;
  22. margin: 0;
  23. padding: 0;
  24. min-height: 20px;
  25. font-size: 13px;
  26. line-height: 20px;
  27. }
  28. .dd-handle {
  29. display: block;
  30. margin: 5px 0;
  31. padding: 10px 10px;
  32. text-decoration: none;
  33. border: 1px solid #ebebeb;
  34. background: #fff;
  35. -webkit-border-radius: 3px;
  36. border-radius: 3px;
  37. overflow: hidden;
  38. line-height: 28px;
  39. }
  40. .dd-handle:hover {background: #fff; }
  41. .dd-handle p {
  42. margin:0; padding: 0;float: left;line-height: 28px;}
  43. .dd-item > button { display: block; position: relative; cursor: pointer; float: left; width: 25px; height: 20px; margin: 5px 0; padding: 0; text-indent: 100%; white-space: nowrap; overflow: hidden; border: 0; background: transparent; font-size: 12px; line-height: 1; text-align: center; font-weight: bold; }
  44. .dd-item > button:before { content: '+'; display: block; position: absolute; width: 100%; text-align: center; text-indent: 0; }
  45. .dd-item > button[data-action="collapse"]:before { content: '-'; }
  46. .dd-placeholder,
  47. .dd-empty { margin: 5px 0; padding: 0; min-height: 30px; background: #f2fbff; border: 1px dashed #b6bcbf; box-sizing: border-box; -moz-box-sizing: border-box; }
  48. .dd-empty { border: 1px dashed #bbb; min-height: 100px; background-color: #e5e5e5337;background-color: #e5e5e593;background-color: #e5e5e5337;background-color: #e5e5e5;
  49. background-size: 60px 60px;
  50. background-position: 0 0, 30px 30px;
  51. }
  52. .dd-dragel { position: absolute; pointer-events: none; z-index: 9999; }
  53. .dd-dragel > .dd-item .dd-handle { margin-top: 0; }
  54. .dd-dragel .dd-handle {
  55. -webkit-box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
  56. box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
  57. }
  58. /**
  59. * Nestable Extras
  60. */
  61. .nestable-lists { display: block; clear: both; padding: 30px 0; width: 100%; border: 0; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; }
  62. @media only screen and (min-width: 700px) {
  63. .dd + .dd { margin-left: 2%; }
  64. }
  65. .dd-hover > .dd-handle { background: #2ea8e5 !important; }
  66. /**
  67. * Nestable Draggable Handles
  68. */
  69. .dd3-content { display: block;margin: 5px 0;
  70. padding: 5px 10px 5px 40px;
  71. text-decoration: none;
  72. border: 1px solid #ebebeb;
  73. background: #fff;
  74. -webkit-border-radius: 3px;
  75. border-radius: 3px;
  76. }
  77. .dd-dragel > .dd3-item > .dd3-content { margin: 0; }
  78. .dd3-item > button { margin-left: 30px; }
  79. .dd3-handle {
  80. position: absolute;
  81. margin: 0;
  82. left: 0;
  83. top: 0;
  84. cursor: pointer;
  85. width: 30px;
  86. text-indent: 100%;
  87. white-space: nowrap;
  88. overflow: hidden;
  89. border: 1px solid #ebebeb;
  90. background: #fff;
  91. border-top-right-radius: 0;
  92. border-bottom-right-radius: 0;
  93. }
  94. .dd3-handle:before { content: '≡'; display: block; position: absolute; left: 0; top: 5px; width: 100%; text-align: center; text-indent: 0; color: #ccc; font-size: 20px; font-weight: normal; }
  95. .dd3-handle:hover { background: #f7f7f7; }
  96. .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{border-top:0;}
  97. .add-snav{overflow: hidden}
  98. .add-snav .back{ float: right; padding: 10px 0 0 0;}
  99. .add-snav .fa{margin-right: 5px;}
  100. .add-snav .back a{margin-right: 5px;}