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.

    weather module (standard) - a little typo/error in weather.css?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 2 Posters 451 Views 2 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.
    • R Offline
      rkorell
      last edited by

      Hi team,

      I’m playing around with the standard “weather” module - try to understand, how it works and how I can change something or even develop an own module.
      During my journey I had a look into weather.css and there seems to be an error.
      It’s possible that my assumption is wrong and that I miss something, than please ignore this…

      I’ve found an additional space in line 39

      .weather .weathericon,
      .weather .fa-home {
        font-size: 75%;
        line-height: 65px;
        display: inline-block;
        transform: translate(0, -3px);
      }
      
      .weather .humidity-icon {
        padding-right: 4px;
      }
      
      .weather .humidity-padding {
        padding-bottom: 6px;
      }
      
      .weather .day {
        padding-left: 0;
        padding-right: 25px;
      }
      
      .weather .weather-icon {
        padding-right: 30px;
        text-align: center;
      }
      
      .weather .min-temp {
        padding-left: 20px;
        padding-right: 0;
      }
      
      .weather .precipitation-amount,
      .weather .precipitation-prob,
      .weather .uv-index {
        padding-left: 20px;
        padding-right: 0;
      }
      
      .weather tr .weathericon {
        line-height: 25px;
      }
      
      .weather tr.colored .min-temp {
        color: #bcddff;
      }
      
      .weather tr.colored .max-temp {
        color: #ff8e99;
      }
      
      

      this is the block

      .weather tr .weathericon {
        line-height: 25px;
      }
      
      

      and the space is between “tr” and the following dot “.” .

      this is not the case in the two following blocks.

      Regards,
      Ralf

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

        @rkorell

        With a space means can be on a child element ( child of tr)
        Without a space means MUST be on the SAME element(on same tr element)

        I do not know the styles or intent of the module, so cannot decide which is correct.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rkorell @sdetweil
          last edited by

          @sdetweil OK; good to know.
          Thanks!

          Warm regards,
          Ralf

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 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