You are here

dragula.css in Opigno group manager 8

Same filename in this branch
  1. 8 ng/dist/assets/css/dragula.css
  2. 8 ng/src/assets/css/dragula.css
Same filename and directory in other branches
  1. 3.x ng/src/assets/css/dragula.css
.gu-mirror {
  position: fixed!important;
  margin: 0!important;
  z-index: 9999!important;
  opacity: .8;
}

.gu-hide {
  display: none!important
}

.gu-unselectable {
  user-select: none!important
}

.gu-transit {
  z-index: 15;
}

.gu-transit .drag-and-drop-item {
  box-shadow: none!important;
  opacity: .2;
  border: 5px dashed;
}

.gh-fork {
  position: fixed;
  top: 0;
  right: 0;
  border: 0;
}

table.drag-and-drop-wrapper {
  width: auto;
  border-spacing: 0;
  margin: 0;
  border-collapse: collapse !important;
}

table.drag-and-drop-wrapper td.drag-and-drop-bag {
  vertical-align: top;
  padding: 0;
  background-color: transparent!important;
  border-left: 3rem solid;
  border-right: 3rem solid;
  border-top: 5rem solid;
  border-bottom: 5rem solid;
  /*border-color: #fcfcfc;*/
  border-color: transparent;
  min-width: 300px;
  width: 300px;
  height: 300px;
  box-sizing: content-box;
  position: relative;
}

table.drag-and-drop-wrapper td.drag-and-drop-bag.first {
  border-left: 0;
}

table.drag-and-drop-wrapper td.drag-and-drop-bag.last {
  /*border-right: 0;*/
}

table.drag-and-drop-wrapper tr.first td.drag-and-drop-bag {
  border-top: 0;
}

table.drag-and-drop-wrapper tr.last td.drag-and-drop-bag {
  /*border-bottom: 0;*/
}

table.drag-and-drop-wrapper td.drag-and-drop-bag .drag-and-drop-item {
  cursor: move;
  width: 300px;
  height: 300px;
  box-sizing: border-box;
  position: absolute;
}


/*
 * note that styling gu-mirror directly is a bad practice because it's too generic.
 * you're better off giving the draggable elements a unique class and styling that directly!
 */

.drag-and-drop-bag td, .gu-mirror {
  background-color: rgba(0, 0, 0, 0.2);
  transition: opacity 0.4s ease-in-out;
}

.gu-mirror {
  cursor: grabbing;
}

.handle {
  padding: 0 5px;
  margin-right: 5px;
  background-color: rgba(0, 0, 0, 0.4);
  cursor: move;
}

nested-repeat-example .drag-and-drop-bag span {
  display: block;
  padding: 8px;
}

File

ng/src/assets/css/dragula.css
View source
  1. .gu-mirror {
  2. position: fixed!important;
  3. margin: 0!important;
  4. z-index: 9999!important;
  5. opacity: .8;
  6. }
  7. .gu-hide {
  8. display: none!important
  9. }
  10. .gu-unselectable {
  11. user-select: none!important
  12. }
  13. .gu-transit {
  14. z-index: 15;
  15. }
  16. .gu-transit .drag-and-drop-item {
  17. box-shadow: none!important;
  18. opacity: .2;
  19. border: 5px dashed;
  20. }
  21. .gh-fork {
  22. position: fixed;
  23. top: 0;
  24. right: 0;
  25. border: 0;
  26. }
  27. table.drag-and-drop-wrapper {
  28. width: auto;
  29. border-spacing: 0;
  30. margin: 0;
  31. border-collapse: collapse !important;
  32. }
  33. table.drag-and-drop-wrapper td.drag-and-drop-bag {
  34. vertical-align: top;
  35. padding: 0;
  36. background-color: transparent!important;
  37. border-left: 3rem solid;
  38. border-right: 3rem solid;
  39. border-top: 5rem solid;
  40. border-bottom: 5rem solid;
  41. /*border-color: #fcfcfc;*/
  42. border-color: transparent;
  43. min-width: 300px;
  44. width: 300px;
  45. height: 300px;
  46. box-sizing: content-box;
  47. position: relative;
  48. }
  49. table.drag-and-drop-wrapper td.drag-and-drop-bag.first {
  50. border-left: 0;
  51. }
  52. table.drag-and-drop-wrapper td.drag-and-drop-bag.last {
  53. /*border-right: 0;*/
  54. }
  55. table.drag-and-drop-wrapper tr.first td.drag-and-drop-bag {
  56. border-top: 0;
  57. }
  58. table.drag-and-drop-wrapper tr.last td.drag-and-drop-bag {
  59. /*border-bottom: 0;*/
  60. }
  61. table.drag-and-drop-wrapper td.drag-and-drop-bag .drag-and-drop-item {
  62. cursor: move;
  63. width: 300px;
  64. height: 300px;
  65. box-sizing: border-box;
  66. position: absolute;
  67. }
  68. /*
  69. * note that styling gu-mirror directly is a bad practice because it's too generic.
  70. * you're better off giving the draggable elements a unique class and styling that directly!
  71. */
  72. .drag-and-drop-bag td, .gu-mirror {
  73. background-color: rgba(0, 0, 0, 0.2);
  74. transition: opacity 0.4s ease-in-out;
  75. }
  76. .gu-mirror {
  77. cursor: grabbing;
  78. }
  79. .handle {
  80. padding: 0 5px;
  81. margin-right: 5px;
  82. background-color: rgba(0, 0, 0, 0.4);
  83. cursor: move;
  84. }
  85. nested-repeat-example .drag-and-drop-bag span {
  86. display: block;
  87. padding: 8px;
  88. }