A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Subcategories

  • Share your custom style sheets with the community!

    22 Topics
    292 Posts
    M

    ymsd6czlci2e1.jpeg

    body { margin: 0; height: 100%; width: 100%; background: rgb(0 0 0 / 100%); color: white; } .dimmed, .normal, .bright { color: white; } /* Region Definitions. */ .region.top.right, .region.bottom.right { position: absolute; width: 79%; } .region.top.left, .region.bottom.left, .region.middle.center { position: absolute; width: 20.5%; } .region.fullscreen.below { position: absolute; width: 24.25%; /* Background doesnt match for some reason */ } /* Clock Options */ .clock { float: right; text-align: right; } .clock .time { font-size: 90px; } /* MMM-GoogleTasks Formatting */ .MMM-GoogleTasks { float: right; margin-top: 50px; width: 100%; } .MMM-GoogleTasks .module-header { visibility: hidden; } .MMM-GoogleTasks .item.notes { display: none; } .MMM-GoogleTasks .item { padding: .25em .25em .25em 1em; border-width: 0; } /* MMM-OpenWeatherMapForecast Options */ .MMM-OpenWeatherMapForecast .module-content { width: 100%; } .MMM-OpenWeatherMapForecast { text-align: right; } /* MMM-CalendarExt3 Options */ /* Hides Calendar Header */ .MMM-CalendarExt3 .module-header { visibility: hidden; } /* Global Settings */ .CX3 { --cellbgcolor: rgb(0 0 0 / 100%); } /* Current month cell background color */ .CX3 .thisMonth { background-color: var(--cellbgcolor); } /* Remove Calendar Week */ .CX3 .cellContainer .cell:nth-child(1) .cw { display: none; } /* Day of Week Formatting */ .CX3 .weekend { font-size: 100%; font-weight: normal; } .CX3 .weekend_1, .CX3 .weekend_2, .CX3 .weekday { color: var(--defaultColor); font-weight: bold; text-align: center; } /* Day Number Formatting */ .CX3 .cellHeader { text-align: left; font-size: 100%; } /* Change font sizes */ .CX3 .event.singleday .headline:not(.useSymbol)::before, .CX3 .event.singleday .headline.useSymbol .symbol.noSymbol::before, .CX3 .event .headline .title, .CX3 .event .headline.useSymbol .symbol, .CX3 .event.singleday .headline .time, .CX3 .event.multiday .headline .startTime, .CX3 .legends .legend, .CX3 .legend.useSymbol .symbol{ font-size: 90%; } /* Event Formatting */ .CX3 .event.fullday, .CX3 .event.multiday, .CX3 .legends .legend { border-radius: 8px; color: var(--oppositeColor); }
  • You have questions regarding CSS?

    110 Topics
    652 Posts
    S

    @kasperinline awesome!!

  • New Weather module (default) need help please

    2
    0 Votes
    2 Posts
    468 Views
  • Where to start with custom CSS?

    2
    0 Votes
    2 Posts
    904 Views
    lavolp3L

    @francisceril you do not need to and you must not move custom.css. If above doesn’t work then your selectors are wrong. You can find out the right selector by opening the mirror in your pc browser, pressing f12 or ctrl+shift+i and using the dev tool. In the upper left corner you can choose an element picker, go to the time and find out the selector.

  • Make a remove header space or overlap two modules

    7
    0 Votes
    7 Posts
    1k Views
    halacabullasH

    @sdetweil THAT WAS IT. THANK YOU SO MUCH <3333

  • Can't get module background to change

    Solved
    4
    0 Votes
    4 Posts
    616 Views
    A

    @memphismark :beaming_face_with_smiling_eyes:

  • Remove space between two modules. Custom CSS code and pictures.

    6
    0 Votes
    6 Posts
    1k Views
    J

    @jamaces

    For future knowledge

    within the Main.css there is

    .region.bottom .module { margin-top: 30px; margin-bottom: 0px; }

    adding to custom.css

    .region.bottom .module{ margin-top: 0px; }

    Will fix the issue.

    However if you have a bottom_bar module it removes the gap between bottom_bar and anything in bottom_left/center/right

  • Add fade to transparent background on module.

    Solved
    8
    0 Votes
    8 Posts
    1k Views
    J

    @bkeyport Thank you! I realized after I made the post it is called gradient.

    For future knowledge

    change background-color to background-image and add linear-gradient with another RGBA value.

    Thank you for your help.

    Is there a way to have CSS go gradient to the left and to the right?

    I have the news module at the bottom and I really just want it to be dark in the centre where the headlines are.

    I have tried to right and to left, I have tried radial and nothing seems to work.

  • MMM-NewPIR messing modules position

    1
    0 Votes
    1 Posts
    403 Views
    M

    Hello great people and thanks to you all!
    Thanks to you and all your help i’m concluding the second Magic Mirror.
    My fault for not presenting them here but i’m on final configurations.

    I’me writing right now because one of those configurations.
    I have just adapted a motion sensor and installed the great MMM-NewPIR.
    With this the presentation of the MMM-SystemStats module ended up all messed up.

    Before i aligned it to be inside the clock and worked well
    After the MMM-NewPIR instalation he moved and i can’t force it to be where i want him and that’s inside the clock.

    Can you please help me out?

    Inside css i have:

    body { margin: 0px; position: absolute; height: calc(100% - 35px); width: calc(100% - 50px); } .MMM-SystemStats { position: absolute; top: 37px; left: 215px; } .MMM-SystemStats { margin: 10px 5px 10px 10px; /* 10px top, 5px right, 15px bottom, 20px left */ width: 150px; }

    Here’s the before, like i want it:
    Without.jpg

    And after MMM-NewPIR applied:
    With.jpg

    Thaks for all the help you can give!

  • Multiple Modules of the Same Type, Change Width of One Instance Only

    5
    0 Votes
    5 Posts
    846 Views
    A

    @tylerj714 Id starts with 1 in MM, but it does not matter. You need to get actual id of the module you are targeting using dev tools.

    a2ebbd99-a2e8-4f18-8bfe-9f5ba88b9d50-image.png

  • Usage of "classes" Parameter

    2
    0 Votes
    2 Posts
    690 Views
    S

    @tylerj714 i think these classes are without the module prefix

    you should be able to see the classes assigned in the developers window elements tab

  • Current Weather and Weather Forecast looks grey out.

    24
    0 Votes
    24 Posts
    4k Views
    Mykle1M

    @sdetweil

    ![0_1612315124827_21.png](Uploading 100%)

    Invalid files also

  • compliments reduce font size and move down a little bit

    4
    0 Votes
    4 Posts
    1k Views
    K

    Hello @sdetweil
    I have a similar question: I want the compliments module to have the same appearance as the title of the newsfeed module.

    found in newsfeed-code:

    if (!this.config.showFullArticle) { const title = document.createElement("div"); title.className = "newsfeed-title bright medium light" + (!this.config.wrapTitle ? " no-wrap" : ""); title.innerHTML = this.newsItems[this.activeItem].title; wrapper.appendChild(title); }

    so i want the compliments style to be “bright medium light”

    the compliments code shows

    getDom: function () { var wrapper = document.createElement("div"); wrapper.className = this.config.classes ? this.config.classes : "thin xlarge bright pre-line";

    Im not sure how to modify the custom.css.
    Something like:

    .compliments .class { bright medium light; }

    Can you help me? :)

  • disable the header in the Weather Forecast module

    9
    0 Votes
    9 Posts
    3k Views
    F

    @chanster Actually just figured out that if I do visibility instead of display it works.

    .weatherforecast .module-header { visibility: hidden; }
  • Display waste bins in color

    52
    0 Votes
    52 Posts
    10k Views
    kusselinK

    Thanks…now it run fine

  • Viewed at 15m - Scale everything up x10+

    4
    0 Votes
    4 Posts
    529 Views
    A

    @Bill-Door You can use custom.css with zoom property for body. Adjust 200% below to your taste.

    body { zoom: 200%; }

    535f8cf6-5826-4d52-b08d-141450b167d3-image.png

    PS: It will also survive the reboots :)

  • iFrame border properties

    1
    0 Votes
    1 Posts
    333 Views
    ankonaskiff17A

    I have an iFrame to hold a weather radar image.
    Default for iFrame is no border but I wanted one to act as border for radar image. Got border no problem and I defined color also but it behaved as if it had some sort of bevel type property that I don’t understand.
    For example if I chose hex value for red, the bottom and right borders would be red, the top and left borders would be a darker red.
    Anyone got any thoughts on what is going on there?

  • How to change color of SourceTitle and PublischDate of news feed

    2
    0 Votes
    2 Posts
    497 Views
    B

    OK guys, I found the answer on this forum.

    .newsfeed .bright.medium.light { color: #06e600; } .newsfeed .light.small.dimmed { color: #06e600; }
  • CSS problems with your program

    Locked
    4
    0 Votes
    4 Posts
    399 Views
    H

    I’m so sorry about that. I tried to download GB Whatsapp

  • Can't change MMM-SystemStats colors

    4
    0 Votes
    4 Posts
    466 Views
    S

    @ortizimo you don’t need .module prefix anymore

  • Clock and current weather horizontally

    8
    0 Votes
    8 Posts
    1k Views
    A

    @JasonInOttawa May be float is doing this because you are not showing week text as header ? In my screenshot they are aligned on top. Any ways both are on user choice ! :)

  • Distinguishing CSS from Config

    4
    0 Votes
    4 Posts
    525 Views
    S

    @ankonaskiff17 this.config. says u can add variables to config section. Or use the default for it.

    color:
    And
    fillcolor: