MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Calendar - colourise events today?

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 3 Posters 822 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Do not disturb
      sdetweil @sdetweil
      last edited by sdetweil

      @babene1

      see above

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        Babene1 Project Sponsor @sdetweil
        last edited by

        @sdetweil It works,thank you very match.

        Do you know, how do you get a red border around the entire today? The border should go around all today’s calendar entries.

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @Babene1
          last edited by

          @Babene1 I do not at the moment. But will examine

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            Babene1 Project Sponsor @sdetweil
            last edited by Babene1

            I found my solution. Maybe interesting for someone else too.

            custom.ccs

            
            table.small {
                border-collapse: collapse;
            }
            
            /* obere Linie */
            tr.dateheader.today td {
                border-top: 1px solid red;
            }
            
            /* untere Linie */
            tr.dateheader.today + tr.event.today:last-child td,
            tr.event.today + tr:not(.today) td {
                border-top: 1px solid red;
            }
            
            /* linke und rechte Linie */
            tr.today td:first-child {
                border-left: 1px solid red;
            }
            
            tr.today td:last-child {
                border-right: 1px solid red;
            }
            
            S 1 Reply Last reply Reply Quote 1
            • S Do not disturb
              sdetweil @Babene1
              last edited by

              @Babene1 very nice! Great feedback

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy