• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

For My Nightstand

Scheduled Pinned Locked Moved Show your Mirror
5 Posts 2 Posters 2.3k 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.
  • A Offline
    ankonaskiff17
    last edited by Jun 7, 2021, 1:47 AM

    Took a little tweaking but here is 7" monitor and Pi in a combo case/stand. Should work well.Bedside Time and Weather1.jpg

    D 1 Reply Last reply Jun 13, 2021, 4:03 PM Reply Quote 4
    • D Offline
      doppelganger @ankonaskiff17
      last edited by Jun 13, 2021, 4:03 PM

      @ankonaskiff17 , What modules are you using, especially to get the time/temp/ calendar to pop/highlight like that? Now that I see your MM, I’m thinking I’ll put another together on the spare 7" display I’ve got.

      A 1 Reply Last reply Jun 13, 2021, 5:42 PM Reply Quote 0
      • A Offline
        ankonaskiff17 @doppelganger
        last edited by Jun 13, 2021, 5:42 PM

        @doppelganger @doppelganger I copy/pasted several CSS items courtesy of @Piranha1605 in the Custom CSS Showcase
        Located in Custom CSS here–> css-experiments-for-newbies
        Modules are default weather and clock modules. Radar is an iFrame module, MMM-SmartWebDisplay courtesy @AgP42
        Deleted a bunch of the preloaded modules in a fresh MM2 install as it is a jumbled up mess with stuff piled on top of each other with default sizes that won’t work on 7" Pi screen.
        After doing what amounted to copy/paste of sections of CSS in either dark or light theme ( don’t recall which but they are approx. same other than color) then started swapping out color codes to see what was appealing to me. Pulling up a hex color picker site will provide hex codes to experiment with.
        Biggest challenge was having to adjust font sizes, padding, height x width of iFrame primarily to get everything to fit.
        Some folks not a fan of VNC that comes with Pi OS but I find it invaluable when working on GUI stuff like this.

        D 1 Reply Last reply Jun 13, 2021, 6:50 PM Reply Quote 0
        • D Offline
          doppelganger @ankonaskiff17
          last edited by Jun 13, 2021, 6:50 PM

          @ankonaskiff17 , “Biggest challenge was having to adjust font sizes, padding, height x width…” That’s the reason I gave up on the 7" screen till I learned more. I just finished a 24" MM. Even so, I just pulled the 7" raspi screen outta storage and will see what I can learn. Thanks!

          A 1 Reply Last reply Jun 13, 2021, 8:42 PM Reply Quote 0
          • A Offline
            ankonaskiff17 @doppelganger
            last edited by ankonaskiff17 Jun 13, 2021, 8:52 PM Jun 13, 2021, 8:42 PM

            @doppelganger It isn’t really that bad.
            Unfortunately that was an early Fathers Day gift and now at fathers, so I can’t show the exact configuration .

            But for instance, the below gives you shadows and radiused corners. I just copied from the CSS on @Piranha1605 Black Boxes example and dropped it in my custom.css file.
            Just delete modules you don’t have, add ones you do have.
            For me that meant deleting newsfeed, compliments and both the weatherforecast and currentweather since the weather module takes place of current and forecast.

            /**

            • module.color_border_shadow
              */
              .module.clock,
              .module.calendar,
              .module.newsfeed,
              .module.weatherforecast,
              .module.currentweather,
              .module.compliments {
              padding:8px;
              border-radius: 10px;
              box-shadow: 0 2em 6em #000;
              background: transparent;
              }

            So mine is:
            module.clock
            module.calendar
            module.weather
            module.MMM-SmartWebDisplay {
            padding:8px;
            border-radius: 15px;
            box-shadow: 0 2em 6em #000;
            background: transparent;
            }

            The iFrame was a roll of dice on my part but it worked with no problems

            I increased border-radius: to 15px (I think) but may be 12px and got more of a radius than in the original example.

            I copy/pasted his header from the #3 example neomorphism to get the headers on the weather and calendar to get shadowed look. Clock has no header so no effect.

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