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.

    MMM-CalendarExt3

    Scheduled Pinned Locked Moved Custom CSS
    12 Posts 4 Posters 4.3k Views 4 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.
    • B Offline
      bruteforce @sdetweil
      last edited by

      @sdetweil I added “background-color: var(–calendarcolor);” to the .CX3.event block to make all events look the same as the full day events. As far as I can tell, that pulls the color I specify for each calendar in the config file. I’m not finding a way to specify the text color for each calendar.

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @bruteforce
        last edited by sdetweil

        @bruteforce well, i had it right, but wrong words

        .CX3 .calendar_mytest {
             color:blue;
        }
        

        i n the dev window with that element selected
        Screenshot at 2023-04-20 17-21-47.png

        calendar config entry

                                         {      
                                                        url:"...",
                                                        name:'mytest',
                                                        color: 'red'
                                          }
        

        note the thing highlighted to the right…

        background-color same as cal color, 
        color is reverse...(white) 
        

        Screenshot at 2023-04-20 17-26-08.png

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @bruteforce
          last edited by sdetweil

          @bruteforce

          in css , the thing to the left of {

          is called the selector clause

          it ALWAYS selects ALL of whatever

          so --calendarcolor is ALWAYS the same

          but prefixing w .calendar_name
          eliminates all other entries which do NOT have the same class applied

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            MMRIZE
            last edited by MMRIZE

            ‘–oppositeColor’ CSS variable is that. It would be decided as white or black by calculation with the lighteness of ‘–calendarColor’ automatically. Anyway, mid-range color would be the issue.

            You can specify special event with this CSS selector;

            .CX3 .event.fullday.CALENDAR_NAME,
            .CX3 .event.multiday.CALENDAR_NAME {
              background-color: var(--calendarColor);
              color: black; /* whatever you want */
              ...
            }
            
            1 Reply Last reply Reply Quote 0
            • V Offline
              videogame95 @sdetweil
              last edited by

              @sdetweil Hi I’m a beginner to css. Do I only change it in custom css?
              Thank-you for any help

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @videogame95
                last edited by

                @videogame95
                ALL of your changes for css go in custom.css
                ALL of your config goes in config.js

                never edit any of the distributed files, MM or module… as they would break updates…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                V 1 Reply Last reply Reply Quote 0
                • V Offline
                  videogame95 @sdetweil
                  last edited by

                  This post is deleted!
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @videogame95
                    last edited by sdetweil

                    @videogame95 I’m sorry. none of that makes sense

                    what is googlecalendar, and what does your phone have to do w that?

                    3 events?

                    Google assistant and phone ‘contact’ won’t connect?

                    web connection w Jarvis?

                    trying to change the board (border?) around text ?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    V 1 Reply Last reply Reply Quote 0
                    • V Offline
                      videogame95 @sdetweil
                      last edited by

                      @sdetweil
                      Hi sorry when I had my old googleassistant install
                      I could ask it what my daughters name and it new
                      And answer is Megan etc.

                      With the new bugsonuent .fr googleassistant
                      It say I have give permission in my phone if ask the same question. I have turning all my setting in phone give it the permission. But it not working .
                      I used Bugsounet.ft default configuration setting what sets up activation word as javis

                      Any help thanks

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @videogame95
                        last edited by

                        @videogame95 the GoogkeAssistant author has asked us not to provide support for his modules here.

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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