frontend_draganddrop.less 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. @import "../modules/vc_helper.less";
  2. @import "../modules/vc_placeholder.less";
  3. // Sorting
  4. &.vc_sorting {
  5. .wpb_row_section() {
  6. .wpb_row {
  7. > .vc_element {
  8. &:before {
  9. content: '';
  10. margin: 0;
  11. padding: 0;
  12. position: absolute;
  13. z-index: 0;
  14. top: 0;
  15. left: 0;
  16. width: 100%;
  17. height: 100%;
  18. outline: 1px dashed @vc_element_hover_border;
  19. outline: 1px dashed @vc_element_hover_border_rgba;
  20. }
  21. &:after {
  22. clear: both;
  23. }
  24. }
  25. }
  26. .vc_section:not(.vc_empty-element) {
  27. &:before {
  28. content: '';
  29. margin: 0;
  30. padding: 0;
  31. position: absolute;
  32. z-index: 0;
  33. top: 0;
  34. left: 0;
  35. width: calc(~"100% + 30px");
  36. margin-left: -15px;
  37. margin-right: -15px;
  38. height: 100%;
  39. outline: 1px dashed @vc_element_hover_border;
  40. outline: 1px dashed @vc_element_hover_border_rgba;
  41. }
  42. &:after {
  43. clear: both;
  44. }
  45. }
  46. .vc_section {
  47. &:before {
  48. content: '';
  49. margin: 0;
  50. padding: 0;
  51. position: absolute;
  52. z-index: 0;
  53. top: 0;
  54. left: 0;
  55. width: 100%;
  56. height: 100%;
  57. outline: 1px dashed @vc_element_hover_border;
  58. outline: 1px dashed @vc_element_hover_border_rgba;
  59. }
  60. &:after {
  61. clear: both;
  62. }
  63. }
  64. }
  65. .wpb_row_section();
  66. .vc_controls {
  67. visibility: hidden !important;
  68. .opacity(0);
  69. }
  70. }