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 Utilities
    676 Posts 81 Posters 2.4m Views 85 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.
    • C Offline
      cricket @sdetweil
      last edited by

      @sdetweil
      Not sure if this is the “right” way but this worked:

      .region.middle.center {
              margin-top: 150px;
      }
      

      Even a blind squirrel… :-).

      1 Reply Last reply Reply Quote 0
      • P Offline
        p1lspeda
        last edited by

        Hi folks,
        it’s me again with a (probably) simple solution.
        After I did a complete fresh install and re-added my custom.css, my Calendar looks a little odd - it triggers my OCD.

        23981df9-281d-402c-8e15-20da37af75e5-image.png

        I guess I do not need to explain what is bothering me.
        Why is the weather info centered on monday ?
        How do I get CW, Weather and Current Day in 1 single line ?

        This is my current custom.css for MMM-CalendarExt3

        .CX3 .cw {
                color: white;
        }
        
        .CX3 .weekend_2 {
                color: white;
        }
        
        .CX3 .weekend_1 {
                color: white;
        }
        
        .CX3 .event {
                border: none;
        }
        
        .CX3 .cell {
                border: none;
                background-color: rgba(255,255,255,0);
        }
        
        .CX3 .cellHeader .cellDate {
                flex-grow: 0;
        }
        
        .CX3 .cw::before {
                content: "CW";
                margin-right: 0px;
        }
        

        Ideas/Tips/Hints are much appreciated.
        What I do not understand is, that this has changed after I did a fresh install but re-added my backed up custom.css :-/

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

          @p1lspeda said in MMM-CalendarExt3:

          What I do not understand is, that this has changed after I did a fresh install but re-added my backed up custom.css :-/

          did you edit the css in the module folder??
          this is WHY you DON’T do that…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @p1lspeda first thing is to disable your settings in custom.css and see what the module provides

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              p1lspeda @sdetweil
              last edited by

              @sdetweil
              not that I can remember as this would mess up things.
              Luckily I found a back up my “old” (pre-fresh install) MMM-CalendarExt3.css and my “new” (post-fresh install) MMM-CalendarExt3.css.
              And they are a match, so there is no difference.

              0f8dd89a-5beb-4dcb-b198-2a2a8c5ab59e-image.png

              Any ideas ?

              1 Reply Last reply Reply Quote 0
              • P Offline
                p1lspeda @sdetweil
                last edited by

                @sdetweil
                We are getting there !
                The module - without custom.css settings - already triggers my OCD

                2260a19c-d764-4307-9bb9-04eab0818169-image.png

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

                  @p1lspeda well, that is ‘today’ style… so thats where I would look…

                  .CX3 .today .cellDate {
                    font-weight: bold;
                    background-color: white;
                    color: black;
                    border-radius: 8px;
                    padding: 1px 8px;
                    margin: 1px;
                    line-height: 100%;
                  }
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    p1lspeda @sdetweil
                    last edited by

                    @sdetweil
                    I could narrow it down to cellWeather but I cannot find any css-styles in the module’s *.css :/
                    This means I am lost as to where to start testing :(

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

                      @p1lspeda
                      they are there…

                      .CX3 .cellHeader .cellWeather {
                        color: white;
                        margin: 2px;
                        font-size: 100%;
                        align-self: center;
                      }
                      
                      .CX3 .cellHeader .cellWeather .icon {
                        font-size: 100%;
                        font-weight: bold;
                      }
                      
                      .CX3 .cellHeader .cellWeather .maxTemp {
                        color: white;
                        font-weight: bold;
                        font-size: 90%;
                      }
                      
                      .CX3 .cellHeader .cellWeather .minTemp {
                        color: darkgray;
                        font-weight: normal;
                      }
                      
                      .CX3 .cellHeader .cellWeather .temperature {
                        display: var(--displayWeatherTemp);
                        padding-left: 5px;
                        font-size: 90%;
                      }
                      
                      .CX3 .cellHeader .cellWeather .maxTemp::before {
                        content: " \25b2";
                      }
                      
                      .CX3 .cellHeader .cellWeather .minTemp::before {
                        content: " \25bc";
                      }
                      
                      .CX3 .cellHeader .cellWeather .temperature::after {
                        content: "° ";
                      }
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        p1lspeda @sdetweil
                        last edited by

                        @sdetweil

                        I am sorry :(
                        Might need some new glasses after all

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 62
                        • 63
                        • 64
                        • 65
                        • 66
                        • 67
                        • 68
                        • 64 / 68
                        • 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