You are here

media_gallery.dragdrop.css in Media Gallery 7.2

Same filename and directory in other branches
  1. 7 media_gallery.dragdrop.css
.media-gallery-media .media-gallery-item-wrapper {
  outline: none;
}

.draggable-wrapper {
  cursor: move;
}

.media-gallery-item-wrapper.draggable:hover .media-gallery-item,
.mg-col .mg-gallery.mg-teaser .float-overflow:hover .stack-image {
  outline: 1px dashed #98C4DF;
}

/* Needs to be :hover */
.draggable:hover .draggable-wrapper {
  display: block;
}

.draggable-wrapper {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: #98C4DF;
  height: 25px;
  z-index: 2;
}

.draggable-wrapper .draggable-handle {
  background: transparent url('images/draggable.png') no-repeat 0px -20px;
  top: 5px;
  left: 5px;
  position: absolute;
  height: 18px;
  text-indent: 110%; /* LTR */
  width: 18px;
  outline: none;
  overflow: hidden;
}

.media-gallery-sortable-processed.ui-sortable .ui-sortable-helper .meta-wrapper,
.media-gallery-sortable-processed.ui-sortable .ui-sortable-helper .meta-wrapper.hover {
  display: none;
}

/* Don't gray out images while drag-and-drop is disabled; webkit doesn't seem
   to handle the opacity change correctly. */
.field-name-media-gallery-file .media-gallery-sortable-processed.ui-state-disabled {
  opacity: inherit;
}

File

media_gallery.dragdrop.css
View source
  1. .media-gallery-media .media-gallery-item-wrapper {
  2. outline: none;
  3. }
  4. .draggable-wrapper {
  5. cursor: move;
  6. }
  7. .media-gallery-item-wrapper.draggable:hover .media-gallery-item,
  8. .mg-col .mg-gallery.mg-teaser .float-overflow:hover .stack-image {
  9. outline: 1px dashed #98C4DF;
  10. }
  11. /* Needs to be :hover */
  12. .draggable:hover .draggable-wrapper {
  13. display: block;
  14. }
  15. .draggable-wrapper {
  16. display: none;
  17. position: absolute;
  18. top: 0;
  19. left: 0;
  20. right: 0;
  21. background-color: #98C4DF;
  22. height: 25px;
  23. z-index: 2;
  24. }
  25. .draggable-wrapper .draggable-handle {
  26. background: transparent url('images/draggable.png') no-repeat 0px -20px;
  27. top: 5px;
  28. left: 5px;
  29. position: absolute;
  30. height: 18px;
  31. text-indent: 110%; /* LTR */
  32. width: 18px;
  33. outline: none;
  34. overflow: hidden;
  35. }
  36. .media-gallery-sortable-processed.ui-sortable .ui-sortable-helper .meta-wrapper,
  37. .media-gallery-sortable-processed.ui-sortable .ui-sortable-helper .meta-wrapper.hover {
  38. display: none;
  39. }
  40. /* Don't gray out images while drag-and-drop is disabled; webkit doesn't seem
  41. to handle the opacity change correctly. */
  42. .field-name-media-gallery-file .media-gallery-sortable-processed.ui-state-disabled {
  43. opacity: inherit;
  44. }