Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38396

Add suitable styling to course sections during drag and drop upload

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.5, 3.4.3, 3.5
    • Fix Version/s: None
    • Component/s: Course, JavaScript, Themes
    • Labels:
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE

      Description

      When dragging a file / text / URL over a long section, the 'Add X here' item may be off the bottom of the screen.

      It would be good to add some highlight to the whole of the section that is being dragged over at the moment.

      To help with this, the section now gains the class 'dndupload-over' when the drag enters the section (the class is removed again when it leaves). I'm not confident about coming up with some suitable styling, so I am hoping to leave that to someone else to complete.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: