• 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.

Make Mirror brighter through custom.css

Scheduled Pinned Locked Moved Custom CSS
9 Posts 5 Posters 3.0k Views 5 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 Offline
    simphi
    last edited by Jun 20, 2020, 10:53 AM

    Hi I’ve always used MMM-Remote-Control to increase the birightness of my MagicMirror. But since I switched to a client-only Instance with MM running in docker on my home-server, the module doesnt work anymore. So now I want to increase the brighntess through a custom.css. The problem is: Im a complete beginner with css. Do you guys already have such a custom.css? Can you share it maybe?

    Thanks in advance.

    T L 2 Replies Last reply Jun 20, 2020, 7:09 PM Reply Quote 0
    • T Offline
      TheDuDiop @simphi
      last edited by sdetweil Jun 23, 2020, 3:07 PM Jun 20, 2020, 7:09 PM

      @simphi hello here can you see my custom it’s not completely done yet. but it might help you a little

      /*****************************************************
       * Magic Mirror                                      *
       * Custom CSS                                        *
       *                                                   *
       * By Michael Teeuw http://michaelteeuw.nl           *
       * MIT Licensed.                                     *
       *                                                   *
       * Add any custom CSS below.                         *
       * Changes to this files will be ignored by GIT. *
       *****************************************************/
      html {
        cursor: none;
        overflow: hidden;
        background: #2a313b;
      }
      
      ::-webkit-scrollbar {
        display: none;
      }
      
      body {
        margin: 10px;
        position: absolute;
        width: calc(100% - 20px);
        height: calc(100% - 20px);
        background: #2a313b;
        
        font-weight: 400;
        font-size: 2em;
        line-height: 1.5em;
        margin-bottom: -10px;
        -webkit-font-smoothing: antialiased;
      }
      
      .dimmed {
          color: #000;
      }
      
      .normal {
          color: #000;
      }
      
      .bright {
        color: #000;
      }
      .header {
        color: #000;
      }
      .module.calendar{
        background-color:#2a313b;
        border-radius:8px;
        padding:8px;
        color: #00f2ff;
        border: 1px solid ##00f2ff;
        width:300px;
        height: 150px;
        }
      
      .module.clock {
        background-color:#FFCC00;
        border-radius:8px;
        padding:8px;
        color: #FFCC00;
        border: 1px solid #2a313b;
        width:300px;
        height: 150px;
        }
      .module.updatenotification {
      	color: #FFCC00;
      	border: 1px solid #FFCC00;
      }
      
      S 1 Reply Last reply Jun 20, 2020, 10:49 PM Reply Quote 1
      • L Offline
        lavolp3 Module Developer @simphi
        last edited by Jun 20, 2020, 10:34 PM

        @simphi yeah you can include these items in custom.css and play with them

        .dimmed {
        color: #ccc;
        }
        
        .normal {
        color: #eee;
        }
        
        .bright {
        color: #fff;
        }
        

        Color: #fff is white. You could also write it as #ffffff.
        #eee or #eeeeee is a very light grey.

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        1 Reply Last reply Reply Quote 1
        • S Away
          sdetweil @TheDuDiop
          last edited by sdetweil Jun 20, 2020, 10:49 PM Jun 20, 2020, 10:49 PM

          @TheDuDiop please use code blocks for technical info
          paste, mark the text, hit the </> button above the editor to wrap in a code block

          please edit and correct

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          T 1 Reply Last reply Jun 26, 2020, 5:58 PM Reply Quote 0
          • S Offline
            simphi
            last edited by Jun 23, 2020, 2:06 PM

            I just read the code from the MMM-Remote Module and created this CSS. Seems to work well:

            body {
            	color: #ffffff;
            }
            
            header {
            	color: #ffffff;
            	border-bottom: 1px solid #ffffff;
            }
            
            .dimmed {
            	color: #cccccc;
            }
            
            .normal {
            	color: #ffffff;
            }
            
            .bright {
            	color: #ffffff;
            }
            

            Thank you all!

            J 1 Reply Last reply Aug 22, 2020, 4:11 AM Reply Quote 0
            • T Offline
              TheDuDiop @sdetweil
              last edited by Jun 26, 2020, 5:58 PM

              @sdetweil sorry was too late. to edit. will do it at the next post thanks for the hint

              Error

              You are only allowed to edit posts for 3600 second(s) after posting

              S 1 Reply Last reply Jun 26, 2020, 5:59 PM Reply Quote 0
              • S Away
                sdetweil @TheDuDiop
                last edited by sdetweil Jun 26, 2020, 5:59 PM Jun 26, 2020, 5:59 PM

                @TheDuDiop just means try to do it right , helps us all help you

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jagsi @simphi
                  last edited by Aug 22, 2020, 4:11 AM

                  @simphi Hy - I copied this to my custom.css file but nothing changed in the appearance of the mirror? Can someone give me hint what I did wrong?

                  L 1 Reply Last reply Aug 24, 2020, 8:28 PM Reply Quote 0
                  • L Offline
                    lavolp3 Module Developer @Jagsi
                    last edited by Aug 24, 2020, 8:28 PM

                    @Jagsi post your custom.css and we can try to help

                    How to troubleshoot modules
                    MMM-soccer v2, MMM-AVStock

                    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