• 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
  1. Home
  2. Piranha1605
  3. Posts
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Profile
  • Following 0
  • Followers 6
  • Topics 8
  • Posts 38
  • Groups 1

Posts

Recent Best Controversial
  • Please use the search function.

    Please use the search function. At the moment questions are being asked time and again that have probably already been answered a hundred times by the search at the top right. The problem is that there are 50 solutions to a problem and newcomers are getting more and more confused.

    Unbenannt.png

    posted in General Discussion
    P
    Piranha1605
    Jun 28, 2020, 2:56 PM
  • RE: Calendar Module Not Working (Calendar Error. Could not fetch calendar)

    Enter this link

    https://www.calendarlabs.com/ical-calendar/ics/39/Canada_Holidays.ics

    posted in Utilities
    P
    Piranha1605
    Jun 23, 2020, 10:29 AM
  • RE: grafana module for bar graphs display.

    maybe that will help you.

    x-frame-bypass

    posted in Requests
    P
    Piranha1605
    Jun 21, 2020, 8:37 PM
  • RE: Change background image based on time of day

    @xTITUS-MAXIMUSx said in Change background image based on time of day:

    Cool! how would one do that? Still a noob.

    • Install the module

    • Enter the time from when to when night is in the config.

    • Enter your background in the custom.css

    .morning {
      background: blue;
    }
    
    .evening {
      background: black;
    }
    
    posted in Development
    P
    Piranha1605
    Jun 20, 2020, 3:50 AM
  • RE: Change background image based on time of day

    You can actually schedule all CSS entries in the module, including the background.

    posted in Development
    P
    Piranha1605
    Jun 19, 2020, 10:00 PM
  • RE: Change background image based on time of day

    ;)

    https://forum.magicmirror.builders/topic/13014/css-switch-module

    posted in Development
    P
    Piranha1605
    Jun 19, 2020, 9:39 PM
  • RE: Config for a simple clean montly calendar

    @Piranha1605 said in Config for a simple clean montly calendar:

    .CX2 .event[data-calendar-name=“Google”]

    Enter the name of your calendar here

    posted in Development
    P
    Piranha1605
    Jun 19, 2020, 7:45 PM
  • RE: Config for a simple clean montly calendar

    Here is a sample for you.

    Calendar.png

    
    /**
     * module.width_height
     */
    
     .module.MMM-CalendarExt2 {
      height: 600px;
    }
    
    
    /**
     * module.color_border_shadow
     */
    
     .module.MMM-CalendarExt2 {
      background-color:#2a313b;
      border-radius:8px;
      padding:8px;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 1), 0 8px 20px 0 rgba(0, 0, 0, 0.19);
    }
    
    /**
     * MMM-CalendarExt2.
     */
    
    .CX2 .slot .event{
    	background: #1f242c;
    }
    .CX2 .agenda .eventSub {
    	display:none;
    }
    .CX2 .slot .slotHeader{
      background: #1f242c;
      border: 1px solid black;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 1), 0 8px 20px 0 rgba(0, 0, 0, 0.19);
      color: white;
    }
    .CX2 .today .slotHeader * {
    	color: white;
    }
     .CX2 .event.fullday {
      background: #1f242c;
      border-radius:0px;
    }
    
    .CX2 .event[data-calendar-name="Google"] {
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 1), 0 8px 20px 0 rgba(0, 0, 0, 0.19);
      color: white;
      min-height:80px;
    }
    .CX2 .event[data-calendar-name="Karate"] {
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 1), 0 8px 20px 0 rgba(0, 0, 0, 0.19);
      color: white;
      min-height:80px;
    }
    .CX2 .event[data-calendar-name="Abfall"] {
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 1), 0 8px 20px 0 rgba(0, 0, 0, 0.19);
      color: white;
      min-height:80px;
    }
    .CX2 .event[data-calendar-name="Arbeit"] {
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 1), 0 8px 20px 0 rgba(0, 0, 0, 0.19);
      color: white;
      min-height:80px;
    }
    .CX2 .event[data-calendar-name="Feiertage"] {
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 1), 0 8px 20px 0 rgba(0, 0, 0, 0.19);
      color: white;
      min-height:80px;
    }
    
    /**
     * Iconsize.
     */
    
    .CX2 .event .eventIcon {
      min-width: calc(var(--font-size) * 2,5);
      min-height: calc(var(--font-size) * 2,5);
      margin-right:5px;
      float:left;
    }
    .CX2 .period .eventIcon {
      min-width: calc(var(--font-size) * 2,5);
      min-height: calc(var(--font-size) * 2,5);
      margin-right:5px;
      float:left;
    }
    .CX2 .weekSlot .eventIcon {
      min-width: var(--font-size);
      min-height: var(--font-size);
      margin-right:3px;
      display:block;
      padding-bottom:3px;
    }
    
    posted in Development
    P
    Piranha1605
    Jun 19, 2020, 7:43 PM
  • CSS experiments for newbies

    Here are some templates for all newbies.

    1.Black boxes

    Unbenannt.jpg

    CSS

    html {
      cursor: default;
      overflow: hidden;
      background: #2c2c2d;
    }
    
    
    body {
      margin: 10px;
      position: absolute;
      width: calc(100% - 20px);
      height: calc(100% - 20px);
      margin-bottom: -10px;
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.5;
      color: #dbdcdf;
      background: transparent;
    }
    
    header {
      background: transparent;
      padding: 0.5rem;
      text-align: center;
      border-bottom: 0.7px solid rgba(0, 0, 0, 0.1);
      color: #dbdcdf;
      font-size: 20px;
    }
    .dimmed {
      color: #dbdcdf;
    }
    
    .normal {
      color: #dbdcdf;
    }
    
    .bright {
      color: #dbdcdf;
    }
    
    /**
     * 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;
    }
    
    .clock .time {
     font-size: 80px;
     text-align: center;
     margin-top: 25px;
     color: #dbdcdf;
     padding: 15px;
    }
    .clock .date {
      background: transparent;
      padding: 5px;
      text-align: center;
      border-bottom: 0.7px solid rgba(0, 0, 0, 0.1);
      color: #dbdcdf;
      font-size: 20px;
    }
    
    
    /**
     * module.width_height
     */
    .module.calendar {
      width:450px;
      height: 320px;
    }
    .module.weatherforecast {
      width:400px;
      height: 220px;
    }
    .module.currentweather {
      height: 180px;
      width:400px;
      text-align: center;
    }
    
    
    

    2.Material Design

    Unbenannt.png

    CSS

    html {
      cursor: default;
      overflow: hidden;
      background: #e9e9e9;
    }
    
    
    body {
      margin: 10px;
      position: absolute;
      width: calc(100% - 20px);
      height: calc(100% - 20px);
      margin-bottom: -10px;
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.5;
      color: #666666;
      background: transparent;
    }
    
    header {
      background: transparent;
      padding: 0.5rem;
      text-align: center;
      font-size: 20px;
      color: #ed2553;
      border-bottom: 2px solid #e3e3e3;
    }
    .dimmed {
      color: #666666;
    }
    
    .normal {
      color: #666666;
    }
    
    .bright {
      color: #666666;
    }
    
    /**
     * module.color_border_shadow
     */ 
     .module.clock,
     .module.calendar,
     .module.newsfeed,
     .module.weatherforecast,
     .module.currentweather,
     .module.compliments {
      padding:8px;
      border-radius: 10px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
      background: #f2f2f2;
    }
    
    .clock .time {
     font-size: 80px;
     text-align: center;
     margin-top: 25px;
     color: #666666;
     padding: 15px;
    }
    .clock .date {
      background: transparent;
      padding: 5px;
      text-align: center;
      font-size: 20px;
      color: #ed2553;
      border-bottom: 2px solid #e3e3e3;
    }
    
    
    /**
     * module.width_height
     */
    .module.calendar {
      width:450px;
      height: 320px;
    }
    .module.weatherforecast {
      width:400px;
      height: 220px;
    }
    .module.currentweather {
      height: 180px;
      width:400px;
      text-align: center;
    }
    
    
    

    3.Neumorphism

    Unbenannt.jpg

    CSS

    html {
      cursor: default;
      overflow: hidden;
      background: #545454;
    }
    
    
    body {
      margin: 10px;
      position: absolute;
      width: calc(100% - 20px);
      height: calc(100% - 20px);
      margin-bottom: -10px;
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.5;
      color: #FFFFFF;
      background: transparent;
    }
    
    header {
      background: transparent;
      padding: 10px;
      text-align: center;
      font-size: 20px;
      color: #FFFFFF;
      border-radius: 23px;
      box-shadow: inset 11px 11px 16px #3e3e3e, 
                inset -11px -11px 16px #6a6a6a;
    }
    .dimmed {
      color: #FFFFFF;
    }
    
    .normal {
      color: #FFFFFF;
    }
    
    .bright {
      color: #FFFFFF;
    }
    
    /**
     * module.color_border_shadow
     */ 
     .module.clock,
     .module.calendar,
     .module.newsfeed,
     .module.weatherforecast,
     .module.currentweather,
     .module.compliments {
      padding:8px;
      border-radius: 23px;
      background: #545454;
      box-shadow:  11px 11px 16px #3e3e3e, 
                 -11px -11px 16px #6a6a6a;
    }
    
    .clock .time {
     font-size: 80px;
     text-align: center;
     margin-top: 25px;
     color: #FFFFFF;
     padding: 15px;
    }
    .clock .date {
      background: transparent;
      padding: 2px;
      text-align: center;
      font-size: 20px;
      color: #FFFFFF;
      border-radius: 23px;
      box-shadow: inset 11px 11px 16px #3e3e3e, 
                inset -11px -11px 16px #6a6a6a;
    }
    
    
    /**
     * module.width_height
     */
    .module.calendar {
      width:450px;
      height: 320px;
    }
    .module.weatherforecast {
      width:400px;
      height: 220px;
    }
    .module.currentweather {
      height: 180px;
      width:400px;
      text-align: center;
    }
    
    
    

    4.Trending

    Unbenannt.png

    CSS

    html {
      cursor: default;
      overflow: hidden;
      background: #7e94d8;
    }
    
    
    body {
      margin: 10px;
      position: absolute;
      width: calc(100% - 20px);
      height: calc(100% - 20px);
      margin-bottom: -10px;
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.5;
      color: #666666;
      background: transparent;
    }
    
    header {
      background: #9DD5FF;
      padding: 8px;
      text-align: center;
      font-size: 20px;
      color: #FFFFFF;
      text-shadow: 0px 10px 20px #000000;
      box-shadow: 0px 16px 30px 0px rgba(0, 0, 0, 0.53);
      border-radius: 10px;
    }
    .dimmed {
      color: #FFFFFF;
    }
    
    .normal {
      color: #FFFFFF;
    }
    
    .bright {
      color: #FFFFFF;
    }
    
    /**
     * module.color_border_shadow
     */ 
     .module.clock,
     .module.calendar,
     .module.newsfeed,
     .module.weatherforecast,
     .module.currentweather,
     .module.compliments {
      padding:8px;
      border-radius: 10px;
      box-shadow: 0px 31px 35px 0px rgba(0, 0, 0, 0.38);
      background: linear-gradient(159deg, #47455d 0%, #323045 97%);
    }
    
    .clock .time {
     font-size: 80px;
     text-align: center;
     margin-top: 25px;
     color: #FFFFFF;
     padding: 15px;
    }
    .clock .date {
      background: #9DD5FF;
      padding: 2px;
      text-align: center;
      font-size: 20px;
      color: #FFFFFF;
      text-shadow: 0px 10px 20px #000000;
      box-shadow: 0px 16px 30px 0px rgba(0, 0, 0, 0.53);
      border-radius: 10px;
    }
    
    
    /**
     * module.width_height
     */
    .module.calendar {
      width:450px;
      height: 320px;
    }
    .module.weatherforecast {
      width:400px;
      height: 220px;
    }
    .module.currentweather {
      height: 180px;
      width:400px;
      text-align: center;
    }
    
    
    

    5.Tron

    Unbenannt.jpg

    CSS

    html {
      cursor: default;
      overflow: hidden;
      background: #000;
    }
    
    
    body {
      margin: 10px;
      position: absolute;
      width: calc(100% - 20px);
      height: calc(100% - 20px);
      margin-bottom: -10px;
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.5;
      color: rgba( 0, 150, 254, 1 );
      background: transparent;
    }
    
    header {
      background: transparent;
      padding: 0.5rem;
      text-align: center;
      font-size: 20px;
      color: rgba( 0, 150, 254, 1 );
      text-shadow: 0 0 30px rgba( 0, 150, 254, .7 ), 0 0 50px rgba( 0, 150, 254, 1 );
      border-bottom: 0.7px solid rgba( 0, 150, 254, 1 );
    }
    .dimmed {
      color: rgba( 0, 150, 254, 1 );
    }
    
    .normal {
      color: rgba( 0, 150, 254, 1 );
    }
    
    .bright {
      color: rgba( 0, 150, 254, 1 );
    }
    
    /**
     * module.color_border_shadow
     */ 
     .module.clock,
     .module.calendar,
     .module.newsfeed,
     .module.weatherforecast,
     .module.currentweather,
     .module.compliments {
      padding:8px;
      border-radius: 10px;
      border-color: rgba( 0, 150, 254, 1 );
      box-shadow: 0 0 25px 2.5px rgba( 0, 150, 254, .4 );
      background: #000;
    }
    
    .clock .time {
     font-size: 80px;
     text-align: center;
     margin-top: 25px;
     color: rgba( 0, 150, 254, 1 );
     padding: 15px;
    }
    .clock .date {
      background: transparent;
      padding: 5px;
      text-align: center;
      border-bottom: 0.7px solid rgba( 0, 150, 254, 1 );
      color: rgba( 0, 150, 254, 1 );
      text-shadow: 0 0 30px rgba( 0, 150, 254, .7 ), 0 0 50px rgba( 0, 150, 254, 1 );
      font-size: 20px;
    }
    
    
    /**
     * module.width_height
     */
    .module.calendar {
      width:450px;
      height: 320px;
    }
    .module.weatherforecast {
      width:400px;
      height: 220px;
    }
    .module.currentweather {
      height: 180px;
      width:400px;
      text-align: center;
    }
    
    
    

    6.White Boxes

    Unbenannt.jpg

    CSS

    html {
      cursor: default;
      overflow: hidden;
      background: #c4c4c4;
    }
    
    
    body {
      margin: 10px;
      position: absolute;
      width: calc(100% - 20px);
      height: calc(100% - 20px);
      margin-bottom: -10px;
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.5;
      color: black;
      background: transparent;
    }
    
    header {
      background: transparent;
      padding: 0.5rem;
      text-align: center;
      border-bottom: 0.7px solid rgba(0, 0, 0, 0.1);
      color: black;
      font-size: 20px;
    }
    .dimmed {
      color: black;
    }
    
    .normal {
      color: black;
    }
    
    .bright {
      color: black;
    }
    
    /**
     * module.color_border_shadow
     */ 
     .module.clock,
     .module.calendar,
     .module.newsfeed,
     .module.weatherforecast,
     .module.currentweather,
     .module.compliments {
      padding:8px;
      border-radius: 10px;
      box-shadow: 0 15px 20px -15px rgba(0, 0, 0, 0.3), 0 55px 50px -35px rgba(0, 0, 0, 0.3), 0 85px 60px -25px rgba(0, 0, 0, 0.1);
      background: white;
    }
    
    .clock .time {
     font-size: 80px;
     text-align: center;
     margin-top: 25px;
     color: black;
     padding: 15px;
    }
    .clock .date {
      background: transparent;
      padding: 5px;
      text-align: center;
      border-bottom: 0.7px solid rgba(0, 0, 0, 0.1);
      color: black;
      font-size: 20px;
    }
    
    
    /**
     * module.width_height
     */
    .module.calendar {
      width:450px;
      height: 320px;
    }
    .module.weatherforecast {
      width:400px;
      height: 220px;
    }
    .module.currentweather {
      height: 180px;
      width:400px;
      text-align: center;
    }
    
    
    
    posted in Showcase
    P
    Piranha1605
    Jun 19, 2020, 7:09 PM
  • RE: css switch Module

    @Mykle1

    I have to thank you, many of your contributions prevented me from throwing the MagicMirror project into the trash :)

    posted in System
    P
    Piranha1605
    Jun 7, 2020, 7:47 AM
  • 1
  • 2
  • 3
  • 4
  • 3 / 4
ads via Carbon Get 20% off your first 3 months of BugHerd. Start Shipping Faster Today. ads via Carbon
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
    This website uses cookies to ensure you get the best experience on our website. Learn More