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

The styling for the "add event" action is inaccurate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4
    • Fix Version/s: None
    • Component/s: Calendar
    • Labels:

      Description

      Sorry - bad description - it's hard to keep it short

      What I mean is that the "box shadow" css effect is used to indicate that if you click on an event - you will be able to create a new event on that day. The problem is that the day also has links to do other things (like view the details of an event) and the box-shadow is not removed when the cursor will do a different action. So it is misleading.

      I looked and there is no simple CSS only solution - but there is a simple JS + CSS solution if we use a mouse over event handler to add a "hovered" class to the most specific element, and remove it from all other elements. This would allow us to determine the day is hovered, but none of it's child elements.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                damyon Damyon Wiese
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: